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