1 | # Clean all G4 envs |
---|
2 | unset CLHEP_BASE_DIR |
---|
3 | unset CLHEP_INCLUDE_DIR |
---|
4 | unset CLHEP_LIB |
---|
5 | unset CLHEP_LIB_DIR |
---|
6 | |
---|
7 | unset G4DEBUG |
---|
8 | unset G4INCLUDE |
---|
9 | unset G4INSTALL |
---|
10 | |
---|
11 | unset G4LEDATA |
---|
12 | unset G4LEVELGAMMADATA |
---|
13 | unset G4NEUTRONHPDATA |
---|
14 | unset G4RADIOACTIVEDATA |
---|
15 | unset G4ABLADATA |
---|
16 | unset G4REALSURFACEDATA |
---|
17 | |
---|
18 | unset G4LIB |
---|
19 | unset G4LIB_BUILD_G3TOG4 |
---|
20 | unset G4LIB_BUILD_SHARED |
---|
21 | unset G4LIB_BUILD_STATIC |
---|
22 | unset G4LIB_BUILD_ZLIB |
---|
23 | unset G4LIB_BUILD_GDML |
---|
24 | unset G4LIB_USE_G3TOG4 |
---|
25 | unset G4LIB_USE_GRANULAR |
---|
26 | unset G4LIB_USE_ZLIB |
---|
27 | |
---|
28 | unset G4SYSTEM |
---|
29 | |
---|
30 | unset G4UI_NONE |
---|
31 | unset G4UI_BUILD_WIN32_SESSION |
---|
32 | unset G4UI_BUILD_XAW_SESSION |
---|
33 | unset G4UI_BUILD_XM_SESSION |
---|
34 | unset G4UI_USE_TCSH |
---|
35 | unset G4UI_USE_WIN32 |
---|
36 | unset G4UI_USE_XAW |
---|
37 | unset G4UI_USE_XM |
---|
38 | unset G4UI_USE_QT |
---|
39 | |
---|
40 | |
---|
41 | unset G4VIS_NONE |
---|
42 | unset G4VIS_BUILD_DAWN_DRIVER |
---|
43 | unset G4VIS_BUILD_OIWIN32_DRIVER |
---|
44 | unset G4VIS_BUILD_OIX_DRIVER |
---|
45 | unset G4VIS_BUILD_OPENGLWIN32_DRIVER |
---|
46 | unset G4VIS_BUILD_OPENGLXM_DRIVER |
---|
47 | unset G4VIS_BUILD_OPENGLX_DRIVER |
---|
48 | unset G4VIS_BUILD_RAYTRACERX_DRIVER |
---|
49 | unset G4VIS_BUILD_VRML_DRIVER |
---|
50 | unset G4VIS_BUILD_OPENGLQT_DRIVER |
---|
51 | |
---|
52 | unset G4VIS_USE_DAWN |
---|
53 | unset G4VIS_USE_OIWIN32 |
---|
54 | unset G4VIS_USE_OIX |
---|
55 | unset G4VIS_USE_OPENGLWIN32 |
---|
56 | unset G4VIS_USE_OPENGLX |
---|
57 | unset G4VIS_USE_OPENGLXM |
---|
58 | unset G4VIS_USE_RAYTRACERX |
---|
59 | unset G4VIS_USE_VRML |
---|
60 | unset G4VIS_USE_OPENGLQT |
---|
61 | |
---|
62 | export G4SYSTEM="Darwin-g++" |
---|
63 | export G4INSTALL="@PREFIX@/src/geant4" |
---|
64 | export G4INCLUDE="@PREFIX@/include" |
---|
65 | #export G4BASE="@PREFIX@/include/geant4/source" |
---|
66 | export G4LIB="@PREFIX@/lib" |
---|
67 | |
---|
68 | export G4LEVELGAMMADATA="@PREFIX@/share/geant4/data/PhotonEvaporation@PHOTONEVAPORATION_V@" |
---|
69 | export G4RADIOACTIVEDATA="@PREFIX@/share/geant4/data/RadioactiveDecay@RADIOACTIVEDECAY_V@" |
---|
70 | export G4LEDATA="@PREFIX@/share/geant4/data/G4EMLOW@G4EMLOW_V@" |
---|
71 | export G4NEUTRONHPDATA="@PREFIX@/share/geant4/data/G4NDL@G4NDL_V@" |
---|
72 | export G4ABLADATA="@PREFIX@/share/geant4/data/G4ABLA@G4ABLA_V@" |
---|
73 | export G4REALSURFACEDATA="@PREFIX@/share/geant4/data/RealSurface@REALSURFACE_V@" |
---|
74 | |
---|
75 | export CLHEP_BASE_DIR="@PREFIX@" |
---|
76 | export CLHEP_INCLUDE_DIR="@PREFIX@/include/CLHEP" |
---|
77 | export CLHEP_LIB_DIR="@PREFIX@/lib" |
---|
78 | export 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 | |
---|
126 | if [ "X""$G4WORKDIR" = "X" ] ; then |
---|
127 | export G4WORKDIR=$HOME/geant4 |
---|
128 | fi |
---|
129 | |
---|
130 | # |
---|
131 | # Shared Libraries |
---|
132 | # |
---|
133 | |
---|
134 | if [ $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 |
---|
142 | fi |
---|
143 | |
---|
144 | # |
---|
145 | # Bin |
---|
146 | # |
---|
147 | |
---|
148 | export PATH=${PATH}:${G4WORKDIR}/bin |
---|
149 | |
---|
150 | # Variables set by MacPorts: |
---|
151 | |
---|