/[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.15 by pam-fi, Tue Nov 21 14:19:44 2006 UTC revision 1.23 by pam-fi, Fri Feb 16 18:24:09 2007 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r01  VER= v2r05
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 39  CXX=g++ Line 39  CXX=g++
39  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'
40  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'
41  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive
42  CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O4 -fPIC -pthread
43  # ROOTCINT  # ROOTCINT
44  ROOTCINT=rootcint  ROOTCINT=rootcint
45  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 79  CSRCS= Line 79  CSRCS=
79  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)
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}/TrkParams.cpp \
83                  ${DIRSRC}/TrkLevel1.cpp \          ${DIRSRC}/TrkLevel2.cpp  \
84                  ${DIRSRC}/TrkHough.cpp          ${DIRSRC}/TrkLevel1.cpp \
85            ${DIRSRC}/TrkLevel0.cpp \
86            ${DIRSRC}/TrkHough.cpp \
87            ${DIRSRC}/TrkCalib.cpp
88    
89  #LIBROOTSRCS=    #LIBROOTSRCS=  
90  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
91  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 \
92  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1 libTrkHough          ${DIRLIB}/interB.o \
93            ${DIRLIB}/track.o \
94            ${DIRLIB}/grkuta.o \
95            ${DIRLIB}/functionspfa.o \
96            ${DIRLIB}/readallparam.o \
97            ${DIRLIB}/functions.o  \
98            ${DIRLIB}/mini.o  \
99            ${DIRLIB}/tricircle.o  \
100            ${DIRLIB}/analysisflight.o  \
101            ${DIRLIB}/analysissubroutines.o  \
102            ${DIRLIB}/fillpedsig.o  \
103            ${DIRLIB}/cncomp.o  \
104            ${DIRLIB}/filladc.o  \
105            ${DIRLIB}/reductionflight.o
106    LIBROOTCLIBS= libTrkParams libTrkLevel2 libTrkLevel1 libTrkLevel0 libTrkHough libTrkCalib
107    
108  #LIBROOTCLIBS=  #LIBROOTCLIBS=
109  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
# Line 93  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB} Line 111  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}
111  # librerie C++ NON utilizzabili da root  # librerie C++ NON utilizzabili da root
112  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \
113  #               ${DIRSRC}/TrkLevel0.cpp  #               ${DIRSRC}/TrkLevel0.cpp
114  LIBCPPSRCS=${DIRSRC}/TrkLevel0.cpp \  LIBCPPSRCS=${DIRSRC}/TrkStruct.cpp \
            ${DIRSRC}/TrkStruct.cpp \  
115             ${DIRSRC}/TrkProcess.cpp \             ${DIRSRC}/TrkProcess.cpp \
116             ${DIRSRC}/TrkVerl2.cpp \             ${DIRSRC}/TrkVerl2.cpp \
117             ${DIRSRC}/TrkCore.cpp               ${DIRSRC}/TrkCore.cpp \
118    #          ${DIRSRC}/TrkLevel0.cpp
119    
120  LIBCPPLIBS=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBCPPLIBS=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
121  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0
122  LIBCPPCLIBS=libTrkLevel0 libTrkStruct libTrkProcess libTrkCore libTrkVerl2  LIBCPPCLIBS= libTrkStruct libTrkProcess libTrkCore libTrkVerl2 #libTrkLevel0
123  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)
124  #-------------------------------------------------  #-------------------------------------------------
125  # librerie F77 NON utilizzabili da root  # librerie F77 NON utilizzabili da root
# Line 130  INCSRCS= \ Line 149  INCSRCS= \
149          ${DIRINC}/TrkLevel1.h \          ${DIRINC}/TrkLevel1.h \
150          ${DIRINC}/TrkLevel0.h \          ${DIRINC}/TrkLevel0.h \
151          ${DIRINC}/TrkHough.h \          ${DIRINC}/TrkHough.h \
152            ${DIRINC}/TrkCalib.h \
153            ${DIRINC}/TrkParams.h \
154          ${DIRINC}/TrkStruct.h \          ${DIRINC}/TrkStruct.h \
155          ${DIRINC}/TrkProcess.h \          ${DIRINC}/TrkProcess.h \
156          ${DIRINC}/TrkCore.h \          ${DIRINC}/TrkCore.h \
# Line 185  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS} Line 206  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS}
206  #  #
207  #       Create *Dict.cpp and *Dict.h  #       Create *Dict.cpp and *Dict.h
208  #  #
209          @${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          @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${DIRINC} -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
210  #  #
211  #       create .o  #       create .o
212  #  #

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.23