TOP=../..

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

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

PROD_IOC_RTEMS = mpsLinkNodeSim
# mpsLinkNodeSim.dbd will be created and installed
DBD += mpsLinkNodeSim.dbd

# mpsLinkNodeSim.dbd will be made up from these files:
mpsLinkNodeSim_DBD += base.dbd
mpsLinkNodeSim_DBD += mpsLinkNodeSimDBD.dbd


mpsLinkNodeSim_DBD += evrSupport.dbd
mpsLinkNodeSim_DBD += devMrfEr.dbd

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

# Add all the support libraries needed by this IOC
mpsLinkNodeSim_LIBS += devMrfEr
mpsLinkNodeSim_LIBS += evrSupport
mpsLinkNodeSim_LIBS += mrfVme64x
mpsLinkNodeSim_LIBS += udpComm
mpsLinkNodeSim_LIBS += mps

# mpsLinkNodeSim_registerRecordDeviceDriver.cpp derives from mpsLinkNodeSim.dbd
mpsLinkNodeSim_SRCS += mpsLinkNodeSim_registerRecordDeviceDriver.cpp

mpsLinkNodeSim_SRCS += drvLinkNodeSim.c
mpsLinkNodeSim_SRCS += devLinkNodeSim.c

# Build the main IOC entry point on workstation OSs.
mpsLinkNodeSim_SRCS_DEFAULT += mpsLinkNodeSimMain.cpp
mpsLinkNodeSim_SRCS_vxWorks += -nil-

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

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

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

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

