]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TFluka/libTFluka.pkg
Routines interfaced to TFlukaCerenkov and TFlukaGeo.
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
CommitLineData
b9d0a01d 1# Sources
484746f3 2ifndef WITH_ROOT
e3beb49f 3SRCS:= 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 8HDRS:= TFluka.h FlukaVolume.h
484746f3 9else
10SRCS:= 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
15HDRS:= TFlukaGeo.h TFlukaMCGeometry.h
16endif
17
18FSRCS:= FLUKA_input.f
03ca248b 19
b9d0a01d 20# ROOT Dictionary
484746f3 21ifndef WITH_ROOT
22DHDR:= TFlukaLinkDef.h
23else
24DHDR:= TFlukaMCLinkDef.h
25endif
b9d0a01d 26
27# Extra includes and libraries
484746f3 28ifndef WITH_ROOT
e3beb49f 29EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include $(FLUPRO)/flukapro
484746f3 30else
31EINCLUDE:= $(FLUPRO)/flukapro
32endif
b9d0a01d 33ELIBSDIR:= $(FLUPRO)
34ELIBS := 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 43ifndef WITH_ROOT
37ec2ef5 44ifdef G4DEBUG
45 CXXFLAGS += -DG4DEBUG
46else
47 ifndef G4NO_OPTIMISE
48 CXXFLAGS += -DG4OPTIMISE
49 endif
50endif
51# Verbosity code can be left out (for better performance)
52# by defining G4_NO_VERBOSE.
53#
54ifndef G4_NO_VERBOSE
55 CXXFLAGS += -DG4VERBOSE
56endif
57# Trajectory related classes can be left out (for better performance)
58# by defining G4_NO_STORE_TRAJECTORY.
59#
60ifndef G4_NO_STORE_TRAJECTORY
61 CPPFLAGS += -DG4_STORE_TRAJECTORY
62endif
63
64CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
484746f3 65else
66CXXFLAGS += -DGNU_GCC -DWITH_ROOT
67endif
37ec2ef5 68