1 |
# ToF flight analysis software |
# ToF flight analysis software |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v1r05 |
VER= v2r02 |
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' |
91 |
# -- list of tracker objects needed to link |
# -- list of tracker objects needed to link |
92 |
TRKOBJS=${DIRLIB}/libTrkLevel2.so ${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so |
TRKOBJS=${DIRLIB}/libTrkLevel2.so ${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so |
93 |
# -- directory where to find tracker headers needed to compile |
# -- directory where to find tracker headers needed to compile |
94 |
SUBDIR=../TrackerLevel2 ../RunInfo |
SUBDIR=../TrackerLevel2 ../RunInfo ../OrbitalInfo ../TriggerLevel2 |
95 |
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) |
96 |
|
|
97 |
# List of all libraries we want to install |
# List of all libraries we want to install |
100 |
# Other objects to install |
# Other objects to install |
101 |
EXESRCS=${DIRBIN}/TimeOfFlightLevel2 |
EXESRCS=${DIRBIN}/TimeOfFlightLevel2 |
102 |
|
|
103 |
INCSRCS=${DIRINC}/ToFLevel2.h ${DIRINC}/ToFStruct.h |
INCSRCS=${DIRINC}/ToFLevel2.h ${DIRINC}/ToFStruct.h ${DIRINC}/ToFCore.h |
104 |
|
|
105 |
MACROSSRCS= |
MACROSSRCS= |
106 |
|
|
156 |
# |
# |
157 |
# Create *Dict.cpp and *Dict.h |
# Create *Dict.cpp and *Dict.h |
158 |
# |
# |
159 |
@${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 |
@${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${DIRINC} ${SUBINC} -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 |
160 |
# |
# |
161 |
# create .o |
# create .o |
162 |
# |
# |