diff --git a/configure/CONFIG b/configure/CONFIG index cf8e453a741ffe0c042393a6004e7ce20e18c495..c1a470322c5c4689bfa82b26e602fefe27aca397 100644 --- a/configure/CONFIG +++ b/configure/CONFIG @@ -1,34 +1,29 @@ -# CONFIG +# CONFIG - Load build configuration data +# +# Do not make changes to this file! -# You might want to change this to some shared set of rules, e.g. -# RULES=/path/to/epics/support/modules/rules/x-y -RULES=$(EPICS_BASE) +# Allow user to override where the build rules come from +RULES = $(EPICS_BASE) +# RELEASE files point to other application tops include $(TOP)/configure/RELEASE --include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH) -include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common ifdef T_A -include $(TOP)/configure/RELEASE.Common.$(T_A) -include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A) endif -CONFIG=$(RULES)/configure +CONFIG = $(RULES)/configure include $(CONFIG)/CONFIG -# Override for definition in base +# Override the Base definition: INSTALL_LOCATION = $(TOP) + +# CONFIG_SITE files contain other build configuration settings include $(TOP)/configure/CONFIG_SITE --include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH) -include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common - ifdef T_A -include $(TOP)/configure/CONFIG_SITE.Common.$(T_A) -include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A) - - -include $(TOP)/configure/O.$(T_A)/CONFIG_APP_INCLUDE endif -# We need to build statically on Linux because we are linking with old version of some libraries from areaDetector -ifeq ($(OS_CLASS), Linux) -STATIC_BUILD=YES -endif