/[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.14 by pam-fi, Mon Nov 20 13:14:01 2006 UTC revision 1.30 by pam-fi, Fri Aug 31 15:00:47 2007 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r00  VER= v4r00
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 71  FSRCS=${DIRSRC}/F77/fillpedsig.f   \ Line 71  FSRCS=${DIRSRC}/F77/fillpedsig.f   \
71          ${DIRSRC}/F77/readB.f \          ${DIRSRC}/F77/readB.f \
72          ${DIRSRC}/F77/interB.f \          ${DIRSRC}/F77/interB.f \
73          ${DIRSRC}/F77/track.f \          ${DIRSRC}/F77/track.f \
74          ${DIRSRC}/F77/grkuta.f          ${DIRSRC}/F77/grkuta.f \
75            ${DIRSRC}/F77/bdll.f      # ***PP***
76    
77  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)
78  #-------------------------------------------------  #-------------------------------------------------
# Line 79  CSRCS= Line 80  CSRCS=
80  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o)
81  #-------------------------------------------------  #-------------------------------------------------
82  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )
83  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \  LIBROOTSRCS=${DIRSRC}/TrkParams.cpp \
84                  ${DIRSRC}/TrkLevel1.cpp \          ${DIRSRC}/TrkLevel2.cpp  \
85                  ${DIRSRC}/TrkHough.cpp          ${DIRSRC}/TrkLevel1.cpp \
86            ${DIRSRC}/TrkLevel0.cpp \
87            ${DIRSRC}/TrkHough.cpp \
88            ${DIRSRC}/TrkCalib.cpp
89    
90  #LIBROOTSRCS=    #LIBROOTSRCS=  
91  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
92  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 \
93  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1 libTrkHough          ${DIRLIB}/interB.o \
94            ${DIRLIB}/track.o \
95            ${DIRLIB}/grkuta.o \
96            ${DIRLIB}/bdll.o \
97            ${DIRLIB}/functionspfa.o \
98            ${DIRLIB}/readallparam.o \
99            ${DIRLIB}/functions.o  \
100            ${DIRLIB}/mini.o  \
101            ${DIRLIB}/tricircle.o  \
102            ${DIRLIB}/analysisflight.o  \
103            ${DIRLIB}/analysissubroutines.o  \
104            ${DIRLIB}/fillpedsig.o  \
105            ${DIRLIB}/cncomp.o  \
106            ${DIRLIB}/filladc.o  \
107            ${DIRLIB}/reductionflight.o
108    LIBROOTCLIBS= libTrkParams libTrkLevel2 libTrkLevel1 libTrkLevel0 libTrkHough libTrkCalib
109    
110  #LIBROOTCLIBS=  #LIBROOTCLIBS=
111  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
# Line 93  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB} Line 113  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}
113  # librerie C++ NON utilizzabili da root  # librerie C++ NON utilizzabili da root
114  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \  #LIBCPPSRCS=  ${DIRSRC}/TrkLevel2.cpp \
115  #               ${DIRSRC}/TrkLevel0.cpp  #               ${DIRSRC}/TrkLevel0.cpp
116  LIBCPPSRCS=${DIRSRC}/TrkLevel0.cpp \  LIBCPPSRCS=${DIRSRC}/TrkStruct.cpp \
            ${DIRSRC}/TrkStruct.cpp \  
117             ${DIRSRC}/TrkProcess.cpp \             ${DIRSRC}/TrkProcess.cpp \
118             ${DIRSRC}/TrkVerl2.cpp \             ${DIRSRC}/TrkVerl2.cpp \
119             ${DIRSRC}/TrkCore.cpp               ${DIRSRC}/TrkCore.cpp \
120    #          ${DIRSRC}/TrkLevel0.cpp
121    
122  LIBCPPLIBS=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBCPPLIBS=$(LIBCPPSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
123  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0  #LIBCPPCLIBS=libTrkLevel2 libTrkLevel0
124  LIBCPPCLIBS=libTrkLevel0 libTrkStruct libTrkProcess libTrkCore libTrkVerl2  LIBCPPCLIBS= libTrkStruct libTrkProcess libTrkCore libTrkVerl2 #libTrkLevel0
125  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLCPPCLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)
126  #-------------------------------------------------  #-------------------------------------------------
127  # librerie F77 NON utilizzabili da root  # librerie F77 NON utilizzabili da root
# Line 130  INCSRCS= \ Line 151  INCSRCS= \
151          ${DIRINC}/TrkLevel1.h \          ${DIRINC}/TrkLevel1.h \
152          ${DIRINC}/TrkLevel0.h \          ${DIRINC}/TrkLevel0.h \
153          ${DIRINC}/TrkHough.h \          ${DIRINC}/TrkHough.h \
154            ${DIRINC}/TrkCalib.h \
155            ${DIRINC}/TrkParams.h \
156          ${DIRINC}/TrkStruct.h \          ${DIRINC}/TrkStruct.h \
157          ${DIRINC}/TrkProcess.h \          ${DIRINC}/TrkProcess.h \
158          ${DIRINC}/TrkCore.h \          ${DIRINC}/TrkCore.h \
# Line 185  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS} Line 208  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS}
208  #  #
209  #       Create *Dict.cpp and *Dict.h  #       Create *Dict.cpp and *Dict.h
210  #  #
211          @${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
212  #  #
213  #       create .o  #       create .o
214  #  #

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.23