TOP=../..

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

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

PROD_HOST = VacuumSoft

DBD += VacuumSoft.dbd
# VacuumSoft.dbd will be made up from these files:
VacuumSoft_DBD += base.dbd
#include definitions for any other support applications needed
#VacuumSoft_DBD += xxx.dbd

# dbRestore
VacuumSoft_DBD += dbRestore.dbd

# genSub
#VacuumSoft_DBD += genSubRecord.dbd

# streams
VacuumSoft_DBD += aaiRecord.dbd
VacuumSoft_DBD += aaoRecord.dbd
VacuumSoft_DBD += asyn.dbd
VacuumSoft_DBD += asynRecord.dbd
VacuumSoft_DBD += stream.dbd
VacuumSoft_DBD += drvAsynIPPort.dbd
VacuumSoft_DBD += drvVxi11.dbd
VacuumSoft_DBD += drvAsynSerialPort.dbd
#VacuumSoft_DBD += calc.dbd
#VacuumSoft_DBD += streamSynApps.dbd

# ether-ip
VacuumSoft_DBD += ether_ip.dbd
VacuumSoft_DBD += drvEtherIP.dbd

# IOC Admin 
VacuumSoft_DBD += iocAdmin.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
VacuumSoft_SRCS += VacuumSoft_registerRecordDeviceDriver.cpp
VacuumSoft_SRCS_DEFAULT += VacuumSoftMain.cpp
VacuumSoft_SRCS_vxWorks += -nil-

#The following adds support from base/src/vxWorks
VacuumSoft_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

#add a definition for each support application used by this application
#VacuumSoft_LIBS += xxx

# Needed for cram with asyn
USR_SYS_LIBS += pcre

# dbRestore
VacuumSoft_LIBS += restore

# streams
VacuumSoft_LIBS += asyn
#VacuumSoft_LIBS += calc
VacuumSoft_LIBS += sscan
#VacuumSoft_LIBS += streamSynApps
VacuumSoft_LIBS += stream

# ether-ip
VacuumSoft_LIBS += ether_ip

# IOC Admin
#VacuumSoft_LIBS += iocAdmin
VacuumSoft_LIBS += devIocStats

#NOTES:
#      1)It is not possible to build sncExample both as a component of VacuumSoft
#        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 VacuumSoft
#VacuumSoft_SRCS += sncExample.stt
#VacuumSoft_LIBS += seq pv

VacuumSoft_LIBS += $(EPICS_BASE_IOC_LIBS)

#The following builds sncExample as a standalone application
#PROD_HOST += sncExample
#sncExample_SNCFLAGS += +m
#sncExample_SRCS += sncExample.stt
#sncExample_LIBS += seq pv
#sncExample_LIBS += $(EPICS_BASE_HOST_LIBS)

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

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

