Annotation of OpenXM/rc/bashrc, Revision 1.19
1.19 ! ohara 1: # $OpenXM: OpenXM/rc/bashrc,v 1.18 2018/03/22 00:39:09 takayama Exp $
! 2: OpenXM_HOME="${HOME}"/OpenXM
! 3: PATH="${OpenXM_HOME}"/bin:$PATH
! 4: ASIR_LIBDIR="${OpenXM_HOME}"/lib/asir
! 5: ASIR_LIBDIR_2000="${OpenXM_HOME}"/lib/asir2000
! 6: ASIR_BINARY_2000="${OpenXM_HOME}"/lib/asir2000/asir
! 7: ASIR_CONFIG="${OpenXM_HOME}"/rc/asirrc
! 8: if [ -z "$ASIR_RSH" ]; then
! 9: ASIR_RSH='ssh -f -X -A '
! 10: export ASIR_RSH
1.14 takayama 11: fi
1.19 ! ohara 12: LOAD_SM1_PATH="${OpenXM_HOME}"/lib/sm1
! 13: LOAD_K_PATH="${OpenXM_HOME}"/lib/k097
1.13 takayama 14: OX_XTERM_SCROLL=2000
1.19 ! ohara 15: if [ "$LD_LIBRARY_PATH" ]; then
! 16: LD_LIBRARY_PATH="${OpenXM_HOME}"/lib:"$LD_LIBRARY_PATH"
1.9 takayama 17: else
1.19 ! ohara 18: LD_LIBRARY_PATH="${OpenXM_HOME}"/lib
1.9 takayama 19: fi
1.19 ! ohara 20: OpenXM_tmp="${HOME}"/.OpenXM_tmp
! 21: mkdir -p "$OpenXM_tmp"
! 22: 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
1.15 takayama 23: # for MacOS
1.19 ! ohara 24: if [ "$DYLD_LIBRARY_PATH" ]; then
! 25: DYLD_LIBRARY_PATH="${OpenXM_HOME}"/lib:"$DYLD_LIBRARY_PATH"
1.15 takayama 26: else
1.19 ! ohara 27: DYLD_LIBRARY_PATH="${OpenXM_HOME}"/lib
1.15 takayama 28: fi
1.19 ! ohara 29: export OpenXM_HOME ASIR_LIBDIR ASIR_LIBDIR_2000 ASIR_BINARY_2000 ASIR_CONFIG
! 30: export LOAD_SM1_PATH LOAD_K_PATH OX_XTERM_SCROLL OpenXM_tmp ASIRLOADPATH
! 31: export LD_LIBRARY_PATH DYLD_LIBRARY_PATH
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>