cmpips.f removed, now in FLUKA
[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 # ROOT Dictionary
15 DHDR:= TFlukaLinkDef.h
16
17 # Extra includes and libraries
18 EINCLUDE:= $(FLUPRO)/flukapro $(FLUPRO)/emfadd $(FLUPRO)/flukaadd
19 ELIBSDIR:= $(FLUPRO)
20 ELIBS   := flukahp
21
22 ifeq (g95,$(findstring g95,$(ROOTBUILD)))
23 ELIBS         += f95
24 ELIBSDIR      += $(shell find /sw/lib -name libf95.a | xargs dirname)
25 PACKDYFLAGS   := $(DYFLAGS)      \
26          -Wl,-u,_bdandi \
27          -Wl,-u,_bdevap \
28          -Wl,-u,_bdhdr1 \
29          -Wl,-u,_bdhdr2 \
30          -Wl,-u,_bdhdr3 \
31          -Wl,-u,_bdinpt \
32          -Wl,-u,_bdmuls \
33          -Wl,-u,_bdnopt \
34          -Wl,-u,_bdpart \
35          -Wl,-u,_bdphfl \
36          -Wl,-u,_bdprdc \
37          -Wl,-u,_bdpwxs \
38          -Wl,-u,_bdrndm \
39          -Wl,-u,_bdsqzi \
40          -Wl,-u,_bdtrns \
41          -Wl,-u,_countr \
42          -Wl,-u,_elproi \
43          -Wl,-u,_hadini \
44          -Wl,-u,_bdgtfr \
45          -Wl,-u,_bdpree 
46
47 endif
48
49