TOP=../..

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

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

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

# DP41_TEST.dbd will be made up from these files:
DP41_TEST_DBD += base.dbd
DP41_TEST_DBD += devDP41.dbd
DP41_TEST_DBD += drvAsynSerialPort.dbd

# Include dbd files from all support applications:
#DP41_TEST_DBD += xxx.dbd

# Add all the support libraries needed by this IOC
#DP41_TEST_LIBS += xxx

# DP41_TEST_registerRecordDeviceDriver.cpp derives from DP41_TEST.dbd
DP41_TEST_SRCS += DP41_TEST_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
DP41_TEST_SRCS_DEFAULT += DP41_TESTMain.cpp
DP41_TEST_SRCS_vxWorks += -nil-

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

# Finally link to the EPICS Base libraries
DP41_TEST_LIBS += devDP41
DP41_TEST_LIBS += asyn
DP41_TEST_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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