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 += xxx.db

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

#----------------------------------------
#  ADD RULES AFTER THIS LINE

# Rules for installing autosave/restore request files:
CFG +=  CONFIG_SECURITY

# ==========================================
# Install autosave/restore request files
SECURITY += pmAccessControl.acf
# =========================================

# ========================================
# Install extra PVs for profile monitor
# used by MATLAB Application
# ========================================
DB += SIOC-XT01-PM01-cam.db


# ========================================
# Install timing/event related databases
# ========================================
DB += SIOC-B34-PM02-evr.db
DB += SIOC-B34-PM02-pattern.db
DB += SIOC-B34-PM02-trig.db

DB += SIOC-XT01-PM01-evr.db
DB += SIOC-XT01-PM01-pattern.db
DB += SIOC-XT01-PM01-trig.db


DB += NDStdArrays_evr.template
DB += evrTriggerTimestamp.template

# ========================================================
# 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

#autogen the trigger edm screen:
gen_trig_edl:
	./gen_trig_edl.sh
#
include $(TOP)/configure/RULES
