#
#  $Id$
#
#  CONFIG_SITE  - EPICS BASE config file
#	by Matthew Needes and Mike Bordua
#
#  This file is to be modified by the EPICS system manager
#	only.
#


#  The host architecture performing the build,
#	i.e.: the arch running DCT/getrel/etc.
#
#  Currently Supporting:
#	Borland
#	Linux
#	WIN32
#	alpha
#	cygwin32
#	hp700
#	sgi
#	solaris
#	solarisGnu  (GNU compiler)
#	solaris-x86
#	sun4
#
#  HOST_ARCH now an environment variable
#  HOST_ARCH=$(shell /usr/local/epics/startup/HostArch)
ifndef HOST_ARCH
	HOST_ARCH=unsupported
endif

#  The architectures to build EPICS for
#
#  Currently Supporting:
#       frc40
#       frc5ce
#       hkbaja47
#       hkv2f
#       mv147
#       mv1604
#       mv162
#       mv162lc
#       mv167
#       mv177
#       mv2700
#       niCpu030
#       pc486
#       ppc603
#       ppc604
#       ppc603_long (over 32MB)
#       ppc604_long (over 32MB)
#       sbs_pc6
#       vxipc
#
CROSS_COMPILER_TARGET_ARCHS=


#  If only a subset of the host architectures perform
#  the build for the CROSS_COMPILER_TARGET_ARCHS 
#  uncomment the following line and specify them.
#
#CROSS_COMPILER_HOST_ARCHS=sun4

#  Vx release Tornado?
#        must be either YES or NO
TORNADO=YES
#TORNADO=NO
 
#  VxWorks directory for TORNADO=YES
#VX_DIR_YES=c:\\Tornado
VX_DIR_YES = /usr/local/vw/tornado202p1


#  VxWorks directory for TORNADO=NO
#VX_DIR_NO=$(VW)
#VX_DIR_NO=/usr/local/vw/vxV51.mm
#VX_DIR_NO=/usr/local/vw/vxV52/vw
#VX_DIR_NO=c:/Tornado/target
VX_DIR_NO=/usr/local/vw/vxV52p1/vw
 
#  Directory for TORNADO=NO gnu gcc crosscompiler
VX_GNU_NO = $(VX_DIR_NO)/../vxgccV2.2.3.1

#  Directory for TORNADO=NO gnu g++ crosscompiler
#  used by applications for hideos builds only
#GNU_DIR = $(LOCAL_GNU)
GNU_DIR = /usr/local/hideos/gnu_install-2.7.2

#  Client ANSI C Compiler (for Host builds)
#   GCC     (gcc -ansi) GNU
#   ACC     (acc)       OS VENDOR
#   HPACC   (cc -Aa)    OTHER VENDOR 
ANSI=ACC
 
#  C++ Compiler (for Host builds)
#   G++     (g++)   GNU C++
#   CCC     (CC)    OS VENDOR C++
#Note: if CPLUSPLUS is empty then C++ src codes are not built
#CPLUSPLUS=	# use this if site does not have C++ compiler
CPLUSPLUS=CCC

# Default ANSI level, individual Makefiles will override
#  if they cannot support ANSI compilation.
#   STRICT -  ANSI C - force warning flags
#   ANSI   -  ANSI C
#   OLD    -  Standard C - Not appropriate here.
CMPLR=STRICT

# Default C++ compiler ANSI level
#   STRICT -  ANSI C++ force strict warning flags
#   NORMAL -  ANSI C++ optional warning flags
#   Individual Makefiles may override
CXXCMPLR=STRICT

#  Build should install all include files first?
#	must be either YES or NO
MAKE_INC_TARGET_FIRST=NO

#  Build shared libraries?
#  (archive libraries will also be built)
#        must be either YES or NO
#     NOTE: CONFIG_SITE.Host.$(HOST_ARCH) files may override
#
#     NOTE WIN32: YES results in a DLL. CONFIG_SITE.Host.WIN32
#                 distribution file contains YES override
#
#     NOTE solaris,Linux, and sun4: If YES then LD_LIBRARY_PATH must
#     include fullpathname $(INSTALL_LOCATION)/lib/$(HOST_ARCH)
#     for both the base build and when invoking base executables
SHARED_LIBRARIES=NO

#  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
HOST_WARN=YES

#  Generate Verbose Compiler Warnings for VxWorks
#	must be either YES or NO
VX_WARN=YES

# adl2dl 
ADL2DL = $(EPICS_EXTENSIONS)/bin/$(HOST_ARCH)/adl2dl

# sch2edif compiler and flags
SCH2EDIF = sch2edif
SCH2EDIF_PATH =
SCH2EDIF_SYSFLAGS = -n -ap -p.+..+$(SCH2EDIF_PATH)+$(EPICS_EXTENSIONS)/templates/capfast/sym+
SCH2EDIF_FLAGS =
 
# e2db and flags
#    - again there is an assumption where edb.def is installed.
E2DB = $(EPICS_EXTENSIONS)/bin/$(HOST_ARCH)/e2db
E2DB_SYSFLAGS = -ate -d $(EPICS_EXTENSIONS)/templates/capfast/edb.def
E2DB_FLAGS =

#dbst 
DBST = $(EPICS_EXTENSIONS)/bin/$(HOST_ARCH)/dbst

