Files
ec-gn-ja-pcf/EC-GN-JA-PCF/.svn/pristine/a6/a66d04843ca0edcd2e4ad68cbbdba2a0c4de095d.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 = PLC
# PLC.dbd will be created and installed
DBD += PLC.dbd
# PLC.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
PLC_DBD += $(CODAC_DBD)
PLC_LIBS += $(CODAC_LIBS)
# # SNCSEQ
# <sncProgram>_SNCFLAGS += +r -c +d
# PLC_DBD += <sncProgram>.dbd
# PLC_SRCS += <sncProgram>.stt
# PLC_LIBS += seq pv
# PLC_registerRecordDeviceDriver.cpp derives from PLC.dbd
PLC_SRCS += PLC_registerRecordDeviceDriver.cpp
# Build the main IOC entry point on workstation OSs.
PLC_SRCS_DEFAULT += PLCMain.cpp
PLC_SRCS_vxWorks += -nil-
# Add support from base/src/vxWorks if needed
#PLC_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
#=============================
# Include SNL program makefile snippets
-include ../*.snlprog
#=============================
# Finally link to the EPICS Base libraries
PLC_LIBS += $(EPICS_BASE_IOC_LIBS)
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
#----------------------------------------