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