TOP=../..

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

# build an ioc application
PROD_HOST = vac

DBD += vac.dbd
# vac.dbd will be made up from these files:
vac_DBD += base.dbd

# Hiden RGA
#vac_DBD += hidenRGA.dbd

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

# streams
# Note: aai and aao now included base.dbd
vac_DBD += asyn.dbd
#vac_DBD += asynRecord.dbd
vac_DBD += drvAsynIPPort.dbd
vac_DBD += modbusSupport.dbd
vac_DBD += stream.dbd



# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
vac_SRCS += vac_registerRecordDeviceDriver.cpp
vac_SRCS_DEFAULT += vacMain.cpp
vac_SRCS_vxWorks += -nil-
#LIBRARY_IOC   += hidenRGA
#hidenRGA_SRCS += hidenRGA_plot.c
#vac_SRCS   += $(hidenRGA_SRCS)

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

# ether-ip
vac_LIBS += ether_ip

# streams
vac_LIBS += modbus
vac_LIBS += stream
vac_LIBS += asyn

vac_LIBS += $(EPICS_BASE_IOC_LIBS)

# Needed for static builds
USR_SYS_LIBS += pcre

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

#The following builds sncExample as a standalone application
#PROD_HOST += sncDegas
#sncDegas_SNCFLAGS += +m
#snc_DBD += sncDegas.dbd
#sncDegas_SRCS += sncDegas.stt
#sncDegas_LIBS += seq pv
#sncDegas_LIBS += $(EPICS_BASE_HOST_LIBS)

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

#========================================
include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
#
# End of file


