TOP=../..

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

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

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

# nirp.dbd will be made up from these files:
nirp_DBD += base.dbd

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

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

# nirp_registerRecordDeviceDriver.cpp derives from nirp.dbd
nirp_SRCS += nirp_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
nirp_SRCS_DEFAULT += nirpMain.cpp
nirp_SRCS_vxWorks += -nil-

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

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

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

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

