]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/libTFluka.pkg
gAlice replaced by TVirtualMCApplication::Instance()
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
index a164e0ac86f40c177414c016055598858ee3c808..58d7f31127be11b839656f6bd7a0ce59f6b7ee5f 100644 (file)
@@ -1,6 +1,46 @@
-SRCS          =   \
-TFluka.cxx AliFluka.cxx
+# Sources
+SRCS:=  TFluka.cxx magfld.cxx source.cxx mgdraw.cxx bxdraw.cxx eedraw.cxx endraw.cxx sodraw.cxx usdraw.cxx FlukaVolume.cxx stupre.cxx stuprf.cxx
+FSRCS:= FLUKA_input.f 
+
+# Headers
+HDRS:= TFluka.h FlukaVolume.h
+
+# ROOT Dictionary
+DHDR:=  TFlukaLinkDef.h
+
+# Extra includes and libraries
+EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include
+ELIBSDIR:= $(FLUPRO)
+ELIBS   := flukahp
+
+######################
+#Handle Geant4 flags
+######################
+
+# If G4DEBUG or G4NO_OPTIMISE are not specified,
+# the default compilation is optimised ...
+#
+ifdef G4DEBUG
+  CXXFLAGS += -DG4DEBUG
+else
+  ifndef G4NO_OPTIMISE
+    CXXFLAGS += -DG4OPTIMISE
+  endif
+endif
+# Verbosity code can be left out (for better performance)
+# by defining G4_NO_VERBOSE.
+#
+ifndef G4_NO_VERBOSE
+  CXXFLAGS += -DG4VERBOSE
+endif
+# Trajectory related classes can be left out (for better performance)
+# by defining G4_NO_STORE_TRAJECTORY.
+#
+ifndef G4_NO_STORE_TRAJECTORY
+  CPPFLAGS += -DG4_STORE_TRAJECTORY
+endif
+
+CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
+
 
-HDRS:= $(SRCS:.cxx=.h) 
 
-DHDR= TFlukaLinkDef.h