#
#  $Id: CONFIG,v 1.17 1998/09/08 14:43:49 jba Exp $
#
#  The developer may edit this file.
# assume T_A is the host arch if not specified

#
#  EPICS base definitions
#
include $(EPICS_BASE)/config/CONFIG_COMMON
 
#
#  EPICS version definitions
#
include $(EPICS_BASE)/config/CONFIG_BASE_VERSION
 
#  Site-specific build options
#
include $(EPICS_BASE)/config/CONFIG_SITE

#  Host architecture specific definitions
#
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.$(HOST_ARCH)
#
-include $(EPICS_BASE)/config/CONFIG_SITE_HOST_ARCH.$(HOST_ARCH)
 
ifdef T_A

#  Build type specific definitions
#
-include $(EPICS_BASE)/config/CONFIG.$(BUILD_TYPE)
#
-include $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE)
 
#  Architecture specific definitions
#
include $(EPICS_BASE)/config/CONFIG.$(BUILD_TYPE).$(T_A)
#
ifneq ($(HOST_ARCH),$(T_A))
-include $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE).$(HOST_ARCH)
endif
#
-include $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE).$(T_A)
 
endif

#  User specific definitions
#
-include $(HOME)/EPICS_CONFIG
-include $(HOME)/EPICS_CONFIG.$(HOST_ARCH)
-include $(HOME)/EPICS_CONFIG_HOST_ARCH.$(HOST_ARCH)
ifdef T_A
-include $(HOME)/EPICS_CONFIG.$(BUILD_TYPE)
ifneq ($(HOST_ARCH),$(T_A))
-include $(HOME)/EPICS_CONFIG.$(BUILD_TYPE).$(HOST_ARCH)
endif
-include $(HOME)/EPICS_CONFIG.$(BUILD_TYPE).$(T_A)
endif

#  All EPICS options other than BUILD_TYPE
#   may be overridden here.
#
# EXAMPLES
# --------
#  Build client objects statically ?  must be either YES or NO
#STATIC_BUILD=NO
#  Unix Optimization,   must be either YES or NO
#HOST_OPT=YES
#  VxWorks Optimization,  must be either YES or NO
#VX_OPT=YES
#  Generate Verbose Compiler Warnings for Unix,  must be either YES or NO
#UNIX_WARN=YES
#  Generate Verbose Compiler Warnings for VxWorks,  must be either YES or NO
#VX_WARN=YES
#etc.

#CROSS_COMPILER_TARGET_ARCHS=mv167
#ANSI=GCC
#CPLUSPLUS=G++
#CMPLR=STRICT
#CXXCMPLR=STRICT

