TOP=../..

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

USR_SYS_LIBS += pcre
#=============================
# Build the IOC support library

#LIBRARY_IOC += loadCellsTestSupport

#=============================
# Build the IOC application

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

# loadCellsTest.dbd will be made up from these files:
loadCellsTest_DBD += base.dbd
loadCellsTest_DBD += devIocStats.dbd
loadCellsTest_DBD += asyn.dbd
loadCellsTest_DBD += drvAsynIPPort.dbd
loadCellsTest_DBD += modbusSupport.dbd
loadCellsTest_DBD += stream.dbd 
loadCellsTest_DBD += iocAdmin.dbd

# Build the main IOC entry point on workstation OSs.
loadCellsTest_SRCS_DEFAULT += loadCellsTestMain.cpp
loadCellsTest_SRCS_vxWorks += -nil-

# loadCellsTest_registerRecordDeviceDriver.cpp derives from loadCellsTest.dbd
loadCellsTest_SRCS += loadCellsTest_registerRecordDeviceDriver.cpp


# Add support from base/src/vxWorks if needed
#loadCellsTest_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

# =====================================================
# Link in the code from other libraries
# =====================================================
loadCellsTest_LIBS += devIocStats
loadCellsTest_LIBS += stream
loadCellsTest_LIBS += modbus 
loadCellsTest_LIBS += asyn

# Finally link to the EPICS Base libraries
loadCellsTest_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

