TOP=../..

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

#================================
# build EVG Support Soft IOC
#================================
PROD_IOC_Linux = evgSupport

# EVGSupport.dbd will be made here
DBD += evgSupport.dbd

# QSrv Service will be installed from here
evgSupport_DBD += base.dbd
evgSupport_DBD += devIocStats.dbd
evgSupport_DBD += PVAServerRegister.dbd
evgSupport_DBD += qsrv.dbd

evgSupport_DBD += system.dbd
evgSupport_DBD += iocAdmin.dbd
evgSupport_DBD += asSupport.dbd
evgSupport_DBD += devSeqCar.dbd

# Application dbds
evgSupport_DBD += InvariantDelays.dbd
evgSupport_DBD += DECODE_PATTERN.dbd
evgSupport_DBD += edefReserve.dbd
evgSupport_DBD += edefMask.dbd
evgSupport_DBD += mpgEventMaskSetup.dbd

# ======================================================================
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
evgSupport_SRCS += evgSupport_registerRecordDeviceDriver.cpp 
evgSupport_SRCS += DECODE_PATTERN.st 
evgSupport_SRCS += edefReserve.st 
evgSupport_SRCS += edefMask.st 
evgSupport_SRCS += InvariantDelays.st 
evgSupport_SRCS += mpgEventMaskSetup.st

evgSupport_SRCS_DEFAULT += evgSupportMain.cpp
evgSupport_SRCS_vxWorks += -nil-
# =====================================================
# Link in the code from other libraries
# =====================================================
evgSupport_LIBS += devIocStats 
evgSupport_LIBS += autosave 
evgSupport_LIBS += seq
evgSupport_LIBS += pv
evgSupport_LIBS += seqCar

# QSrv Service
evgSupport_LIBS += qsrv
evgSupport_LIBS += $(EPICS_BASE_PVA_CORE_LIBS)
evgSupport_LIBS += $(EPICS_BASE_IOC_LIBS)


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

include $(TOP)/configure/RULES
#----------------------------------------
