/[PAMELA software]/DarthVader/TrackerLevel2/Makefile
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/Makefile

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

revision 1.5 by pam-fi, Tue Sep 5 12:52:20 2006 UTC revision 1.56 by pam-fi, Thu Feb 27 11:24:42 2014 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v0r01  VER= v6r11
4  DEBUG=0  DEBUG=0
5  # An almost general purpouse Makefile for PAMELA repository  #
6  # Let's start with some usefull definition for colorize the echo  include ../Make.def
7  RED='\E[1;31;40m'  ifeq ($(PAM_BIT),"-m32")
8  GREEN='\E[1;32;40m'          MALIGN=-malign-double
9  YELLOW='\E[1;33;40m'  else
10  BLUE='\E[1;34;40m'          MALIGN=
11  WHITE='\E[1;37;40m'  endif
12  VIOLET='\E[1;35;40m'  ifeq ($(GCC4),0)
13  CYAN='\E[1;36;40m'          EXTRAOPT=-Wno-globals -fvxt
14  # Here the echo definition to use them  else
15  EVIOLET=echo -e ${VIOLET}          EXTRAOPT=
16  ECYAN=echo -e ${CYAN}  endif
17  ERED=echo -e ${RED}  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash  ${PAM_BIT}
18  EGREEN=echo -e ${GREEN}  #F77FLAGS=  -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
19  EYELLOW=echo -e ${YELLOW}  #F77FLAGS=  -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
20  EBLUE=echo -e ${BLUE}  export F77FLAGS=  -O2 $(MALIGN) -Wall -funroll-loops $(EXTRAOPT) -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
21  EWHITE=echo -e ${WHITE}  #F77FLAGS=  -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
22  # Reset the terminal  #F77FLAGS=   -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
23  RESET=tput sgr0  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
 # Here the variables used to override the standard make flags  
 # C  
 CC=gcc  
 #CFLAGS=-Wall -O -fPIC -pthread -g  
 CFLAGS=-Wall -O -fPIC -pthread  
 # 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  
 # C++  
 CXX=g++  
 #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'  
 #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'  
 #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive  
 CXXFLAGS=-Wall -O -fPIC -pthread  
 # ROOTCINT  
24  ROOTCINT=rootcint  ROOTCINT=rootcint
25  # Here the variables definig the local directories  # Here the variables definig the local directories
26  DIRTOP=${shell pwd}  DIRTOP=${shell pwd}
# Line 53  DIRINC=inc Line 33  DIRINC=inc
33  DIRDOC=doc  DIRDOC=doc
34  DIRMACROS=macros  DIRMACROS=macros
35  DIRCALIB=calib  DIRCALIB=calib
36    
37  # Here the  PAMELA environmental variables to be checked  # Here the  PAMELA environmental variables to be checked
38  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env PAM_YODA_env  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env PAM_YODA_env
39  # Here the local variables used to build the targets  # Here the local variables used to build the targets
# Line 71  FSRCS=${DIRSRC}/F77/fillpedsig.f   \ Line 52  FSRCS=${DIRSRC}/F77/fillpedsig.f   \
52          ${DIRSRC}/F77/readB.f \          ${DIRSRC}/F77/readB.f \
53          ${DIRSRC}/F77/interB.f \          ${DIRSRC}/F77/interB.f \
54          ${DIRSRC}/F77/track.f \          ${DIRSRC}/F77/track.f \
55          ${DIRSRC}/F77/grkuta.f          ${DIRSRC}/F77/grkuta.f \
56            ${DIRSRC}/F77/bdll.f      # ***PP***
57    
58  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)
59  #-------------------------------------------------  #-------------------------------------------------
# Line 79  CSRCS= Line 61  CSRCS=
61  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)
62  #-------------------------------------------------  #-------------------------------------------------
63  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )
64  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \  LIBROOTSRCS=${DIRSRC}/TrkParams.cpp \
65                                  ${DIRSRC}/TrkLevel1.cpp          ${DIRSRC}/TrkLevel2.cpp  \
66            ${DIRSRC}/TrkLevel1.cpp \
67            ${DIRSRC}/TrkLevel0.cpp \
68            ${DIRSRC}/TrkHough.cpp \
69            ${DIRSRC}/TrkCalib.cpp \
70            ${DIRSRC}/ExtTrack.cpp
71    
72  #LIBROOTSRCS=    #LIBROOTSRCS=  
73  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
74  LIBROOTOBJS=${DIRLIB}/readB.o ${DIRLIB}/interB.o ${DIRLIB}/track.o ${DIRLIB}/grkuta.o  LIBROOTOBJS=${DIRLIB}/readB.o \
75  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1          ${DIRLIB}/interB.o \
76            ${DIRLIB}/track.o \
77            ${DIRLIB}/grkuta.o \
78            ${DIRLIB}/bdll.o \
79            ${DIRLIB}/functionspfa.o \
80            ${DIRLIB}/readallparam.o \
81            ${DIRLIB}/functions.o  \
82            ${DIRLIB}/mini.o  \
83            ${DIRLIB}/tricircle.o  \
84            ${DIRLIB}/analysisflight.o  \
85            ${DIRLIB}/analysissubroutines.o  \
86            ${DIRLIB}/fillpedsig.o  \
87            ${DIRLIB}/cncomp.o  \
88            ${DIRLIB}/filladc.o  \
89            ${DIRLIB}/reductionflight.o
90    LIBROOTCLIBS= libTrkParams libTrkLevel2 libTrkLevel1 libTrkLevel0 libTrkHough libTrkCalib libExtTrack
91    
92  #LIBROOTCLIBS=  #LIBROOTCLIBS=
93  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
94  #-------------------------------------------------  #-------------------------------------------------
95  # librerie C++ NON utilizzabili da root  # librerie C++ NON utilizzabili da root
96  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \
97  #               ${DIRSRC}/TrkLevel0.cpp  #               ${DIRSRC}/TrkLevel0.cpp
98  LIBCPPSRCS=${DIRSRC}/TrkLevel0.cpp \  LIBCPPSRCS=${DIRSRC}/TrkStruct.cpp \
            ${DIRSRC}/TrkStruct.cpp \  
