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 += subR_laserLocker.db
DB += subRHL_laserLocker.db
DB += HL_laserLocker.db
DB += SIOC-B130-LS01_motors.db
DB += amplitude-1.db
DB += amplitude-1_misc.db
DB += Agilent5321.db
DB += Agilent5321.proto.db

DB_INSTALLS += $(ASYN)/db/asynRecord.db
DB_INSTALLS += $(LASERLOCKING)/db/ai_hist.db
DB_INSTALLS += $(LASERLOCKING)/db/ai_hist_RFChan.db
DB_INSTALLS += $(LASERLOCKING)/db/ai_hist_calcPhase.db
DB_INSTALLS += $(LASERLOCKING)/db/fsControls.template


#DB += motor-IMS.db
#DB_INSTALLS += motor-IMS.substitutions

# ========================================
# Install timing/event related databases
# ========================================
# For event module BSA Test
#DB += bsaSimulator.db

# Install Common databases needed by All IOCs
# ========================================================
# Install databases from iocAdmin package
# These databases support IOC Health and Monitoring
# ========================================================
# SoftIOC
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

# Install ycpswasyn templates
DB_INSTALLS += $(wildcard $(YCPSWASYN)/db/*.template)


DB_INSTALLS += $(CROSSBARCONTROL)/db/crossbarCtrl.db

# Install Database for tprTrigger module
DB_INSTALLS += $(TPRTRIGGER)/db/tprTrig.db
DB_INSTALLS += $(TPRTRIGGER)/db/tprDeviceNamePV.db

# Install Database for tprPattern module
DB_INSTALLS += $(TPRPATTERN)/db/tprPattern.db



#----------------------------------------------------
# If <anyname>.db template is not named <anyname>*.template add
# <anyname>_template = <templatename>

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

