]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/libTFluka.pkg
Adding FindPCBIndexByMotifPositionID method (Laurent)
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
index 0f201fbbb315c3048c1ab91fd08e00276567cb9a..8e44e0f2a453ed042d8524673a5ab44db1eff4a0 100644 (file)
@@ -1,15 +1,66 @@
 # Sources
-SRCS:=  TFluka.cxx AliFluka.cxx \
-       source.cxx
-FSRCS:= FLUKA_input.f
+SRCS:=  TFluka.cxx TFlukaMCGeometry.cxx TFlukaCerenkov.cxx \
+       TFlukaConfigOption.cxx TFlukaScoringOption.cxx\
+        magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx \
+       endraw.cxx sodraw.cxx usdraw.cxx stupre.cxx stuprf.cxx \
+       abscff.cxx dffcff.cxx queffc.cxx rflctv.cxx rfrndx.cxx 
 
 # Headers
-HDRS:=  $(filter-out source.h,$(SRCS:.cxx=.h) )
+HDRS:= TFluka.h TFlukaMCGeometry.h TFlukaCerenkov.h TFlukaConfigOption.h \
+       TFlukaScoringOption.h
+
+FSRCS:= FLUKA_input.f crnkvp.f
+
+ifeq ($(FLUSCW),1MEVN)
+       FSRCS+=fluscw_1mevn.f
+endif
+
+ifeq ($(FLUSCW),DEQ99C)
+       FSRCS+=fluscw_deq99c.f
+endif
+
+ifeq ($(COMSCW),DEFAULT)
+       SRCS+=comscw.cxx
+endif
+
+ifeq ($(COMSCW),ACTIVITY)
+       FSRCS+=comscw_activity.f
+endif
+
 
 # ROOT Dictionary
-DHDR:=  TFlukaLinkDef.h
+DHDR:= TFlukaLinkDef.h
 
 # Extra includes and libraries
-#EINCLUDE:=
+EINCLUDE:= $(FLUPRO)/flukapro $(FLUPRO)/emfadd $(FLUPRO)/flukaadd
 ELIBSDIR:= $(FLUPRO)
 ELIBS   := flukahp
+
+ifeq (g95,$(findstring g95,$(ROOTBUILD)))
+ELIBS        += f95
+ELIBSDIR      += $(shell find /sw/lib -name libf95.a | xargs dirname)
+PACKDYFLAGS   := $(DYFLAGS)     \
+        -Wl,-u,_bdandi \
+        -Wl,-u,_bdevap \
+        -Wl,-u,_bdhdr1 \
+        -Wl,-u,_bdhdr2 \
+        -Wl,-u,_bdhdr3 \
+        -Wl,-u,_bdinpt \
+        -Wl,-u,_bdmuls \
+        -Wl,-u,_bdnopt \
+        -Wl,-u,_bdpart \
+        -Wl,-u,_bdphfl \
+        -Wl,-u,_bdprdc \
+        -Wl,-u,_bdpwxs \
+        -Wl,-u,_bdrndm \
+        -Wl,-u,_bdsqzi \
+        -Wl,-u,_bdtrns \
+        -Wl,-u,_countr \
+        -Wl,-u,_elproi \
+        -Wl,-u,_hadini \
+        -Wl,-u,_bdgtfr \
+        -Wl,-u,_bdpree 
+
+endif
+
+