TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE USR_INCLUDES += -I$(MOTOR)/motorApp/NewportSrc USR_INCLUDES += -I$(MOTOR)/modules/motorNewport/newportApp/src/ #============================= # Build the IOC support library LIBRARY_IOC_Linux += motorNewportSupport # Install motorNewportSupport.dbd into /dbd DBD += motorNewportSupport.dbd #motorNewportSupport_DBD += motorNewportSupportInclude.dbd #motorNewportSupport_DBD += base.dbd # Link locally-provided code into the support library, # rather than directly into the IOC application. motorNewportSupport_SRCS += GluexXPSController.cpp motorNewportSupport_SRCS += GluexXPSAxis.cpp motorNewportSupport_SRCS += GluexXPSGroup.cpp motorNewportSupport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= # Build the IOC application PROD_IOC_Linux = motorNewport # motorNewport.dbd will be created and installed DBD += motorNewport.dbd # motorNewport.dbd will be made up from these files: motorNewport_DBD += base.dbd motorNewport_DBD += motorNewportSupport.dbd # motorNewport_registerRecordDeviceDriver.cpp derives from motorNewport.dbd motorNewport_SRCS += motorNewport_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. motorNewport_SRCS_DEFAULT += motorNewportMain.cpp motorNewport_SRCS_vxWorks += -nil- motorNewport_LIBS += std motorNewport_LIBS += busy motorNewport_LIBS += calc autosave motorNewport_LIBS += sscan motorNewport_LIBS += asyn motorNewport_LIBS += motor motorNewport_LIBS += seq pv motorNewport_LIBS += Newport # Link in the code from the support library motorNewport_LIBS += motorNewportSupport # NOTE: To build SNL programs, SNCSEQ must be defined # in the /configure/RELEASE file ifneq ($(SNCSEQ),) # Build sncExample into motorNewportSupport sncExample_SNCFLAGS += +r # motorNewport_DBD += sncExample.dbd # motorNewportSupport_SRCS += sncExample.stt motorNewportSupport_LIBS += seq pv motorNewport_LIBS += seq pv # Build sncProgram as a standalone program # PROD_HOST += sncProgram sncProgram_SNCFLAGS += +m # sncProgram_SRCS += sncProgram.st sncProgram_LIBS += seq pv sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS) endif # Finally link to the EPICS Base libraries motorNewport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE $(COMMON_DIR)/motorNewport.dbd: $(COMMON_DIR)/motorNewportSupport.dbd