99             ${DIRSRC}/TrkProcess.cpp \             ${DIRSRC}/TrkProcess.cpp \
100             ${DIRSRC}/TrkVerl2.cpp \             ${DIRSRC}/TrkVerl2.cpp \
101             ${DIRSRC}/TrkCore.cpp               ${DIRSRC}/TrkCore.cpp \
102  LIBCPPLIBS=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)             ${DIRSRC}/ExtTrkingAlg.cpp \
103    #          ${DIRSRC}/TrkLevel0.cpp
104    
105    LIBCPPLIBSTRK=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
106  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0
107  LIBCPPCLIBS=libTrkLevel0 libTrkStruct libTrkProcess libTrkCore libTrkVerl2  LIBCPPCLIBS= libTrkStruct libTrkProcess libTrkCore libTrkVerl2 libExtTrkingAlg #libTrkLevel0
108  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)
109  #-------------------------------------------------  #-------------------------------------------------
110  # librerie F77 NON utilizzabili da root  # librerie F77 NON utilizzabili da root
# Line 116  CXXEXESRCS=${DIRSRC}/TrackerLevel2.cpp Line 122  CXXEXESRCS=${DIRSRC}/TrackerLevel2.cpp
122  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)
123  CXXEXELIBS:=TrackerLevel2  CXXEXELIBS:=TrackerLevel2
124    
125  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so
126  SUBDIR=../RunInfo  SUBDIR=../RunInfo
127  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)
128    
# Line 124  SUBINC=$(shell for dir in `echo ${SUBDIR Line 130  SUBINC=$(shell for dir in `echo ${SUBDIR
130  # variabili per l'installazione  # variabili per l'installazione
131  EXESRCS=${DIRBIN}/TrackerLevel2  EXESRCS=${DIRBIN}/TrackerLevel2
132  INCSRCS= \  INCSRCS= \
133            ${DIRINC}/ExtTrack.h \
134            ${DIRINC}/ExtTrkingAlg.h \
135          ${DIRINC}/TrkLevel2.h \          ${DIRINC}/TrkLevel2.h \
136          ${DIRINC}/TrkLevel1.h \          ${DIRINC}/TrkLevel1.h \
137          ${DIRINC}/TrkLevel0.h \          ${DIRINC}/TrkLevel0.h \
138            ${DIRINC}/TrkHough.h \
139            ${DIRINC}/TrkCalib.h \
140            ${DIRINC}/TrkParams.h \
141          ${DIRINC}/TrkStruct.h \          ${DIRINC}/TrkStruct.h \
142          ${DIRINC}/TrkProcess.h \          ${DIRINC}/TrkProcess.h \
143          ${DIRINC}/TrkCore.h \          ${DIRINC}/TrkCore.h \
# Line 148  ROOTINC=$$${shell root-config --incdir} Line 159  ROOTINC=$$${shell root-config --incdir}
159  NROOTINC=${shell root-config --incdir}  NROOTINC=${shell root-config --incdir}
160  # Let's start  # Let's start
161  #all : test mkbindir mklibdir mkverpath ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${FOBJS} ${COBJS} ${CXXEXELIBS}  #all : test mkbindir mklibdir mkverpath ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${FOBJS} ${COBJS} ${CXXEXELIBS}
162  all : test mkbindir mklibdir mkverpath ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS}  all : test mkbindir mklibdir mkverpath ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBSTRK}
163  all:  all:
164          @echo -e ${GREEN} ""  #       @echo -e ${GREEN} ""
165          @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) "; ${RESET})  #       @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) "; ${RESET})
166          @echo -e ${GREEN} ""          @echo -e ${GREEN} ""
167          @${RESET}          @${RESET}
168    
169  standalone: all ${CXXEXELIBS}  standalone: all ${CXXEXELIBS}
170    
171  # Here some general rules to produce objects in our local dir  include ../Make.dect
 ${DIRLIB}/%.o: ${DIRSRC}/%.cpp  
 #       @(${EYELLOW} " C++ object ------------------------")  
         @(${EGREEN} "Creating C++ object file: "${WHITE} "$@"; ${RESET})  
         @${CXX} ${CXXFLAGS} -c -o $@ ${DIRSRC}/`basename ${@} .o`.cpp -I${DIRTOP}/${DIRINC} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ `root-config --cflags`  
