TOP=../..

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

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

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

# pandadcs.dbd will be made up from these files:
pandadcs_DBD += base.dbd

# Include drop-in files delivered by EPICS module/driver packages:
-include /opt/epics/ioc-build/*.srcmake
pandadcs_DBD += $(DBD_IOCBUILD)
pandadcs_LIBS += $(LIBS_IOCBUILD)
pandadcs_SRCS += $(SRCS_IOCBUILD)
pandadcs_OBJ += $(OBJ_IOCBUILD)
pandadcs_DIR += $(DIR_IOCBUILD)

# pandadcs_registerRecordDeviceDriver.cpp derives from pandadcs.dbd
pandadcs_SRCS += pandadcs_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
pandadcs_SRCS_DEFAULT += pandadcsMain.cpp
pandadcs_SRCS_vxWorks += -nil-

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

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

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

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

