Changeset 1337 for trunk/config/scripts/env.csh.SH
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/scripts/env.csh.SH
r1213 r1337 31 31 unsetenv CLHEP_LIB_DIR 32 32 33 unsetenv G4ANALYSIS_USE34 33 unsetenv G4DEBUG 35 34 unsetenv G4INCLUDE … … 42 41 unsetenv G4ABLADATA 43 42 unsetenv G4REALSURFACEDATA 43 unsetenv G4NEUTRONXSDATA 44 44 45 45 unsetenv G4LIB … … 57 57 unsetenv G4UI_NONE 58 58 unsetenv G4UI_BUILD_WIN32_SESSION 59 unsetenv G4UI_BUILD_XAW_SESSION 59 60 unsetenv G4UI_BUILD_XM_SESSION 60 61 unsetenv G4UI_USE_TCSH 61 62 unsetenv G4UI_USE_WIN32 63 unsetenv G4UI_USE_XAW 62 64 unsetenv G4UI_USE_XM 63 65 unsetenv G4UI_USE_QT … … 97 99 #+ 98 100 if ( X$g4install != X$g4final_install ) then 99 setenv G4INSTALL "$g4final_install/src/geant4"100 echo "On this machine the G4INSTALL=\$G4INSTALL"101 setenv G4INSTALL "$g4final_install/src/geant4" 102 echo "On this machine the G4INSTALL=\$G4INSTALL" 101 103 else 102 setenv G4INSTALL "$g4install"103 echo "On this machine the G4INSTALL=\$G4INSTALL"104 setenv G4INSTALL "$g4install" 105 echo "On this machine the G4INSTALL=\$G4INSTALL" 104 106 endif 105 107 106 108 #+ 107 109 if ( X$g4includes_flag != Xn ) then 108 if ( X$g4install != X$g4final_install ) then 109 setenv G4INCLUDE "$g4final_install/include/geant4" 110 else 111 setenv G4INCLUDE "$g4final_install/include" 112 endif 113 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 114 #else 115 #setenv G4BASE "$g4final_install/include/geant4/source" 116 #echo "On this machine the G4BASE=\$G4BASE" 110 if ( X$g4install != X$g4final_install ) then 111 setenv G4INCLUDE "$g4final_install/include/geant4" 112 else 113 setenv G4INCLUDE "$g4final_install/include" 114 endif 115 116 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 117 117 endif 118 118 119 119 #+ 120 120 if ( X$g4lib != X ) then 121 if ( X$g4install != X$g4final_install ) then 122 setenv G4LIB "$g4final_install/lib/geant4" 123 else 124 setenv G4LIB "$g4final_install/lib" 125 endif 126 echo "On this machine the G4LIB=\$G4LIB" 121 if ( X$g4install != X$g4final_install ) then 122 setenv G4LIB "$g4final_install/lib/geant4" 123 else 124 setenv G4LIB "$g4final_install/lib" 125 endif 126 127 echo "On this machine the G4LIB=\$G4LIB" 127 128 endif 128 129 129 130 #+ 130 131 if ( X$g4levelgammadata != X ) then 131 setenv G4LEVELGAMMADATA "$g4levelgammadata"132 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA"132 setenv G4LEVELGAMMADATA "$g4levelgammadata" 133 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA" 133 134 endif 134 135 135 136 #+ 136 137 if ( X$g4radioactivedata != X ) then 137 setenv G4RADIOACTIVEDATA "$g4radioactivedata"138 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA"138 setenv G4RADIOACTIVEDATA "$g4radioactivedata" 139 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA" 139 140 endif 140 141 141 142 #+ 142 143 if ( X$g4ledata != X ) then 143 setenv G4LEDATA "$g4ledata"144 echo "On this machine the G4LEDATA=\$G4LEDATA"144 setenv G4LEDATA "$g4ledata" 145 echo "On this machine the G4LEDATA=\$G4LEDATA" 145 146 endif 146 147 147 148 #+ 148 149 if ( X$g4neutronhpcrosssections != X ) then 149 setenv G4NEUTRONHPDATA "$g4neutronhpcrosssections"150 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA"150 setenv G4NEUTRONHPDATA "$g4neutronhpcrosssections" 151 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 151 152 endif 152 153 153 154 #+ 154 155 if ( X$g4abladata != X ) then 155 setenv G4ABLADATA "$g4abladata"156 echo "On this machine the G4ABLADATA=\$G4ABLADATA"156 setenv G4ABLADATA "$g4abladata" 157 echo "On this machine the G4ABLADATA=\$G4ABLADATA" 157 158 endif 158 159 159 160 #+ 160 161 if ( X$g4realsurfacedata != X ) then 161 setenv G4REALSURFACEDATA "$g4realsurfacedata" 162 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 162 setenv G4REALSURFACEDATA "$g4realsurfacedata" 163 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 164 endif 165 166 #+ 167 if ( X$g4neutronxsdata != X ) then 168 setenv G4NEUTRONXSDATA "$g4neutronxsdata" 169 echo "On this machine the G4NEUTRONXSDATA=\$G4NEUTRONXSDATA" 163 170 endif 164 171 … … 168 175 # 169 176 if ( X$g4clhep_base_dir != X ) then 170 setenv CLHEP_BASE_DIR "$g4clhep_base_dir"171 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR"177 setenv CLHEP_BASE_DIR "$g4clhep_base_dir" 178 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR" 172 179 endif 173 180 174 181 #+ 175 182 if ( X$g4clhep_include_dir != X ) then 176 setenv CLHEP_INCLUDE_DIR "$g4clhep_include_dir"177 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR"183 setenv CLHEP_INCLUDE_DIR "$g4clhep_include_dir" 184 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR" 178 185 endif 179 186 180 187 #+ 181 188 if ( X$g4clhep_lib_dir != X ) then 182 setenv CLHEP_LIB_DIR "$g4clhep_lib_dir"183 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR"189 setenv CLHEP_LIB_DIR "$g4clhep_lib_dir" 190 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR" 184 191 endif 185 192 186 193 #+ 187 194 if ( X$g4clhep_lib != X ) then 188 setenv CLHEP_LIB "$g4clhep_lib"189 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB"195 setenv CLHEP_LIB "$g4clhep_lib" 196 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB" 190 197 endif 191 198 … … 195 202 # 196 203 if ( X$g4debug == Xy ) then 197 setenv G4DEBUG 1 198 echo "On this machine the G4DEBUG=\$G4DEBUG" 199 endif 200 201 # 202 # g4analysis 203 # 204 #+ 205 if ( X$g4wanalysis_use == Xy ) then 206 setenv G4ANALYSIS_USE 1 207 echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE" 208 endif 204 setenv G4DEBUG 1 205 echo "On this machine the G4DEBUG=\$G4DEBUG" 206 endif 207 209 208 210 209 # … … 213 212 #+ 214 213 if ( X$g4ui_none == Xy ) then 215 setenv G4UI_NONE 1216 echo "On this machine G4UI_NONE is set, so no user interfaces are available"214 setenv G4UI_NONE 1 215 echo "On this machine G4UI_NONE is set, so no user interfaces are available" 217 216 endif 218 217 219 218 # Check for Windows! 220 219 if ( "X\$G4SYSTEM" != "XWIN32-VC" && "X\$G4SYSTEM" != "XWIN32-VC7" ) then 221 if ( X$g4ui_none != Xy ) then 222 setenv G4UI_USE_TCSH 1 223 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 224 endif 220 if ( X$g4ui_none != Xy ) then 221 setenv G4UI_USE_TCSH 1 222 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 223 endif 224 endif 225 226 #+ 227 if ( X$g4ui_build_xaw_session == Xy ) then 228 setenv G4UI_BUILD_XAW_SESSION 1 229 echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" 230 endif 231 232 #+ 233 if ( X$g4ui_use_xaw == Xy ) then 234 setenv G4UI_USE_XAW 1 235 echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" 225 236 endif 226 237 227 238 #+ 228 239 if ( X$g4ui_build_xm_session == Xy ) then 229 setenv G4UI_BUILD_XM_SESSION 1230 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION"240 setenv G4UI_BUILD_XM_SESSION 1 241 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION" 231 242 endif 232 243 233 244 #+ 234 245 if ( X$g4ui_use_xm == Xy ) then 235 setenv G4UI_USE_XM 1236 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM"246 setenv G4UI_USE_XM 1 247 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM" 237 248 endif 238 249 239 250 #+ 240 251 if ( X$g4ui_build_win32_session == Xy ) then 241 setenv G4UI_BUILD_WIN32_SESSION 1242 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION"252 setenv G4UI_BUILD_WIN32_SESSION 1 253 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION" 243 254 endif 244 255 245 256 #+ 246 257 if ( X$g4ui_use_win32 == Xy ) then 247 setenv G4UI_USE_WIN32 1248 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32"258 setenv G4UI_USE_WIN32 1 259 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32" 249 260 endif 250 261 251 262 #+ 252 263 if ( X$g4ui_build_qt_session == Xy ) then 253 setenv G4UI_BUILD_QT_SESSION 1254 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION"264 setenv G4UI_BUILD_QT_SESSION 1 265 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION" 255 266 endif 256 267 257 268 #+ 258 269 if ( X$g4ui_use_qt == Xy ) then 259 setenv G4UI_USE_QT 1260 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT"270 setenv G4UI_USE_QT 1 271 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT" 261 272 endif 262 273 … … 268 279 #+ 269 280 if ( X$g4vis_none == Xy ) then 270 setenv G4VIS_NONE 1271 echo "On this machine G4VIS_NONE is set, so no vis drivers are available"281 setenv G4VIS_NONE 1 282 echo "On this machine G4VIS_NONE is set, so no vis drivers are available" 272 283 endif 273 284 274 285 #+ 275 286 if ( X$g4vis_build_dawn_driver == Xy ) then 276 setenv G4VIS_BUILD_DAWN_DRIVER 1277 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER"287 setenv G4VIS_BUILD_DAWN_DRIVER 1 288 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER" 278 289 endif 279 290 280 291 #+ 281 292 if ( X$g4vis_build_openglx_driver == Xy ) then 282 setenv G4VIS_BUILD_OPENGLX_DRIVER 1283 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER"293 setenv G4VIS_BUILD_OPENGLX_DRIVER 1 294 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER" 284 295 endif 285 296 286 297 #+ 287 298 if ( X$g4vis_build_openglxm_driver == Xy ) then 288 setenv G4VIS_BUILD_OPENGLXM_DRIVER 1289 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER"299 setenv G4VIS_BUILD_OPENGLXM_DRIVER 1 300 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER" 290 301 endif 291 302 292 303 #+ 293 304 if ( X$g4vis_build_openglwin32_driver == Xy ) then 294 setenv G4VIS_BUILD_OPENGLWIN32_DRIVER 1295 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER"305 setenv G4VIS_BUILD_OPENGLWIN32_DRIVER 1 306 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER" 296 307 endif 297 308 298 309 #+ 299 310 if ( X$g4vis_build_oix_driver == Xy ) then 300 setenv G4VIS_BUILD_OIX_DRIVER 1301 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER"311 setenv G4VIS_BUILD_OIX_DRIVER 1 312 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER" 302 313 endif 303 314 304 315 #+ 305 316 if ( X$g4vis_build_raytracerx_driver == Xy ) then 306 setenv G4VIS_BUILD_RAYTRACERX_DRIVER 1307 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER"317 setenv G4VIS_BUILD_RAYTRACERX_DRIVER 1 318 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER" 308 319 endif 309 320 310 321 #+ 311 322 if ( X$g4vis_build_oiwin32_driver == Xy ) then 312 setenv G4VIS_BUILD_OIWIN32_DRIVER 1313 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER"323 setenv G4VIS_BUILD_OIWIN32_DRIVER 1 324 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER" 314 325 endif 315 326 316 327 #+ 317 328 if ( X$g4vis_build_vrml_driver == Xy ) then 318 setenv G4VIS_BUILD_VRML_DRIVER 1319 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER"329 setenv G4VIS_BUILD_VRML_DRIVER 1 330 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER" 320 331 endif 321 332 322 333 #+ 323 334 if ( X$g4vis_build_openglqt_driver == Xy ) then 324 setenv G4VIS_BUILD_OPENGLQT_DRIVER 1325 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER"335 setenv G4VIS_BUILD_OPENGLQT_DRIVER 1 336 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER" 326 337 endif 327 338 … … 329 340 #+ 330 341 if ( X$g4vis_use_dawn == Xy ) then 331 setenv G4VIS_USE_DAWN 1332 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN"342 setenv G4VIS_USE_DAWN 1 343 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN" 333 344 endif 334 345 335 346 #+ 336 347 if ( X$g4vis_use_openglx == Xy ) then 337 setenv G4VIS_USE_OPENGLX 1338 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX"348 setenv G4VIS_USE_OPENGLX 1 349 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX" 339 350 endif 340 351 341 352 #+ 342 353 if ( X$g4vis_use_openglxm == Xy ) then 343 setenv G4VIS_USE_OPENGLXM 1344 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM"354 setenv G4VIS_USE_OPENGLXM 1 355 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM" 345 356 endif 346 357 347 358 #+ 348 359 if ( X$g4vis_use_openglwin32 == Xy ) then 349 setenv G4VIS_USE_OPENGLWIN32 1350 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32"360 setenv G4VIS_USE_OPENGLWIN32 1 361 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32" 351 362 endif 352 363 353 364 #+ 354 365 if ( X$g4vis_use_oix == Xy ) then 355 setenv G4VIS_USE_OIX 1356 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX"366 setenv G4VIS_USE_OIX 1 367 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX" 357 368 endif 358 369 359 370 #+ 360 371 if ( X$g4vis_use_raytracerx == Xy ) then 361 setenv G4VIS_USE_RAYTRACERX 1362 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX"372 setenv G4VIS_USE_RAYTRACERX 1 373 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX" 363 374 endif 364 375 365 376 #+ 366 377 if ( X$g4vis_use_oiwin32 == Xy ) then 367 setenv G4VIS_USE_OIWIN32 1368 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32"378 setenv G4VIS_USE_OIWIN32 1 379 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32" 369 380 endif 370 381 371 382 #+ 372 383 if ( X$g4vis_use_vrml == Xy ) then 373 setenv G4VIS_USE_VRML 1374 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML"384 setenv G4VIS_USE_VRML 1 385 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML" 375 386 endif 376 387 377 388 #+ 378 389 if ( X$g4vis_use_openglqt == Xy ) then 379 setenv G4VIS_USE_OPENGLQT 1380 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT"390 setenv G4VIS_USE_OPENGLQT 1 391 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT" 381 392 endif 382 393 383 394 #+ 384 395 if ( X$g4vis_oglhome != X ) then 385 setenv OGLHOME "$g4vis_oglhome"386 echo "On this machine the OGLHOME=\$OGLHOME"396 setenv OGLHOME "$g4vis_oglhome" 397 echo "On this machine the OGLHOME=\$OGLHOME" 387 398 endif 388 399 389 400 #+ 390 401 if ( X$g4vis_oivhome != X ) then 391 setenv OIVHOME "$g4vis_oivhome"392 echo "On this machine the OIVHOME=\$OIVHOME"402 setenv OIVHOME "$g4vis_oivhome" 403 echo "On this machine the OIVHOME=\$OIVHOME" 393 404 endif 394 405 … … 396 407 #+ 397 408 if ( X$g4vis_build_openglxm_driver != X ) then 398 setenv XMFLAGS "$g4vis_xmflags"399 echo "On this machine the XMFLAGS=\$XMFLAGS"409 setenv XMFLAGS "$g4vis_xmflags" 410 echo "On this machine the XMFLAGS=\$XMFLAGS" 400 411 endif 401 412 402 413 #+ 403 414 if ( X$g4vis_build_openglxm_driver != X ) then 404 setenv XMLIBS "$g4vis_xmlibs"405 echo "On this machine the XMLIBS=\$XMLIBS"415 setenv XMLIBS "$g4vis_xmlibs" 416 echo "On this machine the XMLIBS=\$XMLIBS" 406 417 endif 407 418 408 419 #+ 409 420 if ( X$g4ui_build_xm_session != X ) then 410 setenv XMFLAGS "$g4vis_xmflags"411 echo "On this machine the XMFLAGS=\$XMFLAGS"421 setenv XMFLAGS "$g4vis_xmflags" 422 echo "On this machine the XMFLAGS=\$XMFLAGS" 412 423 endif 413 424 414 425 #+ 415 426 if ( X$g4ui_build_xm_session != X ) then 416 setenv XMLIBS "$g4vis_xmlibs" 417 echo "On this machine the XMLIBS=\$XMLIBS" 418 endif 427 setenv XMLIBS "$g4vis_xmlibs" 428 echo "On this machine the XMLIBS=\$XMLIBS" 429 endif 430 431 #+ 432 if ( X$g4ui_build_xaw_session != X ) then 433 setenv XAWFLAGS "$g4ui_xawflags" 434 echo "On this machine the XAWFLAGS=\$XAWFLAGS" 435 endif 436 437 #+ 438 if ( X$g4ui_build_xaw_session != X ) then 439 setenv XAWLIBS "$g4ui_xawlibs" 440 echo "On this machine the XAWLIBS=\$XAWLIBS" 441 endif 442 419 443 420 444 # … … 422 446 #+ 423 447 if ( "X$g4ui_build_qt_session" == "Xy" || "X$g4ui_use_qt" == "Xy" ) then 424 setenv QTFLAGS "$g4_qt_cxxflags"425 setenv QTLIBS "$g4_qt_libs"426 setenv QTMOC "$g4_qt_moc"427 echo "On this machine the QTFLAGS=\$QTFLAGS"428 echo "On this machine the QTLIBS=\$QTLIBS"429 echo "On this machine the QTMOC=\$QTMOC"448 setenv QTFLAGS "$g4_qt_cxxflags" 449 setenv QTLIBS "$g4_qt_libs" 450 setenv QTMOC "$g4_qt_moc" 451 echo "On this machine the QTFLAGS=\$QTFLAGS" 452 echo "On this machine the QTLIBS=\$QTLIBS" 453 echo "On this machine the QTMOC=\$QTMOC" 430 454 endif 431 455 432 456 if ( "X$g4vis_build_openglqt_driver" == "Xy" || "X$g4vis_build_openglqt_driver" == "Xy" ) then 433 if ( "X\$QTFLAGS" == "X" ) then 434 setenv QTFLAGS "$g4_qt_cxxflags $g4_qt_gl_cxxflags" 435 else 436 setenv QTFLAGS "\$QTFLAGS $g4_qt_gl_cxxflags" 437 endif 438 if ( "X\$QTMOC" == "X" ) then 439 setenv QTMOC "$g4_qt_moc" 440 endif 441 setenv GLQTLIBS "$g4_qt_libs $g4_qt_gl_libs" 442 echo "On this machine the QTFLAGS=\$QTFLAGS" 443 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 444 echo "On this machine the QTMOC=\$QTMOC" 457 if ( "X\$QTFLAGS" == "X" ) then 458 setenv QTFLAGS "$g4_qt_cxxflags $g4_qt_gl_cxxflags" 459 else 460 setenv QTFLAGS "\$QTFLAGS $g4_qt_gl_cxxflags" 461 endif 462 463 if ( "X\$QTMOC" == "X" ) then 464 setenv QTMOC "$g4_qt_moc" 465 endif 466 467 setenv GLQTLIBS "$g4_qt_libs $g4_qt_gl_libs" 468 echo "On this machine the QTFLAGS=\$QTFLAGS" 469 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 470 echo "On this machine the QTMOC=\$QTMOC" 445 471 endif 446 472 … … 454 480 #+ 455 481 if ( X$g4lib_build_gdml == Xy ) then 456 setenv G4LIB_BUILD_GDML 1457 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML"482 setenv G4LIB_BUILD_GDML 1 483 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML" 458 484 endif 459 485 460 486 if ( X$g4lib_build_gdml == Xy ) then 461 setenv XERCESCROOT "$g4gdml_xercesc_root"462 echo "On this machine the XERCESCROOT=\$XERCESCROOT"487 setenv XERCESCROOT "$g4gdml_xercesc_root" 488 echo "On this machine the XERCESCROOT=\$XERCESCROOT" 463 489 endif 464 490 … … 471 497 #+ 472 498 if ( X$g4wlib_build_g3tog4 == Xy ) then 473 setenv G4LIB_BUILD_G3TOG4 1474 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4"499 setenv G4LIB_BUILD_G3TOG4 1 500 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4" 475 501 endif 476 502 477 503 if ( X$g4w_use_g3tog4 == Xy ) then 478 setenv G4LIB_USE_G3TOG4 1479 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4"504 setenv G4LIB_USE_G3TOG4 1 505 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4" 480 506 endif 481 507 … … 486 512 #+ 487 513 if ( X$g4wlib_build_zlib == Xy ) then 488 setenv G4LIB_BUILD_ZLIB 1489 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB"514 setenv G4LIB_BUILD_ZLIB 1 515 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB" 490 516 endif 491 517 492 518 if ( X$g4w_use_ZLIB == Xy ) then 493 setenv G4LIB_USE_ZLIB 1494 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB"519 setenv G4LIB_USE_ZLIB 1 520 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB" 495 521 endif 496 522 … … 500 526 # 501 527 if ( X$g4lib_build_shared == Xy ) then 502 setenv G4LIB_BUILD_SHARED 1503 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED"528 setenv G4LIB_BUILD_SHARED 1 529 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED" 504 530 endif 505 531 506 532 if ( X$g4lib_build_static == Xy ) then 507 setenv G4LIB_BUILD_STATIC 1508 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC"533 setenv G4LIB_BUILD_STATIC 1 534 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC" 509 535 endif 510 536 … … 514 540 # 515 541 if ( X$g4lib_use_granular == Xy ) then 516 setenv G4LIB_USE_GRANULAR 1517 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"542 setenv G4LIB_USE_GRANULAR 1 543 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR" 518 544 endif 519 545 … … 531 557 # 532 558 if ( ${?G4WORKDIR} ) then 533 echo "In your environment you have the G4WORKDIR=$G4WORKDIR"559 echo "In your environment you have the G4WORKDIR=$G4WORKDIR" 534 560 else 535 # Check for Windows! 536 if ( "X$G4SYSTEM" == "XWIN32-VC" || "X$G4SYSTEM" == "XWIN32-VC7" ) then 537 538 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)." 539 setenv G4WORKDIR "c:/geant4" 540 541 else # if Unix 542 543 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 544 setenv G4WORKDIR $HOME/geant4 545 546 endif 547 endif 548 549 # 550 # Shared libraries 551 # 561 # Check for Windows! 562 if ( "X$G4SYSTEM" == "XWIN32-VC" || "X$G4SYSTEM" == "XWIN32-VC7" ) then 563 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)." 564 setenv G4WORKDIR "c:/geant4" 565 else # if Unix 566 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 567 setenv G4WORKDIR $HOME/geant4 568 endif 569 endif 570 571 # 572 # *NIX Shared Libraries 573 # If we built Geant4 with shared libraries, we need to add the Gean4 574 # library directory to (DY)LD_LIBRARY_PATH. 575 # In all cases, external shared library directories should be added to 576 # (DY)LD_LIBRARY_PATH 577 578 if ( "X$G4SYSTEM" != "XDarwin-g++" ) then 579 if ( ${?LD_LIBRARY_PATH} ) then 580 if ( ${?G4LIB_BUILD_SHARED} ) then 581 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 582 endif 583 584 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 585 586 if ( ${?G4LIB_BUILD_GDML} ) then 587 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 588 endif 589 590 else 591 if ( ${?G4LIB_BUILD_SHARED} ) then 592 setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM} 593 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 594 else 595 setenv LD_LIBRARY_PATH ${CLHEP_LIB_DIR} 596 endif 597 598 if ( ${?G4LIB_BUILD_GDML} ) then 599 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 600 endif 601 endif 602 else 603 # 604 # Darwin Shared Libraries 605 # we repeat the above logic, but for DYLD_LIBRARY_PATH 606 # 607 if ( ${?DYLD_LIBRARY_PATH} ) then 608 if ( ${?G4LIB_BUILD_SHARED} ) then 609 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 610 endif 611 612 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 613 614 if ( ${?G4LIB_BUILD_GDML} ) then 615 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 616 endif 617 else 618 if ( ${?G4LIB_BUILD_SHARED} ) then 619 setenv DYLD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM} 620 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 621 else 622 setenv DYLD_LIBRARY_PATH ${CLHEP_LIB_DIR} 623 endif 624 625 if ( ${?G4LIB_BUILD_GDML} ) then 626 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 627 endif 628 endif 629 endif 630 631 632 # 633 # Warning about LD_LIBRARY_PATH 634 # 635 echo '' 552 636 if ( ${?G4LIB_BUILD_SHARED} ) then 553 554 # 555 # Warning about LD_LIBRARY_PATH 556 # 637 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then 638 echo 'DYLD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 639 else 640 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 641 endif 642 else 643 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then 644 echo 'DYLD_LIBRARY_PATH is set to include CLHEP libraries. ' 645 else 646 echo 'LD_LIBRARY_PATH is set to include CLHEP libraries. ' 647 endif 648 endif 649 echo 'NOTE : you should verify that the correct path for the CLHEP library' 557 650 echo '' 558 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. '651 echo ${CLHEP_BASE_DIR}/lib 559 652 echo '' 560 echo 'NOTE : verify that the correct path for the CLHEP library' 561 echo '- $CLHEP_BASE_DIR/lib - is included in the $LD_LIBRARY_PATH' 562 echo 'variable in your environment, and no other outdated installations' 563 echo 'of CLHEP are by chance referenced through $LD_LIBRARY_PATH and' 564 echo 'present in your system !' 653 echo 'is included in the dynamic library search path ahead of any other' 654 echo 'installations of CLHEP on your system that may be referenced by this' 655 echo 'path.' 565 656 echo '' 566 567 if ( ${?LD_LIBRARY_PATH} ) then568 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}569 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}570 571 if ( ${?G4LIB_BUILD_GDML} ) then572 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib573 endif574 575 else576 setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}577 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}578 579 if ( ${?G4LIB_BUILD_GDML} ) then580 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib581 endif582 583 endif584 endif585 586 #587 # Shared libraries for Mac588 #589 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then590 591 if ( ${?G4LIB_BUILD_SHARED} ) then592 if ( ${?DYLD_LIBRARY_PATH} ) then593 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}594 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}595 596 if ( ${?G4LIB_BUILD_GDML} ) then597 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib598 endif599 600 else601 setenv DYLD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}602 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}603 604 if ( ${?G4LIB_BUILD_GDML} ) then605 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib606 endif607 608 endif609 endif610 611 endif612 657 613 658 #
Note: See TracChangeset
for help on using the changeset viewer.