1 FLUGGDUMMYSRCS := G4SDManager.cxx G4VUserDetectorConstruction.cxx \
2 G4FastSimulationManager.cxx
3 FLUGGDUMMYHDRS := $(FLUGGDUMMYSRCS:.cxx=.hh)
4 FLUGGWRAPSRCS := WrapDN.cxx WrapG1.cxx WrapG1RT.cxx \
5 WrapIncrHist.cxx WrapIniHist.cxx WrapInit.cxx WrapLookDB.cxx \
6 WrapLookFX.cxx WrapLookMG.cxx WrapLookZ.cxx \
7 WrapNorml.cxx WrapReg.cxx WrapSavHist.cxx WrapUtils.cxx
8 FLUGGWRAPHDRS := WrapUtils.hh Wrappers.hh
9 FLUGGOTHERSRCS := FluggNavigator.cxx FGeometryInit.cxx \
10 FlukaMaterial.cxx FlukaCompound.cxx \
12 FLUGGOTHERHDRS := $(FLUGGOTHERSRCS:.cxx=.hh) NavHistWithCount.hh
16 SRCS:= $(FLUGGDUMMYSRCS) $(FLUGGWRAPSRCS) $(FLUGGOTHERSRCS)
20 HDRS:= $(FLUGGDUMMYHDRS) $(FLUGGWRAPHDRS) $(FLUGGOTHERHDRS)
23 # DHDR:= FluggLinkDef.h
25 # Extra includes and libraries
26 EINCLUDE:= Flugg $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include
27 ELIBSDIR:= $(G4INSTALL)/lib/$(G4SYSTEM)
28 ELIBS := G4brep G4csg G4geomBoolean G4geometrymng G4globman \
29 G4graphics_reps G4hepnumerics G4intercoms G4magneticfield \
30 G4materials G4specsolids G4volumes
32 ######################
34 ######################
36 # If G4DEBUG or G4NO_OPTIMISE are not specified,
37 # the default compilation is optimised ...
43 CXXFLAGS += -DG4OPTIMISE
46 # Verbosity code can be left out (for better performance)
47 # by defining G4_NO_VERBOSE.
50 CXXFLAGS += -DG4VERBOSE
52 # Trajectory related classes can be left out (for better performance)
53 # by defining G4_NO_STORE_TRAJECTORY.
55 ifndef G4_NO_STORE_TRAJECTORY
56 CPPFLAGS += -DG4_STORE_TRAJECTORY
59 # If GEOMETRY_DEBUG is defined, a lot of information is printed out
62 ifdef G4GEOMETRY_DEBUG
63 CXXFLAGS += -DG4GEOMETRY_DEBUG
66 CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE