TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= # Build the IOC support library LIBRARY_IOC += solenoidSupport # xxxRecord.h will be created from xxxRecord.dbd DBDINC += xxxRecord # Install devXxxSoft.dbd into /dbd DBD += xxxSupport.dbd # Compile and add the code to the support library solenoidSupport_SRCS += xxxRecord.c solenoidSupport_SRCS += devXxxSoft.c # Link locally-provided code into the support library, # rather than directly into the IOC application. solenoidSupport_SRCS += dbSubExample.c solenoidSupport_SRCS += solenoidHello.c solenoidSupport_SRCS += initTrace.c solenoidSupport_SRCS += reboot_funcs.c solenoidSupport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= # Build the IOC application PROD_IOC = solenoid # solenoid.dbd will be created and installed DBD += solenoid.dbd # solenoid.dbd will be made up from these files: solenoid_DBD += base.dbd solenoid_DBD += xxxSupport.dbd solenoid_DBD += dbSubExample.dbd solenoid_DBD += solenoidHello.dbd solenoid_DBD += initTrace.dbd solenoid_DBD += ether_ip.dbd # solenoid_registerRecordDeviceDriver.cpp derives from solenoid.dbd solenoid_SRCS += solenoid_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. solenoid_SRCS_DEFAULT += solenoidMain.cpp solenoid_SRCS_vxWorks += -nil- # Add support from base/src/vxWorks if needed #solenoid_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary # Link in the code from the support library solenoid_LIBS += solenoidSupport solenoid_LIBS += ether_ip # NOTE: To build SNL programs, SNCSEQ must be defined # in the /configure/RELEASE file ifneq ($(SNCSEQ),) # Build sncExample into solenoidSupport sncExample_SNCFLAGS += +r solenoid_DBD += sncExample.dbd solenoidSupport_SRCS += sncExample.stt solenoidSupport_LIBS += seq pv solenoid_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 solenoid_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE