/[PAMELA software]/calo/flight/FUTILITIES/Makefile
ViewVC logotype

Diff of /calo/flight/FUTILITIES/Makefile

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

revision 1.2 by mocchiut, Fri Mar 31 10:03:42 2006 UTC revision 1.6 by mocchiut, Tue Sep 23 08:08:06 2008 UTC
# Line 1  Line 1 
1  # Flight UTILITIES = FUTILITIES  # Flight UTILITIES = FUTILITIES
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v1r02  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'
# Line 23  RESET=tput sgr0 Line 23  RESET=tput sgr0
23  # Here the variables used to override the standard make flags  # Here the variables used to override the standard make flags
24  # C  # C
25  CC=gcc  CC=gcc
26  #CFLAGS=-Wall -O -fPIC -pthread -g  #CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}
27  CFLAGS=-Wall -O -fPIC -pthread  CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT}
28  # Enviroment:  # Enviroment:
29  GCCVER=`gcc --version | head -1`  GCCVER=`gcc --version | head -1`
30  UNAMEA=`uname -a`  UNAMEA=`uname -a`
31  TODAY=`date`  TODAY=`date`
32  # F77  # F77
33  F77=g77  F77=g77
34  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT}
35  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT}
36  # C++  # C++
37  CXX=g++  CXX=g++
38  #CXXFLAGS=-Wall -O -fPIC -pthread -g  #CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}
39  CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT}
40  # ROOTCINT  # ROOTCINT
41  ROOTCINT=rootcint  ROOTCINT=rootcint
42  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 54  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC Line 54  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC
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 \
# Line 66  MACROSRCS=${DIRMACROS}/FUTpathtoc.cxx \ Line 67  MACROSRCS=${DIRMACROS}/FUTpathtoc.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 \
# Line 81  CXXEXESRCS=${DIRSRC}/FCaloLEVEL1.cc \ Line 83  CXXEXESRCS=${DIRSRC}/FCaloLEVEL1.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= ${DIRINC}/caloclassesfun.h ${DIRINC}/fcalostructs.h
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    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23