2019-04-09 11:24:20 -05:00
|
|
|
TOP=../..
|
|
|
|
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
#----------------------------------------
|
|
|
|
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
|
|
|
#=============================
|
|
|
|
|
2019-04-09 11:26:32 -05:00
|
|
|
# The following are used for debugging messages.
|
|
|
|
#!USR_CXXFLAGS += -DDEBUG
|
|
|
|
|
2019-04-09 11:24:20 -05:00
|
|
|
#=============================
|
|
|
|
# Build the IOC application
|
|
|
|
|
|
|
|
PROD_IOC = acs
|
|
|
|
# acs.dbd will be created and installed
|
|
|
|
DBD += acs.dbd
|
|
|
|
|
|
|
|
# acs.dbd will be made up from these files:
|
|
|
|
acs_DBD += base.dbd
|
|
|
|
|
|
|
|
# Include dbd files from all support applications:
|
2019-04-09 11:26:32 -05:00
|
|
|
#ifdef ASYN
|
|
|
|
acs_DBD += asyn.dbd
|
|
|
|
#endif
|
|
|
|
acs_DBD += motorSupport.dbd
|
|
|
|
acs_DBD += devAcs.dbd
|
2019-04-09 11:24:20 -05:00
|
|
|
|
|
|
|
# Add all the support libraries needed by this IOC
|
2019-04-09 11:26:32 -05:00
|
|
|
acs_LIBS += acs
|
|
|
|
acs_LIBS += motor
|
|
|
|
#ifdef ASYN
|
|
|
|
acs_LIBS += asyn
|
|
|
|
#endif
|
|
|
|
#ifdef SNCSEQ
|
|
|
|
acs_LIBS += seq pv
|
|
|
|
#endif
|
2019-04-09 11:24:20 -05:00
|
|
|
|
|
|
|
# acs_registerRecordDeviceDriver.cpp derives from acs.dbd
|
|
|
|
acs_SRCS += acs_registerRecordDeviceDriver.cpp
|
|
|
|
|
|
|
|
# Build the main IOC entry point on workstation OSs.
|
|
|
|
acs_SRCS_DEFAULT += acsMain.cpp
|
|
|
|
acs_SRCS_vxWorks += -nil-
|
|
|
|
|
|
|
|
# Add support from base/src/vxWorks if needed
|
|
|
|
#acs_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
|
|
|
|
|
|
|
# Finally link to the EPICS Base libraries
|
|
|
|
acs_LIBS += $(EPICS_BASE_IOC_LIBS)
|
|
|
|
|
|
|
|
#===========================
|
|
|
|
|
|
|
|
include $(TOP)/configure/RULES
|
|
|
|
#----------------------------------------
|
|
|
|
# ADD RULES AFTER THIS LINE
|
|
|
|
|