Newer
Older
# Variables should be transferred to module_name.makefile
# In near future, BASE may drop "startup" directory, so
#
ifeq ($(strip $(EPICS_HOST_ARCH)),)
EPICS_HOST_ARCH:=$(shell perl $(EPICS_BASE)/lib/perl/EpicsHostArch.pl)
endif
EXPORT_VARS+=EPICS_HOST_ARCH
EXPORT_VARS+=EPICS_BASE
EXPORT_VARS+=E3_REQUIRE_TOOLS
EXPORT_VARS+=E3_MODULE_VERSION
EXPORT_VARS+=E3_SITEMODS_PATH
EXPORT_VARS+=E3_SITEAPPS_PATH
EXPORT_VARS+=E3_SITELIBS_PATH
EXPORT_VARS+=E3_SEQUENCER_NAME
EXPORT_VARS+=E3_SEQUENCER_VERSION
EXPORT_VARS+=$(filter %_DEP_VERSION,$(.VARIABLES))
EXPORT_VARS+=$(filter WITH_%,$(.VARIABLES))
EXPORT_VARS+=$(filter SUDO%,$(.VARIABLES))
export_version=$(eval export $1)
$(eval $(foreach v,$(EXPORT_VARS),$(call export_version,$v)))
VARS_EXCLUDES+=export_version