TOP=../..

include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================

#=============================
# build an ioc application

PROD_IOC = LLRFSupport

DBD += LLRFSupport.dbd

# LLRFSupport.dbd will be made up from these files:
LLRFSupport_DBD += base.dbd

LLRFSupport_DBD += asyn.dbd
LLRFSupport_DBD += asynRecord.dbd
LLRFSupport_DBD += stream.dbd
LLRFSupport_DBD += drvAsynIPPort.dbd
LLRFSupport_DBD += drvAsynSerialPort.dbd
LLRFSupport_DBD += autosave.dbd
LLRFSupport_DBD += iocAdmin.dbd
LLRFSupport_DBD += Bx9000_MBT.dbd
LLRFSupport_DBD += ModBusTCPClnt.dbd
LLRFSupport_DBD += analogSub.dbd

LLRFSupport_DBD += subChassis.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
LLRFSupport_SRCS += LLRFSupport_registerRecordDeviceDriver.cpp
LLRFSupport_SRCS_DEFAULT += subChassis.c
LLRFSupport_SRCS_DEFAULT += LLRFSupportMain.cpp
LLRFSupport_SRCS_vxWorks += -nil-

LLRFSupport_LIBS += asyn
LLRFSupport_LIBS += stream
LLRFSupport_LIBS += autosave
LLRFSupport_LIBS += devIocStats

# Bx9000_MBT must be before ModBusTCPClnt
LLRFSupport_LIBS += Bx9000_MBT
LLRFSupport_LIBS += ModBusTCPClnt

# Needed for static build (using cram)
USR_SYS_LIBS += pcre

LLRFSupport_LIBS += $(EPICS_BASE_IOC_LIBS)

#===========================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

