#==============================================================
#
#  Abs:  Makefile to build EPICS Database components
#
#  Name: Makefile
#
#  Facility: EED Temperature Controls
#
#  Auth: 01-Oct-2008, Sonya Hoobler   (SCHUHS)
#  Rev:  dd-mmm-yyyy, First Lastname  (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        16-Oct-2019, K. Luchini      (LUCHINI):
#          move from abtemp/Db/common to tempApp/Db/common
#        09-Mar-2018, Namrata Balakrishnan (NAMRATA)
#          Added ab-rtd-channel.template
#
#==============================================================
#
TOP=../../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#----------------------------------------------------
#  Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES

# For iocAdmin database
DB_INSTALLS       += $(IOCADMIN)/db/iocAdminRTEMS.db
DB_INSTALLS       += $(IOCADMIN)/db/iocAdminSoft.db
DB_INSTALLS       += $(IOCADMIN)/db/iocAdminScanMon.db
IOCRELEASE_DB     += iocRelease.db

# Autosave
DB_INSTALLS += $(AUTOSAVE)/db/save_restoreStatus.db

# Sequence Admin
DB_INSTALLS += $(SNCSEQ)/db/devSeqCar.db

# PLC
PLCADMIN_TEMPLATE += $(PLCADMIN)/db/plcAdminControlLogix.template
ETHER_IP_TEMPLATE += $(ETHER_IP)/db/eip_stat.db

# Asyn database
DB_INSTALLS+=$(ASYN)/db/asynRecord.db

# Allen-bradley
DB += MPSInterlockSummary.template
DB += MPSInterlock.template
DB += ab-cjc-channel.template 
DB += ab-tc-channel.template
DB += ab-plc-info.template 
DB += dlwgLimits.template 

# for LCLS2
DB += compactLogix-IB16-channel.template
DB += compactLogix-OB16-channel.template
DB += compactLogix-OB16-eeps-channel.template
DB += compactLogix-IY4-channel.template
DB += compactLogix-IF8-channel.template
DB += ab-di-channel.template 
DB += rf_interlock.template
DB += eps_interlock.db
DB += tempInterlock.template
DB += flowInterlock.template
DB += rf_vacuum_interlock.template
DB += rf_summary_interlock.template
DB += mps_summary_interlock.template
DB += thermoSciFlex5000.db
DB += ab-temp-channel.template 

# Snmp
DB += watchdog_15.db
DB += watchdog_15_noExternal.db

# Beckhoff
DB += signal_mps.db
DB += sum_mps.db
DB += hm1500lf.template
DB += Bx9000Info-asyn.template
DB += Bx9000InstalledBTs-asyn.template
DB += KM2002-asyn.template
DB += KL2124-asyn.template
DB += KL3064-asyn.template
DB += KL3204-asyn.template
DB += KL3314-asyn.template
DB += ai-bkhf.template
DB += ao-bkhf.template
DB += bi-bkhf.template
DB += bo-bkhf.template
DB += temp-bkhf.template

# Protocol files for streamdevice
PROTO += thermoSciFlex5000.proto
PROTO += chiller.proto

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


