TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= # This flag will cause byte swapping appropriate for Linux USR_CFLAGS_Linux += -g -gstabs -DLinux_vme -DGEFANUC -I${LINUXVME_INC} USR_CXXFLAGS_Linux += -g -gstabs -DLinux_vme -DGEFANUC -I${LINUXVME_INC} USR_LDFLAGS_Linux += -g -gstabs -L${LINUXVME_LIB} -L/usr/lib/gef # Build the IOC support library LIBRARY_IOC_Linux += SIS38XX_LinuxSupport # Install devXxxSoft.dbd into /dbd DBD += SIS38XX_LinuxSupport.dbd #SIS38XX_LinuxSupport_DBD += SIS38XX_LinuxSupportReg.dbd # Link locally-provided code into the support library, # rather than directly into the IOC application. #SIS38XX_LinuxSupport_SRCS += drvSIS3801_Linux.cpp SIS38XX_LinuxSupport_SRCS += drvSIS3820_Linux.cpp SIS38XX_LinuxSupport_SRCS += drvSIS38XX_Linux.cpp SIS38XX_LinuxSupport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= # Build the IOC application PROD_IOC_Linux = SIS38XX_Linux # SIS38XX_Linux.dbd will be created and installed DBD += SIS38XX_Linux.dbd # SIS38XX_Linux.dbd will be made up from these files: SIS38XX_Linux_DBD += base.dbd SIS38XX_Linux_DBD += SIS38XX_LinuxSupport.dbd SIS38XX_Linux_DBD += asyn.dbd SIS38XX_Linux_DBD += mcaSupport.dbd SIS38XX_Linux_DBD += stdSupport.dbd SIS38XX_Linux_DBD += busySupport.dbd SIS38XX_Linux_DBD += calcSupport.dbd SIS38XX_Linux_DBD += asSupport.dbd # SIS38XX_Linux_registerRecordDeviceDriver.cpp derives from SIS38XX_Linux.dbd SIS38XX_Linux_SRCS += SIS38XX_Linux_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. SIS38XX_Linux_SRCS_DEFAULT += SIS38XX_LinuxMain.cpp SIS38XX_Linux_SRCS_vxWorks += -nil- # Link in the code from the support library SIS38XX_Linux_LIBS += SIS38XX_LinuxSupport SIS38XX_Linux_LIBS += mca SIS38XX_Linux_LIBS += std SIS38XX_Linux_LIBS += busy SIS38XX_Linux_LIBS += calc autosave SIS38XX_Linux_LIBS += sscan SIS38XX_Linux_LIBS += asyn # NOTE: To build SNL programs, SNCSEQ must be defined # in the /configure/RELEASE file ifneq ($(SNCSEQ),) # Build sncExample into SIS38XX_LinuxSupport sncExample_SNCFLAGS += +r SIS38XX_LinuxSupport_SRCS += SIS38XX_Linux_SNL.st SIS38XX_LinuxSupport_LIBS += seq pv SIS38XX_Linux_LIBS += seq pv endif # Finally link to the EPICS Base libraries SIS38XX_Linux_LIBS += $(EPICS_BASE_IOC_LIBS) SIS38XX_Linux_SYS_LIBS_Linux += jvme vme #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE $(COMMON_DIR)/SIS38XX_Linux.dbd: $(COMMON_DIR)/SIS38XX_LinuxSupport.dbd