Ticket #23323: env.2.sh

File env.2.sh, 3.5 KB (added by cristiano.fontana@…, 15 years ago)
Line 
1# Clean all G4 envs
2unset  CLHEP_BASE_DIR
3unset  CLHEP_INCLUDE_DIR
4unset  CLHEP_LIB
5unset  CLHEP_LIB_DIR
6
7unset  G4DEBUG
8unset  G4INCLUDE
9unset  G4INSTALL
10
11unset  G4LEDATA
12unset  G4LEVELGAMMADATA
13unset  G4NEUTRONHPDATA
14unset  G4RADIOACTIVEDATA
15unset  G4ABLADATA
16unset  G4REALSURFACEDATA
17
18unset  G4LIB
19unset  G4LIB_BUILD_G3TOG4
20unset  G4LIB_BUILD_SHARED
21unset  G4LIB_BUILD_STATIC
22unset  G4LIB_BUILD_ZLIB
23unset  G4LIB_BUILD_GDML
24unset  G4LIB_USE_G3TOG4
25unset  G4LIB_USE_GRANULAR
26unset  G4LIB_USE_ZLIB
27
28unset  G4SYSTEM
29
30unset  G4UI_NONE
31unset  G4UI_BUILD_WIN32_SESSION
32unset  G4UI_BUILD_XAW_SESSION
33unset  G4UI_BUILD_XM_SESSION
34unset  G4UI_USE_TCSH
35unset  G4UI_USE_WIN32
36unset  G4UI_USE_XAW
37unset  G4UI_USE_XM
38unset  G4UI_USE_QT
39
40
41unset  G4VIS_NONE
42unset  G4VIS_BUILD_DAWN_DRIVER
43unset  G4VIS_BUILD_OIWIN32_DRIVER
44unset  G4VIS_BUILD_OIX_DRIVER
45unset  G4VIS_BUILD_OPENGLWIN32_DRIVER
46unset  G4VIS_BUILD_OPENGLXM_DRIVER
47unset  G4VIS_BUILD_OPENGLX_DRIVER
48unset  G4VIS_BUILD_RAYTRACERX_DRIVER
49unset  G4VIS_BUILD_VRML_DRIVER
50unset  G4VIS_BUILD_OPENGLQT_DRIVER
51
52unset  G4VIS_USE_DAWN
53unset  G4VIS_USE_OIWIN32
54unset  G4VIS_USE_OIX
55unset  G4VIS_USE_OPENGLWIN32
56unset  G4VIS_USE_OPENGLX
57unset  G4VIS_USE_OPENGLXM
58unset  G4VIS_USE_RAYTRACERX
59unset  G4VIS_USE_VRML
60unset  G4VIS_USE_OPENGLQT
61
62export G4SYSTEM="Darwin-g++"
63export G4INSTALL="@PREFIX@/src/geant4"
64export G4INCLUDE="@PREFIX@/include"
65#export G4BASE="@PREFIX@/include/geant4/source"
66export G4LIB="@PREFIX@/lib"
67
68export G4LEVELGAMMADATA="@PREFIX@/share/geant4/data/PhotonEvaporation@PHOTONEVAPORATION_V@"
69export G4RADIOACTIVEDATA="@PREFIX@/share/geant4/data/RadioactiveDecay@RADIOACTIVEDECAY_V@"
70export G4LEDATA="@PREFIX@/share/geant4/data/G4EMLOW@G4EMLOW_V@"
71export G4NEUTRONHPDATA="@PREFIX@/share/geant4/data/G4NDL@G4NDL_V@"
72export G4ABLADATA="@PREFIX@/share/geant4/data/G4ABLA@G4ABLA_V@"
73export G4REALSURFACEDATA="@PREFIX@/share/geant4/data/RealSurface@REALSURFACE_V@"
74
75export CLHEP_BASE_DIR="@PREFIX@"
76export CLHEP_INCLUDE_DIR="@PREFIX@/include/CLHEP"
77export CLHEP_LIB_DIR="@PREFIX@/lib"
78export CLHEP_LIB="CLHEP"
79
80#export G4DEBUG=1
81#export G4UI_NONE=1
82#export G4UI_BUILD_XAW_SESSION=1
83#export G4UI_USE_XAW=1
84#export G4UI_BUILD_XM_SESSION=1
85#export G4UI_USE_XM=1
86#export G4UI_BUILD_QT_SESSION=1
87#export G4UI_USE_QT=1
88#export G4VIS_NONE=1
89#export G4VIS_BUILD_DAWN_DRIVER=1
90#export G4VIS_BUILD_OPENGLX_DRIVER=1
91#export G4VIS_BUILD_OPENGLXM_DRIVER=1
92#export G4VIS_BUILD_OIX_DRIVER=1
93#export G4VIS_BUILD_RAYTRACERX_DRIVER=1
94#export G4VIS_BUILD_VRML_DRIVER=1
95#export G4VIS_BUILD_OPENGLQT_DRIVER=1
96#export G4VIS_USE_DAWN=1
97#export G4VIS_USE_OPENGLX=1
98#export G4VIS_USE_OPENGLXM=1
99#export G4VIS_USE_OIX=1
100#export G4VIS_USE_RAYTRACERX=1
101#export G4VIS_USE_VRML=1
102#export G4VIS_USE_OPENGLQT=1
103#export OGLHOME=""
104#export OIVHOME=""
105#export XMFLAGS=" -I@PREFIX@/include "
106#export XMLIBS=" -L@PREFIX@/lib -lXm -lXpm "
107#export XAWFLAGS=""
108#export XAWLIBS=""
109#export QTFLAGS=""
110#export QTLIBS=""
111#export QTMOC=""
112#export G4LIB_BUILD_GDML=1
113#export XERCESCROOT=@PREFIX@
114#export G4LIB_BUILD_G3TOG4=1
115#export G4LIB_USE_G3TOG4=1
116#export G4LIB_BUILD_ZLIB=1
117#export G4LIB_USE_ZLIB=1
118#export G4LIB_BUILD_SHARED=1
119#export G4LIB_BUILD_STATIC=1
120#export G4LIB_USE_GRANULAR=1
121
122#
123# G4WORKDIR
124#
125
126if [ "X""$G4WORKDIR" = "X" ] ; then
127        export G4WORKDIR=$HOME/geant4
128fi
129
130#
131# Shared Libraries
132#
133
134if [ $G4LIB_BUILD_SHARED ] ; then
135        if [ $DYLD_FALLBACK_LIBRARY_PATH ] ; then
136                DYLD_FALLBACK_LIBRARY_PATH=${DYLD_FALLBACK_LIBRARY_PATH}:${G4LIB}
137        else
138                DYLD_FALLBACK_LIBRARY_PATH=${G4LIB}
139        fi
140
141        export DYLD_FALLBACK_LIBRARY_PATH
142fi
143
144#
145# Bin
146#
147
148export PATH=${PATH}:${G4WORKDIR}/bin
149
150# Variables set by MacPorts:
151