
# OpenScientist :
set osc_home="/Users/barrand/OpenScientist/v16r1"

source ${osc_home}/aida-setup.csh

setenv ONXROOT    "${osc_home}/Resources/OnX"
setenv ONXLABROOT "${osc_home}/Resources/OnXLab"
setenv G4LABROOT  "${osc_home}/Resources/G4Lab"
setenv TTFPATH    "${osc_home}/Resources/HEPVis/fonts"

# HDF5 :
set hdf5_home=/usr/local/HDF5/1.6.5
set hdf5_lib="${hdf5_home}/lib"

# CLHEP :
set CLHEP_home=/usr/local/CLHEP/2.0.3.1
set CLHEP_lib="${CLHEP_home}/lib"

# Geant4 :
set g4_home=/usr/local/geant4/8.2
set g4_lib="${g4_home}/lib"

# snova :
set snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"
set snova_lib="${snova_home}/bin_obuild"

# snovis :
set snovis_home="/Users/barrand/dev/exp/nemo/snovis/v1r1"
set snovis_lib="${snovis_home}/build"

set dirs="${snova_lib}:${snovis_lib}:${hdf5_lib}:${CLHEP_lib}:${g4_lib}"

setenv SNOVISROOT "${snovis_home}"

if ( `uname` == "Linux" ) then
  setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${dirs}"
endif

if ( `uname` == "Darwin" ) then
  setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${dirs}"
endif

#setenv PATH "${PATH}:${snovis_bin}"

if ( `uname` == "Darwin" ) then
  setenv MACOSX_DEPLOYMENT_TARGET 10.4
endif

