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