TOP=../..

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


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

PROD_IOC = mpsTdundAndToroidFaults
# mpsTdundAndToroidFaults.dbd will be created and installed
DBD += mpsTdundAndToroidFaults.dbd

# mpsTdundAndToroidFaults.dbd will be made up from these files:
mpsTdundAndToroidFaults_DBD += base.dbd
mpsTdundAndToroidFaults_DBD += mpsToroidComparatorAndTdund.dbd

# IOC Admin
mpsTdundAndToroidFaults_DBD += iocAdmin.dbd
mpsTdundAndToroidFaults_LIBS += devIocStats


# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
mpsTdundAndToroidFaults_SRCS += mpsTdundAndToroidFaults_registerRecordDeviceDriver.cpp
mpsTdundAndToroidFaults_SRCS_DEFAULT += mpsTdundAndToroidFaultsMain.cpp

# This builds mpsToroidComparatorAndTdund as a component of mpsTdundAndToroidFaults
mpsTdundAndToroidFaults_SNCFLAGS += +r -c
mpsTdundAndToroidFaults_DBD += mpsToroidComparatorAndTdund.dbd
mpsTdundAndToroidFaults_SRCS += mpsToroidComparatorAndTdund.stt
mpsTdundAndToroidFaults_LIBS += seq pv

mpsTdundAndToroidFaults_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

