#==============================================================
#
#  Abs:  Makefile to build EPICS Database components
#
#  Name: Makefile
#
#  Facility: LCLS Motion Controls
#
#  Auth: 13-Jul-2010, Arturo Alarcon  (alarcon)
#  Rev:  dd-mmm-yyyy, First Lastname  (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        25-Oct-2019, K. Luchini      (luchini):
#          install mc_timing.db
#        19-Oct-2017, K. Luchini      (luchini):
#          install devSeqCar.db
#          remove wirescan_bkhf.db
#        17-Oct-2017, N. Balakrishnan (NAMRATA):
#          chg caenN1470.prot.db to  caenN1470.prot
#          and install to TOP/db using PROTO
#        07-Sep-2017, K. Luchini      (luchini):
#          remove coll-archiver.template
#          remove motor-archiver.template
#          remove motor-v2.template and motor_ca.template
#          remove access.db, iocScanMon.db
#        14-Jul-2017, N. Balakrishnan (namrata):
#          add alarm_BLEN.template to add alarm for encoder readback motor
#        11-Mar-2016, K. Luchini      (luchini):
#          remove asyn verison of ip330 templates, not used in production
#          ip330.template,ip330ScanMode.template 
#          remove IP330.template, use one from module release
#          remove lvdt_ca.template not used.
#        27-Oct-2015, K. Luchini      (luchini):
#         install iocScanMon.db
#        24-Aug-2015, K. Luchini      (luchini):
#         install FastWirescanner IOC Application dbs
#
#==============================================================
#
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
#
# For iocAdmin database
DB_INSTALLS       += $(IOCADMIN)/db/iocAdminRTEMS.db
DB_INSTALLS       += $(IOCADMIN)/db/iocAdminSoft.db
IOCRELEASE_DB     += iocRelease.db

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

# For autosave status database
DB_INSTALLS += $(AUTOSAVE)/db/save_restoreStatus.db

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

DB += motor_hytec.db
DB += mc_timing.db
DB += mc_timing_facet.db

# Install protocol files for streamdevice
PROTO += caenN1470.proto

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