TOP=../..

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

#=============================
# build an ioc application

PROD_IOC_RTEMS = MasTriGen


DBD += MasTriGen.dbd

# MasTriGen.dbd will be made up from these files:
MasTriGen_DBD += base.dbd
MasTriGen_DBD += iocAdmin.dbd
MasTriGen_DBD += devIocStats.dbd
MasTriGen_DBD += VMTGSup.dbd
MasTriGen_DBD += devBusMapped.dbd
MasTriGen_DBD += autosave.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
MasTriGen_SRCS += MasTriGen_registerRecordDeviceDriver.cpp
MasTriGen_SRCS_DEFAULT += MasTriGenMain.cpp
MasTriGen_SRCS_RTEMS   += -nil-

#add a definition for each support application used by this application
MasTriGen_LIBS += VMTGSup
MasTriGen_LIBS += devIocStats
MasTriGen_LIBS += autosave

#NOTES:
#      1)It is not possible to build sncExample both as a component of VMTG
#        and standalone. You must choose only one.
#      2)To build sncExample SNCSEQ must be defined in <top>/configure/RELEASE

#The following builds sncExample as a component of VMTG

MasTriGen_LIBS += devBusMapped $(EPICS_BASE_IOC_LIBS)

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

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

