This commit was manufactured by cvs2svn to create branch 'B3.13'.
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
Copyright (c) 2002 University of Chicago and The Regents of the University
|
||||
of California. All rights reserved.
|
||||
|
||||
EPICS BASE is distributed subject to the following license agreement:
|
||||
|
||||
SOFTWARE LICENSE AGREEMENT
|
||||
Software: EPICS BASE
|
||||
Versions: 3.13.7 and higher
|
||||
|
||||
IMPORTANT! READ CAREFULLY: EPICS BASE is NOT distributed as Open Source.
|
||||
This is a legal agreement between you (in your capacity as an individual
|
||||
and as an agent for your company, institution or other entity) and The
|
||||
University of Chicago, as Operator of Argonne National Laboratory under
|
||||
Contract W-31-109-ENG-38 with the U.S. Department of Energy ("Argonne"),
|
||||
and The Regents of the University of California, as Operator of Los Alamos
|
||||
National Laboratory under Contract W-7405-ENG-36 with the U.S. Department
|
||||
of Energy ("Los Alamos").
|
||||
|
||||
1. The "Software", below, refers to EPICS BASE (in either source code, or
|
||||
binary form and accompanying documentation). Each licensee is
|
||||
addressed as "you" or "Licensee."
|
||||
|
||||
2. Argonne and Los Alamos are copyright holders in the Software. The
|
||||
copyright holders and their third-party licensors hereby grant
|
||||
Licensee a royalty-free nonexclusive license, subject to the
|
||||
limitations stated herein and U.S. Government license rights.
|
||||
|
||||
3. You may modify and make a copy or copies of the Software for use
|
||||
within your organization, if you meet the following conditions:
|
||||
a. Copies in source code must include the copyright notice and this
|
||||
Software License Agreement.
|
||||
b. Copies in binary form must include the copyright notice and this
|
||||
Software License Agreement in the documentation and/or other
|
||||
materials provided with the copy.
|
||||
|
||||
4. You may modify a copy or copies of the Software or any portion of it,
|
||||
thus forming a work based on the Software, and distribute copies of
|
||||
such work outside your organization, if you meet all of the following
|
||||
conditions:
|
||||
a. Copies in source code must include the copyright notice and this
|
||||
Software License Agreement;
|
||||
b. Copies in binary form must include the copyright notice and this
|
||||
Software License Agreement in the documentation and/or other
|
||||
materials provided with the copy;
|
||||
c. Modified copies and works based on the Software must carry
|
||||
prominent notices stating that you changed specified portions of
|
||||
the Software; and
|
||||
d. Prior to sending a copy or modified copy of the Software to any
|
||||
person or entity outside your organization you must verify with
|
||||
Argonne that the intended recipient of the Software has executed
|
||||
a license with Argonne for EPICS BASE. (See
|
||||
http://www.aps.anl.gov/epics/license/verify.php for information
|
||||
on how to contact Argonne.)
|
||||
|
||||
5. THE SOFTWARE INCLUDES PORTIONS WHICH MAY REQUIRE SOME FORM OF EXPORT
|
||||
CONTROL LICENSE FROM THE U.S. GOVERNMENT. FAILURE TO OBTAIN SUCH
|
||||
EXPORT CONTROL LICENSE MAY RESULT IN CRIMINAL LIABILITY UNDER U.S.
|
||||
LAWS.
|
||||
|
||||
6. Portions of the Software resulted from work developed under a U.S.
|
||||
Government contract and are subject to the following license: the
|
||||
Government is granted for itself and others acting on its behalf a
|
||||
paid-up, nonexclusive, irrevocable worldwide license in this computer
|
||||
software to reproduce, prepare derivative works, and perform publicly
|
||||
and display publicly.
|
||||
|
||||
7. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
|
||||
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
|
||||
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT, (2) DO NOT ASSUME
|
||||
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
|
||||
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
|
||||
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
|
||||
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR FREE
|
||||
OR THAT ANY ERRORS WILL BE CORRECTED.
|
||||
|
||||
8. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
|
||||
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
|
||||
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
||||
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
|
||||
INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
|
||||
REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
|
||||
CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
|
||||
OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
|
||||
POSSIBILITY OF SUCH LOSS OR DAMAGES.
|
||||
|
||||
________________________________________________________________________
|
||||
|
||||
This software is in part copyrighted by the BERLINER SPEICHERRING
|
||||
GESELLSCHAFT FUER SYNCHROTRONSTRAHLUNG M.B.H. (BESSY),
|
||||
BERLIN, GERMANY.
|
||||
|
||||
In no event shall BESSY be liable to any party for direct,
|
||||
indirect, special, incidental, or consequential damages arising
|
||||
out of the use of this software, its documentation, or any
|
||||
derivatives thereof, even if BESSY has been advised of the
|
||||
possibility of such damage.
|
||||
|
||||
BESSY specifically disclaims any warranties, including, but not
|
||||
limited to, the implied warranties of merchantability, fitness for
|
||||
a particular purpose, and non-infringement. This software is
|
||||
provided on an "as is" basis, and BESSY has no obligation to
|
||||
provide maintenance, support, updates, enhancements, or
|
||||
modifications.
|
||||
________________________________________________________________________
|
||||
|
||||
|
||||
Executable
+78
@@ -0,0 +1,78 @@
|
||||
#!/bin/sh
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
#
|
||||
# EpicsHostArch - returns the Epics host architecture suitable
|
||||
# for assigning to the EPICS_HOST_ARCH variable
|
||||
|
||||
if [ "x${1}" != "x" ]
|
||||
then
|
||||
suffix="-"${1}
|
||||
else
|
||||
suffix=""
|
||||
fi
|
||||
|
||||
sysname=`uname`
|
||||
|
||||
case $sysname in
|
||||
Linux )
|
||||
os=linux
|
||||
cpu=`uname -m`
|
||||
case $cpu in i386 | i486 | i586 | i686 )
|
||||
cpu=x86
|
||||
;;
|
||||
esac
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
Darwin )
|
||||
os=darwin
|
||||
cpu=`uname -m`
|
||||
case "$cpu" in
|
||||
"Power Macintosh") cpu=ppc ;;
|
||||
esac
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
HP-UX )
|
||||
os=hpux
|
||||
cpu=`uname -m`
|
||||
case $cpu in 9000/[34678]??)
|
||||
cpu=m68k
|
||||
;;
|
||||
esac
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
OSF1 )
|
||||
os=osf
|
||||
cpu=`uname -m`
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
SunOS )
|
||||
version=`uname -r | sed '1s/^\([0-9]*\).*$/\1/'`
|
||||
if [ ${version} -ge 5 ]; then
|
||||
os=solaris
|
||||
else
|
||||
os=sun4
|
||||
fi
|
||||
cpu=`uname -m`
|
||||
case $cpu in
|
||||
sun4*)
|
||||
cpu=sparc
|
||||
;;
|
||||
i86pc)
|
||||
cpu=x86
|
||||
;;
|
||||
esac
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
* )
|
||||
echo unsupported
|
||||
;;
|
||||
esac
|
||||
|
||||
Executable
+152
@@ -0,0 +1,152 @@
|
||||
#!/bin/csh -f
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# Site-specific EPICS environment settings
|
||||
#
|
||||
# sites should modify these definitions
|
||||
|
||||
# Location of epics base
|
||||
if ( ! $?EPICS_BASE ) then
|
||||
setenv EPICS_BASE /usr/local/epics/base
|
||||
endif
|
||||
|
||||
# Location of epics extensions
|
||||
if ( ! $?EPICS_EXTENSIONS ) then
|
||||
setenv EPICS_EXTENSIONS /usr/local/epics/extensions
|
||||
endif
|
||||
|
||||
# Time service:
|
||||
# EPICS_TS_NTP_INET ntp or Unix time server ip addr.
|
||||
|
||||
# Postscript printer definition needed by some extensions (eg medm, dp, dm, ...)
|
||||
setenv PSPRINTER lp
|
||||
|
||||
# Needed only by medm extension
|
||||
setenv EPICS_DISPLAY_PATH
|
||||
|
||||
# Needed only by orbitscreen extension
|
||||
if ( ! $?ORBITSCREENHOME ) then
|
||||
setenv ORBITSCREENHOME $EPICS_EXTENSIONS/src/orbitscreen
|
||||
endif
|
||||
|
||||
# Needed only by adt extension
|
||||
if ( ! $?ADTHOME ) then
|
||||
setenv ADTHOME /usr/local/oag/apps/src/appconfig/adt
|
||||
echo $ADTHOME
|
||||
endif
|
||||
|
||||
# Needed only by ar extension (archiver)
|
||||
setenv EPICS_AR_PORT 7002
|
||||
|
||||
# Needed for java extensions
|
||||
if ( $?CLASSPATH ) then
|
||||
setenv CLASSPATH "${CLASSPATH}:${EPICS_EXTENSIONS}/javalib"
|
||||
else
|
||||
setenv CLASSPATH "${EPICS_EXTENSIONS}/javalib"
|
||||
endif
|
||||
|
||||
# Allow private versions of extensions without a bin subdir
|
||||
if ( $?EPICS_EXTENSIONS_PVT ) then
|
||||
set path = ( $path $EPICS_EXTENSIONS_PVT)
|
||||
endif
|
||||
|
||||
##################################################################
|
||||
|
||||
# Start of set R3.14 environment variables
|
||||
|
||||
if ( -e /usr/local/etc/setup/EpicsHostArch.pl ) then
|
||||
setenv EPICS_HOST_ARCH `/usr/local/etc/setup/EpicsHostArch.pl`
|
||||
else
|
||||
setenv EPICS_HOST_ARCH `/usr/local/epics/startup/EpicsHostArch.pl`
|
||||
endif
|
||||
|
||||
# Allow private versions of base
|
||||
if ( $?EPICS_BASE_PVT ) then
|
||||
if ( -e $EPICS_BASE_PVT/bin/$EPICS_HOST_ARCH ) then
|
||||
set path = ( $path $EPICS_BASE_PVT/bin/$EPICS_HOST_ARCH)
|
||||
endif
|
||||
if ( -e $EPICS_BASE_PVT/lib/$EPICS_HOST_ARCH ) then
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_BASE_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_BASE_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
set path = ( $path $EPICS_BASE/bin/$EPICS_HOST_ARCH )
|
||||
|
||||
# Allow private versions of extensions
|
||||
if ( $?EPICS_EXTENSIONS_PVT ) then
|
||||
if ( -e $EPICS_EXTENSIONS_PVT/bin/$EPICS_HOST_ARCH ) then
|
||||
set path = ( $path $EPICS_EXTENSIONS_PVT/bin/$EPICS_HOST_ARCH)
|
||||
endif
|
||||
if ( -e $EPICS_EXTENSIONS_PVT/lib/$EPICS_HOST_ARCH ) then
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_EXTENSIONS_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
set path = ( $path $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH )
|
||||
|
||||
# Needed if shared base libraries are built
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_BASE}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_BASE}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
|
||||
# Needed if shared extension libraries are built
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
|
||||
# End of set R3.14 environment variables
|
||||
##################################################################
|
||||
|
||||
|
||||
# Start of set pre R3.14 environment variables
|
||||
|
||||
# Time service:
|
||||
# EPICS_TS_MIN_WEST the local time difference from GMT.
|
||||
setenv EPICS_TS_MIN_WEST 360
|
||||
|
||||
if ( -e /usr/local/etc/setup/HostArch.pl ) then
|
||||
setenv HOST_ARCH `/usr/local/etc/setup/HostArch.pl`
|
||||
else
|
||||
setenv HOST_ARCH `/usr/local/epics/startup/HostArch.pl`
|
||||
endif
|
||||
|
||||
# Allow private versions of extensions
|
||||
if ( $?EPICS_EXTENSIONS_PVT ) then
|
||||
if ( -e $EPICS_EXTENSIONS_PVT/bin/$HOST_ARCH ) then
|
||||
set path = ( $path $EPICS_EXTENSIONS_PVT/bin/$HOST_ARCH)
|
||||
endif
|
||||
# Needed if shared extension libraries are built
|
||||
if ( -e $EPICS_EXTENSIONS_PVT/lib/$HOST_ARCH ) then
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS_PVT}/lib/${HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_EXTENSIONS_PVT}/lib/${HOST_ARCH}"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
set path = ( $path $EPICS_EXTENSIONS/bin/$HOST_ARCH )
|
||||
# Needed if shared extension libraries are built
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${HOST_ARCH}"
|
||||
|
||||
# End of set pre R3.14 environment variables
|
||||
##################################################################
|
||||
Executable
+179
@@ -0,0 +1,179 @@
|
||||
#!/bin/sh
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# Site-specific EPICS environment settings
|
||||
#
|
||||
# sites should modify these definitions
|
||||
|
||||
# Location of epics base
|
||||
if [ -z "${EPICS_BASE}" ] ; then
|
||||
EPICS_BASE=/usr/local/epics/extensions
|
||||
export EPICS_BASE
|
||||
fi
|
||||
|
||||
# Location of epics extensions
|
||||
if [ -z "${EPICS_EXTENSIONS}" ] ; then
|
||||
EPICS_EXTENSIONS=/usr/local/epics/extensions
|
||||
export EPICS_EXTENSIONS
|
||||
fi
|
||||
|
||||
# Time service:
|
||||
# EPICS_TS_NTP_INET ntp or Unix time server ip addr.
|
||||
|
||||
# Postscript printer definition needed by some extensions (eg medm, dp, dm, ...)
|
||||
PSPRINTER=lp
|
||||
export PSPRINTER
|
||||
|
||||
# Needed only by medm extension
|
||||
#setenv EPICS_DISPLAY_PATH
|
||||
#export EPICS_DISPLAY_PATH
|
||||
|
||||
# Needed only by orbitscreen extension
|
||||
if [ -z "${ORBITSCREENHOME}" ] ; then
|
||||
ORBITSCREENHOME=$EPICS_EXTENSIONS/src/orbitscreen
|
||||
export ORBITSCREENHOME
|
||||
fi
|
||||
|
||||
# Needed only by adt extension
|
||||
#if [ -z "${ADTHOME}" ] ; then
|
||||
# ADTHOME=
|
||||
# export ADTHOME
|
||||
#fi
|
||||
|
||||
# Needed only by ar extension (archiver)
|
||||
#EPICS_AR_PORT=7002
|
||||
#export EPICS_AR_PORT
|
||||
|
||||
# Needed for java extensions
|
||||
if [ -z "${CLASSPATH}" ] ; then
|
||||
CLASSPATH="${EPICS_EXTENSIONS}/javalib"
|
||||
else
|
||||
CLASSPATH="${CLASSPATH}:${EPICS_EXTENSIONS}/javalib"
|
||||
fi
|
||||
|
||||
# Allow private versions of extensions without a bin subdir
|
||||
if [ -n "${EPICS_EXTENSIONS_PVT}" ] ; then
|
||||
PATH="${PATH}:${EPICS_EXTENSIONS_PVT}"
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Start of set R3.14 environment variables
|
||||
|
||||
EPICS_HOST_ARCH=`/usr/local/epics/startup/EpicsHostArch.pl`
|
||||
export EPICS_HOST_ARCH
|
||||
|
||||
# Allow private versions of base
|
||||
if [ -n "${EPICS_BASE_PVT}" ] ; then
|
||||
if [ -d $EPICS_BASE_PVT/bin/$EPICS_HOST_ARCH ]; then
|
||||
PATH="${PATH}:${EPICS_BASE_PVT}/bin/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
# Needed if shared extension libraries are built
|
||||
if [ -d $EPICS_BASE_PVT/lib/$EPICS_HOST_ARCH ]; then
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_BASE_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_BASE_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
PATH="${PATH}:${EPICS_BASE}/bin/${EPICS_HOST_ARCH}"
|
||||
|
||||
# Allow private versions of extensions
|
||||
if [ -n "${EPICS_EXTENSIONS_PVT}" ] ; then
|
||||
if [ -d $EPICS_EXTENSIONS_PVT/bin/$EPICS_HOST_ARCH ]; then
|
||||
PATH="${PATH}:${EPICS_EXTENSIONS_PVT}/bin/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
# Needed if shared extension libraries are built
|
||||
if [ -d $EPICS_EXTENSIONS_PVT/lib/$EPICS_HOST_ARCH ]; then
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_EXTENSIONS_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS_PVT}/lib/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
PATH="${PATH}:${EPICS_EXTENSIONS}/bin/${EPICS_HOST_ARCH}"
|
||||
|
||||
# Needed if shared base libraries are built
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_BASE}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_BASE}/lib/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
|
||||
# Needed if shared extension libraries are built
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
fi
|
||||
|
||||
# End of set R3.14 environment variables
|
||||
|
||||
#---------------------------------------------------------------
|
||||
|
||||
# Start of set pre R3.14 environment variables
|
||||
|
||||
# Time service:
|
||||
# EPICS_TS_MIN_WEST the local time difference from GMT.
|
||||
EPICS_TS_MIN_WEST=360
|
||||
export EPICS_TS_MIN_WEST
|
||||
|
||||
HOST_ARCH=`/usr/local/epics/startup/HostArch.pl`
|
||||
export HOST_ARCH
|
||||
|
||||
# Allow private versions of base
|
||||
if [ -n "${EPICS_BASE_PVT}" ] ; then
|
||||
if [ -d $EPICS_BASE_PVT/bin/$HOST_ARCH ]; then
|
||||
PATH="${PATH}:${EPICS_BASE_PVT}/bin/${HOST_ARCH}"
|
||||
fi
|
||||
# Needed if shared extension libraries are built
|
||||
if [ -d $EPICS_BASE_PVT/lib/$HOST_ARCH ]; then
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_BASE_PVT}/lib/${HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_BASE_PVT}/lib/${HOST_ARCH}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
PATH="${PATH}:${EPICS_BASE}/lib/${HOST_ARCH}"
|
||||
# Needed if shared base libraries are built
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_BASE}/lib/${HOST_ARCH}"
|
||||
|
||||
# Allow private versions of extensions
|
||||
if [ -n "${EPICS_EXTENSIONS_PVT}" ] ; then
|
||||
if [ -d $EPICS_EXTENSIONS_PVT/bin/$HOST_ARCH ]; then
|
||||
PATH="${PATH}:${EPICS_EXTENSIONS_PVT}/bin/${HOST_ARCH}"
|
||||
fi
|
||||
# Needed if shared extension libraries are built
|
||||
if [ -d $EPICS_EXTENSIONS_PVT/lib/$HOST_ARCH ]; then
|
||||
if [ -z "${LD_LIBRARY_PATH}" ] ; then
|
||||
LD_LIBRARY_PATH="${EPICS_EXTENSIONS_PVT}/lib/${HOST_ARCH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS_PVT}/lib/${HOST_ARCH}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
PATH="${PATH}:${EPICS_EXTENSIONS}/lib/${HOST_ARCH}"
|
||||
# Needed if shared extension libraries are built
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${HOST_ARCH}"
|
||||
|
||||
# End of set pre R3.14 environment variables
|
||||
|
||||
#---------------------------------------------------------------
|
||||
|
||||
export PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export CLASSPATH
|
||||
|
||||
Reference in New Issue
Block a user