+++ /dev/null
-# $ Id: architecture.gmk,v 1.70 2000/12/08 09:41:26 gcosmo Exp $
-# ------------------------------------------------------------------------
-# GEANT 4 - Architecture configuration script for GNU Make
-#
-# First implementation: July 7th 1995
-#
-# Description
-# -----------
-# to override variables defined in this script, use "gmake -e", this will
-# cause environment variables to take precedence. In this case watch for
-# inadvertant overrides!
-#
-# List of the supported architectures/compilers and related flavors for
-# the environment variable G4SYSTEM:
-#
-# SUN-CC SunOS 5.6, CC 4.2 compiler (default)
-#
-# HP-aCC HP-UX 10.20, aCC A.01.23 compiler
-#
-# DEC-cxx DEC-OSF/1 4.0, DEC C++ 6.1
-#
-# Linux-g++ Linux (Red Hat 6.1), egcs 1.1.2
-#
-# WIN32-VC Windows/NT and Microsoft Visual C++ 6.0
-# Adding CYGWIN32 tools (make, g++ as "makedepend", sh...)
-# Note: you will need to set your environment, see the
-# installation guide.
-# -------------------------------------------------------------------------
-
-# FLUGG has adopted Geant4 makefiles:
-#
-# G4INSTALL - Geant4 installation
-# FLUGGINSTALL - Flugg installation
-#
-# But:
-# !!! G4XXX - correspond to Flugg installation !!!
-# !!! G4XXX_G4 - correspond to Geant4 installation !!!
-#
-
-# Definition of HEP_ODBMS_LIBS, OBJY_LIBS and OSPACE_LIBS by HepODBMS.
-# Note: If G4ODBMS is defined, it calls for HEP_ODBMS setup files in
-# $(HEP_ODBMS_DIR)/etc/.
-#
-ifdef G4ODBMS
- # variables LHCXXTOP and PLATF are used in HepODBMS setup
- include $(HEP_ODBMS_DIR)/etc/$(OS).mk
- G4ODBMS_LIBS := $(HEP_ODBMS_LIBS) $(OBJY_LIBS) $(OSPACE_LIBS)
-endif
-
-MAKEFLAGS= --no-print-directory
-
-# If not specified, the default platform for G4SYSTEM is SUN-CC ...
-#
-ifndef G4SYSTEM
- G4SYSTEM := SUN-CC
-endif
-ifeq ($(G4SYSTEM),WIN32-VC-NICE)
- G4SYSTEM := WIN32-VC
-endif
-
-# If not specified, the default path for Flugg installation FLUGGINSTALL is
-# set to $HOME/flugg ...
-#
-ifndef FLUGGINSTALL
- FLUGGINSTALL := $(HOME)/flugg
-endif
-
-# If not specified, the default path for G4 installation G4INSTALL is
-# set to $HOME/geant4 ...
-#
-ifndef G4INSTALL
- G4INSTALL := $(HOME)/geant4
-endif
-
-# If not specified, the default path for Flugg source G4BASE is
-# set to $FLUGGINSTALL/source ...
-#
-ifndef G4BASE
- G4BASE := $(FLUGGINSTALL)/source
-endif
-
-# If not specified, the default path for G4 source G4BASE is
-# set to $G4INSTALL/source ...
-#
-ifndef G4BASE_G4
- G4BASE_G4 := $(G4INSTALL)/source
-endif
-
-# If not specified, the default path for the user's workdir is the same
-# as FLUGGINSTALL ...
-#
-ifndef G4WORKDIR
- G4WORKDIR := $(FLUGGINSTALL)
-endif
-
-# If not specified, the default path for temporary files G4TMP is
-# set to $G4WORKDIR/tmp/$G4SYSTEM ...
-#
-ifndef G4TMP
- G4TMP := $(G4WORKDIR)/tmp
-endif
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TMP) ] && mkdir -p $(G4TMP) )
-
-# If not specified, the default path for FLUGG libraries G4LIB is
-# set to $FLUGGINSTALL/lib/$G4SYSTEM ...
-#
-ifndef G4LIB
- G4LIB := $(FLUGGINSTALL)/lib
-endif
-
-# If not specified, the default path for G4 libraries G4LIB_G4 is
-# set to $G4INSTALL/lib/$G4SYSTEM ...
-#
-ifndef G4LIB_G4
- G4LIB_G4 := $(G4INSTALL)/lib
-endif
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4LIB) ] && mkdir -p $(G4LIB) )
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4LIB)/$(G4SYSTEM) ] && mkdir -p $(G4LIB)/$(G4SYSTEM) )
-
-# If not specified, the default path to install G4 include files is G4INCLUDE
-# set to $FLUGGINSTALL/include ...
-#
-ifndef G4INCLUDE
- G4INCLUDE := $(FLUGGINSTALL)/include
-endif
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4INCLUDE) ] && mkdir -p $(G4INCLUDE) )
-
-# backwards compatiblity
-ifneq ($(G4MAKESHLIB),)
- G4LIB_BUILD_SHARED = 1
-endif
-
-# defaults for library BUILD. No default for USE, ie. take what is found.
-ifeq ($(G4LIB_BUILD_SHARED),)
- ifeq ($(G4LIB_BUILD_STATIC),)
-# default is building static libs
- G4LIB_BUILD_STATIC = 1
- endif
-endif
-
-
-# If not specified, the default path for G4 binaries G4BIN is
-# set to $G4WORKDIR/bin/$G4SYSTEM ...
-#
-ifndef G4BIN
- G4BIN := $(G4WORKDIR)/bin
-endif
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4BIN) ] && mkdir -p $(G4BIN) )
-
-#################### schema directories & setup for G4ODBMS ###################
-#
-ifdef G4ODBMS
-# If not specified, the default path for G4 schema G4SCHEMA_DIR is
-# set to $G4LIB/$G4SYSTEM/schema ...
-#
-ifndef G4SCHEMA_DIR
- G4SCHEMA_DIR := $(G4LIB)/$(G4SYSTEM)/schema
- G4SCHEMA_INCLUDE := $(G4SCHEMA_DIR)/include
-endif
-ifndef G4SCHEMA_FDID
- G4SCHEMA_FDID := 207
-endif
-
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4SCHEMA_DIR) ] && mkdir -p $(G4SCHEMA_DIR) )
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4SCHEMA_INCLUDE) ] && mkdir -p $(G4SCHEMA_INCLUDE) )
-
-# If not specified, the default path for G4 temporary schema G4TMPSCHEMA_DIR is
-# set to $G4TMP/$G4SYSTEM/schema (for building persistency library)...
-#
-ifndef G4TMPSCHEMA_DIR
- G4TMPSCHEMA_DIR := $(G4TMP)/$(G4SYSTEM)/schema
- G4TMPSCHEMA_BOOT := $(G4TMPSCHEMA_DIR)/G4SCHEMA
-endif
-
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TMPSCHEMA_DIR) ] && mkdir -p $(G4TMPSCHEMA_DIR) )
-
-# If not specified, the default path for G4 example schema G4EXAMPLE_BOOT_DIR is
-# set to $G4WORKDIR/exampleSchema (for persistency examples)...
-#
-ifndef G4EXAMPLE_BOOT_DIR
- G4EXAMPLE_BOOT_DIR := $(G4WORKDIR)/exampleSchema/$(G4SYSTEM)
-endif
-
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4EXAMPLE_BOOT_DIR) ] && mkdir -p $(G4EXAMPLE_BOOT_DIR) )
-
-ifndef G4EXAMPLE_BOOT
- G4EXAMPLE_BOOT = $(G4EXAMPLE_BOOT_DIR)/$(name)
-endif
-
-# If not specified, the default path for G4 example runtime federated
-# database directory G4EXAMPLE_FD_DIR is set to $G4WORKDIR/exampleFD
-# (for persistency examples)...
-#
-ifndef G4EXAMPLE_FD_DIR
- G4EXAMPLE_FD_DIR := $(G4WORKDIR)/exampleFD/$(G4SYSTEM)
-endif
-
-G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4EXAMPLE_FD_DIR) ] && mkdir -p $(G4EXAMPLE_FD_DIR) )
-G4OODDLX_FLAGS := -DTEMPLATEP_HIDES_FNCD
-
-ifndef G4EXAMPLE_FD
- G4EXAMPLE_FD = $(G4EXAMPLE_FD_DIR)/$(name)
-endif
-
-endif
-#
-########################### end setup for G4ODBMS #############################
-
-# If G4DEBUG or G4NO_OPTIMISE are not specified,
-# the default compilation is optimised ...
-#
-ifdef G4DEBUG
- CPPFLAGS += -DG4DEBUG
- G4DEBUG := 1
-else
- ifndef G4NO_OPTIMISE
- CPPFLAGS += -DG4OPTIMISE
- G4OPTIMISE := 1
- endif
-endif
-
-ifdef G4GEOMETRY_DEBUG
- CPPFLAGS += -DG4GEOMETRY_DEBUG
-endif
-
-# CLHEP path, etc.
-#
-ifndef CLHEP_BASE_DIR
- CLHEP_BASE_DIR := /afs/cern.ch/sw/geant4/dev/CLHEP/$(G4SYSTEM)/pro
-endif
-ifndef CLHEP_INCLUDE_DIR
- CLHEP_INCLUDE_DIR := $(CLHEP_BASE_DIR)/include
-endif
-ifndef CLHEP_LIB_DIR
- CLHEP_LIB_DIR := $(CLHEP_BASE_DIR)/lib
-endif
-ifndef CLHEP_LIB
- ifeq ($(G4SYSTEM),WIN32-VC)
- CLHEP_LIB := CLHEP.lib
- else
- CLHEP_LIB := CLHEP
- endif
-endif
-
-# Native STL is the default
-#
-CPPFLAGS += -DG4USE_STL
-G4STLINC := $(G4BASE)/global/STLInterface
-
-# Path to ObjectSpace STL (or STLport <- only test for Win/NT)
-#
-ifdef G4USE_OSPACE
-
- # ObjectSpace STL implementation
- #
- ifndef OSPACE_BASE_DIR
- OSPACE_BASE_DIR := /afs/cern.ch/sw/geant4/dev/ObjectSpace/$(G4SYSTEM)/pro/ToolKit
- endif
- OSPACEINC := -I$(OSPACE_BASE_DIR)/ospace/std -I$(OSPACE_BASE_DIR)/ospace/stl
- OSPACELIBS := -L$(OSPACE_BASE_DIR)/lib -lospace
-
- ifeq ($(G4SYSTEM),WIN32-VC)
- OSPACE_BASE_DIR := $(OBJECT_SPACE_BASE)
- OSPACEINC := -I$(OSPACE_BASE_DIR)/ospace/std -I$(OSPACE_BASE_DIR)/ospace/stl -I$(OSPACE_BASE_DIR)
- OSPACELIBS := '-libpath':$(OSPACE_BASE_DIR)/lib std-2.1-vc5.0-mt.lib
- CPPFLAGS += -DG4USE_OLDSTL
- CPPFLAGS += -DOS_WIN_NT_4_0 -DOS_MULTI_THREADED -D_WIN32_WINNT $(OSPACEINC)
- endif
-
-else
-ifdef G4USE_STLPORT
-
- # STLport STL implementation
- # (derived from SGI implementation) - TEST on WIN32
- #
- ifeq ($(G4SYSTEM),WIN32-VC)
- STLPORT_BASE_DIR := $(STLPORT_BASE)
- OSPACEINC := -I$(STLPORT_BASE_DIR)/stl
- CPPFLAGS += -DG4USE_OLDSTL
- CPPFLAGS += -D_NOTHREADS -D__STL_NO_NEW_IOSTREAMS -D__STL_NO_NAMESPACES
- CPPFLAGS += -D__STL_NO_NEW_STYLE_HEADERS
- endif
-
-endif #STLport
-endif #OPSPACE
-
-# Paths for G4 data
-#
-ifndef G4DATA
- G4DATA := $(FLUGGINSTALL)/data
-endif
-
-# Photon evaporation data
-#
-ifndef G4LEVELGAMMADATA
- G4LEVELGAMMADATA := $(G4DATA)/PhotonEvaporation
-endif
-
-# Toggle variables (positional qualifiers) between WIN32-VC and UNIX...
-#
-ifeq ($(G4SYSTEM),WIN32-VC)
- OUT_OBJ := -TP '-Fo'
- FOR_OBJ := '-Fo'
- OUT_LIB := '-out:'
- OUT_EXE := '-Fe'
- LIB_PATH := '-libpath:'
- CERNLIB_PATH := "z:\p32\cern\new\df\lib"
- PATH_DEL := \\
- #
- # pattern for next substitution
- #
- LIB_PATT := lib(LibName).a
- FLIB_PATT := (LibName).lib
-else
- OUT_OBJ := -o
- FOR_OBJ := -o
- OUT_LIB :=
- OUT_EXE := -o
- LIB_PATH := -L
- CERNLIB_PATH := /cern/pro/lib
- PATH_DEL := /
- #
- # pattern for next substitution
- #
- LIB_PATT := -l(LibName)
- FLIB_PATT := $(LIB_PATT)
-endif
-
-# Variables for implicit rules, etc., as suggested in GNU Make manual...
-#
-CPPFLAGS += -Iinclude -I$(G4STLINC)
-CPPFLAGS += -I$(CLHEP_INCLUDE_DIR)
-
-# Positional qualifiers in action...
-#
-ifeq ($(G4SYSTEM),WIN32-VC)
- LDFLAGS := -link $(LIB_PATH)$(CLHEP_LIB_DIR)
- LOADLIBS := $(CLHEP_LIB)
-else
- LDFLAGS := -L$(CLHEP_LIB_DIR)
-# LDFLAGS :=
- LOADLIBS := -l$(CLHEP_LIB)
-# LOADLIBS := $(CLHEP_LIB_DIR)/lib$(CLHEP_LIB).a
- LOADLIBS += -lm
-endif
-
-# Graphic variables...
-#
-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.
-# OGLFLAGS gives the directory containing include files.
-# E.g.: OGLFLAGS := -I$(OGLHOME)/include
-# OGLLIBS gives the libraries.
-# E.g.: OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
-# Or : OGLLIBS := -L$(OGLHOME)/lib -lMesaGLU -lMesaGL
-# OGLHOME is often /usr or /usr/local. Or it can point to a special
-# installation.
-# If the user does not set his/her own values, system-dependent values
-# are set below. Most system-dependent code assumes OGLHOME is set.
-# ------------- OpenInventor -----------------
-ifndef HEPVISINC
- HEPVISINC := $(HEPVISDIR)/include
-endif
-ifndef HEPVISLIB
- HEPVISLIB := $(HEPVISDIR)/source
-endif
-ifndef OIVFLAGS
- OIVFLAGS := -I${HEPVISINC}
-endif
-ifndef OIVLIBS
- OIVLIBS := -L${HEPVISLIB} -lHEPVis -lInventorXt -lInventor -lGLU -lGL
-endif
-# ----------------- OPACS --------------------
-# lesstiff is bugged for popups ; then OPACS/Xo uses
-# the Xaw widgets for handling popups. The OPACS distrib
-# for Linux assumes that lesstif is used by default. To be
-# coherent we set in Geant4 the default toolkit to lesstif
-# on Linux in order to link with -lXaw, etc...
-ifndef G4_OPACS_WIDGET_SET
- ifeq ($(G4SYSTEM),Linux-g++)
- G4_OPACS_WIDGET_SET := lesstif
- else
- G4_OPACS_WIDGET_SET := Xm
- endif
-endif
-
-# For cfront compilers the repository location is set to
-# $G4TMP/$G4SYSTEM/g4.ptrepository.
-#
-G4TEMPLATE_REPOSITORY := $(G4SYSTEM)/g4.ptrepository
-G4TEMPEXEC_REPOSITORY := $(G4TEMPLATE_REPOSITORY)/exec
-G4TREP := $(G4TMP)/$(G4TEMPLATE_REPOSITORY)
-
-# Default archive call. Changed for: SUN-CC.
-#
-AR := ar r
-
-# Default echo used with makedepend. Changed for SUN-CC, Linux-g++.
-#
-ECHO:= echo
-
-# Default grep used with source/GNUmakfile. Changed for SUN-CC.
-#
-GREP := grep
-
-# Include architecture dependent setups...
-#
-include $(FLUGGINSTALL)/config/sys/$(G4SYSTEM).gmk
-
-# If compiler recognises implicit C++ type bool...
-#
-ifdef G4_HAVE_BOOL
- CPPFLAGS += -DG4_HAVE_BOOL
-endif
-
-# If there is no cbrt() function...
-#
-ifdef G4_NO_CBRT
- CPPFLAGS += -DG4_NO_CBRT
-endif
-
-# Verbosity code can be left out (for better performance)
-# by defining G4_NO_VERBOSE.
-#
-ifndef G4_NO_VERBOSE
- CPPFLAGS += -DG4VERBOSE
-endif
-
-# Trajectory related classes can be left out (for better performance)
-# by defining G4_NO_STORE_TRAJECTORY.
-#
-ifndef G4_NO_STORE_TRAJECTORY
- CPPFLAGS += -DG4_STORE_TRAJECTORY
-endif
-
-# Template setup - repositories, special options etc
-#
-ifdef CFRONT_G4TEMPLATE_REPOSITORY
- ifeq ($(findstring DEC,$(G4SYSTEM)),DEC)
- ifdef G4EXEC_BUILD
- CXXTEMPLATE_FLAGS := -ptr $(G4TREP)/exec -ptr $(G4TREP)
- else
- CXXTEMPLATE_FLAGS := -ptr $(G4TREP)
- endif
- else
- ifdef G4EXEC_BUILD
- CXXTEMPLATE_FLAGS := -ptr$(G4TREP)/exec -ptr$(G4TREP)
- else
- CXXTEMPLATE_FLAGS := -ptr$(G4TREP)
- endif
- endif
- CXXFLAGS += $(CXXTEMPLATE_FLAGS)
- CFRONT := true
-endif
-ifdef CFRONT
- G4TEMPLATE_REPOSITORY_PARENT := $(shell echo $(G4TREP) | sed 's!/[^/][^/]*/*$$!!' )
- G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TEMPLATE_REPOSITORY_PARENT) ] && mkdir -p $(G4TEMPLATE_REPOSITORY_PARENT) )
- G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TREP) ] && mkdir -p $(G4TREP) )
- G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4TREP)/exec ] &&mkdir -p $(G4TREP)/exec )
-endif
-
+++ /dev/null
-# $ Id: binmake.gmk,v 1.56.2.1 2001/03/22 13:54:24 gunter Exp $
-# ----------------------------------------------------------
-# Script defining rules and paths for making binaries.
-# Gabriele Cosmo, 25/06/1998.
-# ----------------------------------------------------------
-
-ifndef LDFLAGS
- include $(FLUGGINSTALL)/config/architecture.gmk
-endif
-
-ifdef G4GEOMETRY_DEBUG
- CPPFLAGS += -DG4GEOMETRY_DEBUG
-endif
-
-G4LIBDIR := $(G4LIB)/$(G4SYSTEM)
-G4LIBDIR_G4 := $(G4LIB_G4)/$(G4SYSTEM)
-
-ifndef INCFLAGS
- INCFLAGS := \
- -I$(G4BASE_G4)/global/management/include \
- -I$(G4BASE_G4)/global/STLInterface \
- -I$(G4BASE_G4)/global/HEPRandom/include \
- -I$(G4BASE_G4)/global/HEPGeometry/include \
- -I$(G4BASE_G4)/global/HEPNumerics/include \
- -I$(G4BASE_G4)/materials/include \
- -I$(G4BASE_G4)/geometry/management/include \
- -I$(G4BASE_G4)/geometry/solids/CSG/include \
- -I$(G4BASE_G4)/geometry/solids/specific/include \
- -I$(G4BASE_G4)/geometry/solids/BREPS/include \
- -I$(G4BASE_G4)/geometry/solids/Boolean/include \
- -I$(G4BASE_G4)/geometry/solids/STEP/include \
- -I$(G4BASE_G4)/geometry/solids/STEPinterface/include \
- -I$(G4BASE_G4)/geometry/volumes/include \
- -I$(G4BASE_G4)/geometry/magneticfield/include \
- -I$(G4BASE_G4)/graphics_reps/include \
- -I$(G4BASE)/dummyG4/include \
- -I$(G4BASE)/Wrappers/include
-endif
-
-ifndef G4LIB_USE_GRANULAR
- GLOBALLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4global.a && echo yes)
- ifndef GLOBALLIBS
- GLOBALLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4global.$(SHEXT) && echo yes)
- SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4global.$(SHEXT) && echo yes)
- endif
-endif
-
-ifndef SHAREDLIBS
- SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4globman.$(SHEXT) && echo yes)
-endif
-
-CPPFLAGS += $(INCFLAGS)
-LDFLAGS += -L$(G4LIBDIR) -L$(G4LIBDIR_G4) -L$(CLHEP_LIB_DIR)
-
-# Addded for FLUGG: fortan and fluka libraries path
-LDFLAGS += -L$(FORLIB) -L/lib -L$(FLUKA)
-
-G4TMPDIR := $(G4TMP)/$(G4SYSTEM)/$(G4TARGET)
-G4BINDIR := $(G4BIN)/$(G4SYSTEM)
-
-ifdef G4EXLIB
- G4LIBDIR := $(G4TMPDIR)
- LDFLAGS += -L$(G4LIBDIR)
- ifdef SHAREDLIBS
- ifdef G4RUNPATHOPTION
-# for the example dependant directory, keep the path to the shared lib
-# in the executable.
- LDFLAGS += $(G4RUNPATHOPTION)$(G4LIBDIR)
- endif
- endif
- include $(FLUGGINSTALL)/config/common.gmk
-endif
-
-ifdef LDLIBS
- USER_DEFINED_LDLIBS := 1
-endif
-
-# Because of the script for granular libraries which replaces part of LDLIBS
-# and because of the way user defined LDLIBS was augmented historically I
-# have split LDLIBS into 4 parts...
-#
-ifndef USER_DEFINED_LDLIBS
-
-# LDLIBS1 contains the very high level libraries...
-#
-ifdef G4EXLIB
- LDLIBS1 := -l$(G4TARGET)
-endif
-LDLIBS1 += $(EXTRALIBS)
-
-# VISLIBS and UILIBS are now handled by the granular library script...
-#
-ifdef GLOBALLIBS
- LDLIBS1 += $(VISLIBS) $(UILIBS)
-endif
-
-ifdef GLOBALLIBS
-
- ifdef G4ODBMS
- LDLIBS1 += -lG4persistency
- endif
-
- LDLIBS2 := \
- -lFggWrappers \
- -lG4geometry \
- -lG4materials \
- -lG4graphics_reps \
- -lG4intercoms \
- -lG4dummy \
- -lG4global
-else
- LDLIBS2 := \
- -lFggWrappers \
- -lG4geometrymng \
- -lG4volumes \
- -lG4csg \
- -lG4specsolids \
- -lG4geomBoolean \
- -lG4brep \
- -lG4step \
- -lG4stepinterface \
- -lG4magneticfield \
- -lG4materials \
- -lG4graphics_reps \
- -lG4intercoms \
- -lG4dummy \
- -lG4hepnumerics \
- -lG4globman
-endif
-
-# LDLIBS3 contains the first set of low level libraries...
-#
-LDLIBS3 += $(INTYLIBS)
-
-endif # ifndef USER_DEFINED_LDLIBS
-
-# LDLIBS4 contains the next set of low level libraries which historically
-# (why?) the user is not supposed to be able to define...
-#
-ifdef G4USE_OSPACE
- LDLIBS4 += $(OSPACELIBS)
-endif
-
-LDLIBS4 += $(LOADLIBS)
-
-# Finally assemble libraries...
-#
-ifdef USER_DEFINED_LDLIBS
- LDLIBS_PREFINAL := $(LDLIBS)
-else
-# Again, do not use := or +=. See note on LDLIBS2 above.
- LDLIBS_PREFINAL = $(LDLIBS1) $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3)
-endif
-LDLIBS_PREFINAL += $(LDLIBS4)
-
-ifeq ($(G4SYSTEM),WIN32-VC)
- WIN32TMP := $(patsubst -L%,$(LIB_PATH)%,$(LDFLAGS))
- LDFLAGS = $(patsubst /,$(PATH_DEL),$(WIN32TMP))
- LDLIBS = $(patsubst -l%,lib%.a,$(LDLIBS_PREFINAL))
-else
- LDLIBS = $(LDLIBS_PREFINAL)
-endif
-
-# Addded for FLUGG: fortan and fluka libraries
-LDLIBS += -lc
-LDLIBS += -lflukahp
-LDLIBS += -lg2c -lstdc++
-#
-
-ifdef transform-RPath
-#invoke system specific transformation of
-include $(FLUGGINSTALL)/config/sys/$(G4SYSTEM)-runpath.gmk
-endif
-
-sources := $(wildcard $(G4TARGET).cc)
-objects := $(patsubst %.cc,$(G4TMPDIR)/exe/%.o,$(sources))
-dependencies := $(patsubst %.cc,$(G4TMPDIR)/exe/%.d,$(sources))
-
-#
-# extra fortran source files for FLUKA
-#
-sources += $(wildcard for/*.f)
-objects += $(patsubst for/%.f,$(G4TMPDIR)/exe/%.o,$(wildcard for/*.f))
-
-$(G4TMPDIR)/exe/%.o: for/%.f
- @echo Compiling $*.f ...
- @$(FLUPRO)/flutil/fff for/$*.f
- @mv for/$*.o $(G4TMPDIR)/exe/$*.o
-
-LINK_DEPENDENCIES := $(G4TMPDIR)/exe/obj.last $(EXTRA_LINK_DEPENDENCIES)
-
-.PHONY: bin clean clean_bin debug
-
-# Make $(G4TARGET) executable.
-bin: $(G4BINDIR)/$(G4TARGET)
-
-$(G4BINDIR)/$(G4TARGET): $(LINK_DEPENDENCIES)
-ifndef USER_DEFINED_LDLIBS
- ifndef GLOBALLIBS
- @echo "Using granular libraries ..."
- else
- @echo "Using global libraries."
- endif
-endif
- @if [ ! -d $(G4BINDIR) ] ; then mkdir $(G4BINDIR) ;fi
-ifdef CPPVERBOSE
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) \
- -o $(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
- $(LDLIBS)
-else
- @echo Linking $(G4TARGET) ...
- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \
- -o $(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
- $(LDLIBS)
-endif
-
-# Touch the versioning file
-ifdef G4EXLIB
-$(G4TMPDIR)/exe/obj.last: lib $(objects)
-else
-$(G4TMPDIR)/exe/obj.last: $(objects)
-endif
- @touch $@
-
-# Make the $(G4TARGET).o file.
-$(G4TMPDIR)/exe/$(G4TARGET).o : $(G4TARGET).cc
-ifdef CPPVERBOSE
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(APPFLAGS) \
- -c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).o $(G4TARGET).cc
-else
- @echo Compiling $(G4TARGET).cc ...
- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(APPFLAGS) \
- -c $(OUT_OBJ)$(G4TMPDIR)/exe/$(G4TARGET).o $(G4TARGET).cc
-endif
-
-ifdef G4ODBMS
- GPPFLAGS := "-MM"
-else
- GPPFLAGS := "-M"
-endif
-
-# Make the $(G4TARGET).d file and include it.
-ifdef G4SKIP_DEPEND
-$(G4TMPDIR)/exe/$(G4TARGET).d: $(G4TARGET).cc
- @echo Skip dependency file creation for file $< ...
-else
-$(G4TMPDIR)/exe/$(G4TARGET).d: $(G4TARGET).cc
- @if [ ! -d $(G4TMP)/$(G4SYSTEM) ] ; then mkdir $(G4TMP)/$(G4SYSTEM) ;fi
- @if [ ! -d $(G4TMPDIR) ] ; then mkdir $(G4TMPDIR) ;fi
- @if [ ! -d $(G4TMPDIR)/exe ] ; then mkdir $(G4TMPDIR)/exe ;fi
- @echo Making dependency for file $<...
- @($(ECHO) $(G4TMPDIR)/exe/\\c ; \
- g++ $(GPPFLAGS) $(CPPFLAGS) $< ) | sed 's!$(G4TMPDIR)/exe/$*.o!& $@!' >$@
--include $(dependencies)
-endif
-
-clean:
- @echo Cleaning up ...
- @rm -f ./core
- @rm -rf $(G4TMPDIR)
- @rm -f $(G4LIBDIR)/lib$(G4TARGET).a
- @rm -f $(G4BINDIR)/$(G4TARGET)
-ifdef CFRONT
- @rm -rf $(G4TREP)/exec
-endif
-
-clean_bin:
- @echo Removing application $(G4TARGET) ...
- @rm -f ./core
- @rm -f $(G4BINDIR)/$(G4TARGET)
-
-############################+ targets for G4ODBMS +############################
-ifdef G4ODBMS
-
-cleandb: clean newboot
-
-newboot:
- @echo Copying schema file to $(G4EXAMPLE_BOOT) for FDID $(G4EXAMPLE_FDID)
- @rm -f $(G4EXAMPLE_BOOT_DIR)/$(name)
- @rm -f $(G4EXAMPLE_BOOT_DIR)/$(name).FDDB
- @rm -f $(G4EXAMPLE_BOOT_DIR)/*.$(name).DB
- @$(HEP_ODBMS_DIR)/etc/getdb $(G4SCHEMA_DIR)/G4SCHEMA \
- $(G4EXAMPLE_BOOT) $(G4SCHEMA_FDID)
-
-newfd:
-ifndef G4EXAMPLE_FDID
- @echo G4EXAMPLE_FDID is not defined. Stop.
- exit 1
-endif
- @echo Creating new runtime federated database $(G4EXAMPLE_BOOT) for FDID $(G4EXAMPLE_FDID)
- @rm -f $(G4EXAMPLE_FD_DIR)/$(name)
- @rm -f $(G4EXAMPLE_FD_DIR)/$(name).FDDB
- @rm -f $(G4EXAMPLE_FD_DIR)/*.$(name).DB
- @$(HEP_ODBMS_DIR)/etc/getdb $(G4EXAMPLE_BOOT) \
- $(G4EXAMPLE_FD) $(G4EXAMPLE_FDID)
-endif
-############################- targets for G4ODBMS -############################
-
+++ /dev/null
-# $ Id: common.gmk,v 1.24 2000/12/13 08:31:31 gcosmo Exp $
-# ----------------------------------------------------------------
-# Common part of GNUmakefile for libraries. John Allison, 5/7/95.
-# ----------------------------------------------------------------
-# Libraries are created according to G4SYSTEM. G.Cosmo, 11/6/96.
-# Introduced G4LIBDIR and G4TMPDIR. G.Cosmo, 23/6/98.
-# Introduced G4SCHEMA_HEADER_DIR and G4SCHEMA_SRC_DIR. Y.Morita, 16/11/99.
-
-ifndef G4LIBDIR
- G4LIBDIR := $(G4LIB)/$(G4SYSTEM)
-endif
-G4TMPDIR := $(G4TMP)/$(G4SYSTEM)/$(name)
-
-ifdef G4ODBMS_INSTALLATION
- G4OODDLX_SCHEMA_NAME := -schema Geant4
-else
- G4OODDLX_SCHEMA_NAME :=
-endif
-G4SCHEMA_HEADER_DIR := $(G4TMPDIR)
-G4SCHEMA_SRC_DIR := $(G4TMPDIR)
-
-sources := $(wildcard src/*.cc)
-schema_ddl := $(wildcard include/*.ddl)
-schema_hh := $(patsubst include/%.ddl,$(G4SCHEMA_HEADER_DIR)/%.hh,$(schema_ddl))
-schema_ref_hh := $(patsubst include/%.ddl,$(G4SCHEMA_HEADER_DIR)/%_ref.hh,$(schema_ddl))
-objects := $(patsubst src/%.cc,$(G4TMPDIR)/%.o,$(sources))
-dependencies := $(patsubst src/%.cc,$(G4TMPDIR)/%.d,$(sources))
-
-# output of ooddlx in G4TMPDIR (.hh, _ref.hh, _ddl.cc)
-#
-temporaries := $(patsubst include/%.ddl,$(G4SCHEMA_HEADER_DIR)/%.hh,$(schema_ddl))
-
-# output of ooddlx in the current directory (if the process does not finish)
-#
-temporaries2 := $(patsubst include/%.ddl,%.hh,$(schema_ddl))
-
-ifdef G4ODBMS
- temporaries += $(patsubst include/%.ddl,$(G4SCHEMA_SRC_DIR)/%_ddl.cc,$(schema_ddl)) \
- $(patsubst include/%.ddl,$(G4SCHEMA_HEADER_DIR)/%_ref.hh,$(schema_ddl))
- temporaries2 += $(patsubst include/%.ddl,%_ddl.cc,$(schema_ddl)) \
- $(patsubst include/%.ddl,%_ref.hh,$(schema_ddl))
- objects += $(patsubst include/%.ddl,$(G4TMPDIR)/%_ddl.o,$(schema_ddl))
-endif
-
- g4libraries_to_build :=
-ifneq ($(G4LIB_BUILD_SHARED),)
- g4libraries_to_build += $(G4LIBDIR)/lib$(name).$(SHEXT)
-endif
-ifneq ($(G4LIB_BUILD_STATIC),)
- g4libraries_to_build += $(G4LIBDIR)/lib$(name).a
-endif
-
-lib: $(g4libraries_to_build)
-
-ifneq ($(G4LIB_BUILD_SHARED),)
-# Make shared library.
-$(G4LIBDIR)/lib$(name).$(SHEXT): $(G4TMPDIR)/obj.last
- @if [ ! -d $(G4LIBDIR) ] ; then mkdir $(G4LIBDIR) ;fi
- @echo Creating shared library $@
- @$(RM) $@
-# use architecture specific macro defined in sys/$(G4SYSTEM).gmk
- $(build-granular-shared-lib)
-endif
-
-ifneq ($(G4LIB_BUILD_STATIC),)
-# Make static (archive) library.
-$(G4LIBDIR)/lib$(name).a: $(G4TMPDIR)/obj.last
- @if [ ! -d $(G4LIBDIR) ] ; then mkdir $(G4LIBDIR) ;fi
- @echo Creating/replacing object files in $(G4LIBDIR)/lib$(name).a
- @rm -f $(G4LIBDIR)/lib$(name).a
- @$(AR) $(OUT_LIB)$(G4LIBDIR)/lib$(name).a $(G4TMPDIR)/*.o
- @if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib $(G4LIBDIR)/lib$(name).a ;fi
-endif
-
-# Touch the versioning file
-$(G4TMPDIR)/obj.last: $(objects)
- @touch $@
-
-# Make the .o files.
-ifdef G4ODBMS
-$(G4TMPDIR)/%.o: src/%.cc $(schema_hh)
-else
-$(G4TMPDIR)/%.o: src/%.cc
-endif
-ifdef CPPVERBOSE
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $(OUT_OBJ)$(G4TMPDIR)/$(*F).o src/$*.cc
-else
- @echo Compiling $*.cc ...
- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $(OUT_OBJ)$(G4TMPDIR)/$(*F).o src/$*.cc
-endif
-ifdef G4ODBMS
-$(G4TMPDIR)/%.o: $(G4SCHEMA_SRC_DIR)/%.cc
-ifdef CPPVERBOSE
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $(G4TMPDIR)/$(*F).o $(G4SCHEMA_SRC_DIR)/$*.cc
-else
- @echo Compiling $*.cc ...
- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $(G4TMPDIR)/$(*F).o $(G4SCHEMA_SRC_DIR)/$*.cc
-endif
-endif
-# Make the temporary files.
-.PRECIOUS: $(G4SCHEMA_SRC_DIR)/%_ddl.cc $(G4SCHEMA_HEADER_DIR)/%.hh $(G4SCHEMA_HEADER_DIR)/%_ref.hh
-
-ifdef G4ODBMS
-$(G4SCHEMA_SRC_DIR)/%_ddl.cc $(G4SCHEMA_HEADER_DIR)/%.hh $(G4SCHEMA_HEADER_DIR)/%_ref.hh: include/%.ddl
-ifndef G4OODDLX_BOOT
- @echo G4OODDLX_BOOT is not defined. Stop.
- exit 1
-endif
- @if [ ! -d $(G4TMP)/$(G4SYSTEM) ] ; then mkdir $(G4TMP)/$(G4SYSTEM) ;fi
- @if [ ! -d $(G4TMPDIR) ] ; then mkdir $(G4TMPDIR) ;fi
- @if [ ! -d $(G4SCHEMA_HEADER_DIR) ] ; then mkdir $(G4SCHEMA_HEADER_DIR) ;fi
- @if [ ! -d $(G4SCHEMA_SRC_DIR) ] ; then mkdir $(G4SCHEMA_SRC_DIR) ;fi
-ifdef CPPVERBOSE
- ooddlx -notitle $(G4OODDLX_SCHEMA_NAME) \
- -header_suffix .hh -ref_suffix _ref.hh -c++_suffix _ddl.cc \
- $(G4OODDLX_FLAGS) $(CPPFLAGS) $< $(G4OODDLX_BOOT)
-else
- @echo Preprocessing $< ...
- @ooddlx -notitle $(G4OODDLX_SCHEMA_NAME) \
- -header_suffix .hh -ref_suffix _ref.hh -c++_suffix _ddl.cc \
- $(G4OODDLX_FLAGS) $(CPPFLAGS) $< $(G4OODDLX_BOOT)
-endif
- @mv -f $*.hh $(G4SCHEMA_HEADER_DIR)/
- @mv -f $*_ref.hh $(G4SCHEMA_HEADER_DIR)/
- @mv -f $*_ddl.cc $(G4SCHEMA_SRC_DIR)/
-endif
-
-# Make the .d file(s) and include it(them).
-# g++ -MM (or -M) is good at this, except it forgets the subdirectory
-# (hence the use of $G4TMP/).
-
-# define G4SKIP_DEPEND for simplicity
-ifndef G4ODBMS_DEPEND
-ifdef G4ODBMS
- G4SKIP_DEPEND := 1
-endif
-endif
-
-ifdef G4ODBMS
- GPPFLAGS := "-MM"
-else
- GPPFLAGS := "-M"
-endif
-
-ifdef G4SKIP_DEPEND
-$(G4TMPDIR)/%.d: src/%.cc
- @if [ ! -d $(G4TMP)/$(G4SYSTEM) ] ; then mkdir $(G4TMP)/$(G4SYSTEM) ;fi
- @if [ ! -d $(G4TMPDIR) ] ; then mkdir $(G4TMPDIR) ;fi
- @echo Skip dependency file creation for file $< ...
-else
-$(G4TMPDIR)/%.d: src/%.cc
- @if [ ! -d $(G4TMP)/$(G4SYSTEM) ] ; then mkdir $(G4TMP)/$(G4SYSTEM) ;fi
- @if [ ! -d $(G4TMPDIR) ] ; then mkdir $(G4TMPDIR) ;fi
- @echo Making dependency for file $< ...
- @($(ECHO) $(G4TMPDIR)/\\c ; \
- g++ $(GPPFLAGS) $(CPPFLAGS) $< ) | sed 's!$(G4TMPDIR)/$*.o!& $@!' >$@
-ifneq ($(dependencies),)
--include $(dependencies)
-endif
-endif
-
-# .PHONY targets are executed regardless of time-stamp of any file of
-# same name.
-ifdef G4ODBMS_DEPEND
-.PHONY: all obj lib clean clean_libs d_files install_schema includes
-else
-.PHONY: all obj lib clean clean_libs includes
-endif
-
-obj: $(G4TMPDIR)/obj.last
-
-ifdef G4ODBMS
-headers: $(schema_hh)
-
-d_files: $(dependencies)
-
-$(schema_hh): $(schema_ddl)
-
-install_schema:
- @echo installing schema header files ...
- -@(cp -f $(G4TMPDIR)/*.hh $(G4SCHEMA_INCLUDE)/ || \
- echo " schema header file does not exist, so ignore the error message...")
-endif
-
-installed_includes:=$(foreach file,$(wildcard include/*),$(shell test -f $(file) && echo $(file)))
-installed_includes:=$(patsubst include/%,$(G4INCLUDE)/%,$(installed_includes))
-
-# NOTE: the double colon rule allows to add other rules for the same target
-#
-includes:: $(installed_includes)
-
-# Static Pattern rules, see GNU make manual for details.
-# target(s): target-pattern : dep-pattern
-#
-$(installed_includes): $(G4INCLUDE)/% : include/%
- @cp -p $< $@
-
-ifndef G4EXLIB
-clean:
- @echo Cleaning up ...
- @rm -f $(G4LIBDIR)/lib$(name).a
- @rm -f $(G4LIBDIR)/lib$(name).$(SHEXT)
- @rm -f $(schema_hh) $(schema_ref_hh)
- @rm -rf $(G4TMPDIR)
-endif
-
-clean_libs:
- @if [ -f $(G4LIBDIR)/lib$(name).a ] ; then \
- $(ECHO) Removing library lib$(name).a ... ; \
- $(RM) -f $(G4LIBDIR)/lib$(name).a ; fi
- @if [ -f $(G4LIBDIR)/lib$(name).$(SHEXT) ] ; then \
- $(ECHO) Removing library lib$(name).$(SHEXT) ... ; \
- $(RM) -f $(G4LIBDIR)/lib$(name).$(SHEXT) ; fi
-
+++ /dev/null
-# $ Id: globlib.gmk,v 1.16 2000/12/13 09:19:14 gcosmo Exp $
-# --------------------------------------------------------------
-# Script for compound libraries. Gabriele Cosmo, 25/6/98.
-# --------------------------------------------------------------
-
-ifndef FLUGGINSTALL
- FLUGGINSTALL = ..
-endif
-
-include $(FLUGGINSTALL)/config/architecture.gmk
-
-G4LIBDIR = $(G4LIB)/$(G4SYSTEM)
-
-.PHONY : all glob global objs includes clean clean_libs wipe_libs
-
-all:
-ifndef G4ODBMS
- @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE)); done
-else
- @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) headers); done
- @for dir in $(SUBDIRS); do (cd $$dir && G4ODBMS_DEPEND=1 && \
- export G4ODBMS_DEPEND && $(MAKE)); done
- @echo Copying tmp schema header from G4TMPDIR to $(G4SCHEMA_INCLUDE)
- @rm -f $(G4SCHEMA_INCLUDE)/*.hh
- @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) install_schema); done
- @echo Copying tmp schema to $(G4SCHEMA_DIR) for FDID $(G4SCHEMA_FDID)
- @rm -f $(G4SCHEMA_DIR)/G4SCHEMA
- @rm -f $(G4SCHEMA_DIR)/G4SCHEMA.FDDB
- @$(HEP_ODBMS_DIR)/etc/getdb $(G4TMPSCHEMA_BOOT) \
- $(G4SCHEMA_DIR)/G4SCHEMA $(G4SCHEMA_FDID)
-endif
-g4libraries_to_build:=
-
-ifneq ($(G4LIB_BUILD_SHARED),)
- SHARED_LIB=$(G4LIBDIR)/lib$(name).$(SHEXT)
- g4libraries_to_build += $(SHARED_LIB)
-else
- SHARED_LIB=
-endif
-
-ifneq ($(G4LIB_BUILD_STATIC),)
- g4libraries_to_build += $(G4LIBDIR)/lib$(name).a
-endif
-
-ifndef G4ODBMS
-glob global: objs wipe_libs $(g4libraries_to_build)
-else
-glob global: headers d_files objs wipe_libs $(g4libraries_to_build) $(G4SCHEMA_DIR)/G4SCHEMA.FDDB
-endif
-
-##
-## make static libraries
-##
-ifneq ($(G4LIB_BUILD_STATIC),)
-$(G4LIBDIR)/lib$(name).a: \
- $(foreach dir,$(SUBLIBS),$(G4TMP)/$(G4SYSTEM)/$(dir)/obj.last)
- @if [ ! -d $(G4LIBDIR) ] ; then mkdir $(G4LIBDIR) ; fi
- @echo Merging object files in $(G4LIBDIR)/lib$(name).a
- @$(RM) $(G4LIBDIR)/lib$(name).a
-#
-#
-#
- @if [ X$(G4SYSTEM) = XWIN32-VC ] ; i=NO; \
- then \
- (( for lib in $(SUBLIBS); \
- do ( if [ $$i = NO ]; \
- then \
- $(AR) $(OUT_LIB)$(G4LIBDIR)/lib$(name).lib \
- $(G4TMP)/$(G4SYSTEM)/$$lib/*.o ; \
- else \
- $(AR) $(G4LIBDIR)/lib$(name).lib $(G4TMP)/$(G4SYSTEM)/$$lib/*.o; \
- fi ); \
- i=YES; \
- done ) ; \
- mv $(G4LIBDIR)/lib$(name).lib $(G4LIBDIR)/lib$(name).a); \
- else \
- (for lib in $(SUBLIBS); \
- do ($(AR) $(OUT_LIB)$(G4LIBDIR)/lib$(name).a \
- $(G4TMP)/$(G4SYSTEM)/$$lib/*.o); \
- done);\
- fi
-#
-#
-#
- @if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
- ranlib $(G4LIBDIR)/lib$(name).a ; fi
-endif
-
-
-##
-## make shared libraries
-##
-ifneq ($(G4LIB_BUILD_SHARED),)
-$(SHARED_LIB): $(foreach dir,$(SUBLIBS),$(G4TMP)/$(G4SYSTEM)/$(dir)/obj.last)
- @if [ ! -d $(G4LIBDIR) ] ; then mkdir $(G4LIBDIR) ; fi
- @echo Creating global shared library $@
- @$(RM) $@
-# use system specific commands to build the library
- $(build-global-shared-lib)
-endif
-
-ifdef G4ODBMS
-headers:
- @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) headers); done
-
-d_files:
- @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) d_files); done
-
-$(G4SCHEMA_DIR)/G4SCHEMA.FDDB: $(G4TMPSCHEMA_DIR)/G4SCHEMA.FDDB
- @rm -f $(G4SCHEMA_DIR)/G4SCHEMA
- @rm -f $(G4SCHEMA_DIR)/G4SCHEMA.FDDB
- @echo Copying schema file to $(G4SCHEMA_DIR) for FDID $(G4SCHEMA_FDID)
- @$(HEP_ODBMS_DIR)/etc/getdb $(G4TMPSCHEMA_BOOT) \
- $(G4SCHEMA_DIR)/G4SCHEMA $(G4SCHEMA_FDID)
-endif
-
-objs:
- @for dir in $(SUBDIRS); \
- do (cd $$dir; $(MAKE) -q obj && ok=yes; \
- if [ $$ok ]; \
- then echo Nothing to be done for lib$(name) in $$dir/.; \
- else $(MAKE) clean_libs; $(MAKE) obj; \
- fi; ) \
- done
-
-includes::
- @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) $@ ); done
-
-wipe_libs:
- @for lib in $(SUBLIBS); do (rm -f $(G4LIBDIR)/lib$$lib.a); done
- @for lib in $(SUBLIBS); do (rm -f $(G4LIBDIR)/lib$$lib.$(SHEXT)); done
-
-clean:
- @echo Cleaning up ...
- @for lib in $(SUBLIBS); do ( \
- rm -rf $(G4TMP)/$(G4SYSTEM)/$$lib;\
- rm -f $(G4LIBDIR)/lib$$lib.a;\
- rm -f $(G4LIBDIR)/lib$$lib.$(SHEXT) );\
- done
- @rm -f $(G4LIBDIR)/lib$(name).a
-
-clean_libs:
- @echo Removing lib$(name).a/.$(SHEXT) and sub-libraries ...
- @for lib in $(SUBLIBS); do ( \
- rm -f $(G4LIBDIR)/lib$$lib.a;\
- rm -f $(G4LIBDIR)/lib$$lib.$(SHEXT) );\
- done
- @rm -f $(G4LIBDIR)/lib$(name).a
- @rm -f $(G4LIBDIR)/lib$(name).$(SHEXT)
+++ /dev/null
-# $Id$
-# Flugg tag $Name$
-# ----------------------------------------------------------------
-# This script sets the default environment variables for
-# ALICE Flugg;
-# the Geant4 environment is supposed to be set by setup.(c)sh
-# script provided in AliRoot.
-#
-# by I. Hrivnacova, 10.5.2001
-# csh version by I.Gonzalez 6.3.2002
-
-# check ALICE Geant4 environment
-if ( "$AG4_INSTALL" == "" ) then
- echo "ALICE Geant4 environment is not defined."
- echo "Check your AliRoot environment and run:"
- echo "source $ALICE_ROOT/AliGeant4/config/setup.csh"
- exit 1;
-endif
-
-# FLUKA environment
-setenv FLUKA /afs/cern.ch/alice/offline/fluka/01c
-setenv FORLIB $FLUKA/libflukahp.a
-setenv FLUPRO $FLUKA
-
-# Flugg environment
-setenv FLUGGINSTALL ${ALICE_ROOT}/Flugg
-#setenv G4GEOMETRY_DEBUG=1
-
-# path to Flugg shared libararies
-if ( "$G4LIB_BUILD_SHARED" != "" ) then
- set SYSTEM=`uname`
- if ( "$SYSTEM" == "Linux" ) then
- setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${FLUGGINSTALL}/lib/${G4SYSTEM}"
- endif
- if ( "$SYSTEM" == "HP-UX" ) then
- setenv SHLIB_PATH "${SHLIB_PATH}:${FLUGGINSTALL}/lib/${G4SYSTEM}"
- endif
- if ( "$SYSTEM" == "OSF1" ) then
- setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${FLUGGINSTALL}/lib/${G4SYSTEM}"
- endif
- if ( "$SYSTEM" == "SunOS" ) then
- setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${FLUGGINSTALL}/lib/${G4SYSTEM}"
- endif
-endif
-# path to Flugg executable
-setenv PATH "${PATH}:${FLUGGINSTALL}/bin/Linux-g++"
-
-#Example of run command:
-#$FLUKA/flutil/rfluka -M1 -N0 -p wa_50m
-#-e $FLUGGINSTALL/bin/Linux-g++/mainAlAuAl alaual
-
-unset SYSTEM
+++ /dev/null
-# $Id$
-# Flugg tag $Name$
-# ----------------------------------------------------------------
-# This script sets the default environment variables for
-# ALICE Flugg;
-# the Geant4 environment is supposed to be set by setup.(c)sh
-# script provided in AliRoot.
-#
-# by I. Hrivnacova, 10.5.2001
-
-# check ALICE Geant4 environment
-if [ "$AG4_INSTALL" = "" ]; then
- echo "ALICE Geant4 environment is not defined."
- echo "Check your AliRoot environment and run:"
- echo ". $ALICE_ROOT/AliGeant4/config/setup.sh"
- exit 1;
-fi
-
-# FLUKA environment
-export FLUKA=/afs/cern.ch/alice/offline/fluka/01c
-export FORLIB=$FLUKA/libflukahp.a
-export FLUPRO=$FLUKA
-
-# Flugg environment
-export FLUGGINSTALL=$ALICE_ROOT/Flugg
-#export G4GEOMETRY_DEBUG=1
-
-# path to Flugg shared libararies
-if [ "$G4LIB_BUILD_SHARED" != "" ]; then
- SYSTEM=`uname`
- if [ "$SYSTEM" = "Linux" ]; then
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FLUGGINSTALL/lib/$G4SYSTEM
- fi
- if [ "$SYSTEM" = "HP-UX" ]; then
- SHLIB_PATH=$SHLIB_PATH:$FLUGGINSTALL/lib/$G4SYSTEM
- fi
- if [ "$SYSTEM" = "OSF1" ]; then
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FLUGGINSTALL/lib/$G4SYSTEM
- fi
- if [ "$SYSTEM" = "SunOS" ]; then
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FLUGGINSTALL/lib/$G4SYSTEM
- fi
-fi
-# path to Flugg executable
-export PATH=$PATH:$FLUGGINSTALL/bin/Linux=g++
-
-
-#Example of run command:
-#$FLUKA/flutil/rfluka -M1 -N0 -p wa_50m
-#-e $FLUGGINSTALL/bin/Linux-g++/mainAlAuAl alaual
-
-unset SYSTEM
+++ /dev/null
-// $Id$
-// Flugg tag $Name$
-
-// modified 10/IX/99 for including preStepPoint
-// modified 28/IX/99 for delating allocated memory
-// modified 4/X/99 function FreeMemory
-// modified 2/III/00 base class G4TransportationManager included
-// modified 20/III/00 PrintHistories() included
-
-
-#ifndef FGeometryInit_h
-#define FGeometryInit_h 1
-
-#include "g4std/fstream"
-#include "g4std/iomanip"
-#include "globals.hh"
-
-#include "G4LogicalVolume.hh"
-#include "G4PhysicalVolumeStore.hh"
-#include "G4VPhysicalVolume.hh"
-#include "G4Material.hh"
-#include "G4MaterialTable.hh"
-#include "G4Isotope.hh"
-#include "G4Navigator.hh"
-#include "G4VUserDetectorConstruction.hh"
-#include "G4TouchableHistory.hh"
-#include "G4GeometryManager.hh"
-#include "G4FieldManager.hh"
-#include "G4UniformMagField.hh"
-#include "G4TransportationManager.hh"
-
-
-class FGeometryInit : public G4TransportationManager
-{
- public:
- ~FGeometryInit(); //destructor
- static FGeometryInit *GetInstance();
- G4Navigator *getNavigatorForTracking();
- G4FieldManager * getFieldManager();
- void setDetConstruction(G4VUserDetectorConstruction* detector);
- void setDetector();
- void setMotherVolume();
- void createFlukaMatFile();
- void closeGeometry();
-
- void PrintHistories();
- void InitHistories();
- void DeleteHistories();
- void UpdateHistories(const G4NavigationHistory *, const G4int &);
- G4TouchableHistory * GetTouchableHistory();
- G4TouchableHistory * GetOldNavHist();
- G4TouchableHistory * GetTempNavHist();
-
- void InitHistArray();
- void DelHistArray();
- G4int * GetHistArray();
-
- void InitJrLtGeantArray();
- G4int * GetJrLtGeantArray();
- G4int GetLttcFlagGeant();
- void SetLttcFlagGeant(G4int);
- void PrintJrLtGeant();
-
- private:
- FGeometryInit(); //costructor
- G4VUserDetectorConstruction * fDetector;
- G4FieldManager * fFieldManager;
- G4TransportationManager * fTransportationManager;
- G4Navigator *fNavigatorForTracking;
- static FGeometryInit *flagInstance;
- G4VPhysicalVolume * myTopNode;
- G4GeometryManager * ptrGeoMan;
- G4int * ptrArray;
- G4TouchableHistory * ptrTouchHist;
- G4TouchableHistory * ptrOldNavHist;
- G4TouchableHistory * ptrTempNavHist;
- G4int * ptrJrLtGeant;
- G4int flagLttcGeant;
-};
-
-#endif
+++ /dev/null
-// $Id$
-// Flugg tag $Name$
-
-//
-// NavHistWithCount.hh - Sara Vanini
-// last modified 2/II/'99
-// This class stores a G4NavigationHistory and it adds to it a
-// counter for secondary particles.
-//
-//
-
-
-#ifndef NAVHISTWITHCOUNT_HH
-#define NAVHISTWITHCOUNT_HH
-
-#include "G4NavigationHistory.hh"
-
-
-class NavHistWithCount
-{
-public:
- NavHistWithCount(const G4NavigationHistory &history);
- ~NavHistWithCount();
- void UpdateCount(G4int incrCount);
- G4NavigationHistory* GetNavHistPtr();
- G4int GetCount();
- G4int GetDelateFlag();
- G4int GetCheckInd();
- void SaveCheckInd(G4int);
-
-private:
- G4int count;
- G4NavigationHistory * fhistory;
- G4int fDelate;
- G4int fCheck;
-};
-
-#include "NavHistWithCount.icc"
-
-#endif
-
-
-
+++ /dev/null
-// $Id$
-// Flugg tag $Name$
-
-//
-// NavHistWithCount.icc - Sara Vanini
-// last modified: 2/II/1999
-//
-// NavHistWithCount.hh inline implementation
-//
-//
-
-inline NavHistWithCount::NavHistWithCount(const G4NavigationHistory &history)
- {
- G4cout << "NavHistWithCount::NavHistWithCount created" << G4endl;
- fhistory = new G4NavigationHistory(history);
- fDelate=0;
- count=0;
- }
-
-inline NavHistWithCount::~NavHistWithCount()
- {
- G4cout << "NavHistWithCount::NavHistWithCount deleted" << G4endl;
- delete fhistory;
- fDelate=1;
- fhistory=0;
- count=0;
- }
-
-inline void NavHistWithCount::UpdateCount(G4int incrCount)
- {
- count=count+incrCount;
- }
-
-inline G4NavigationHistory * NavHistWithCount::GetNavHistPtr()
- {
- return fhistory;
- }
-
-inline G4int NavHistWithCount::GetCount()
- {
- return count;
- }
-
-inline G4int NavHistWithCount::GetDelateFlag()
- {
- return fDelate;
- }
-
-inline G4int NavHistWithCount::GetCheckInd()
- {
- return fCheck;
- }
-
-inline void NavHistWithCount::SaveCheckInd(G4int index)
- {
- fCheck=index;
- }
-
-
-
+++ /dev/null
-// $Id$
-// Flugg tag $Name$
-
-///////////////////////////////////////////////////////////////////
-//
-// Interface for Flugg Wrappers
-//
-///////////////////////////////////////////////////////////////////
-
-#ifndef WRAPPERS_HH
-#define WRAPPERS_HH
-
-#include "globals.hh"
-
-#define idnrwr idnrwr_
-#define g1wr g1wr_
-#define g1rtwr g1rtwr_
-#define conhwr conhwr_
-#define inihwr inihwr_
-#define jomiwr jomiwr_
-#define lkdbwr lkdbwr_
-#define lkfxwr lkfxwr_
-#define lkmgwr lkmgwr_
-#define lkwr lkwr_
-#define magfld magfld_
-#define nrmlwr nrmlwr_
-#define rgrpwr rgrpwr_
-#define isvhwr isvhwr_
-
-// WrapDN
-
-extern "C" G4int idnrwr(const G4int & nreg, const G4int & mlat);
-
-// WrapG1
-
-extern "C" void g1wr(G4double& pSx, G4double& pSy, G4double& pSz, G4double* pV,
- G4int& oldReg, const G4int& oldLttc, G4double& propStep,
- G4int& nascFlag, G4double& retStep, G4int& newReg,
- G4double& saf, G4int& newLttc, G4int& LttcFlag,
- G4double* sLt, G4int* jrLt);
-
-// WrapG1RT
-
-extern "C" void g1rtwr(void);
-
-// WrapIncrHist
-
-extern "C" void conhwr(G4int& intHist, G4int* incrCount);
-
-// WrapIniHist
-
-extern "C" void inihwr(G4int& intHist);
-
-// WrapInit
-
-extern "C" void jomiwr(const G4int & nge, const G4int& lin, const G4int& lou,
- G4int& flukaReg);
-
-// WrapLookDB
-
-extern "C" void lkdbwr(G4double& pSx, G4double& pSy, G4double& pSz,
- G4double* pV, const G4int& oldReg, const G4int& oldLttc,
- G4int& newReg, G4int& flagErr, G4int& newLttc);
-
-// WrapLookFX
-
-extern "C" void lkfxwr(G4double& pSx, G4double& pSy, G4double& pSz,
- G4double* pV, const G4int& oldReg, const G4int& oldLttc,
- G4int& newReg, G4int& flagErr, G4int& newLttc);
-
-// WrapLookMG
-
-extern "C" void lkmgwr(G4double& pSx, G4double& pSy, G4double& pSz,
- G4double* pV, const G4int& oldReg, const G4int& oldLttc,
- G4int& flagErr, G4int& newReg, G4int& newLttc);
-
-// WrapLookZ
-
-extern "C" void lkwr(G4double& pSx, G4double& pSy, G4double& pSz,
- G4double* pV, const G4int& oldReg, const G4int& oldLttc,
- G4int& newReg, G4int& flagErr, G4int& newLttc);
-
-// WrapMag
-
-extern "C" void magfld(const G4double& pX, const G4double& pY, const G4double& pZ,
- G4double& cosBx, G4double& cosBy, G4double& cosBz,
- G4double& Bmag, G4int& reg, G4int& idiscflag);
-
-// WrapNorml
-
-extern "C" void nrmlwr(G4double& pSx, G4double& pSy, G4double& pSz,
- G4double& pVx, G4double& pVy, G4double& pVz,
- G4double* norml, const G4int& oldReg,
- const G4int& newReg, G4int& flagErr);
-
-// WrapReg
-
-extern "C" void rgrpwr(const G4int& flukaReg, const G4int& ptrLttc, G4int& g4Reg,
- G4int* indMother, G4int* repMother, G4int& depthFluka);
-
-// WrapSavHist
-
-extern "C" G4int isvhwr(const G4int& fCheck, const G4int& intHist);
-
-#endif //WRAPPERS_HH
-
+++ /dev/null
-# Sara Vanini 3/III/2000
-# -----------------------------------------------------------
-# GNUmakefile for dummyG4 classes library.
-# -----------------------------------------------------------
-
-name := G4dummy
-
-ifndef FLUGGINSTALL
- FLUGGINSTALL = ../..
-endif
-
-include $(FLUGGINSTALL)/config/architecture.gmk
-
-CPPFLAGS += \
- -I$(G4BASE_G4)/global/management/include \
- -I$(G4BASE_G4)/global/STLInterface \
- -I$(G4BASE_G4)/global/HEPRandom/include \
- -I$(G4BASE_G4)/global/HEPGeometry/include \
- -I$(G4BASE_G4)/global/HEPNumerics/include \
- -I$(G4BASE_G4)/geometry/management/include
-
-include $(FLUGGINSTALL)/config/common.gmk
-
-.PHONY: global
-
-global: lib
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#ifndef G4Decay_h
-#define G4Decay_h 1
-
-#include "globals.hh"
-
-class G4Decay
-{
- public:
- G4Decay(const G4String&);
- ~G4Decay();
-};
-
-
-
-
-#endif
-
+++ /dev/null
-//---------------------------------------------------------------
-//
-// dummy G4FastSimulationManager.hh
-//
-//---------------------------------------------------------------
-
-
-#ifndef G4FastSimulationManager_h
-#define G4FastSimulationManager_h 1
-
-#include "G4LogicalVolume.hh"
-
-class G4FastSimulationManager
-{
-public:
- G4FastSimulationManager(G4LogicalVolume* logVol);
- ~G4FastSimulationManager();
-};
-
-#endif
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#ifndef G4ParticleDefinition_h
-#define G4ParticleDefinition_h 1
-
-#include "globals.hh"
-
-class G4ParticleDefinition
-{
- public:
- G4ParticleDefinition();
- ~G4ParticleDefinition();
-
- const G4String& GetParticleName() const;
- const G4String& GetParticleType() const;
- G4double GetPDGCharge() const;
-
- private:
- G4String theParticleName;
- G4String theParticleType;
-};
-
-#endif
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-#ifndef G4SDManager_h
-#define G4SDManager_h 1
-
-class G4SDManager
-{
- protected:
- G4SDManager();
-
- public:
- ~G4SDManager();
-
-};
-
-
-
-
-#endif
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by TGeant4)
-
-#ifndef G4Track_h
-#define G4Track_h 1
-
-#include "globals.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4VProcess.hh"
-
-class G4Track
-{
- public:
- G4Track();
- ~G4Track();
-
- G4ParticleDefinition* GetDefinition() const {return 0;}
- const G4VProcess* GetCreatorProcess() const {return 0;}
-};
-
-#endif
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by TGeant4)
-
-#ifndef G4VProcess_h
-#define G4VProcess_h 1
-
-#include "globals.hh"
-
-class G4VProcess
-{
- public:
- G4VProcess(const G4String&);
- ~G4VProcess();
-
- const G4String& GetProcessName() const {return theProcessName;}
- // Returns the name of the process.
-
- private:
- G4String theProcessName;
-};
-
-
-
-
-#endif
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#ifndef G4VSensitiveDetector_h
-#define G4VSensitiveDetector_h 1
-
-#include "globals.hh"
-
-class G4VSensitiveDetector
-{
- public:
- G4VSensitiveDetector();
- ~G4VSensitiveDetector();
-
- G4String GetName();
-};
-
-
-
-
-#endif
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-#ifndef G4VUserDetectorConstruction_h
-#define G4VUserDetectorConstruction_h 1
-
-class G4VPhysicalVolume;
-
-// class description:
-//
-// This is the abstract base class of the user's mandatory initialization class
-// for detector setup. It has only one pure virtual method Construct() which is
-// invoked by G4RunManager when it's Initialize() method is invoked.
-// The Construct() method must return the G4VPhysicalVolume pointer which represents
-// the world volume.
-//
-
-class G4VUserDetectorConstruction
-{
- public:
- G4VUserDetectorConstruction();
- virtual ~G4VUserDetectorConstruction();
-
- public:
- virtual G4VPhysicalVolume* Construct() = 0;
-};
-
-#endif
-
-
-
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#include "G4Decay.hh"
-
-G4Decay::G4Decay(const G4String&)
-{
-}
-
-G4Decay::~G4Decay()
-{
-}
-
+++ /dev/null
-//---------------------------------------------------------------
-//
-// dummy G4FastSimulationManager.cc
-//
-//---------------------------------------------------------------
-
-#include "G4FastSimulationManager.hh"
-#include "G4LogicalVolume.hh"
-
-
-G4FastSimulationManager::G4FastSimulationManager(G4LogicalVolume* logVol)
-{;}
-
-G4FastSimulationManager::~G4FastSimulationManager()
-{;}
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#include "G4ParticleDefinition.hh"
-
-G4ParticleDefinition::G4ParticleDefinition()
- : theParticleName(""),
- theParticleType("")
-{
-}
-
-G4ParticleDefinition::~G4ParticleDefinition()
-{
-}
-
-const G4String& G4ParticleDefinition::GetParticleName() const
-{
- return theParticleName;
-}
-
-const G4String& G4ParticleDefinition::GetParticleType() const
-{
- return theParticleType;
-}
-
-G4double G4ParticleDefinition::GetPDGCharge() const
-{
- return 0;
-}
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-#include "G4SDManager.hh"
-
-G4SDManager::G4SDManager()
-{
-}
-
-G4SDManager::~G4SDManager()
-{
-}
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by TGeant4)
-
-#include "G4Track.hh"
-
-G4Track::G4Track()
-{
-}
-
-G4Track::~G4Track()
-{
-}
-
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by TGeant4)
-
-#include "G4VProcess.hh"
-
-G4VProcess::G4VProcess(const G4String& name)
- : theProcessName(name)
-{
-}
-
-G4VProcess::~G4VProcess()
-{
-}
-
-
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-// dummy (required by G3toG4)
-
-#include "G4VSensitiveDetector.hh"
-
-G4VSensitiveDetector::G4VSensitiveDetector()
-{
-}
-
-G4VSensitiveDetector::~G4VSensitiveDetector()
-{
-}
-
-G4String G4VSensitiveDetector::GetName()
-{
- G4String name = "";
- return name;
-}
+++ /dev/null
-// This code implementation is the intellectual property of
-// the GEANT4 collaboration.
-//
-// By copying, distributing or modifying the Program (or any work
-// based on the Program) you indicate your acceptance of this statement,
-// and all its terms.
-//
-// $Id$
-// GEANT4 tag $Name$
-//
-
-#include "G4VUserDetectorConstruction.hh"
-#include "G4VPhysicalVolume.hh"
-
-G4VUserDetectorConstruction::G4VUserDetectorConstruction()
-{;}
-
-G4VUserDetectorConstruction::~G4VUserDetectorConstruction()
-{;}
-