]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/libTFluka.pkg
Fixed bug in parent assignment and implemented Birk's law in the Step Manager
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
1 # Sources
2 ifndef WITH_ROOT
3 SRCS:=  TFluka.cxx \
4         magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \
5         endraw.cxx sodraw.cxx usdraw.cxx FlukaVolume.cxx stupre.cxx \
6         stuprf.cxx \
7         abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx TFlukaCerenkov.cxx
8
9 # Headers
10 HDRS:= TFluka.h FlukaVolume.h TFlukaCerenkov.h
11 else
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
16
17 # Headers
18 HDRS:= TFlukaGeo.h TFlukaMCGeometry.h TFlukaCerenkov.h
19 endif
20
21 FSRCS:= FLUKA_input.f crnkvp.f
22
23 # ROOT Dictionary
24 ifndef WITH_ROOT
25 DHDR:= TFlukaLinkDef.h
26 else
27 DHDR:= TFlukaMCLinkDef.h
28 endif
29
30 # Extra includes and libraries
31 ifndef WITH_ROOT
32 EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include $(FLUPRO)/flukapro
33 else
34 EINCLUDE:= $(FLUPRO)/flukapro
35 endif
36 ELIBSDIR:= $(FLUPRO)
37 ELIBS   := flukahp
38
39 ######################
40 #Handle Geant4 flags
41 ######################
42
43 # If G4DEBUG or G4NO_OPTIMISE are not specified,
44 # the default compilation is optimised ...
45 #
46 ifndef WITH_ROOT
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
67 PACKCXXFLAGS:= $(CXXFLAGS) -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
68 else 
69 PACKCXXFLAGS:= $(CXXFLAGS) -DWITH_ROOT
70 endif
71