Files
ec-gn-ja-pcf/EC-GN-JA-PCF/.svn/pristine/ca/ca5dc532dbe795f4eb83484ec8aef850a7cf4e67.svn-base

60 lines
1.4 KiB
Plaintext

TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#========================================
#========================================
# Build the IOC application
PROD_IOC = CUB
# CUB.dbd will be created and installed
DBD += CUB.dbd
# CUB.dbd will be made up from these files:
-include $(EPICS_ROOT)/mk/codac-common.mk
# Add all the support libraries needed by this IOC
-include $(EPICS_ROOT)/mk/asyn.mk
-include $(EPICS_ROOT)/mk/s7PLCAsyn.mk
CUB_DBD += $(CODAC_DBD)
CUB_LIBS += $(CODAC_LIBS)
# # SNCSEQ
# <sncProgram>_SNCFLAGS += +r -c +d
# CUB_DBD += <sncProgram>.dbd
# CUB_SRCS += <sncProgram>.stt
# CUB_LIBS += seq pv
# CUB_registerRecordDeviceDriver.cpp derives from CUB.dbd
CUB_SRCS += CUB_registerRecordDeviceDriver.cpp
# Build the main IOC entry point on workstation OSs.
CUB_SRCS_DEFAULT += CUBMain.cpp
CUB_SRCS_vxWorks += -nil-
# Add support from base/src/vxWorks if needed
#CUB_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
#=============================
# Include SNL program makefile snippets
-include ../*.snlprog
#=============================
# Finally link to the EPICS Base libraries
CUB_LIBS += $(EPICS_BASE_IOC_LIBS)
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
#----------------------------------------