22 |
gpamela/guphad.F gpamela/gustep.F \ |
gpamela/guphad.F gpamela/gustep.F \ |
23 |
gpamela/gutrak.F gpamela/gutrev.F \ |
gpamela/gutrak.F gpamela/gutrev.F \ |
24 |
gpamela/gviewyz.F gpamela/n2g.F \ |
gpamela/gviewyz.F gpamela/n2g.F \ |
25 |
gpamela/uginit.F gpamela/uglast.F |
gpamela/uginit.F gpamela/uglast.F \ |
26 |
|
gpamela/gprnhran.F |
27 |
GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \ |
GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \ |
28 |
gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \ |
gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.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 |
GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F |
GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \ |
33 |
|
gpfield/inter_B.F gpfield/inter_B_inner.F |
34 |
GPGARSRCS = gpgar/gpgacl.F gpgar/gpgapart.F gpgar/gpgarin.F \ |
GPGARSRCS = gpgar/gpgacl.F gpgar/gpgapart.F gpgar/gpgarin.F \ |
35 |
gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F |
gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F |
36 |
GPHYSSRCSRCS = gphys/gfluct.F |
GPHYSSRCSRCS = gphys/gfluct.F |
37 |
GPMAINSRCS = gpmain/gpmain.F |
GPMAINSRCS = gpmain/gpmain.F |
38 |
GPSPESRCS = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \ |
GPSPESRCS = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \ |
39 |
gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \ |
gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \ |
40 |
gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F |
gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \ |
41 |
|
gpspe/gprspe.F |
42 |
GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \ |
GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \ |
43 |
gptof/gptofv.F gptof/gputof.F |
gptof/gptofv.F gptof/gputof.F |
44 |
GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \ |
GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \ |
60 |
GPINC = gpcdes |
GPINC = gpcdes |
61 |
CERNLIB = `cernlib geant,genlib,pawlib,graflib/X11,packlib,mathlib` |
CERNLIB = `cernlib geant,genlib,pawlib,graflib/X11,packlib,mathlib` |
62 |
GPLIBDIR = ./lib |
GPLIBDIR = ./lib |
63 |
GPLIB = ${GPLIBDIR}/libgarfield-7.a |
GPLIB = ${GPLIBDIR}/libgarfield-7.a |
64 |
# |
# |
65 |
BIN = ./bin |
BIN = ./bin |
66 |
AUX = ./aux |
AUX = ./aux |
67 |
AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/PROVA.GAR |
AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/GARFIELD.GAR \ |
68 |
|
$(AUX)/xe_80_co2_20.gas $(AUX)/measure_n3_290302.rz $(AUX)/measure_n4_110402_corrected.rz $(AUX)/resxy_new.rz |
69 |
GARFIELDSRC = ./garfield/src |
GARFIELDSRC = ./garfield/src |
70 |
# |
# |
71 |
INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \ |
INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \ |
77 |
DEBFLAGS = -g -fdebug-kludge |
DEBFLAGS = -g -fdebug-kludge |
78 |
FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS} |
FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS} |
79 |
LDFLAGS= ${GPLIB} ${CERNLIB} |
LDFLAGS= ${GPLIB} ${CERNLIB} |
80 |
PHONY: distclean clean createdir install |
|
81 |
|
|
82 |
gpamelax11.exe: FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${INTERFLAGS} |
gpamelax11.exe: FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${INTERFLAGS} |
83 |
gpamelax11.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS} ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS} |
gpamelax11.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS} ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS} |
101 |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
102 |
|
|
103 |
gpamela_deb.exe: FFLAGS = -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GEANTINC} ${BATCHFLAGS} |
gpamela_deb.exe: FFLAGS = -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GEANTINC} ${BATCHFLAGS} |
104 |
gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS} ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS} |
gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS} ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS} |
105 |
@echo Creating $@ ..... |
@echo Creating $@ ..... |
106 |
$(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS} |
$(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS} |
107 |
@echo Removing object files ..... |
@echo Removing object files ..... |
108 |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
@rm -f ${GPOBJS) ${GPMAINOBJS} |
109 |
|
|
110 |
depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS} |
depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS} |
111 |
|
|
115 |
| sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \ |
| sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \ |
116 |
[ -s $@ ] || rm -f $@' |
[ -s $@ ] || rm -f $@' |
117 |
|
|
118 |
|
.PHONY: distclean clean createdir install |
119 |
# Move binaries from the local repository to the official repositories |
# Move binaries from the local repository to the official repositories |
120 |
install : |
install : |
121 |
@test -d "$(GPAMELA_BIN)" && \ |
@test -d "$(GPAMELA_BIN)" && \ |