1 |
# Flight UTILITIES = FUTILITIES |
# Flight UTILITIES = FUTILITIES |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v1r01 |
VER= v1r03 |
4 |
# An almost general purpouse Makefile for PAMELA repository |
# An almost general purpouse Makefile for PAMELA repository |
5 |
# Let's start with some usefull definition for colorize the echo |
# Let's start with some usefull definition for colorize the echo |
6 |
RED='\E[1;31;40m' |
RED='\E[1;31;40m' |
54 |
|
|
55 |
MACROSRCS=${DIRMACROS}/FUTpathtoc.cxx \ |
MACROSRCS=${DIRMACROS}/FUTpathtoc.cxx \ |
56 |
${DIRMACROS}/caloclasses.cxx \ |
${DIRMACROS}/caloclasses.cxx \ |
57 |
|
${DIRMACROS}/FCaloCHECKCRC.cxx \ |
58 |
${DIRMACROS}/FCaloFUNCTIONS.cxx \ |
${DIRMACROS}/FCaloFUNCTIONS.cxx \ |
59 |
${DIRMACROS}/FCaloLEVEL1.cxx \ |
${DIRMACROS}/FCaloLEVEL1.cxx \ |
60 |
${DIRMACROS}/FCaloMIP.cxx \ |
${DIRMACROS}/FCaloMIP.cxx \ |
67 |
# ${DIRMACROS}/FCaloTRKCALOALIG.cxx |
# ${DIRMACROS}/FCaloTRKCALOALIG.cxx |
68 |
|
|
69 |
MACROSLIBS=$(MACROSRCS:${DIRMACROS}/%.cxx=${DIRLIB}/lib%_${VER}.so) |
MACROSLIBS=$(MACROSRCS:${DIRMACROS}/%.cxx=${DIRLIB}/lib%_${VER}.so) |
70 |
MACROCLIBS=libFUTpathtoc libcaloclasses libFCaloFUNCTIONS libFCaloLEVEL1 libFCaloMIP libFCaloMATRA libFCaloPLANES libFCaloPULSE libFCaloCALIBSCAN libFCaloFINDCALIBS libFCaloADC2MIP |
MACROCLIBS=libFUTpathtoc libcaloclasses libFCaloCHECKCRC libFCaloFUNCTIONS libFCaloLEVEL1 libFCaloMIP libFCaloMATRA libFCaloPLANES libFCaloPULSE libFCaloCALIBSCAN libFCaloFINDCALIBS libFCaloADC2MIP |
71 |
#libFCaloTRKCALOALIG |
#libFCaloTRKCALOALIG |
72 |
FULLMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%_${VER}.so) |
FULLMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%_${VER}.so) |
73 |
FULLLINKMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%.so) |
FULLLINKMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%.so) |
74 |
|
|
75 |
CXXEXESRCS=${DIRSRC}/FCaloLEVEL1.cc \ |
CXXEXESRCS=${DIRSRC}/FCaloCHECKCRC.cc \ |
76 |
|
${DIRSRC}/FCaloLEVEL1.cc \ |
77 |
${DIRSRC}/FCaloMIP.cc \ |
${DIRSRC}/FCaloMIP.cc \ |
78 |
${DIRSRC}/FCaloMATRA.cc \ |
${DIRSRC}/FCaloMATRA.cc \ |
79 |
${DIRSRC}/FCaloPLANES.cc \ |
${DIRSRC}/FCaloPLANES.cc \ |
83 |
${DIRSRC}/FCaloADC2MIP.cc |
${DIRSRC}/FCaloADC2MIP.cc |
84 |
# ${DIRSRC}/FCaloTRKCALOALIG.cc |
# ${DIRSRC}/FCaloTRKCALOALIG.cc |
85 |
CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cc=${DIRBIN}%.o) |
CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cc=${DIRBIN}%.o) |
86 |
CXXEXELIBS:=FCaloLEVEL1 FCaloMIP FCaloMATRA FCaloPLANES FCaloPULSE FCaloCALIBSCAN FCaloFINDCALIBS FCaloADC2MIP |
CXXEXELIBS:=FCaloCHECKCRC FCaloLEVEL1 FCaloMIP FCaloMATRA FCaloPLANES FCaloPULSE FCaloCALIBSCAN FCaloFINDCALIBS FCaloADC2MIP |
87 |
#FCaloTRKCALOALIG |
#FCaloTRKCALOALIG |
88 |
EXESRCS= ${DIRBIN}/FCaloLEVEL1 ${DIRBIN}/FCaloMIP ${DIRBIN}/FCaloMATRA ${DIRBIN}/FCaloPLANES ${DIRBIN}/FCaloPULSE ${DIRBIN}/FCaloCALIBSCAN ${DIRBIN}/FCaloFINDCALIBS ${DIRBIN}/FCaloADC2MIP |
EXESRCS=${DIRBIN}/FCaloCHECKCRC ${DIRBIN}/FCaloLEVEL1 ${DIRBIN}/FCaloMIP ${DIRBIN}/FCaloMATRA ${DIRBIN}/FCaloPLANES ${DIRBIN}/FCaloPULSE ${DIRBIN}/FCaloCALIBSCAN ${DIRBIN}/FCaloFINDCALIBS ${DIRBIN}/FCaloADC2MIP |
89 |
#${DIRBIN}/FCaloTRKCALOALIG |
#${DIRBIN}/FCaloTRKCALOALIG |
90 |
INCSRCS= |
INCSRCS= |
91 |
|
|
92 |
MACROSSRCS= ${DIRMACROS}/rootlogon.C ${DIRMACROS}/FCaloLEVEL1.C ${DIRMACROS}/FCaloMIP.C ${DIRMACROS}/FCaloMATRA.C ${DIRMACROS}/FCaloPLANES.C ${DIRMACROS}/FCaloPULSE.C ${DIRMACROS}/FCaloCALIBSCAN.C ${DIRMACROS}/FCaloFINDCALIBS.C ${DIRMACROS}/FCaloADC2MIP.C |
MACROSSRCS= ${DIRMACROS}/rootlogon.C ${DIRMACROS}/FCaloCHECKCRC.C ${DIRMACROS}/FCaloLEVEL1.C ${DIRMACROS}/FCaloMIP.C ${DIRMACROS}/FCaloMATRA.C ${DIRMACROS}/FCaloPLANES.C ${DIRMACROS}/FCaloPULSE.C ${DIRMACROS}/FCaloCALIBSCAN.C ${DIRMACROS}/FCaloFINDCALIBS.C ${DIRMACROS}/FCaloADC2MIP.C |
93 |
#${DIRMACROS}/FCaloTRKCALOALIG.C |
#${DIRMACROS}/FCaloTRKCALOALIG.C |
94 |
CALIBFILES= |
CALIBFILES= |
95 |
|
|