TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# Build the IOC support library
LIBRARY_IOC += slowCtrlSupport
PROD_LIBS += stream
PROD_LIBS += asyn
PROD_LIBS += calc
PROD_LIBS += streamSynApps
# xxxRecord.h will be created from xxxRecord.dbd
DBDINC += xxxRecord
# Install devXxxSoft.dbd into <top>/dbd
DBD += xxxSupport.dbd
# Compile and add the code to the support library
slowCtrlSupport_SRCS += xxxRecord.c
slowCtrlSupport_SRCS += devXxxSoft.c
# Link locally-provided code into the support library,
# rather than directly into the IOC application.
slowCtrlSupport_SRCS += dbSubExample.c
slowCtrlSupport_SRCS += slowCtrlHello.c
slowCtrlSupport_SRCS += initTrace.c
slowCtrlSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
#=============================
# Build the IOC application
PROD_IOC = slowCtrl
# slowCtrl.dbd will be created and installed
DBD += slowCtrl.dbd
# slowCtrl.dbd will be made up from these files:
slowCtrl_DBD += base.dbd
slowCtrl_DBD += xxxSupport.dbd
slowCtrl_DBD += dbSubExample.dbd
slowCtrl_DBD += slowCtrlHello.dbd
slowCtrl_DBD += initTrace.dbd
slowCtrl_DBD += slowCtrlInclude.dbd
slowCtrl_DBD += stream.dbd
slowCtrl_DBD += asyn.dbd
# slowCtrl_registerRecordDeviceDriver.cpp derives from slowCtrl.dbd
slowCtrl_SRCS += slowCtrl_registerRecordDeviceDriver.cpp
# Build the main IOC entry point on workstation OSs.
slowCtrl_SRCS_DEFAULT += slowCtrlMain.cpp
slowCtrl_SRCS_vxWorks += -nil-
# Add support from base/src/vxWorks if needed
#slowCtrl_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
# Link in the code from the support library
slowCtrl_LIBS += slowCtrlSupport
# NOTE: To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file
ifneq ($(SNCSEQ),)
# Build sncExample into slowCtrlSupport
sncExample_SNCFLAGS += +r
slowCtrl_DBD += sncExample.dbd
slowCtrlSupport_SRCS += sncExample.stt
slowCtrlSupport_LIBS += seq pv
slowCtrl_LIBS += seq pv
# Build sncProgram as a standalone program
PROD_HOST += sncProgram
sncProgram_SNCFLAGS += +m
sncProgram_SRCS += sncProgram.st
sncProgram_LIBS += seq pv
sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS)
endif
# Finally link to the EPICS Base libraries
slowCtrl_LIBS += $(EPICS_BASE_IOC_LIBS)
#=============================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE