#
#  $Id: CONFIG_SITE,v 1.24 1998/09/08 15:02:04 jba Exp $
#
#  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:
#	sun4
#	hp700
#	alpha
#	solaris
#	sgi
#	Linux
#	WIN32
#
#  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:
#       mv167
#       mv162
#       mv162lc
#       mv147
#       hkv2f
#	niCpu030
#	pc486
#	frc5ce
#	hkbaja47
#
CROSS_COMPILER_TARGET_ARCHS=mv167


#  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
CROSS_COMPILER_HOST_ARCHS=solaris

#  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/tornado101

#  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)/../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=HPACC
ANSI=ACC
 
#  C++ Compiler (for Host builds)
#   G++     (g++)   GNU C++
#   CCC     (CC)    OS VENDOR C++
#CPLUSPLUS=G++
#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 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 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

