TOP=../..

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

# ================================================
# Build the IOC application
# ================================================
# This will attempt to build an IOC application 
# for every target including the host computer.
PROD_IOC = flipper

# flipper.dbd will be created and installed
DBD += flipper.dbd

# flipper.dbd will be made up from these files:
flipper_DBD += base.dbd
flipper_DBD += devIocStats.dbd
flipper_DBD += devSeqCar.dbd
flipper_DBD += asSupport.dbd
flipper_DBD += caPutLog.dbd
flipper_DBD += system.dbd
flipper_DBD += Bk9000_MBT.dbd
flipper_DBD += ModBusTCPClnt.dbd

# ======================================================================
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
flipper_SRCS += flipper_registerRecordDeviceDriver.cpp
flipper_SRCS_DEFAULT += flipperMain.cpp
# ========================================================================

# =====================================================
# Link in the code from other libraries
# =====================================================
flipper_LIBS += devIocStats
flipper_LIBS += autosave
flipper_LIBS += caPutLog
flipper_LIBS += seqCar seq pv
flipper_LIBS += Bk9000_MBT
flipper_LIBS += ModBusTCPClnt

# =====================================================
flipper_LIBS += $(EPICS_BASE_IOC_LIBS)
#===========================

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

