57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
TOP=../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
#----------------------------------------
|
|
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
|
#========================================
|
|
|
|
#========================================
|
|
# Build the IOC application
|
|
|
|
PROD_IOC = EC-GN
|
|
# EC-GN.dbd will be created and installed
|
|
DBD += EC-GN.dbd
|
|
|
|
# EC-GN.dbd will be made up from these files:
|
|
-include $(EPICS_ROOT)/mk/codac-common.mk
|
|
|
|
|
|
# Add all the support libraries needed by this IOC
|
|
|
|
EC-GN_DBD += $(CODAC_DBD)
|
|
EC-GN_LIBS += $(CODAC_LIBS)
|
|
|
|
# # SNCSEQ
|
|
# <sncProgram>_SNCFLAGS += +r -c +d
|
|
# EC-GN_DBD += <sncProgram>.dbd
|
|
# EC-GN_SRCS += <sncProgram>.stt
|
|
# EC-GN_LIBS += seq pv
|
|
|
|
|
|
# EC-GN_registerRecordDeviceDriver.cpp derives from EC-GN.dbd
|
|
EC-GN_SRCS += EC-GN_registerRecordDeviceDriver.cpp
|
|
|
|
# Build the main IOC entry point on workstation OSs.
|
|
EC-GN_SRCS_DEFAULT += EC-GNMain.cpp
|
|
EC-GN_SRCS_vxWorks += -nil-
|
|
|
|
# Add support from base/src/vxWorks if needed
|
|
#EC-GN_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
|
|
|
#=============================
|
|
# Include SNL program makefile snippets
|
|
|
|
-include ../*.snlprog
|
|
|
|
#=============================
|
|
|
|
|
|
# Finally link to the EPICS Base libraries
|
|
EC-GN_LIBS += $(EPICS_BASE_IOC_LIBS)
|
|
|
|
#===========================
|
|
|
|
include $(TOP)/configure/RULES
|
|
#----------------------------------------
|
|
# ADD RULES AFTER THIS LINE
|
|
#---------------------------------------- |