/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3.13 by cafagna, Tue Dec 20 12:21:02 2005 UTC revision 3.19 by pamela, Mon Jun 5 13:56:16 2006 UTC
# Line 29  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F Line 29  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F
29          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F
30  GPCASSRCS = gpcas/gpcasv.F gpcas/gpdcas.F gpcas/gpucas.F  GPCASSRCS = gpcas/gpcasv.F gpcas/gpdcas.F gpcas/gpucas.F
31  GPCATSRCS = gpcat/gpcatv.F gpcat/gpdcat.F gpcat/gpucat.F  GPCATSRCS = gpcat/gpcatv.F gpcat/gpdcat.F gpcat/gpucat.F
32    GPCARDSRCS = gpcard/gpcardv.F gpcard/gpdcard.F gpcard/gpucard.F
33  GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \  GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \
34          gpfield/inter_B.F gpfield/inter_B_inner.F          gpfield/inter_B.F gpfield/inter_B_inner.F gpfield/inter_B_outer.F
35  GPGARSRCS = gpgar/gpgacl.F  gpgar/gpgapart.F gpgar/gpgarin.F \  GPGARSRCS = gpgar/gpgacl.F  gpgar/gpgapart.F gpgar/gpgarin.F \
36          gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F          gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F
37  GPHYSSRCSRCS = gphys/gfluct.F  GPHYSSRCSRCS = gphys/gfluct.F
# Line 38  GPMAINSRCS = gpmain/gpmain.F Line 39  GPMAINSRCS = gpmain/gpmain.F
39  GPSPESRCS  = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \  GPSPESRCS  = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \
40          gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \          gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \
41          gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \          gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \
42          gpspe/gprspe.F          gpspe/gprspe.F gpspe/gpudiffusion.F gpspe/gpucollection.F
43  GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \  GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \
44          gptof/gptofv.F gptof/gputof.F          gptof/gptofv.F gptof/gputof.F gptof/gpmyl.F gptof/gppol.F
45  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \
46          gptrd/gputrd.F gptrd/gpxe.F gptrd/gpxtr.F \          gptrd/gputrd.F gptrd/gpxe.F gptrd/gpxtr.F \
47          gptrd/npoiss.F gptrd/xescape.F gptrd/xtrinteg.F \          gptrd/npoiss.F gptrd/xescape.F gptrd/xtrinteg.F \
48          gptrd/xtrinter.F gptrd/xtryield.F          gptrd/xtrinter.F gptrd/xtryield.F
49  GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F  GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F
50  GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpgig.F  GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpdnd.F gpnd/gpgig.F \
51            gpnd/gpgrsigma.F gpnd/gpgres.F
52  GPCALORSRC = gpcalor/gpcalor.F  GPCALORSRC = gpcalor/gpcalor.F
53  #  #
54  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPFIELDSRCS)  $(GPGARSRCS) $(GPHYSSRCS) \  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \
55          $(GPSPESRCS) $(GPTOFSRCS) $(GPTRDSRCS) $(GPNDSRCS) $(GPCALORSRC)          $(GPFIELDSRCS)  $(GPGARSRCS) $(GPHYSSRCS) \
56            $(GPSPESRCS) $(GPTOFSRCS) $(GPNDSRCS) $(GPTRDSRCS)  $(GPCALORSRC)
57  GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) )  GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) )
58  GPDEPENDS =$(GPOBJS:.o=.d)  GPDEPENDS =$(GPOBJS:.o=.d)
59  GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) )  GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) )
# Line 67  GPLIB = ${GPLIBDIR}/libgarfield-7.a Line 70  GPLIB = ${GPLIBDIR}/libgarfield-7.a
70  #  #
71  BIN = ./bin  BIN = ./bin
72  AUX = ./aux  AUX = ./aux
73  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/GARFIELD.GAR \  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT \
74          ${AUX}/xe_80_co2_20.gas ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \          ${AUX}/GARFIELD.GAR ${AUX}/xe_80_co2_20.gas \
75          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f ${AUX}/writeseeds.f \          ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \
76          ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f \
77            ${AUX}/writeseeds.f ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz \
78            ${AUX}/external_top_map_n4_150402.rz \
79            ${AUX}/Neut1.dat ${AUX}/Neut2.dat ${AUX}/Neut3.dat
80    
81  GARFIELDSRC = ./garfield/src  GARFIELDSRC = ./garfield/src
82  #  #
83  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER \
84          -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP          -DGPAMELA_HIGZ \
85  BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP          -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  \
86            -DGPAMELA_BIGMAP
87    BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD  \
88            -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP
89  #  #
90  CC = gcc  CC = gcc
91  FC = g77  #FC = g77 -ffortran-bounds-check
92    FC = g77
93  DEBFLAGS =  -g -fdebug-kludge  DEBFLAGS =  -g -fdebug-kludge
94  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) -I${GEANTINC} ${BATCHFLAGS}  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) \
95            -I${GEANTINC} ${BATCHFLAGS}
96  LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map  LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map
97    
98    
# Line 127  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS Line 139  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS
139  install :  install :
140          @test -d "$(GPAMELA_BIN)" && \          @test -d "$(GPAMELA_BIN)" && \
141          (echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \          (echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \
142           mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp  ${AUXFILES} $(GPAMELA_BIN)/.; \           mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp  ${AUXFILES} $(GPAMELA_BIN)/.;\
143          echo "Now unzipping the GCALOR cross section data files"; gzip -dv xsneut.dat.gz chetc.dat.gz)          echo "Now unzipping the GCALOR cross section data files"; \
144            gzip -dv $(GPAMELA_BIN)/xsneut.dat.gz $(GPAMELA_BIN)/chetc.dat.gz)
145    
146  ${GPLIBDIR}/libgarfield-7.a:    ${GPLIBDIR}/libgarfield-7.a:  
147          @echo Creating  libgarfield-7.a it will take few minutes .....          @echo Creating  libgarfield-7.a it will take few minutes .....

Legend:
Removed from v.3.13  
changed lines
  Added in v.3.19

  ViewVC Help
Powered by ViewVC 1.1.23