File:  [EPICS Repository] / base / configure / RULES_EXPAND
Revision 1.5: download - view: text, annotated - select for diffs
Tue Sep 22 18:41:25 2009 UTC (8 years, 2 months ago) by jba
Branches: MAIN
CVS tags: HEAD
Merged R3.14.11 changes from R3.14.2 branch.

# <top>/configure/RULES_EXPAND

ifeq ($(findstring Host,$(VALID_BUILDS)),Host)

# Default settings
EXPAND_TOOL ?= $(PERL) $(TOOLS)/expandVars.pl

EXPANDFLAGS += -t $(INSTALL_LOCATION) -a $(T_A)
EXPANDFLAGS += $(addprefix -D ,$(EXPAND_VARS))

EXPANDED = $(EXPAND:%@=%)

buildInstall: $(EXPANDED)

$(EXPANDED): %: ../%@
	$(ECHO) "Expanding $< to $@"
	@$(RM) $@
	@$(EXPAND_TOOL) $(EXPANDFLAGS) $($@_EXPANDFLAGS) $< $@

clean::
	@$(RM) $(EXPANDED)

endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>