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 = 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
#----------------------------------------