/[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.11 by mocchiut, Wed Nov 8 09:36:59 2006 UTC revision 1.16 by pam-fi, Thu Nov 23 18:51:43 2006 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r00  VER= v2r01
4  DEBUG=0  DEBUG=0
5  # An almost general purpouse Makefile for PAMELA repository  # An almost general purpouse Makefile for PAMELA repository
6  # Let's start with some usefull definition for colorize the echo  # Let's start with some usefull definition for colorize the echo
# Line 33  TODAY=`date` Line 33  TODAY=`date`
33  # F77  # F77
34  F77=g77  F77=g77
35  #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
36  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 -fPIC
37  # C++  # C++
38  CXX=g++  CXX=g++
39  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'
# Line 80  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/% Line 80  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%
80  #-------------------------------------------------  #-------------------------------------------------
81  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )
82  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \
83                                  ${DIRSRC}/TrkLevel1.cpp                  ${DIRSRC}/TrkLevel1.cpp \
84                    ${DIRSRC}/TrkHough.cpp \
85                    ${DIRSRC}/TrkCalib.cpp
86    
87  #LIBROOTSRCS=    #LIBROOTSRCS=  
88  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
89  LIBROOTOBJS=${DIRLIB}/readB.o ${DIRLIB}/interB.o ${DIRLIB}/track.o ${DIRLIB}/grkuta.o ${DIRLIB}/functionspfa.o ${DIRLIB}/readallparam.o ${DIRLIB}/functions.o ${DIRLIB}/mini.o ${DIRLIB}/tricircle.o  LIBROOTOBJS=${DIRLIB}/readB.o ${DIRLIB}/interB.o ${DIRLIB}/track.o ${DIRLIB}/grkuta.o ${DIRLIB}/functionspfa.o ${DIRLIB}/readallparam.o ${DIRLIB}/functions.o ${DIRLIB}/mini.o ${DIRLIB}/tricircle.o
90  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1 libTrkHough libTrkCalib
91    
92  #LIBROOTCLIBS=  #LIBROOTCLIBS=
93  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
94  #-------------------------------------------------  #-------------------------------------------------
# Line 127  INCSRCS= \ Line 131  INCSRCS= \
131          ${DIRINC}/TrkLevel2.h \          ${DIRINC}/TrkLevel2.h \
132          ${DIRINC}/TrkLevel1.h \          ${DIRINC}/TrkLevel1.h \
133          ${DIRINC}/TrkLevel0.h \          ${DIRINC}/TrkLevel0.h \
134            ${DIRINC}/TrkHough.h \
135            ${DIRINC}/TrkCalib.h \
136          ${DIRINC}/TrkStruct.h \          ${DIRINC}/TrkStruct.h \
137          ${DIRINC}/TrkProcess.h \          ${DIRINC}/TrkProcess.h \
138          ${DIRINC}/TrkCore.h \          ${DIRINC}/TrkCore.h \
# Line 219  ${CXXEXELIBS}: ${COBJS} ${FOBJS} ${CXXEX Line 225  ${CXXEXELIBS}: ${COBJS} ${FOBJS} ${CXXEX
225          @(${EVIOLET} "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *")          @(${EVIOLET} "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *")
226          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})
227  #       @${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_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;
228          @${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`;          @${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_noshift mathlib`;
229    
230    
231  # A small target to check environmental variables  # A small target to check environmental variables

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.23