]>
Commit | Line | Data |
---|---|---|
b9d0a01d | 1 | # Sources |
484746f3 | 2 | ifndef WITH_ROOT |
e3beb49f | 3 | SRCS:= TFluka.cxx magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \ |
4 | endraw.cxx sodraw.cxx usdraw.cxx FlukaVolume.cxx stupre.cxx \ | |
5 | stuprf.cxx \ | |
6 | abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx | |
b9d0a01d | 7 | # Headers |
e3beb49f | 8 | HDRS:= TFluka.h FlukaVolume.h |
484746f3 | 9 | else |
10 | SRCS:= TFlukaGeo.cxx magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \ | |
11 | endraw.cxx sodraw.cxx usdraw.cxx stupre.cxx \ | |
12 | stuprf.cxx TFlukaMCGeometry.cxx \ | |
13 | abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx | |
14 | # Headers | |
15 | HDRS:= TFlukaGeo.h TFlukaMCGeometry.h | |
16 | endif | |
17 | ||
18 | FSRCS:= FLUKA_input.f | |
03ca248b | 19 | |
b9d0a01d | 20 | # ROOT Dictionary |
484746f3 | 21 | ifndef WITH_ROOT |
22 | DHDR:= TFlukaLinkDef.h | |
23 | else | |
24 | DHDR:= TFlukaMCLinkDef.h | |
25 | endif | |
b9d0a01d | 26 | |
27 | # Extra includes and libraries | |
484746f3 | 28 | ifndef WITH_ROOT |
e3beb49f | 29 | EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include $(FLUPRO)/flukapro |
484746f3 | 30 | else |
31 | EINCLUDE:= $(FLUPRO)/flukapro | |
32 | endif | |
b9d0a01d | 33 | ELIBSDIR:= $(FLUPRO) |
34 | ELIBS := flukahp | |
1e24af3b | 35 | |
37ec2ef5 | 36 | ###################### |
37 | #Handle Geant4 flags | |
38 | ###################### | |
39 | ||
40 | # If G4DEBUG or G4NO_OPTIMISE are not specified, | |
41 | # the default compilation is optimised ... | |
42 | # | |
484746f3 | 43 | ifndef WITH_ROOT |
37ec2ef5 | 44 | ifdef G4DEBUG |
45 | CXXFLAGS += -DG4DEBUG | |
46 | else | |
47 | ifndef G4NO_OPTIMISE | |
48 | CXXFLAGS += -DG4OPTIMISE | |
49 | endif | |
50 | endif | |
51 | # Verbosity code can be left out (for better performance) | |
52 | # by defining G4_NO_VERBOSE. | |
53 | # | |
54 | ifndef G4_NO_VERBOSE | |
55 | CXXFLAGS += -DG4VERBOSE | |
56 | endif | |
57 | # Trajectory related classes can be left out (for better performance) | |
58 | # by defining G4_NO_STORE_TRAJECTORY. | |
59 | # | |
60 | ifndef G4_NO_STORE_TRAJECTORY | |
61 | CPPFLAGS += -DG4_STORE_TRAJECTORY | |
62 | endif | |
63 | ||
64 | CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE | |
484746f3 | 65 | else |
66 | CXXFLAGS += -DGNU_GCC -DWITH_ROOT | |
67 | endif | |
37ec2ef5 | 68 |