TOP=../..

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

#=============================
# Build the IOC support library

# Build the IOC application

PROD_IOC_Linux = XDC
# XDC.dbd will be created and installed
DBD += XDC.dbd

# XDC.dbd will be made up from these files:
XDC_DBD += base.dbd
XDC_DBD += asyn.dbd
XDC_DBD += drvAsynIPPort.dbd
XDC_DBD += motorSupport.dbd
XDC_DBD += motorSimSupport.dbd
XDC_DBD += devSoftMotor.dbd
XDC_DBD += devAnc350.dbd
XDC_DBD += anc350AsynMotor.dbd
XDC_DBD += stream.dbd

# XDC_registerRecordDeviceDriver.cpp derives from XDC.dbd
XDC_SRCS += XDC_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
XDC_SRCS_DEFAULT += XDCMain.cpp
XDC_SRCS_vxWorks += -nil-

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

# Link in the code from the support library
XDC_LIBS += anc350
XDC_LIBS += anc350AsynMotor
XDC_LIBS += motorSimSupport
XDC_LIBS += softMotor
XDC_LIBS += motor
XDC_LIBS += stream
XDC_LIBS += asyn
PROD_SYS_LIBS_Linux += pcre

# NOTE: To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file


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

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

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

