--- calo/flight/FUTILITIES/Makefile 2006/03/22 15:07:44 1.1 +++ calo/flight/FUTILITIES/Makefile 2008/09/23 08:08:06 1.6 @@ -1,6 +1,6 @@ # Flight UTILITIES = FUTILITIES # SOFTWARE VERSION -VER= v1r01 +VER= v1r03 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo RED='\E[1;31;40m' @@ -23,20 +23,20 @@ # Here the variables used to override the standard make flags # C CC=gcc -#CFLAGS=-Wall -O -fPIC -pthread -g -CFLAGS=-Wall -O -fPIC -pthread +#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} +CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} # Enviroment: GCCVER=`gcc --version | head -1` UNAMEA=`uname -a` TODAY=`date` # F77 F77=g77 -#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash -F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash +#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT} +F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT} # C++ CXX=g++ -#CXXFLAGS=-Wall -O -fPIC -pthread -g -CXXFLAGS=-Wall -O -fPIC -pthread +#CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} +CXXFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} # ROOTCINT ROOTCINT=rootcint # Here the variables definig the local directories @@ -54,6 +54,7 @@ MACROSRCS=${DIRMACROS}/FUTpathtoc.cxx \ ${DIRMACROS}/caloclasses.cxx \ + ${DIRMACROS}/FCaloCHECKCRC.cxx \ ${DIRMACROS}/FCaloFUNCTIONS.cxx \ ${DIRMACROS}/FCaloLEVEL1.cxx \ ${DIRMACROS}/FCaloMIP.cxx \ @@ -66,12 +67,13 @@ # ${DIRMACROS}/FCaloTRKCALOALIG.cxx MACROSLIBS=$(MACROSRCS:${DIRMACROS}/%.cxx=${DIRLIB}/lib%_${VER}.so) -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 #libFCaloTRKCALOALIG FULLMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%_${VER}.so) FULLLINKMACROCLIBS=$(MACROCLIBS:%=${DIRLIB}/%.so) -CXXEXESRCS=${DIRSRC}/FCaloLEVEL1.cc \ +CXXEXESRCS=${DIRSRC}/FCaloCHECKCRC.cc \ + ${DIRSRC}/FCaloLEVEL1.cc \ ${DIRSRC}/FCaloMIP.cc \ ${DIRSRC}/FCaloMATRA.cc \ ${DIRSRC}/FCaloPLANES.cc \ @@ -81,13 +83,13 @@ ${DIRSRC}/FCaloADC2MIP.cc # ${DIRSRC}/FCaloTRKCALOALIG.cc CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cc=${DIRBIN}%.o) -CXXEXELIBS:=FCaloLEVEL1 FCaloMIP FCaloMATRA FCaloPLANES FCaloPULSE FCaloCALIBSCAN FCaloFINDCALIBS FCaloADC2MIP +CXXEXELIBS:=FCaloCHECKCRC FCaloLEVEL1 FCaloMIP FCaloMATRA FCaloPLANES FCaloPULSE FCaloCALIBSCAN FCaloFINDCALIBS FCaloADC2MIP #FCaloTRKCALOALIG -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 #${DIRBIN}/FCaloTRKCALOALIG -INCSRCS= +INCSRCS= ${DIRINC}/caloclassesfun.h ${DIRINC}/fcalostructs.h -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 #${DIRMACROS}/FCaloTRKCALOALIG.C CALIBFILES=