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 += pllwaveform.db
DB += plllongin.db 
DB += plllongout.db 
DB += pllai.db 
DB += pllbo.db 
DB += pllmbbo.db 
DB += pllmbbi.db 
DB += pllcalcout.db 
DB += pllAS01.template
DB += pllB084.template

DB += $(IOCADMIN)/db/iocAdminRTEMS.db
DB += $(AUTOSAVE)/db/save_restoreStatus.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

%.template: ../%.substitutions ../pll.template
	$(RM) $@
	../buildtemplate $< $@

clean::
	$(RM) $(patsubst %.substitutions,%.template,$(wildcard *.substitutions))
