Generation working and Compilation of MARTe components

This commit is contained in:
ferrog
2025-05-13 16:03:11 +00:00
parent 3a5e378d99
commit 4faee3802a
1571 changed files with 611466 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
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
#----------------------------------------