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)
# databases, templates, substitutions like this
DB += genPadRawWaveform.db
DB += padstate.db
DB += padsubarray.db
DB += padqspi.db

DB += saPadRawWaveform.db
DB += sapadsubarray.db

# bpmAfe.db installed in /db for use by vmeBpmApp
# Macros 'instance' and 'devsup' default values 
# are for Pad Afe. Vme Digi Afe redefines these.
# DB += bpmAfe.db

# DB += bpmPadAfe.template
# DB += bpmPadAfe.db
# DB += bpmPadAfe-stdalone.db
ifndef TEST_ONLY
DB += $(IOCADMIN)/db/iocAdminRTEMS.db
IOCRELEASE_DB += iocRelease.db
endif

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

include $(TOP)/configure/RULES

# include O.Common BEFORE installdir because there might be a
# stale version there!
USR_DBFLAGS=-I$(COMMON_DIR)

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

# ../O.Common/bpmPadAfe.template:
# 	cat ../bpmAfe.db ../bpmPadAfe.db.part > $@

# vpath bpmPadAfe.template ../O.Common
vpath ../O.Common
