]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TFluka/libTFluka.pkg
Support for user defined primary ions.
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
CommitLineData
b9d0a01d 1# Sources
2112cfce 2SRCS:= TFluka.cxx TFlukaMCGeometry.cxx TFlukaCerenkov.cxx \
03c90e71 3 TFlukaConfigOption.cxx TFlukaScoringOption.cxx TFlukaIon.cxx \
b1db6535 4 magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \
5 endraw.cxx sodraw.cxx usdraw.cxx stupre.cxx stuprf.cxx \
93d28366 6 abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx
c9528033 7
484746f3 8# Headers
f0d336ab 9HDRS:= TFluka.h TFlukaMCGeometry.h TFlukaCerenkov.h TFlukaConfigOption.h \
03c90e71 10 TFlukaScoringOption.h TFlukaIon.h
484746f3 11
f144cd28 12FSRCS:= FLUKA_input.f crnkvp.f
03ca248b 13
93d28366 14ifeq ($(FLUSCW),1MEVN)
15 FSRCS+=fluscw_1mevn.f
16endif
17
18ifeq ($(FLUSCW),DEQ99C)
19 FSRCS+=fluscw_deq99c.f
20endif
21
22ifeq ($(COMSCW),DEFAULT)
23 SRCS+=comscw.cxx
24endif
25
26ifeq ($(COMSCW),ACTIVITY)
27 FSRCS+=comscw_activity.f
28endif
29
30
b9d0a01d 31# ROOT Dictionary
484746f3 32DHDR:= TFlukaLinkDef.h
b9d0a01d 33
34# Extra includes and libraries
7d63bff2 35EINCLUDE:= $(FLUPRO)/flukapro $(FLUPRO)/emfadd $(FLUPRO)/flukaadd
b9d0a01d 36ELIBSDIR:= $(FLUPRO)
37ELIBS := flukahp
1e24af3b 38
16899bf7 39ifeq (g95,$(findstring g95,$(ROOTBUILD)))
40ELIBS += f95
41ELIBSDIR += $(shell find /sw/lib -name libf95.a | xargs dirname)
42PACKDYFLAGS := $(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
64endif
65
37ec2ef5 66