TOP=../..

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

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

PROD_IOC = srfSupport

DBD += srfSupport.dbd
# srfSupport.dbd will be made up from these files:
srfSupport_DBD += base.dbd
srfSupport_DBD += iocAdmin.dbd
srfSupport_DBD += asSupport.dbd

# To copy archive files on boot
srfSupport_DBD += system.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
srfSupport_SRCS += srfSupport_registerRecordDeviceDriver.cpp
srfSupport_SRCS_DEFAULT += srfSupportMain.cpp
srfSupport_SRCS_vxWorks += -nil-

#The following adds support from base/src/vxWorks
srfSupport_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

srfSupport_DBD += asyn.dbd
srfSupport_LIBS += asyn

srfSupport_DBD += busySupport.dbd
srfSupport_LIBS += busy

ifneq ($(CAPUTLOG),)
srfSupport_DBD += caPutLog.dbd
srfSupport_LIBS += caPutLog
endif

srfSupport_LIBS += autosave

srfSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
srfSupport_LIBS += devIocStats

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

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

