# CONFIG - Load build configuration data
#
# Do not make changes in this file, any site-specific
# overrides should be given in a CONFIG_SITE file.

# Where the build rules come from
RULES = $(EPICS_BASE)

INSTALL_IDLFILE = $(INSTALL)

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
include $(CONFIG)/CONFIG

# Override some Base definitions
INSTALL_LOCATION = $(TOP)

# CONFIG_SITE files contain build configuration overrides
include $(TOP)/configure/CONFIG_SITE

# Host-arch specific settings
-include $(TOP)/configure/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common

ifdef INSTALL_LOCATION_EXTENSIONS
  INSTALL_LOCATION = $(INSTALL_LOCATION_EXTENSIONS)
endif

ifdef T_A
  # Target-arch specific settings
  -include $(TOP)/configure/os/CONFIG_SITE.Common.$(T_A)

  #  Host & target specific combination settings
  -include $(TOP)/configure/os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
endif

