version 1.12, 2004/02/25 06:58:22 |
version 1.19, 2019/03/27 05:49:02 |
|
|
# $OpenXM: OpenXM/rc/bashrc,v 1.11 2000/09/25 07:12:44 takayama Exp $ |
# $OpenXM: OpenXM/rc/bashrc,v 1.18 2018/03/22 00:39:09 takayama Exp $ |
OpenXM_HOME=$HOME/OpenXM |
OpenXM_HOME="${HOME}"/OpenXM |
export OpenXM_HOME |
PATH="${OpenXM_HOME}"/bin:$PATH |
PATH=$OpenXM_HOME/bin:$PATH |
ASIR_LIBDIR="${OpenXM_HOME}"/lib/asir |
ASIR_LIBDIR=$OpenXM_HOME/lib/asir |
ASIR_LIBDIR_2000="${OpenXM_HOME}"/lib/asir2000 |
export ASIR_LIBDIR |
ASIR_BINARY_2000="${OpenXM_HOME}"/lib/asir2000/asir |
ASIRLOADPATH=$OpenXM_HOME/src/asir-contrib/packages/src:$OpenXM_HOME/src/asir-contrib/packages/sample:$OpenXM_HOME/lib/asir-contrib:. |
ASIR_CONFIG="${OpenXM_HOME}"/rc/asirrc |
export ASIRLOADPATH |
if [ -z "$ASIR_RSH" ]; then |
ASIR_CONFIG=$OpenXM_HOME/rc/asirrc |
ASIR_RSH='ssh -f -X -A ' |
export ASIR_CONFIG |
export ASIR_RSH |
ASIR_RSH='ssh -f -X -A ' |
fi |
export ASIR_RSH |
LOAD_SM1_PATH="${OpenXM_HOME}"/lib/sm1 |
LOAD_SM1_PATH=$OpenXM_HOME/lib/sm1 |
LOAD_K_PATH="${OpenXM_HOME}"/lib/k097 |
export LOAD_SM1_PATH |
OX_XTERM_SCROLL=2000 |
LOAD_K_PATH=$OpenXM_HOME/lib/k097 |
if [ "$LD_LIBRARY_PATH" ]; then |
export LOAD_K_PATH |
LD_LIBRARY_PATH="${OpenXM_HOME}"/lib:"$LD_LIBRARY_PATH" |
if test $LD_LIBRARY_PATH ; then |
|
LD_LIBRARY_PATH=$OpenXM_HOME/lib:$LD_LIBRARY_PATH ; |
|
else |
else |
LD_LIBRARY_PATH=$OpenXM_HOME/lib ; |
LD_LIBRARY_PATH="${OpenXM_HOME}"/lib |
fi |
fi |
export LD_LIBRARY_PATH |
OpenXM_tmp="${HOME}"/.OpenXM_tmp |
|
mkdir -p "$OpenXM_tmp" |
|
ASIRLOADPATH=.:"${OpenXM_HOME}"/src/asir-contrib/packages/src:"${OpenXM_HOME}"/src/asir-contrib/packages/sample:"${OpenXM_tmp}"/OpenXM/lib/asir-contrib:"${OpenXM_HOME}"/lib/asir-contrib |
|
# for MacOS |
|
if [ "$DYLD_LIBRARY_PATH" ]; then |
|
DYLD_LIBRARY_PATH="${OpenXM_HOME}"/lib:"$DYLD_LIBRARY_PATH" |
|
else |
|
DYLD_LIBRARY_PATH="${OpenXM_HOME}"/lib |
|
fi |
|
export OpenXM_HOME ASIR_LIBDIR ASIR_LIBDIR_2000 ASIR_BINARY_2000 ASIR_CONFIG |
|
export LOAD_SM1_PATH LOAD_K_PATH OX_XTERM_SCROLL OpenXM_tmp ASIRLOADPATH |
|
export LD_LIBRARY_PATH DYLD_LIBRARY_PATH |