Changeset 593 for trunk/geant4/config
- Timestamp:
- Nov 9, 2007, 3:32:25 PM (17 years ago)
- Location:
- trunk/geant4/config
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/config/G4UI_BUILD.gmk
r561 r593 1 # $Id: G4UI_BUILD.gmk,v 1. 4 2003/10/17 10:17:10 gbarrandExp $1 # $Id: G4UI_BUILD.gmk,v 1.5 2007/10/03 12:15:05 lgarnier Exp $ 2 2 # ------------------------------------------------------------- 3 3 # Interfaces-specific CPPFLAGS for BUILD phase. -
trunk/geant4/config/G4UI_USE.gmk
r486 r593 1 # $Id: G4UI_USE.gmk,v 1. 8 2003/10/17 10:17:10 gbarrandExp $1 # $Id: G4UI_USE.gmk,v 1.9 2007/10/03 12:15:05 lgarnier Exp $ 2 2 # ------------------------------------------------------------- 3 3 # GNUmakefile for CPPFLAGS for interfaces USE phase. -
trunk/geant4/config/G4VIS_BUILD.gmk
r486 r593 1 # $Id: G4VIS_BUILD.gmk,v 1. 19 2005/10/05 17:35:40 allisonExp $1 # $Id: G4VIS_BUILD.gmk,v 1.20 2007/10/03 12:15:05 lgarnier Exp $ 2 2 # ------------------------------------------------------------- 3 3 # Visualization-specific CPPFLAGS for BUILD phase. -
trunk/geant4/config/G4VIS_USE.gmk
r574 r593 1 # $Id: G4VIS_USE.gmk,v 1.2 2 2005/10/05 17:35:40 allisonExp $1 # $Id: G4VIS_USE.gmk,v 1.23 2007/10/03 12:15:05 lgarnier Exp $ 2 2 # ------------------------------------------------------------- 3 3 # GNUmakefile for CPPFLAGS for visualization USE phase. -
trunk/geant4/config/History
r483 r593 1 $Id: History,v 1. 288 2006/11/30 15:47:16gcosmo Exp $1 $Id: History,v 1.300 2007/08/16 09:34:51 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 16 16 * Reverse chronological order (last date on top), please * 17 17 ---------------------------------------------------------- 18 19 16th August 2007 Gabriele Cosmo (config-V09-00-04) 20 - Corrected definition of OUT internal variable to allow for proper 21 linking also of unit tests. 22 23 15th August 2007 Gabriele Cosmo (config-V09-00-03) 24 - Added "rpg" hadronic model module to binmake.gmk. 25 26 13th August 2007 Gabriele Cosmo (config-V09-00-02) 27 - SUN-CC.gmk: forced -xO2 as optimisation level. 28 29 18th July 2007 Gabriele Cosmo (config-V09-00-01) 30 - liblist.c: fixed problem affecting recent CygWin installations on 31 Windows in parsing the buffer for the generation of libname.map. 32 - binmake.gmk: defined OUT internal variable specifying the proper 33 compilation/linking option to Unix or Windows compilers: '-o ' 34 and '/Fe' respectively. 35 36 11th July 2007 Makoto Asai (config-V09-00-00) 37 - Added digits_hits/scorer sub-directory to binmake.gmk. 38 39 28th June 2007 Gabriele Cosmo (config-V08-03-04) 40 - Updated Configure scripts to fix installation issue when installation 41 path is different from source path and headers are not installed. 42 - Cleared <TAB> characters from .gmk scripts where not necessary. 43 44 22nd June 2007 Gabriele Cosmo (config-V08-03-03) 45 - Corrected binmake.gmk for having error_propagation in INCFLAGS properly 46 included in search path. 47 - Updated internal scripts for Configure to cope with new environment 48 variable G4NEUTRONHPDATA. 49 50 18th June 2007 Ben Morgan (config-V08-03-02) 51 - Fixed Configure internal script to get rid of searching old physics_list 52 module at installation. 53 54 27th May 2007 Gabriele Cosmo (config-V08-03-01) 55 - Added "lll_fission" hadronic model module to binmake.gmk. 56 57 12th May 2007 Gabriele Cosmo (config-V08-03-00) 58 - Added "error_propagation" module to binmake.gmk. 59 - Removed G4LIB_BUILD_LISTS flag. Physics lists are built by default. 60 61 21st March 2007 Gabriele Cosmo 62 - Added "biasing" module to binmake.gmk. 63 64 28th February 2007 Gabriele Cosmo (config-V08-02-00) 65 - Protected generation of dependencies using internal 'make' variable 66 MAKECMDGOALS in binmake.gmk and common.gmk, following suggestion made 67 in problem report #930. 68 This protection resolves the problem of generation of dependencies when 69 issueing the 'clean' target. 18 70 19 71 3rd November 2006 Gunter Folger (config-V08-01-07) -
trunk/geant4/config/architecture.gmk
r483 r593 1 # $Id: architecture.gmk,v 1.1 07 2006/10/31 11:35:43 gunterExp $1 # $Id: architecture.gmk,v 1.110 2007/06/28 14:16:55 gcosmo Exp $ 2 2 # ------------------------------------------------------------------------ 3 3 # GEANT 4 - Architecture configuration script for GNU Make … … 14 14 # the environment variable G4SYSTEM: 15 15 # 16 # Linux-g++ Linux (Red Hat Enterprise/SCL 3), gcc-3.2.3(default)17 # 18 # SUN-CC SunOS 5.8, CC 5. 419 # 20 # WIN32-VC Windows/XP and Microsoft Visual C++ 7.1 .NET16 # Linux-g++ Linux (Red Hat Enterprise/SCL4), gcc-3.4.6 (default) 17 # 18 # SUN-CC SunOS 5.8, CC 5.5 19 # 20 # WIN32-VC Windows/XP and Microsoft Visual C++ 8.0 21 21 # Adding CYGWIN32 tools 22 22 # ------------------------------------------------------------------------- … … 52 52 endif 53 53 G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TMP) ] && mkdir -p $(G4TMP) ) 54 54 55 55 # If not specified, the default path for G4 libraries G4LIB is 56 56 # set to $G4INSTALL/lib/$G4SYSTEM ... … … 111 111 G4LIB_BUILD_ZLIB = 1 112 112 G4LIB_USE_ZLIB = 1 113 endif114 115 # Allow to disable building of physics_lists module. Default is to build these116 #117 ifneq ($(G4LIB_BUILD_LISTS),NO)118 G4LIB_BUILD_LISTS = 1119 113 endif 120 114 … … 305 299 OGLFLAGS:= $(filter-out -I/usr//include,$(OGLFLAGS)) 306 300 endif 307 308 301 309 302 # If there is no cbrt() function... 310 303 # -
trunk/geant4/config/binmake.gmk
r483 r593 1 # $Id: binmake.gmk,v 1.1 16 2006/11/08 16:52:19 gunterExp $1 # $Id: binmake.gmk,v 1.129 2007/08/16 09:46:02 gcosmo Exp $ 2 2 # ---------------------------------------------------------- 3 3 # Script defining rules and paths for making binaries. … … 61 61 -I$(G4BASE)/particles/hadrons/mesons/include \ 62 62 -I$(G4BASE)/particles/shortlived/include \ 63 64 63 -I$(G4BASE)/physics_lists/lists/include \ 64 -I$(G4BASE)/physics_lists/builders/include \ 65 65 -I$(G4BASE)/processes/management/include \ 66 66 -I$(G4BASE)/processes/cuts/include \ 67 -I$(G4BASE)/processes/biasing/include \ 67 68 -I$(G4BASE)/processes/scoring/include \ 68 69 -I$(G4BASE)/processes/decay/include \ … … 78 79 -I$(G4BASE)/processes/electromagnetic/polarisation/include \ 79 80 -I$(G4BASE)/processes/hadronic/cross_sections/include \ 80 81 81 -I$(G4BASE)/processes/hadronic/management/include \ 82 -I$(G4BASE)/processes/hadronic/models/abrasion/include \ 82 83 -I$(G4BASE)/processes/hadronic/models/binary_cascade/include \ 83 84 85 84 -I$(G4BASE)/processes/hadronic/models/cascade/cascade/include \ 85 -I$(G4BASE)/processes/hadronic/models/cascade/evaporation/include \ 86 -I$(G4BASE)/processes/hadronic/models/cascade/utils/include \ 86 87 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/body/include \ 87 88 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/interface/include \ 88 89 -I$(G4BASE)/processes/hadronic/models/coherent_elastic/include \ 89 90 -I$(G4BASE)/processes/hadronic/models/de_excitation/ablation/include \ 90 91 -I$(G4BASE)/processes/hadronic/models/de_excitation/evaporation/include \ 91 92 -I$(G4BASE)/processes/hadronic/models/de_excitation/fermi_breakup/include \ 92 93 -I$(G4BASE)/processes/hadronic/models/de_excitation/fission/include \ 93 94 -I$(G4BASE)/processes/hadronic/models/de_excitation/gem_evaporation/include \ 94 95 -I$(G4BASE)/processes/hadronic/models/de_excitation/handler/include \ … … 104 105 -I$(G4BASE)/processes/hadronic/models/isotope_production/include \ 105 106 -I$(G4BASE)/processes/hadronic/models/leading_particle/include \ 107 -I$(G4BASE)/processes/hadronic/models/lll_fission/include \ 106 108 -I$(G4BASE)/processes/hadronic/models/low_energy/include \ 107 109 -I$(G4BASE)/processes/hadronic/models/management/include \ … … 118 120 -I$(G4BASE)/processes/hadronic/models/relativistic_qmd/include \ 119 121 -I$(G4BASE)/processes/hadronic/models/relativistic_qmd/uplusplus/include \ 122 -I$(G4BASE)/processes/hadronic/models/rpg/include \ 120 123 -I$(G4BASE)/processes/hadronic/models/theo_high_energy/include \ 121 124 -I$(G4BASE)/processes/hadronic/models/util/include \ … … 138 141 -I$(G4BASE)/digits_hits/hits/include \ 139 142 -I$(G4BASE)/digits_hits/digits/include \ 143 -I$(G4BASE)/digits_hits/scorer/include \ 140 144 -I$(G4BASE)/digits_hits/utils/include \ 141 145 -I$(G4BASE)/persistency/include \ 142 146 -I$(G4BASE)/readout/include \ 143 147 -I$(G4BASE)/event/include \ 148 -I$(G4BASE)/error_propagation/include \ 144 149 -I$(G4BASE)/graphics_reps/include \ 145 150 -I$(G4BASE)/intercoms/include … … 207 212 endif 208 213 209 LDLIBS2 += -lG4readout 210 211 ifeq ($(G4LIB_BUILD_LISTS),1) 212 LDLIBS2 += -lG4physicslists 213 endif 214 215 LDLIBS2 += -lG4run \ 214 LDLIBS2 += -lG4error_propagation \ 215 -lG4readout \ 216 -lG4physicslists \ 217 -lG4run \ 216 218 -lG4event \ 217 219 -lG4tracking \ 218 220 -lG4parmodels \ 219 221 -lG4processes \ 220 222 -lG4digits_hits \ … … 232 234 LDLIBS2 = $(shell \ 233 235 G4TMP=$(G4TMP); export G4TMP; \ 234 235 236 237 238 236 if [ \( -f $(G4LIB)/$(G4SYSTEM)/liblist \ 237 -a -f $(G4LIB)/$(G4SYSTEM)/libname.map \) ]; then \ 238 $(G4LIB)/$(G4SYSTEM)/liblist \ 239 -m $(G4LIB)/$(G4SYSTEM) \ 240 < $(G4LIB)/$(G4SYSTEM)/libname.map; fi) 239 241 else 240 242 LDLIBS2 = $(shell \ 241 243 G4TMP=$(G4TMP); export G4TMP; \ 242 243 244 245 246 244 if [ \( -f $(G4LIB)/$(G4SYSTEM)/liblist \ 245 -a -f $(G4LIB)/$(G4SYSTEM)/libname.map \) ]; then \ 246 $(G4LIB)/$(G4SYSTEM)/liblist \ 247 -d $(G4TMPDIR) \ 248 < $(G4LIB)/$(G4SYSTEM)/libname.map; fi) 247 249 # Warning: do not add to LDLIBS2 with += because this causes it to be 248 250 # expanded too soon. Hence extra libraries must have a different name... … … 283 285 284 286 ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) 287 # Windows 285 288 WIN32TMP := $(patsubst -L%,$(LIB_PATH)%,$(LDFLAGS)) 286 289 LDFLAGS = $(patsubst /,$(PATH_DEL),$(WIN32TMP)) … … 292 295 LDLIBS = $(TARGETLIB) $(patsubst -l%,lib%.a,$(WIN32TMP3)) $(patsubst -l%,lib%.lib,$(WIN32TMP4)) 293 296 else 294 297 LDLIBS = $(TARGETLIB) $(patsubst -l%,lib%.lib,$(WIN32TMP2)) 295 298 endif 296 299 else 297 LDLIBS = $(TARGETLIB) $(patsubst -l%,lib%.a,$(WIN32TMP2)) 298 endif 299 else 300 LDLIBS = $(TARGETLIB) $(patsubst -l%,lib%.a,$(WIN32TMP2)) 301 endif 302 OUT := /Fe 303 else 304 # Unix 300 305 LDLIBS = $(TARGETLIB) $(LDLIBS_PREFINAL) 306 OUT := -o 301 307 endif 302 308 … … 305 311 include $(G4INSTALL)/config/sys/$(G4SYSTEM)-runpath.gmk 306 312 endif 307 313 308 314 sources := $(wildcard $(G4TARGET).cc) 309 315 objects := $(patsubst %.cc,$(G4TMPDIR)/exe/%.$(TARGOBJEXT),$(sources)) … … 340 346 ifdef CPPVERBOSE 341 347 $(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 342 -o$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \348 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \ 343 349 $(LDLIBS) 344 350 else 345 351 @echo Linking $(G4TARGET) ... 346 352 @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 347 -o$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \353 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \ 348 354 $(LDLIBS) 349 355 @if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \ … … 402 408 [ -s $@ ] || rm -f $@ 403 409 ifneq ($(dependencies),) 410 ifneq ($(MAKECMDGOALS),clean) 404 411 -include $(dependencies) 412 endif 405 413 endif 406 414 -
trunk/geant4/config/common.gmk
r472 r593 1 # $Id: common.gmk,v 1.4 1 2005/12/07 09:41:54gcosmo Exp $1 # $Id: common.gmk,v 1.43 2007/06/28 14:33:38 gcosmo Exp $ 2 2 # ---------------------------------------------------------------- 3 3 # Common part of GNUmakefile for libraries. John Allison, 5/7/95. … … 111 111 [ -s $@ ] || rm -f $@ 112 112 ifneq ($(dependencies),) 113 ifneq ($(MAKECMDGOALS),clean) 113 114 -include $(dependencies) 115 endif 114 116 endif 115 117 … … 122 124 # NOTE: the double colon rule allows to add other rules for the same target 123 125 # 124 includes:: 126 includes:: $(installed_includes) 125 127 126 128 # Static Pattern rules, see GNU make manual for details. 127 # target(s): target-pattern : dep-pattern 129 # target(s): target-pattern : dep-pattern 128 130 # 129 131 $(installed_includes): $(G4INCLUDE)/% : include/% -
trunk/geant4/config/liblist.c
r483 r593 1 /* $Id: liblist.c,v 1.1 8 2006/10/05 14:22:06gcosmo Exp $ */1 /* $Id: liblist.c,v 1.19 2007/07/18 14:21:15 gcosmo Exp $ */ 2 2 3 3 /* … … 304 304 #if defined ( _WIN32 ) || defined ( __CYGWIN__ ) || defined ( __CYGWIN32__ ) 305 305 ptr=strchr(ntg4tmp1,':'); 306 if ( ptr ) *(ptr+1)='\0';307 306 308 307 while ( ptr=strchr(buffer,'\\') ) *ptr='/'; -
trunk/geant4/config/scripts/env.csh.SH
r483 r593 38 38 unsetenv G4LEDATA 39 39 unsetenv G4LEVELGAMMADATA 40 unsetenv NeutronHPCrossSections40 unsetenv G4NEUTRONHPDATA 41 41 unsetenv G4RADIOACTIVEDATA 42 42 … … 141 141 #+ 142 142 if ( X$g4neutronhpcrosssections != X ) then 143 setenv NeutronHPCrossSections"$g4neutronhpcrosssections"144 echo "On this machine the NeutronHPCrossSections=\$NeutronHPCrossSections"143 setenv G4NEUTRONHPDATA "$g4neutronhpcrosssections" 144 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 145 145 endif 146 146 -
trunk/geant4/config/scripts/env.sh.SH
r483 r593 38 38 unset G4LEDATA 39 39 unset G4LEVELGAMMADATA 40 unset NeutronHPCrossSections40 unset G4NEUTRONHPDATA 41 41 unset G4RADIOACTIVEDATA 42 42 … … 164 164 #+ 165 165 if [ X$g4neutronhpcrosssections != X ] ; then 166 NeutronHPCrossSections="$g4neutronhpcrosssections"167 export NeutronHPCrossSections168 if [ X\$g4non_display = X ] ; then 169 echo "On this machine the NeutronHPCrossSections=\$NeutronHPCrossSections"166 G4NEUTRONHPDATA="$g4neutronhpcrosssections" 167 export G4NEUTRONHPDATA 168 if [ X\$g4non_display = X ] ; then 169 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 170 170 fi 171 171 fi … … 618 618 if [ $G4WORKDIR ] ; then 619 619 620 if [ X $g4non_display = X ] ; then620 if [ X\$g4non_display = X ] ; then 621 621 echo "In your environment you have the G4WORKDIR=$G4WORKDIR" 622 622 fi … … 627 627 if test "X$G4SYSTEM" = "XWIN32-VC" -o "X$G4SYSTEM" = "XWIN32-VC7"; then 628 628 629 if [ X $g4non_display = X ] ; then629 if [ X\$g4non_display = X ] ; then 630 630 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)" 631 631 fi … … 636 636 else # if Unix 637 637 638 if [ X $g4non_display = X ] ; then638 if [ X\$g4non_display = X ] ; then 639 639 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 640 640 fi … … 657 657 # Warning about LD_LIBRARY_PATH 658 658 # 659 if [ X$g4non_display = X ] ; then660 659 echo '' 661 660 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' … … 667 666 echo 'present in your system !' 668 667 echo '' 669 fi670 668 671 669 if [ $LD_LIBRARY_PATH ] ; then -
trunk/geant4/config/scripts/install.sh.SH
r483 r593 38 38 unset G4LEDATA 39 39 unset G4LEVELGAMMADATA 40 unset NeutronHPCrossSections40 unset G4NEUTRONHPDATA 41 41 unset G4RADIOACTIVEDATA 42 42 … … 145 145 #+ 146 146 if [ X$g4neutronhpcrosssections != X ] ; then 147 NeutronHPCrossSections="$g4neutronhpcrosssections"148 export NeutronHPCrossSections149 echo "On this machine the NeutronHPCrossSections=\$NeutronHPCrossSections"147 G4NEUTRONHPDATA="$g4neutronhpcrosssections" 148 export G4NEUTRONHPDATA 149 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 150 150 fi 151 151 -
trunk/geant4/config/scripts/move.sh.SH
r483 r593 90 90 #+ 91 91 if [ X$g4neutronhpcrosssections != X ] ; then 92 NeutronHPCrossSections="$g4neutronhpcrosssections"93 export NeutronHPCrossSections94 echo "On this machine the NeutronHPCrossSections=\$NeutronHPCrossSections"92 G4NEUTRONHPDATA="$g4neutronhpcrosssections" 93 export G4NEUTRONHPDATA 94 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 95 95 fi 96 96 … … 385 385 echo "" 386 386 mkdir -p $g4final_install/src/geant4/ 387 tar cf - Configure config/ source/ environments/ physics_lists/ examples/ |(cd $g4final_install/src/geant4/; tar xf -)387 tar cf - Configure config/ source/ environments/ examples/ include/ |(cd $g4final_install/src/geant4/; tar xf -) 388 388 fi 389 389 fi … … 399 399 400 400 mkdir -p $g4final_install/src/geant4/ 401 tar cf - Configure config/ source/ environments/ physics_lists/examples/ |(cd $g4final_install/src/geant4/; tar xf -)401 tar cf - Configure config/ source/ environments/ examples/ |(cd $g4final_install/src/geant4/; tar xf -) 402 402 fi 403 403 -
trunk/geant4/config/sys/Darwin-g++.gmk
r592 r593 43 43 # XMFLAGS := -I/usr/X11R6/include ##### some installations. 44 44 endif 45 ifndef QTFLAGS46 QTHOME := /usr/local/Qt/4.2.247 # QTFLAGS := -I$(QTHOME)/lib/QtCore.framework/Versions/Current/Headers -I$(QTHOME)/lib/QtGui.framework/Versions/Current/Headers -I$(QTHOME)/lib/QtOpenGL.framework/Versions/Current/Headers -I$(QTHOME)/lib/QtSql.framework/Versions/Current/Headers -I$(QTHOME)/lib/QtXml.framework/Versions/Current/Headers -F$(QTHOME)/lib48 QTFLAGS := -I$(QTHOME)/include/Qt -F$(QTHOME)/lib49 MOC := $(QTHOME)/bin/moc50 endif51 45 ifndef XMLIBS 52 46 XMLIBS := -L/sw/lib -lXm -lXpm 53 47 # XMLIBS := -L/usr/X11R6/lib -lXm -lXpm ##### some installations. 54 48 endif 49 ifndef QTHOME 50 QTHOME := /sw 51 endif 52 ifndef QTFLAGS 53 QTFLAGS := -I$(QTHOME)/include 54 QTFLAGS += -I$(QTHOME)/lib/QtCore.framework/Versions/Current/Headers 55 QTFLAFS += -I$(QTHOME)/lib/QtGui.framework/Versions/Current/Headers 56 QTFLAGS += -I$(QTHOME)/lib/QtOpenGL.framework/Versions/Current/Headers 57 QTFLAGS += -I$(QTHOME)/lib/QtSql.framework/Versions/Current/Headers 58 QTFLAGS += -I$(QTHOME)/lib/QtXml.framework/Versions/Current/Headers 59 MOC := $(QTHOME)/bin/moc 60 endif 55 61 ifndef QTLIBS 56 QT HOME := /usr/local/Qt/4.2.257 QTLIBS := -F$(QTHOME)/lib -framework QtCore -framework QtGui-framework QtOpenGL -framework QtSql -framework QtXml62 QTLIBS := -F$(QTHOME)/lib -framework QtCore -framework QtGui 63 QTLIBS += -framework QtOpenGL -framework QtSql -framework QtXml 58 64 endif 59 65 ifndef XAWFLAGS -
trunk/geant4/config/sys/SUN-CC.gmk
r472 r593 5 5 CXX := CC 6 6 ifdef G4OPTIMISE 7 CXXFLAGS := - O7 CXXFLAGS := -xO2 8 8 else 9 9 ifdef G4DEBUG
Note: See TracChangeset
for help on using the changeset viewer.