diff --git a/configure/CONFIG b/configure/CONFIG index d27307d..156a084 100755 --- a/configure/CONFIG +++ b/configure/CONFIG @@ -1,26 +1,31 @@ -#CONFIG -include $(TOP)/configure/CONFIG_APP -# Add any changes to make definitions here +# CONFIG - Load build configuration data +# +# Do not make changes to this file! -#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 +# Allow user to override where the build rules come from +RULES = $(EPICS_BASE) -# Use this when your IOC and the host use different paths -# to access the application. Typically this will be -# used with the Microsoft FTP server or with NFS mounts. Use -# is indicated by failure of the cdCommands script on -# vxWorks. You must rebuild in the iocBoot directory -# before this takes effect. -#IOCS_APPL_TOP = +# 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 -# We don't set STATIC_BUILD for WIN32 or Cygwin, use base to configure -ifeq (Darwin, $(OS_CLASS)) - STATIC_BUILD=NO -endif -ifeq (Linux, $(OS_CLASS)) - STATIC_BUILD=YES - SHARED_LIBRARIES=NO -endif -ifeq (solaris, $(OS_CLASS)) - STATIC_BUILD=YES - SHARED_LIBRARIES=NO +CONFIG = $(RULES)/configure +include $(CONFIG)/CONFIG + +# 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) endif +