setenv ALICE /swareas/alis/packages/VO_ALICE
# ROOT variables
setenv ROOTSYS $ALICE/ROOT/v5-23-02/v5-23-02
setenv PATH                ${ROOTSYS}/bin:`echo ${PATH} | sed -r 's/(:|^)([^:]+)\/root([^:]+)(:|$)/:/g'`
if ($?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:`echo ${LD_LIBRARY_PATH} | sed -r 's/(:|^)([^:]+)\/root([^:]+)(:|$)/:/g'`
else
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib
endif
# ALIROOT variables
setenv ALICE_ROOT          ${ALICE}/AliRoot/v4-17-00/v4-17-00
setenv ALICE_TARGET        linux
setenv PATH                ${ALICE_ROOT}/bin/tgt_${ALICE_TARGET}:`echo ${PATH} | sed -r 's/(:|^)([^:]+)\/aliroot([^:]+)(:|$)/:/g'`
setenv LD_LIBRARY_PATH     ${ALICE_ROOT}/lib/tgt_${ALICE_TARGET}:`echo ${LD_LIBRARY_PATH} | sed -r 's/(:|^)([^:]+)\/aliroot([^:]+)(:|$)/:/g'`
# GEANT 3
setenv G3SYS               ${ALICE}/GEANT3/v1-10/v1-10/
setenv LD_LIBRARY_PATH     ${G3SYS}/lib/tgt_${ALICE_TARGET}:`echo ${LD_LIBRARY_PATH} | sed -r 's/(:|^)([^:]+)\/geant3([^:]+)(:|$)/:/g'`
# ALIEN variables
setenv ALIEN_ROOT          /swareas/alis/alien/
setenv GLOBUS_LOCATION     ${ALIEN_ROOT}/globus
setenv GSHELL_ROOT         ${ALIEN_ROOT}/api
setenv GSHELL_GCC          `which gcc`
setenv PATH                ${PATH}:${GSHELL_ROOT}/bin:${ALIEN_ROOT}/bin:${GLOBUS_LOCATION}/bin
setenv LD_LIBRARY_PATH     ${ALIEN_ROOT}/lib:${GLOBUS_LOCATION}/lib:${GSHELL_ROOT}/lib:${LD_LIBRARY_PATH}