172    
173  ${DIRLIB}/%.o : ${DIRSRC}/F77/%.f  ${DIRLIB}/%.o : ${DIRSRC}/F77/%.f
174  #       @(${EYELLOW} " F77 object ------------------------")          @(${EGREEN} "Creating tracker F77 object file: "${WHITE} "$@"; ${RESET})
         @(${EGREEN} "Creating F77 object file: "${WHITE} "$@"; ${RESET})  
175          @${F77} ${F77FLAGS} -c -o $@ ${DIRSRC}/F77/`basename ${@} .o`.f -I${DIRTOP}/${DIRINC}/F77 -I${NROOTINC} ${SUBINC} -I${PAM_YODA}/include/yoda -I${PAM_INC}/          @${F77} ${F77FLAGS} -c -o $@ ${DIRSRC}/F77/`basename ${@} .o`.f -I${DIRTOP}/${DIRINC}/F77 -I${NROOTINC} ${SUBINC} -I${PAM_YODA}/include/yoda -I${PAM_INC}/
176    
 # .so from .o fortran  
 ${LIBF77LIBS}: ${LIBF77OBJS}  
         @(${EYELLOW} " F77 shared library --------------------------")  
         @(${EGREEN} "Creating library: "${WHITE} "$@"; ${RESET})  
 #       @${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ $^ `cernlib mathlib` /usr/lib/libg2c.so.0  
         @${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ -lg2c $^ `cernlib mathlib`  
   
 ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS}  
         @(${EYELLOW} " ROOT library ------------------------")  
         @(${EGREEN} "Creating file: "${WHITE} "`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp"; ${RESET})  
 #  
 #       Create *Dict.cpp and *Dict.h  
 #  
         @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${ROOTINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`.h ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`LinkDef.h  
 #  
 #       create .o  
 #  
         @(${EGREEN} "Compiling file: "${WHITE} "`basename $(@F) _${VER}.so | sed s/lib//`.cpp"; ${RESET})  
         @${CXX} ${CXXFLAGS} -c ${DIRTOP}/${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`.cpp  -o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o -I${DIRTOP}/${DIRINC} -I${DIRTOP} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ -I${NROOTINC};  
         @(${EGREEN} "Compiling file: "${WHITE} "`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp"; ${RESET})  
         @${CXX} ${CXXFLAGS} -c ${DIRTOP}/${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.o -I${DIRTOP}/${DIRINC} -I${DIRTOP} -I${PAM_INC} -I${PAM_YODA}/include/yoda/ -I${NROOTINC};  
         @ln -sf  ${DIRTOP}/${DIRLIB}/$(@F) ${DIRTOP}/${DIRLIB}/$(patsubst %_${VER}.so,%.so,$(@F))  
 #  
 #       create .so  
 #  
         @(${EGREEN} "Compiling shared library: "${WHITE} "$@"; ${RESET})  
         @${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ -lg2c -I${DIRTOP}/${DIRINC} -I${DIRTOP} -I${PAM_YODA}/include/yoda -I${PAM_INC} ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.o ${LIBROOTOBJS} `cernlib mathlib` 1>/dev/null          
 #       ${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ -lg2c -I${DIRTOP}/${DIRINC} -I${DIRTOP} -I${PAM_YODA}/include/yoda/ ${SUBINC} ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.o 1>/dev/null  
         @ln -sf  ${DIRTOP}/${DIRLIB}/$(@F) ${DIRTOP}/${DIRLIB}/$(patsubst %_${VER}.so,%.so,$(@F))  
         @(${EYELLOW} " -------------------------------------")  
177    
178  ${LIBCPPLIBS}: ${LIBCPPSRCS}  ${LIBCPPLIBSTRK}: ${LIBSRCS} ${COBJS} ${FOBJS}
179  #  #
180  #       create .o  #       create .o
181  #  #
182          @(${EGREEN} "Compiling file: "${WHITE} "`basename $(@F) _${VER}.so | sed s/lib//`.cpp"; ${RESET})          @(${EGREEN} "Compiling CPP file: "${WHITE} "`basename $(@F) _${VER}.so | sed s/lib//`.cpp"; ${RESET})
183          @${CXX} ${CXXFLAGS} -c ${DIRTOP}/${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`.cpp -o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o -I${DIRTOP}/${DIRINC} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ -I${NROOTINC};          @${CXX} ${CXXFLAGS} -c ${DIRTOP}/${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`.cpp -o ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o -I${DIRTOP}/${DIRINC} -I${DIRTOP} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ -I${NROOTINC} -I${DIRTOP}/../CalorimeterLevel2/inc  -I${DIRTOP}/../ToFLevel2/inc -I${DIRTOP}/../TriggerLevel2/inc -I${DIRTOP}/../OrbitalInfo/inc
184  #  #
185  #       create .so  #       create .so
186  #  #
187          @(${EGREEN} "Compiling shared library: "${WHITE} "$@"; ${RESET})          @(${EGREEN} "Creating shared library: "${WHITE} "`basename $@`"; ${RESET})
188          @${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ -lg2c -I${DIRTOP}/${DIRINC} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o ${OTHERLIBS} 1>/dev/null          @${CXX} ${CXXFLAGS} -Xlinker -soname=$(@F) -shared -o $@ $(LG2C) ${DIRTOP}/${DIRLIB}/`basename $(@F) _${VER}.so | sed s/lib//`.o ${FOBJS} ${COBJS} 1>/dev/null
189          @ln -sf  ${DIRTOP}/${DIRLIB}/$(@F) ${DIRTOP}/${DIRLIB}/$(patsubst %_${VER}.so,%.so,$(@F))          @ln -sf  ${DIRTOP}/${DIRLIB}/$(@F) ${DIRTOP}/${DIRLIB}/$(patsubst %_${VER}.so,%.so,$(@F))
190    
   
 ${CXXEXELIBS}: ${COBJS} ${FOBJS} ${CXXEXEOBJS}  
         @(${EVIOLET} "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *")  
         @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})  
 #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRLIB}/$@.o -I${DIRTOP}/${DIRINC} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_YODA}/include/utils/ ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so ${FOBJS} ${COBJS} ${FULLLIBS} ${OTHERLIBS} -lThread `root-config --cflags --glibs` `cernlib mathlib` /usr/lib/libg2c.so.0;  
         @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRLIB}/$@.o -I${DIRTOP}/${DIRINC} ${SUBINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${PAM_YODA}/lib/libyoda.so ${FOBJS} ${COBJS} ${FULLLIBS} ${OTHERLIBS} -lThread -lg2c `root-config --cflags --glibs` `cernlib mathlib`;  
   
   
191  # A small target to check environmental variables  # A small target to check environmental variables
192  %_env:  %_env:
193          @${test_env}          @${test_env}
# Line 295  installdoc: Line 263  installdoc:
263    
264  mkverpath:  mkverpath:
265  #       @echo '#include <TSystem.h>' >  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp; echo ' void info(){ printf("\nTracker Level2 flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); }' >>  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp  #       @echo '#include <TSystem.h>' >  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp; echo ' void info(){ printf("\nTracker Level2 flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); }' >>  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp
266          @echo '#include <TSystem.h>' >  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp; echo ' char *TrkInfo(bool print){ if ( print ) printf("\nTracker Level2 flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >>  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp          @echo '#include <TSystem.h>' >  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp; echo ' const char *TrkInfo(bool print){ if ( print ) printf("\nTracker Level2 flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >>  ${DIRTOP}/${DIRSRC}/TrkVerl2.cpp
267          @sleep 0.8          @sleep 0.8
268    
269    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.23