#==============================================================
#
#  Abs:  build EPICS Database components for the
#        Machine Protection System
#
#  Name: Makefile
#
#  Facility: SLAC/LCLS
#
#  Auth: 09-Feb-2007, Arturo Alarcon  (ALARCON)
#  Rev:  dd-mmm-yyyy, First Lastname  (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        12-Jun-2007, Arturo Alarcon   (ALARCON):
#           add imps.acf file and added RULES.Db
#
#===============================================================
#
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
DB += imps.db
DB += gun-temp.db
DB += imps-magstatus.db
DB += IOC-IN20-MP01evr.db
DB += IOC-IN20-MP01pattern.db
DB += IOC-IN20-MP01trig.db
DB += bcs-trig-test.vdb
DB += HXRSS-imps-inputs.vdb
DB += imps-wdog.db
DB += imps-sxrss.db

DB_INSTALLS += $(IOCADMIN)/db/iocAdminRTEMS.db
IOCRELEASE_DB += iocRelease.db

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

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


gen_trig_edl:
	create_edm_event_msi.py IOC-IN20-MP01trig.substitutions
