-----

File coda_setup, invoked from .cshrc

-----

#!/bin/csh
#  echo ' .coda_setup executing...'
#
# File:
#       $CODAHOME/.setup
#
# Description:
#       Setup file for CODA
#
# Author:
#       Chip Watson
#       CEBAF Data Acquisition Group
# Modified by Tom Kozlowski (LANL) 9-jun-95
# added GCC_EXEC_PREFIX  14 dec 95 Hubert van Hecke


# Set up CODA specific environment variables

        setenv CODA        /usr1/kozl/coda/V1.4
        setenv OSTYPE      `uname|sed 's/-/_/'`
#       setenv RCDATABASE  $CODA/$OSTYPE/examples/rcDatabase
        setenv RCDATABASE  ~/coda/rcDatabase
        setenv RCDEFAULTS  $RCDATABASE/noDV

        setenv CODA_BIN $CODA/$OSTYPE/bin
        setenv CODA_LIB $CODA/$OSTYPE/lib
        setenv GCC_EXEC_PREFIX \
               /usr1/kozl/vxworks/dist-5.1.1/gnu/hp9700.68k/lib/gcc-lib/
        alias RunControl "rcLock"

# added this from .login; This file is executed from .cshrc, and therefore 
# gets done also for spawned processes, where .login does NOT get done.
  setenv LIBVER new
  setenv CERN_ROOT /p25ext/usr4/cern/$LIBVER
# JPSullivan added cernlib to this October 23, 1992
set path=(/bin /usr/bin /usr/contrib/bin /usr/local/bin /p25ext/usr/bin/X11 \
	  $CERN_ROOT/bin /p25ext/usr/local/bin /p25ext/usr4/cern/cmz/1.40 \
          /p25ext/usr/local/bin .)
 set path = ($path $CODA_BIN /usr1/kozl/vxworks/dist-5.1.1/gnu/hp9700.68k/bin)

# Define host environment variables

        if (-e ../scripts/hosts) source ../scripts/hosts