TOP=../..

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

#==================================================
# Build an IOC support library


# xxxRecord.h will be created from xxxRecord.dbd

# install devXxxSoft.dbd into <top>/dbd


# The following are compiled and added to the Support library


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

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

# MPSSoft.dbd will be made up from these files:
MPSSoft_DBD += base.dbd
# mpsToroidComparatorAndTdund
MPSSoft_DBD += mpsToroidComparatorAndTdund.dbd
# IOC Admin 
MPSSoft_DBD += iocAdmin.dbd
# dbRestore
MPSSoft_DBD += dbRestore.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
MPSSoft_SRCS += MPSSoft_registerRecordDeviceDriver.cpp
MPSSoft_SRCS_DEFAULT += MPSSoftMain.cpp
MPSSoft_SRCS_vxWorks += -nil-

MPSSoft_SNCFLAGS += +r -c
MPSSoft_SRCS += mpsToroidComparatorAndTdund.stt


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

# IOC Admin 
MPSSoft_LIBS += devIocStats

# dbRestore
MPSSoft_LIBS += restore

MPSSoft_DBD += mpsToroidComparatorAndTdund.dbd
MPSSoft_LIBS += seq pv


MPSSoft_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

