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

#----------------------------------------------------
#  Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES
#----------------------------------------------------
# Create and install (or just install)
# databases, templates, substitutions like this
DB_INSTALLS += $(ECASYN)/db/MASTER.template

# For the motor
DB_INSTALLS += $(COUNTER)/db/APCI1710Counter.db
DB_INSTALLS += $(ASYN)/db/asynRecord.db

# For Timing
DB_INSTALLS += $(EVRCLIENT)/db/evr.db
DB_INSTALLS += $(EVRCLIENT)/db/evrEventCtrl.db
DB_INSTALLS += $(EVRCLIENT)/db/evrPatternAll.db
DB_INSTALLS += $(EVRCLIENT)/db/evrEventAll.db
DB_INSTALLS += $(EVRCLIENT)/db/evrDevTrig.db
DB_INSTALLS += $(EVRCLIENT)/db/bsaATTREdef.db

DB_INSTALLS += $(CROSSBARCONTROL)/db/crossbarCtrl.db
DB_INSTALLS += $(TPRPATTERN)/db/tprPattern.db
DB_INSTALLS += $(TPRTRIGGER)/db/tprTrig.db
DB_INSTALLS += $(TPRTRIGGER)/db/tprDeviceNamePV.db

# For ioc administration
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

# For sequences
DB_INSTALLS += $(SNCSEQ)/db/devSeqCar.db

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

# Install local databases
# PVs to initialize and get get readback. (used by high level applications)
DB += LinmotMotorSupport.db

# PVs for CBXFEL
DB += cbxfel.db

DB += testEK9000.db

# Aerotech for FWS
DB += FWSSupport.db
# Basic motor 
DB += basic_asyn_motor.db

# Basic motor for XPS and Pico
DB += basic_asyn_motor_pico.db

# LHU motor
DB += basic_asyn_motor_LHU.db

# for wirescanning ( used by high level physics applications)
DB += PhysicsAppSupport.db

DB += autocorrect.db

# For lvdt feedback
DB += labJackT7AIReadback.db
DB += aerotech_lvdt.db
DB += slow_wire.db

# For HXRSS-II 
DB += aerotech_axis.db
DB += aerotech_controller.db
DB += aerotech_task.db
DB += motor-asyn.db
DB += MCS_Controller.db
DB += HXRSSII-motor-controls.db

# Install timing/event related databases
# BSA
DB += BSASupport.db
DB += BSABLENSupport.db

DB += EVRSupport.db
DB += EVRPatternSupport.db

# Aerotech Ensemble controllers
DB += basic_asyn_motor_noBSA.db

# For ATCA FPGA support with PMT data and wirescanner real time position readback 
DB += fwsFPGA_cpsw.db
DB += wirescanner_cpsw.db
DB += cpsw_common.db
DB += cpsw_lblm.db

DB += aerotechControllerSupport.db
DB += aerotechAxisSupport.db

# Phase shifter controls 
DB += phaseShifterControls.db

# Collimator controls 
DB += collimatorControls.db
DB += collimatorControls2.db

# PEPPEx controls 
DB += peppexControls.db

# For Laser Heater Undulator K value
DB += LHUSupport.db
DB += LHUSupport2.db
DB += slowWireScannerControls.db
DB += lcls2FastWireScannerControls.db
DB += bc2bControls.db
DB += bc1bControls.db

DB += ioc_info.db
DB += alias.db

# For CAENDT5533E
DB += CAENHVDT5533E_Channel.template
DB += CAENHVDT5533E_Module.template

# For CAEN1470
DB += CAENHV_Channel.template
DB += CAENHV_Module.template

# Install protocol files for streamdevice
PROTO += aerotech.proto
PROTO += caenN1470.proto 
PROTO += caenDT5533E.proto 
PROTO += MCSch.proto 
PROTO += Animatics.proto 

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