TOP=../..

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

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

LIBRARY_IOC += MessageLogging_TestStandSupport

# xxxRecord.h will be created from xxxRecord.dbd
#DBDINC += xxxRecord
# Install devXxxSoft.dbd into <top>/dbd
#DBD += xxxSupport.dbd

# Compile and add the code to the support library
#MessageLogging_TestStandSupport_SRCS += xxxRecord.c
#MessageLogging_TestStandSupport_SRCS += devXxxSoft.c

# Link locally-provided code into the support library,
# rather than directly into the IOC application.
#MessageLogging_TestStandSupport_SRCS += dbSubExample.c
MessageLogging_TestStandSupport_SRCS += MessageLogging_TestStandHello.cpp
#MessageLogging_TestStandSupport_SRCS += initTrace.c

MessageLogging_TestStandSupport_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

# MessageLogging_TestStand.dbd will be made up from these files:
MessageLogging_TestStand_DBD += base.dbd
#MessageLogging_TestStand_DBD += xxxSupport.dbd
#MessageLogging_TestStand_DBD += dbSubExample.dbd
MessageLogging_TestStand_DBD += MessageLogging_TestStandHello.dbd
#MessageLogging_TestStand_DBD += initTrace.dbd

# MessageLogging_TestStand_registerRecordDeviceDriver.cpp derives from MessageLogging_TestStand.dbd
MessageLogging_TestStand_SRCS += MessageLogging_TestStand_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
MessageLogging_TestStand_SRCS_DEFAULT += MessageLogging_TestStandMain.cpp
MessageLogging_TestStand_SRCS_vxWorks += -nil-

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

# Link in the code from the support library
MessageLogging_TestStand_LIBS += MessageLogging_TestStandSupport

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


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

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

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

