Use fluka routine usrdci to get ion properties.
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
1 # Sources
2 SRCS:=  TFluka.cxx TFlukaMCGeometry.cxx TFlukaCerenkov.cxx \
3         TFlukaConfigOption.cxx TFlukaScoringOption.cxx\
4         magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \
5         endraw.cxx sodraw.cxx usdraw.cxx stupre.cxx stuprf.cxx \
6         abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx 
7
8 # Headers
9 HDRS:= TFluka.h TFlukaMCGeometry.h TFlukaCerenkov.h TFlukaConfigOption.h \
10         TFlukaScoringOption.h
11
12 FSRCS:= FLUKA_input.f crnkvp.f
13
14 ifeq ($(FLUSCW),1MEVN)
15         FSRCS+=fluscw_1mevn.f
16 endif
17
18 ifeq ($(FLUSCW),DEQ99C)
19         FSRCS+=fluscw_deq99c.f
20 endif
21
22 ifeq ($(COMSCW),DEFAULT)
23         SRCS+=comscw.cxx
24 endif
25
26 ifeq ($(COMSCW),ACTIVITY)
27         FSRCS+=comscw_activity.f
28 endif
29
30
31 # ROOT Dictionary
32 DHDR:= TFlukaLinkDef.h
33
34 # Extra includes and libraries
35 EINCLUDE:= $(FLUPRO)/flukapro $(FLUPRO)/emfadd $(FLUPRO)/flukaadd
36 ELIBSDIR:= $(FLUPRO)
37 ELIBS   := flukahp
38
39 ifeq (g95,$(findstring g95,$(ROOTBUILD)))
40 ELIBS         += f95
41 ELIBSDIR      += $(shell find /sw/lib -name libf95.a | xargs dirname)
42 PACKDYFLAGS   := $(DYFLAGS)      \
43          -Wl,-u,_bdandi \
44          -Wl,-u,_bdevap \
45          -Wl,-u,_bdhdr1 \
46          -Wl,-u,_bdhdr2 \
47          -Wl,-u,_bdhdr3 \
48          -Wl,-u,_bdinpt \
49          -Wl,-u,_bdmuls \
50          -Wl,-u,_bdnopt \
51          -Wl,-u,_bdpart \
52          -Wl,-u,_bdphfl \
53          -Wl,-u,_bdprdc \
54          -Wl,-u,_bdpwxs \
55          -Wl,-u,_bdrndm \
56          -Wl,-u,_bdsqzi \
57          -Wl,-u,_bdtrns \
58          -Wl,-u,_countr \
59          -Wl,-u,_elproi \
60          -Wl,-u,_hadini \
61          -Wl,-u,_bdgtfr \
62          -Wl,-u,_bdpree 
63
64 endif
65
66