90 lines
2.0 KiB
Plaintext
90 lines
2.0 KiB
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# The developer may edit this file.
|
|
# assume T_A is the host arch if not specified
|
|
|
|
#
|
|
# Common build definitions
|
|
#
|
|
|
|
ifndef CONFIG
|
|
CONFIG = $(TOP)/configure
|
|
endif
|
|
|
|
-include $(CONFIG)/os/CONFIG_COMPAT
|
|
|
|
-include $(CONFIG)/RELEASE
|
|
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
|
|
|
|
include $(CONFIG)/CONFIG_COMMON
|
|
|
|
# EPICS-specific build options
|
|
#
|
|
include $(CONFIG)/CONFIG_BASE
|
|
include $(CONFIG)/CONFIG_BASE_VERSION
|
|
|
|
# Site-specific build options
|
|
#
|
|
include $(CONFIG)/CONFIG_SITE
|
|
|
|
# Host architecture specific definitions
|
|
#
|
|
include $(CONFIG)/os/CONFIG.Host.$(EPICS_HOST_ARCH)
|
|
-include $(CONFIG)/os/CONFIG_SITE.Host.$(EPICS_HOST_ARCH)
|
|
|
|
|
|
ifdef T_A
|
|
|
|
# Architecture specific definitions
|
|
#
|
|
ifneq ($(EPICS_HOST_ARCH),$(T_A))
|
|
include $(CONFIG)/CONFIG.CrossCommon
|
|
endif
|
|
|
|
include $(CONFIG)/os/CONFIG.Target.$(T_A)
|
|
#
|
|
-include $(CONFIG)/os/CONFIG_SITE.Target.$(T_A)
|
|
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
|
|
|
|
endif
|
|
|
|
# User specific definitions
|
|
#
|
|
-include $(HOME)/configure/CONFIG
|
|
-include $(HOME)/os/configure/CONFIG.Host.$(HOST_ARCH)
|
|
-include $(HOME)/os/configure/CONFIG.Host.$(EPICS_HOST_ARCH)
|
|
ifdef T_A
|
|
-include $(HOME)/configure/CONFIG.$(OS_CLASS)
|
|
-include $(HOME)/configure/CONFIG.Target.$(T_A)
|
|
-include $(HOME)/configure/CONFIG.$(HOST_ARCH).$(T_A)
|
|
-include $(HOME)/configure/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
|
|
-include $(HOME)/configure/os/CONFIG.Target.$(T_A)
|
|
-include $(HOME)/configure/os/CONFIG.$(HOST_ARCH).$(T_A)
|
|
-include $(HOME)/configure/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
|
|
endif
|
|
|
|
# All options
|
|
# may be overridden here.
|
|
#
|
|
# EXAMPLES
|
|
# --------
|
|
# Build client objects statically ? must be either YES or NO
|
|
#STATIC_BUILD=NO
|
|
# Host build optimization, must be either YES or NO
|
|
#HOST_OPT=YES
|
|
# Cross build optimization, must be either YES or NO
|
|
#CROSS_OPT=YES
|
|
# Generate Verbose Compiler Warnings for host build, must be either YES or NO
|
|
#HOST_WARN=YES
|
|
# Generate Verbose Compiler Warnings for cross compile builds, must be either YES or NO
|
|
#CROSS_WARN=YES
|
|
#etc.
|
|
|
|
#CROSS_COMPILER_TARGET_ARCHS=mv167
|
|
#ANSI=GCC
|
|
#CPLUSPLUS=G++
|
|
#CMPLR=STRICT
|
|
#CXXCMPLR=STRICT
|
|
|