]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/libTFluka.pkg
Updated instructions according to the suggestions/findings from Federico
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
1 # Sources
2 SRCS:=  TFluka.cxx AliFluka.cxx \
3         source.cxx
4 FSRCS:= FLUKA_input.f
5
6 # Headers
7 HDRS:=  $(filter-out source.h,$(SRCS:.cxx=.h) )
8
9 # ROOT Dictionary
10 DHDR:=  TFlukaLinkDef.h
11
12 # Extra includes and libraries
13 EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include
14 ELIBSDIR:= $(FLUPRO)
15 ELIBS   := flukahp
16
17 ######################
18 #Handle Geant4 flags
19 ######################
20
21 # If G4DEBUG or G4NO_OPTIMISE are not specified,
22 # the default compilation is optimised ...
23 #
24 ifdef G4DEBUG
25   CXXFLAGS += -DG4DEBUG
26 else
27   ifndef G4NO_OPTIMISE
28     CXXFLAGS += -DG4OPTIMISE
29   endif
30 endif
31 # Verbosity code can be left out (for better performance)
32 # by defining G4_NO_VERBOSE.
33 #
34 ifndef G4_NO_VERBOSE
35   CXXFLAGS += -DG4VERBOSE
36 endif
37 # Trajectory related classes can be left out (for better performance)
38 # by defining G4_NO_STORE_TRAJECTORY.
39 #
40 ifndef G4_NO_STORE_TRAJECTORY
41   CPPFLAGS += -DG4_STORE_TRAJECTORY
42 endif
43
44 CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
45
46
47