TOP=../..

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

#==================================================
# Build an IOC support library

# build an ioc application

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

# Test.dbd will be made up from these files:
Test_DBD += base.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
Test_SRCS += Test_registerRecordDeviceDriver.cpp
Test_SRCS_DEFAULT += TestMain.cpp
Test_SRCS_vxWorks += -nil-
TEST_LIBS += restore iocAdmin


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

ifneq ($(SNCSEQ),)
    # This builds sncExample as a component of Test
    Test_SNCFLAGS += +r
    Test_DBD += countAlarms.dbd
    Test_SRCS += countAlarms.stt
    Test_LIBS += seq pv

endif

Test_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

