]> git.uio.no Git - u/mrichter/AliRoot.git/blame - Flugg/libFlugg.pkg
Updated to new way of producing the input material/compound file
[u/mrichter/AliRoot.git] / Flugg / libFlugg.pkg
CommitLineData
c9760d4c 1FLUGGDUMMYSRCS := G4SDManager.cxx G4VUserDetectorConstruction.cxx \
2 G4FastSimulationManager.cxx
26d97e06 3FLUGGDUMMYHDRS := $(FLUGGDUMMYSRCS:.cxx=.hh)
c9760d4c 4FLUGGWRAPSRCS := FGeometryInit.cxx WrapDN.cxx WrapG1.cxx WrapG1RT.cxx \
5 WrapIncrHist.cxx WrapIniHist.cxx WrapInit.cxx WrapLookDB.cxx \
6 WrapLookFX.cxx WrapLookMG.cxx WrapLookZ.cxx WrapMag.cxx \
7 WrapNorml.cxx WrapReg.cxx WrapSavHist.cxx WrapUtils.cxx
8FLUGGWRAPHDRS := WrapUtils.hh Wrappers.hh NavHistWithCount.hh
26d97e06 9FLUGGOTHERSRCS := FluggNavigator.cxx FlukaMaterial.cxx FlukaCompound.cxx \
10 FlukaLowMat.cxx
11FLUGGOTHERHDRS := $(FLUGGOTHERSRCS:.cxx=.hh)
c9760d4c 12
13
14# Sources
15SRCS:= $(FLUGGDUMMYSRCS) $(FLUGGWRAPSRCS) $(FLUGGOTHERSRCS)
16
17
18# Headers
19HDRS:= $(FLUGGDUMMYHDRS) $(FLUGGWRAPHDRS) $(FLUGGOTHERHDRS)
20
21# ROOT Dictionary
22# DHDR:= FluggLinkDef.h
23
24# Extra includes and libraries
25EINCLUDE:= Flugg $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include
26ELIBSDIR:= $(G4INSTALL)/lib/$(G4SYSTEM)
27ELIBS := G4brep G4csg G4geomBoolean G4geometrymng G4geomver G4globman \
28 G4graphics_reps G4hepnumerics G4intercoms G4magneticfield \
29 G4materials G4specsolids G4step G4stepinterface G4volumes
30
983d9a3c 31######################
32#Handle Geant4 flags
33######################
34
35# If G4DEBUG or G4NO_OPTIMISE are not specified,
36# the default compilation is optimised ...
37#
38ifdef G4DEBUG
39 CXXFLAGS += -DG4DEBUG
40else
41 ifndef G4NO_OPTIMISE
42 CXXFLAGS += -DG4OPTIMISE
43 endif
44endif
45# Verbosity code can be left out (for better performance)
46# by defining G4_NO_VERBOSE.
47#
48ifndef G4_NO_VERBOSE
49 CXXFLAGS += -DG4VERBOSE
50endif
51# Trajectory related classes can be left out (for better performance)
52# by defining G4_NO_STORE_TRAJECTORY.
53#
54ifndef G4_NO_STORE_TRAJECTORY
55 CPPFLAGS += -DG4_STORE_TRAJECTORY
56endif
57
58# If GEOMETRY_DEBUG is defined, a lot of information is printed out
59# from FLUGG
60#
61ifdef G4GEOMETRY_DEBUG
62 CXXFLAGS += -DG4GEOMETRY_DEBUG
63endif
64
65CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
66