Commit 216a75ee authored by Gabriele Cosmo's avatar Gabriele Cosmo
Browse files

Import Geant4 8.1.0 source tree

parent 8a51e0bc
This diff is collapsed.
Geant4 Software License
Version 1.0, 28 June 2006
Version 1.0, 28 June 2006
Copyright (c) Copyright Holders of the Geant4 Collaboration, 1994-2006.
See http://cern.ch/geant4/license for details on the copyright holders. All rights not expressly granted under this license are reserved.
This software includes voluntary contributions made to Geant4. See http://cern.ch/geant4 for more information on Geant4.
Installation, use, reproduction, display, modification and redistribution of this software, with or without modification, in source and binary forms, are permitted on a non- exclusive basis. Any exercise of rights by you under this license is subject to the following conditions:
1. Redistributions of this software, in whole or in part, with or without modification, must reproduce the above copyright notice and these license conditions in this software, the user documentation and any other materials provided with the redistributed software.
2. The user documentation, if any, included with a redistribution, must include the following notice:
"This product includes software developed by Members of the Geant4 Collaboration ( http://cern.ch/geant4 )."
If that is where third-party acknowledgments normally appear, this acknowledgment must be reproduced in the modified version of this software itself.
3. The names "Geant4" and "The Geant4 toolkit" may not be used to endorse or promote software, or products derived therefrom, except with prior written permission by license@geant4.org. If this software is redistributed in modified form, the name and reference of the modified version must be clearly distinguishable from that of this software.
4. You are under no obligation to provide anyone with any modifications of this software that you may develop, including but not limited to bug fixes, patches, upgrades or other enhancements or derivatives of the features, functionality or performance of this software. However, if you publish or distribute your modifications without contemporaneously requiring users to enter into a separate written license agreement, then you are deemed to have granted all Members and all Copyright Holders of the Geant4 Collaboration a license to your modifications, including modifications protected by any patent owned by you, under the conditions of this license.
5. You may not include this software in whole or in part in any patent or patent application in respect of any modification of this software developed by you.
See http://cern.ch/geant4/license for details on the copyright holders. All
rights not expressly granted under this license are reserved.
This software includes voluntary contributions made to Geant4.
See http://cern.ch/geant4 for more information on Geant4.
Installation, use, reproduction, display, modification and redistribution of
this software, with or without modification, in source and binary forms, are
permitted on a non-exclusive basis. Any exercise of rights by you under this
license is subject to the following conditions:
1. Redistributions of this software, in whole or in part, with or without
modification, must reproduce the above copyright notice and these license
conditions in this software, the user documentation and any other
materials provided with the redistributed software.
2. The user documentation,if any,included with a redistribution,must include
the following notice:"This product includes software developed by Members
of the Geant4 Collaboration ( http://cern.ch/geant4 )."
If that is where third-party acknowledgments normally appear, this
acknowledgment must be reproduced in the modified version of this
software itself.
3. The names "Geant4" and "The Geant4 toolkit" may not be used to endorse or
promote software,or products derived therefrom, except with prior written
permission by license@geant4.org. If this software is redistributed in
modified form, the name and reference of the modified version must be
clearly distinguishable from that of this software.
4. You are under no obligation to provide anyone with any modifications of
this software that you may develop,including but not limited to bug fixes,
patches, upgrades or other enhancements or derivatives of the features,
functionality or performance of this software. However, if you publish or
distribute your modifications without contemporaneously requiring users
to enter into a separate written license agreement, then you are deemed
to have granted all Members and all Copyright Holders of the Geant4
Collaboration a license to your modifications, including modifications
protected by any patent owned by you,under the conditions of this license.
5. You may not include this software in whole or in part in any patent or
patent application in respect of any modification of this software
developed by you.
6. DISCLAIMER
THIS SOFTWARE IS PROVIDED BY THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, OF SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE OR USE ARE DISCLAIMED. THE MEMBERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS MAKE NO REPRESENTATION THAT THE SOFTWARE AND MODIFICATIONS THEREOF, WILL NOT INFRINGE ANY PATENT, COPYRIGHT, TRADE SECRET OR OTHER PROPRIETARY RIGHT.
THIS SOFTWARE IS PROVIDED BY THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4
COLLABORATION AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, OF
SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE OR USE ARE
DISCLAIMED. THE MEMBERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS MAKE NO
REPRESENTATION THAT THE SOFTWARE AND MODIFICATIONS THEREOF,WILL NOT INFRINGE
ANY PATENT, COPYRIGHT, TRADE SECRET OR OTHER PROPRIETARY RIGHT.
7. LIMITATION OF LIABILITY
THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS SHALL HAVE NO LIABILITY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA OR PROFITS, OR BUSINESS INTERRUPTION, HOWEVER CAUSED AND ON ANY THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR OTHERWISE, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
8. This license shall terminate with immediate effect and without notice if you fail to comply with any of the terms of this license, or if you institute litigation against any Member or Copyright Holder of the Geant4 Collaboration with regard to this software.
\ No newline at end of file
THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND
CONTRIBUTORS SHALL HAVE NO LIABILITY FOR DIRECT,INDIRECT,SPECIAL, INCIDENTAL,
CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES OF ANY CHARACTER INCLUDING,
WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE,
DATA OR PROFITS, OR BUSINESS INTERRUPTION, HOWEVER CAUSED AND ON ANY THEORY
OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR
OTHERWISE, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
8. This license shall terminate with immediate effect and without notice if
you fail to comply with any of the terms of this license, or if you
institute litigation against any Member or Copyright Holder of the Geant4
Collaboration with regard to this software.
Geant4 8.0 - patch-01 Release Notes
-----------------------------------
10 February 2006
List of fixes included in this public patch since the public release 8.0:
o Digits & Hits:
-------------
+ Added missing methods in G4VDigiCollection and G4TDigiCollection.
Addresses problem report #786.
o Geometry:
--------
+ divisions
o Added missing setting of mother-logical pointer in constructors of
G4PVDivision. Fixes problem report #829.
o Added missing checks for illegal constructs of G4PVDivision (NULL
pointer to mother logical and self-placement).
o Fixed check for generic construct in G4ParameterisationPolycone and
G4ParameterisationPolyhedra: allow it for the automatic replicated
instance.
o Cache information about axis of division and provided accessor method
GetDivisionAxis() in G4PVDivision.
+ navigation
o Addressing problem with convergence in LocateIntersectionPoint()
of G4PropagatorInField. The problem, identified by Atlas, was
observed when requesting high precision, i.e. small values of
eps_min/max, delta_one_step, due to need for small delta_intersection.
Increased maximum iterations (from 100 to 10000) until correct
information can be return an Exception is thrown in case of too many
iterations; a warning is thrown in case over 1000 iterations.
+ solids/BREPS
o Use explicit 'HepGeom' namespace for 'Identity', to allow for
porting on Windows/VC++ when using CLHEP-2.0.X.
+ solids/CSG
o G4Sphere: fixed bug in DistanceToOut() for theta intersections.
Fixes problem report #830.
+ solids/specific
o Fixed visibility of soft edges for visualization of twisted solids.
o G4TwistedTubs and G4VTwistedFaceted::CreatePolyhedron(): changed
parameterised polyhedron mesh approximation in terms of
G4Polyhedron::GetNumberOfRotationSteps().
o Fixes in G4EllipticalCone:
- Changed GetPointOnSurface(), which was not uniform in endcaps.
- Bug fix in Inside(), which was not correct for the elliptic mantel.
Made test similar as in G4EllipticTube.
- Several fixes in DistanceToIn/Out() resolving problems of looping
events.
+ volumes
o G4AssemblyVolume: fixed initialisation of names for placed volumes
which was corrupted after migration to <sstream> as side effect.
o Particles:
---------
+ Bug fix for G4ParticleDefinition, was causing improper behavior of
GetAtomicNumber() method for ions. Fixes problem report #827.
o Electromagnetic processes:
-------------------------
+ standard:
o Fix in G4PolarizedComptonScattering, returning PostStepDoIt()
for G4ComptonScattering52. Fixes problem report #478.
o Hadronic Processes:
------------------
+ management:
o G4HadronicProcess: fixed problem report #611. Problems caused when
hadronic interactions reset stopButAlive particle to Alive.
o Added diagnostics when hadronic exceptions occur in G4HadronicProcess
and G4EnergyRangeManager.
+ models/binary_cascade:
o Fixed problem report #794. Projectile nucleus needs to be centered.
+ models/chiral_inv_phase_space/body:
o Fixed trivial compilation warning.
+ models/de_excitation:
o G4NuclearLevelManager: print a warning if no data file is present.
Addressed problem report #814.
o G4ParaFissionModel: fix for compilation error, following problem
report #817.
+ models/neutron_hp:
o Fixes core dump observed when neutron energy is close to 20 MeV.
+ models/radioactive_decay
o G4NuclearDecayChannel::BetaDecayIt(): check for negative sqrt()
argument in 'daughtermomentum[1]'. Fixes problem report #822.
+ stopping:
o Set process type to be 'fHadronic'. Was not set previously.
+ util:
o G4ReactionDynamics: added array bounds protection in TwoCluster().
o Processes cuts:
--------------
+ Fix in G4VRangeToEnergyConverter::Convert() to recalculate the energy
loss table if new elements are added. Fixes problem report #831.
o Track:
-----
+ G4ParticleChangeForRadDecay is now derived from G4ParticleChangeForDecay.
o Transportation:
--------------
+ G4Transportation: the particle's charge is now taken from the dynamic
particle, so that it can take into account changes from the interaction
of an ion with matter (eg stripping e-).
+ Corrected problem with suspended tracks, addressing problem report #802.
Added StartTracking() method which takes over responsibility to clear
the state for a new track, and to message other relevant component to
clear their state.
o Visualization:
-------------
+ management:
o Fixed bug that omits geometry volumes from file-based visualization
drivers for first /run/beamOn.
o Added friend status for ray-tracer.
+ RayTracer:
o Fix behavior of messengers when RayTracerX is used.
o Allow for multiple ray tracers.
o Separated out the original ray tracer to be used by viewers.
o Data:
----
+ New data set for high-precision neutron processes G4NDL-3.8
o Added Gadorinium data (source ENDF/B-VI).
o Replaced: Inelastic/CrossSection/17_nat_Chlorine and
Inelastic/F10/28_62_Nickel (source ENDF/B-VI).
o Removed: Inelastic/CrossSection/32_70|72|73|74|76_Germanium
o Examples:
--------
+ Updated reference outputs.
+ extended/electromagnetic/TestEm7
o Trivial fix of memory leak.
+ extended/medical/GammaTherapy
o Substituted PreciseRange with CSDARange.
----------------------------------------------------------------------------
Technical Notes
---------------
o This patch should be applied on top of release 8.0.
o Technical notes distributed for release 8.0 are also applicable and
valid for this patch.
The code and rebuilt binary libraries for release 8.0 are available through
our "Source Code" Web page: http://cern.ch/geant4
Please refer to the Geant4 User Documentation:
http://cern.ch/geant4/G4UsersDocuments/Overview/html
for further information about using Geant4.
......@@ -883,13 +883,6 @@ please refer to the related History files provided in most packages):
<LI>Fixed (non-)culling of transparent volumes.</LI>
<LI>Implemented radial replicas for G4Tubs.</LI>
</UL></LI>
<LI><B>HepRep</B>
<UL>
<LI>Fix for 'DrawAs' value which was wrong for solids using Geant4
primitives.</LI>
<LI>Fix for cones face wrong way.</LI>
<LI>Fixed compilation warning on MacOSX.</LI>
</UL></LI>
<LI><B>OpenGL</B>
<UL>
<LI>Initial window size can now be set from <TT>/vis/open</TT> and
......
This diff is collapsed.
$Id: History,v 1.275 2005/12/12 09:15:17 gcosmo Exp $
$Id: History,v 1.278 2006/06/13 15:37:35 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
......@@ -16,6 +16,22 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13th June 2006 Gabriele Cosmo (config-V08-00-02)
- Removed defaults for X11, XM, XAW flags in architecture.gmk and added
explicit settings in sys/*.gmk setups protected by ifndef statements for
optional customisation.
- Upgraded Configure internal scripts.
24th April 2006 Gabriele Cosmo (config-V08-00-01)
- binmake.gmk: fixed old-standing warning on WIN32-VC for file extension of
target object file. Defined TARGOBJEXT internal variable defining the
actual extension: .o for UNIX, .OBJ for Windows platforms.
6th April 2006 Gabriele Cosmo (config-V08-00-00)
- Darwin-g++: corrected linker options for generation of dynamic libraries.
Now dynamic libraries on MacOSX finally work. Tested on MacOS 10.4.5 with
gcc-4.0.1.
12th December 2005 Gabriele Cosmo (config-V07-01-07)
- binmake.gmk: added workaround to allow for physics-lists to link
with DLLs on Windows.
......
# $Id: architecture.gmk,v 1.104 2005/12/07 09:41:54 gcosmo Exp $
# $Id: architecture.gmk,v 1.105 2006/06/13 15:36:30 gcosmo Exp $
# ------------------------------------------------------------------------
# GEANT 4 - Architecture configuration script for GNU Make
#
......@@ -227,17 +227,6 @@ endif
ifndef VISLIBS
VISLIBS :=
endif
# ------------------ X11 ---------------------
X11FLAGS :=
X11LIBS := -lXmu -lXt -lXext -lX11
#
# ----------------- Motif --------------------
XMFLAGS :=
XMLIBS := -lXm
#
# ---------------- Athena --------------------
XAWFLAGS :=
XAWLIBS := -lXaw
#
# ---------------- OpenGL --------------------
# The user can define his own values of OGLFLAGS and OGLLIBS.
......@@ -257,7 +246,6 @@ XAWLIBS := -lXaw
# if the package is installed in a location different
# than default system directories (like... /usr or /usr/local).
#
ifndef OIVHOME
OIVHOME := /usr/local/Inventor
endif
......
# $Id: binmake.gmk,v 1.109 2005/12/12 09:08:21 gcosmo Exp $
# $Id: binmake.gmk,v 1.112 2006/04/24 10:54:18 gcosmo Exp $
# ----------------------------------------------------------
# Script defining rules and paths for making binaries.
# First implementation: Gabriele Cosmo, 25/06/1998.
......@@ -174,15 +174,18 @@ endif
#
ifndef USER_DEFINED_LDLIBS
# TARGETLIB is the library generated for the final user application...
# TARGETLIB is the library generated for the final user application;
# TARGOBJEXT defines the target object extension
#
ifdef G4EXLIB
ifeq (,$(findstring WIN32-VC,$(G4SYSTEM)))
# Unix
TARGETLIB := -l$(G4TARGET)
TARGETLIB := -l$(G4TARGET)
TARGOBJEXT := o
else
# Windows
TARGETLIB := lib$(G4TARGET).a
TARGETLIB := lib$(G4TARGET).a
TARGOBJEXT := OBJ
endif
endif
......@@ -294,7 +297,7 @@ include $(G4INSTALL)/config/sys/$(G4SYSTEM)-runpath.gmk
endif
sources := $(wildcard $(G4TARGET).cc)
objects := $(patsubst %.cc,$(G4TMPDIR)/exe/%.o,$(sources))
objects := $(patsubst %.cc,$(G4TMPDIR)/exe/%.$(TARGOBJEXT),$(sources))
dependencies := $(patsubst %.cc,$(G4TMPDIR)/exe/%.d,$(sources))
LINK_DEPENDENCIES := $(G4TMPDIR)/exe/obj.last $(EXTRA_LINK_DEPENDENCIES)
......@@ -334,6 +337,8 @@ else
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) \
-o $(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
$(LDLIBS)
@if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \
echo "... Done!"; fi
endif
# Touch the versioning file
......@@ -344,15 +349,15 @@ $(G4TMPDIR)/exe/obj.last: $(objects)
endif
@touch $@
# Make the $(G4TARGET).o file.
$(G4TMPDIR)/exe/$(G4TARGET).o : $(G4TARGET).cc
# Make the $(G4TARGET).$(TARGOBJEXT) file.
$(G4TMPDIR)/exe/$(G4TARGET).$(TARGOBJEXT) : $(G4TARGET).cc
ifdef CPPVERBOSE
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(APPFLAGS) \
-c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).o $(G4TARGET).cc
-c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).$(TARGOBJEXT) $(G4TARGET).cc
else
@echo Compiling $(G4TARGET).cc ...
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(APPFLAGS) \
-c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).o $(G4TARGET).cc
-c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).$(TARGOBJEXT) $(G4TARGET).cc
endif
GPPFLAGS := "-M"
......@@ -384,7 +389,7 @@ $(G4TMPDIR)/exe/$(G4TARGET).d: $(G4TARGET).cc
@echo Making dependency for file $< ...
@set -e;\
g++ $(GPPFLAGS) $(CPPFLAGS) -w $< |\
sed 's!$(G4TARGET)\.o!$(G4TMPDIR)/exe/& $@!' >$@;\
sed 's!$(G4TARGET)\.$(TARGOBJEXT)!$(G4TMPDIR)/exe/& $@!' >$@;\
[ -s $@ ] || rm -f $@
ifneq ($(dependencies),)
-include $(dependencies)
......
......@@ -283,6 +283,48 @@ setenv OGLHOME "$g4vis_oglhome"
echo "On this machine the OGLHOME=\$OGLHOME"
endif
#+
if ( X$g4vis_oivhome != X ) then
setenv OIVHOME "$g4vis_oivhome"
echo "On this machine the OIVHOME=\$OIVHOME"
endif
#+
if ( X$g4vis_build_openglxm_driver != X ) then
setenv XMFLAGS "$g4vis_xmflags"
echo "On this machine the XMFLAGS=\$XMFLAGS"
endif
#+
if ( X$g4vis_build_openglxm_driver != X ) then
setenv XMLIBS "$g4vis_xmlibs"
echo "On this machine the XMLIBS=\$XMLIBS"
endif
#+
if ( X$g4ui_build_xm_session != X ) then
setenv XMFLAGS "$g4vis_xmflags"
echo "On this machine the XMFLAGS=\$XMFLAGS"
endif
#+
if ( X$g4ui_build_xm_session != X ) then
setenv XMLIBS "$g4vis_xmlibs"
echo "On this machine the XMLIBS=\$XMLIBS"
endif
#+
if ( X$g4ui_build_xaw_session != X ) then
setenv XAWFLAGS "$g4ui_xawflags"
echo "On this machine the XAWFLAGS=\$XAWFLAGS"
endif
#+
if ( X$g4ui_build_xaw_session != X ) then
setenv XAWLIBS "$g4ui_xawlibs"
echo "On this machine the XAWLIBS=\$XAWLIBS"
endif
#
# Use G3TOG4 module
#
......@@ -336,7 +378,7 @@ echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"
endif
# Check for Windows!
if ( "X$G4SYSTEM" != "XWIN32-VC" && "X$G4SYSTEM" != "XWIN32-VC7" ) then
if ( "X\$G4SYSTEM" != "XWIN32-VC" && "X\$G4SYSTEM" != "XWIN32-VC7" ) then
setenv G4UI_USE_TCSH 1
echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH"
endif
......@@ -348,6 +390,7 @@ endif
: In the following dollars and backticks do not need the extra backslash.
$spitshell >>env.csh <<'!NO!SUBS!'
#+
#
# G4WORKDIR
......@@ -369,6 +412,22 @@ setenv G4WORKDIR $HOME/geant4
endif
endif
#
# Shared libraries
#
if ( ${?G4LIB_BUILD_SHARED} ) then
if ( ${?LD_LIBRARY_PATH} ) then
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}
else
setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}
endif
endif
#
# For BIN
#
setenv PATH ${PATH}:${G4WORKDIR}/bin/${G4SYSTEM}
!NO!SUBS!
chmod 755 env.csh
$eunicefix env.csh
......@@ -399,6 +399,69 @@ echo "On this machine the OGLHOME=\$OGLHOME"
fi
fi
#+
if [ X$g4vis_oivhome != X ] ; then
OIVHOME="$g4vis_oivhome"
export OIVHOME
if [ X\$g4non_display = X ] ; then
echo "On this machine the OIVHOME=\$OIVHOME"
fi
fi
#+
if [ X$g4vis_build_openglxm_driver != X ] ; then
XMFLAGS="$g4vis_xmflags"
export XMFLAGS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMFLAGS=\$XMFLAGS"
fi
fi
#+
if [ X$g4vis_build_openglxm_driver != X ] ; then
XMLIBS="$g4vis_xmlibs"
export XMLIBS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMLIBS=\$XMLIBS"
fi
fi
#+
if [ X$g4ui_build_xm_session != X ] ; then
XMFLAGS="$g4vis_xmflags"
export XMFLAGS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMFLAGS=\$XMFLAGS"
fi
fi
#+
if [ X$g4vis_build_xm_session != X ] ; then
XMLIBS="$g4vis_xmlibs"
export XMLIBS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMLIBS=\$XMLIBS"
fi
fi
#+
if [ X$g4ui_build_xaw_session != X ] ; then
XAWFLAGS="$g4ui_xawflags"
export XAWFLAGS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XAWFLAGS=\$XAWFLAGS"
fi
fi
#+
if [ X$g4ui_build_xaw_session != X ] ; then
XAWLIBS="$g4ui_xawlibs"
export XAWLIBS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XAWLIBS=\$XAWLIBS"
fi
fi
#
# Use G3TOG4 module
#
......@@ -469,7 +532,7 @@ fi
fi
# Check for Windows!
if test "X$G4SYSTEM" != "XWIN32-VC" -a "X$G4SYSTEM" != "XWIN32-VC7"; then
if test "X\$G4SYSTEM" != "XWIN32-VC" -a "X\$G4SYSTEM" != "XWIN32-VC7"; then
#+
#
# UI_USE_TCSH for Unix
......@@ -488,6 +551,7 @@ fi
: In the following dollars and backticks do not need the extra backslash.
$spitshell >>env.sh <<'!NO!SUBS!'
#+
#
# G4WORKDIR
......@@ -520,6 +584,25 @@ fi
fi
#
# Shared libraries
#
if [ $G4LIB_BUILD_SHARED ] ; then
if [ $LD_LIBRARY_PATH ] ; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}
export LD_LIBRARY_PATH
fi
fi
#
# For BIN
#
PATH=${PATH}:${G4WORKDIR}/bin/${G4SYSTEM}
export PATH
!NO!SUBS!
chmod 755 env.sh
$eunicefix env.sh
......@@ -324,6 +324,69 @@ export OGLHOME
echo "On this machine the OGLHOME=\$OGLHOME"
fi
#+
if [ X$g4vis_oivhome != X ] ; then
OIVHOME="$g4vis_oivhome"
export OIVHOME
if [ X\$g4non_display = X ] ; then
echo "On this machine the OIVHOME=\$OIVHOME"
fi
fi
#+
if [ X$g4vis_build_openglxm_driver != X ] ; then
XMFLAGS="$g4vis_xmflags"
export XMFLAGS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMFLAGS=\$XMFLAGS"
fi
fi
#+
if [ X$g4vis_build_openglxm_driver != X ] ; then
XMLIBS="$g4vis_xmlibs"
export XMLIBS
if [ X\$g4non_display = X ] ; then
echo "On this machine the XMLIBS=\$XMLIBS"
fi
fi
#+
if [ X$g4ui_build_xm_session != X ] ; then
XMFLAGS="$g4vis_xmflags"
export XMFLAGS
if [ X\$g4non_display = X ] ; then