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