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 |
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 |
GPCALORSRC = gpcalor/gpcalor.F |
GPCALORSRC = gpcalor/gpcalor.F |
52 |
# |
# |
53 |
GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPFIELDSRCS) $(GPGARSRCS) $(GPHYSSRCS) \ |
GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \ |
54 |
$(GPSPESRCS) $(GPTOFSRCS) $(GPTRDSRCS) $(GPNDSRCS) $(GPCALORSRC) |
$(GPFIELDSRCS) $(GPGARSRCS) $(GPHYSSRCS) \ |
55 |
|
$(GPSPESRCS) $(GPTOFSRCS) $(GPNDSRCS) $(GPTRDSRCS) $(GPCALORSRC) |
56 |
GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) ) |
GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) ) |
57 |
GPDEPENDS =$(GPOBJS:.o=.d) |
GPDEPENDS =$(GPOBJS:.o=.d) |
58 |
GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) ) |
GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) ) |
72 |
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 ${AUX}/GARFIELD.GAR \ |
73 |
${AUX}/xe_80_co2_20.gas ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \ |
${AUX}/xe_80_co2_20.gas ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \ |
74 |
${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f ${AUX}/writeseeds.f \ |
${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f ${AUX}/writeseeds.f \ |
75 |
${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz |
${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz ${AUX}/external_top_map_n4_150402.rz |
76 |
GARFIELDSRC = ./garfield/src |
GARFIELDSRC = ./garfield/src |
77 |
# |
# |
78 |
INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \ |
INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \ |
80 |
BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD -DGPAMELA_MANYWIRE -DGPAMELA_LONGLIST -DGPAMELA_BIGMAP |
BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD -DGPAMELA_MANYWIRE -DGPAMELA_LONGLIST -DGPAMELA_BIGMAP |
81 |
# |
# |
82 |
CC = gcc |
CC = gcc |
83 |
FC = g77 |
#FC = g77 -ffortran-bounds-check |
84 |
|
FC = g77 |
85 |
DEBFLAGS = -g -fdebug-kludge |
DEBFLAGS = -g -fdebug-kludge |
86 |
FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) -I${GEANTINC} ${BATCHFLAGS} |
FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) -I${GEANTINC} ${BATCHFLAGS} |
87 |
LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map |
LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map |
130 |
install : |
install : |
131 |
@test -d "$(GPAMELA_BIN)" && \ |
@test -d "$(GPAMELA_BIN)" && \ |
132 |
(echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \ |
(echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \ |
133 |
mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp ${AUXFILES} $(GPAMELA_BIN)/.; \ |
mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp ${AUXFILES} $(GPAMELA_BIN)/.;\ |
134 |
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"; \ |
135 |
|
gzip -dv $(GPAMELA_BIN)/xsneut.dat.gz $(GPAMELA_BIN)/chetc.dat.gz) |
136 |
|
|
137 |
${GPLIBDIR}/libgarfield-7.a: |
${GPLIBDIR}/libgarfield-7.a: |
138 |
@echo Creating libgarfield-7.a it will take few minutes ..... |
@echo Creating libgarfield-7.a it will take few minutes ..... |