1 |
# CALO LEVEL2 |
# CALO LEVEL2 |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v4r00 |
VER= v4r03 |
4 |
# REQUIRES CALOCOMMON and ROOT2PAW versions |
# REQUIRES CALOCOMMON and ROOT2PAW versions |
5 |
COMMONVER=v1r10 |
COMMONVER=v1r10 |
6 |
R2PVER=v3r00 |
R2PVER=v4r00 |
7 |
# installed calocommon version |
# installed calocommon version |
8 |
COMPCOMVER=`echo ${COMMONVER} | tr -d [a-z:A-Z]` |
COMPCOMVER=`echo ${COMMONVER} | tr -d [a-z:A-Z]` |
9 |
INSTCOMVER=`${PAM_BIN}/calocommon |head -2 |tail -1 | tr -d [a-z:A-Z]` |
INSTCOMVER=`${PAM_BIN}/calocommon |head -2 |tail -1 | tr -d [a-z:A-Z]` |
197 |
@echo '.include ${DIRTOP}/${DIRINC}' >> build_so.txt |
@echo '.include ${DIRTOP}/${DIRINC}' >> build_so.txt |
198 |
@echo 'char *pamyoda = gSystem->ExpandPathName("$$PAM_YODA");' >>build_so.txt |
@echo 'char *pamyoda = gSystem->ExpandPathName("$$PAM_YODA");' >>build_so.txt |
199 |
@echo 'stringstream incy;' >>build_so.txt |
@echo 'stringstream incy;' >>build_so.txt |
200 |
@echo 'incy = str("");' >>build_so.txt |
@echo 'incy.str("");' >>build_so.txt |
201 |
@echo 'incy << pamyoda << "/include/yoda/";' >>build_so.txt |
@echo 'incy << pamyoda << "/include/yoda/";' >>build_so.txt |
202 |
@echo 'gInterpreter->AddIncludePath(incy.str().c_str());' >>build_so.txt |
@echo 'gInterpreter->AddIncludePath(incy.str().c_str());' >>build_so.txt |
203 |
@echo 'stringstream oss;' >>build_so.txt |
@echo 'stringstream oss;' >>build_so.txt |
277 |
|
|
278 |
${CXXEXELIBS}: ${CXXEXEOBJS} |
${CXXEXELIBS}: ${CXXEXEOBJS} |
279 |
@(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET}) |
@(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET}) |
280 |
@${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ $^ -I${DIRINC} -I${PAM_YODA}/include/yoda/ ${PAM_YODA}/lib/libyoda.so ${PAM_LIB}/caloclasses_h.so ${DIRTOP}/${DIRLIB}/CaloLEVEL2_c_${VER}.so ${DIRTOP}/${DIRLIB}/libopcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libcrcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libclcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libopcalol2_C_${VER}.so ${DIRTOP}/${DIRLIB}/libcrcalol2_C_${VER}.so ${DIRTOP}/${DIRLIB}/libclcalol2_C_${VER}.so ${PAM_LIB}/liboptrklev2.so ${PAM_LIB}/libretrklev2.so ${PAM_LIB}/libcltrklev2.so ${PAM_LIB}/libtrack.so ${PAM_LIB}/libreadb2maps.so ${PAM_LIB}/libreadmy.so ${PAM_LIB}/liboptrklev2_C.so ${PAM_LIB}/libretrklev2_C.so ${PAM_LIB}/libcltrklev2_C.so ${PAM_LIB}/libreadb2maps_C.so ${PAM_LIB}/libreadmy_C.so ${PAM_LIB}/caloclasses_h.so `root-config --cflags --glibs` |
@${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ $^ -I${DIRINC} -I${PAM_YODA}/include/yoda/ ${PAM_YODA}/lib/libyoda.so ${PAM_LIB}/caloclasses_h.so ${DIRTOP}/${DIRLIB}/CaloLEVEL2_c_${VER}.so ${DIRTOP}/${DIRLIB}/libopcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libcrcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libclcalol2_${VER}.so ${DIRTOP}/${DIRLIB}/libopcalol2_C_${VER}.so ${DIRTOP}/${DIRLIB}/libcrcalol2_C_${VER}.so ${DIRTOP}/${DIRLIB}/libclcalol2_C_${VER}.so ${PAM_LIB}/liboptrklev2.so ${PAM_LIB}/libretrklev2.so ${PAM_LIB}/libcltrklev2.so ${PAM_LIB}/libtrack.so ${PAM_LIB}/libreadb2maps.so ${PAM_LIB}/libreadmy.so ${PAM_LIB}/liboptrklev2_C.so ${PAM_LIB}/libretrklev2_C.so ${PAM_LIB}/libcltrklev2_C.so ${PAM_LIB}/libreadb2maps_C.so ${PAM_LIB}/libreadmy_C.so `root-config --cflags --glibs` |
281 |
@rm -f ${DIRSRC}/temp.cc |
@rm -f ${DIRSRC}/temp.cc |
282 |
|
|
283 |
# A small target to check environmental variables |
# A small target to check environmental variables |