source: trunk/environments/g4py/tools/env/env+.csh @ 1337

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 1.2 KB
Line 
1#$Id: env+.csh,v 1.2 2006/08/08 09:32:52 kmura Exp $
2# ======================================================================
3#  [csh version]
4#  Additonal setup script for co-building global shared libraries
5#
6#  In dafault situation, Geant4 creates and uses "granular static libraries".
7#  But, Python interface requires "global shared library".
8#  This small setup script helps co-build global shared libraries,
9#  in addition to an existing granular static environment.
10#
11#  After sourcing "env.csh", which is created by the "Configure" script,
12#  source this file additionally, then "make global".
13#  Global shared library staffs will be created in another directory.
14# ======================================================================
15
16if (! $?G4INSTALL) then
17  echo "*** G4INSTALL is not defined! Please source env.csh first."
18  exit
19endif
20
21# Recompilation is necessary because position-independent codes (-fPIC option)
22# shoud be required. The temporal directory should be different from
23# the existing one.
24setenv G4TMP $G4INSTALL/tmp-slib
25
26# Under this directory, new global shared library staffs will be created.
27setenv G4LIB $G4INSTALL/slib
28
29setenv G4LIB_BUILD_SHARED 1
30
Note: See TracBrowser for help on using the repository browser.