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