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5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /examples/extended/hadronic/Hadr02/GNUmakefile (Version 11.3.0) and /examples/extended/hadronic/Hadr02/GNUmakefile (Version 9.6.p2)


  1 # -------------------------------------------- <<   1 # $Id: GNUmakefile,v 1.9 2011-03-01 11:43:02 antoni Exp $
  2 # GNUmakefile for examples module with externa <<   2 # GEANT4 tag $Name: 
  3 # -------------------------------------------- <<   3 # --------------------------------------------------------------
                                                   >>   4 # GNUmakefile for examples module with DPMJET interface
                                                   >>   5 # --------------------------------------------------------------
  4                                                     6 
  5 name := Hadr02                                      7 name := Hadr02
  6 G4TARGET := $(name)                                 8 G4TARGET := $(name)
  7 G4EXLIB := true                                     9 G4EXLIB := true
  8                                                    10 
                                                   >>  11 DPMJDIR = dpmjet2_5
  9 URQMDDIR= urqmd1_3                                 12 URQMDDIR= urqmd1_3
 10 HIJINGDIR= hijing1_383                         << 
 11 CRMCDIR= ${CRMCROOT}                           << 
 12                                                    13 
 13 ifndef G4INSTALL                                   14 ifndef G4INSTALL
 14   G4INSTALL = ../../../..                          15   G4INSTALL = ../../../..
 15 endif                                              16 endif
 16                                                    17 
 17 include $(G4INSTALL)/config/architecture.gmk       18 include $(G4INSTALL)/config/architecture.gmk
 18                                                    19 
 19 .PHONY: all                                        20 .PHONY: all
 20 all: urqmd hijing crmc lib bin                 <<  21 all: dpm urqmd lib bin
                                                   >>  22 
                                                   >>  23 dpm:
                                                   >>  24 ifdef G4_USE_DPMJET
                                                   >>  25   (cd ${DPMJDIR} && $(MAKE));
                                                   >>  26   (mv ${DPMJDIR}/*.o ${G4TMPDIR});
                                                   >>  27 endif
                                                   >>  28 
                                                   >>  29 ifdef G4_USE_DPMJET
                                                   >>  30   CPPFLAGS += -DG4_USE_DPMJET \
                                                   >>  31               -DG4DPMJET25GDSHDEBUG
                                                   >>  32 
                                                   >>  33   EXTRALIBS = -lgfortran -lgmp -lmpfr \
                                                   >>  34               -L${CERNLIB}/lib -lmathlib -lkernlib -lpacklib 
                                                   >>  35 endif
 21                                                    36 
 22                                                    37 
 23 urqmd:                                             38 urqmd:
 24 ifdef G4_USE_URQMD                                 39 ifdef G4_USE_URQMD
 25   (cd ${URQMDDIR} && \                             40   (cd ${URQMDDIR} && \
 26   cp GNUmakefile urqmd-1.3cr && cp *.f urqmd-1 <<  41          cp GNUmakefile urqmd-1.3cr && cp *.f urqmd-1.3cr &&\
 27   cd urqmd-1.3cr && ${MAKE} TYPE="G4INTERFACE" <<  42    cd urqmd-1.3cr && ${MAKE} TYPE="G4INTERFACE");
 28   ( mv ${URQMDDIR}/urqmd-1.3cr/obj_G4INTERFACE     43   ( mv ${URQMDDIR}/urqmd-1.3cr/obj_G4INTERFACE/*.o ${G4TMPDIR} );
 29 endif                                              44 endif
 30                                                    45 
 31 ifdef G4_USE_URQMD                                 46 ifdef G4_USE_URQMD
 32   CPPFLAGS += -DG4_USE_URQMD                       47   CPPFLAGS += -DG4_USE_URQMD
 33                                                    48 
 34   EXTRALIBS = -lgfortran -lgmp -lmpfr \            49   EXTRALIBS = -lgfortran -lgmp -lmpfr \
 35   -L${CERNLIB}/lib -lmathlib -lkernlib -lpackl <<  50               -L${CERNLIB}/lib -lmathlib -lkernlib -lpacklib 
 36 endif                                              51 endif
 37                                                    52 
 38 hijing:                                        << 
 39 ifdef G4_USE_HIJING                            << 
 40   (cd ${HIJINGDIR} && ${MAKE});                << 
 41   (mv ${HIJINGDIR}/obj_Linux/*.o ${G4TMPDIR}); << 
 42 endif                                          << 
 43                                                << 
 44 ifdef G4_USE_HIJING                            << 
 45   CPPFLAGS += -DG4_USE_HIJING                  << 
 46   EXTRALIBS = -lgfortran -lgmp -lmpfr \        << 
 47   -L${CERNROOT}/lib -lmathlib -lkernlib -lpack << 
 48 endif                                          << 
 49                                                << 
 50 crmc:                                          << 
 51 ifdef G4_USE_CRMC                              << 
 52   (cp ${CRMCDIR}/Build/lib/*.so ${G4TMPDIR});  << 
 53   (cp ${CRMCDIR}/Build/crmc.param .);          << 
 54 endif                                          << 
 55                                                << 
 56 ifdef G4_USE_CRMC                              << 
 57   CPPFLAGS += -DG4_USE_CRMC -I${CRMCDIR}/Build << 
 58   EXTRALIBS = -lgfortran -lgmp -lmpfr \        << 
 59   -L${CRMCDIR}/Build/lib/ -lCrmc               << 
 60 ### -L${CRMCDIR}/Build/lib/ -lCrmc -lGeantCrmc << 
 61 endif                                          << 
 62                                                    53 
 63 include $(G4INSTALL)/config/binmake.gmk            54 include $(G4INSTALL)/config/binmake.gmk
 64                                                    55 
 65 dclean:                                        << 
 66   @rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARG << 
 67                                                << 
 68 histclean:                                         56 histclean:
 69   @rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARG     57   @rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/Histo.o
 70                                                    58 
 71 visclean:                                          59 visclean:
 72   @rm -f g4*.prim g4*.eps g4*.wrl                  60   @rm -f g4*.prim g4*.eps g4*.wrl
 73   @rm -f .DAWN_*                                   61   @rm -f .DAWN_*
                                                   >>  62 
 74 #                                                  63 #