TOP=../..

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

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

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

# socanTest.dbd will be made up from these files:
socanTest_DBD += socansub.dbd
socanTest_DBD += base.dbd

socanTest_DBD += alm.dbd
socanTest_DBD += hwLowcalRecord.dbd
socanTest_DBD += MultiCAN.dbd
socanTest_DBD += socan.dbd

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

# Add all the support libraries needed by this IOC
#socanTest_LIBS += xxx
socanTest_LIBS += socan sci
socanTest_LIBS += alm
socanTest_LIBS += hwLowcalRecord mCANSupport mCANCore

# socanTest_registerRecordDeviceDriver.cpp derives from socanTest.dbd
socanTest_SRCS += socanTest_registerRecordDeviceDriver.cpp

socanTest_SRCS += socansub.c

# Build the main IOC entry point on workstation OSs.
socanTest_SRCS_DEFAULT += socanTestMain.cpp
socanTest_SRCS_vxWorks += -nil-

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

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

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

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

