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

#----------------------------------------------------
#  Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES

#----------------------------------------------------
# Create and install (or just install) into <top>/db
# databases, templates, substitutions like this
DB += chAnalysis.db
# Install Common databases needed by All IOCs
# # ========================================================
# # Install databases from iocAdmin package
# # These databases support IOC Health and Monitoring
# # ========================================================
DB_INSTALLS += $(IOCADMIN)/db/iocAdminSoft.db
DB_INSTALLS += $(IOCADMIN)/db/iocAdminScanMon.db
DB_INSTALLS += $(IOCADMIN)/db/iocScanMonSum.db
DB_INSTALLS += $(IOCADMIN)/db/iocScanMon.db
IOCRELEASE_DB += iocRelease.db
# ==========================================================

# =======================================================================
# Install Database to support reading the status of the autosave package:
DB_INSTALLS += $(AUTOSAVE)/db/save_restoreStatus.db
DB_INSTALLS += $(CALC)/calcApp/Db/acalcout_settings.req
DB_INSTALLS += $(TOP)/beamLossApp/Db/userArrayCalcs_settings.req
# =======================================================================

# =======================================
# Install Timing Receiver Databases
# =======================================
DB_INSTALLS += $(EVENT)/db/EvrPmc.db
DB_INSTALLS += $(EVENT)/db/Pattern.db
DB_INSTALLS += $(EVENT)/db/PMC-trig.db
DB_INSTALLS += $(EVENT)/db/Bsa.db

# =======================================
# Install SIS8300 Digitizer Databases
# =======================================

DB_INSTALLS += $(GTR_SIS8300)/db/gtr.db
DB_INSTALLS += $(GTR_SIS8300)/db/gtrwaveform.db
DB_INSTALLS += $(GTR_SIS8300)/db/gtrSis8300Clock.db
#----------------------------------------------------
# If <anyname>.db template is not named <anyname>*.template add
# <anyname>_template = <templatename>

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

