1 |
# Flight Event Viewer software |
# Flight Event Viewer software |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v4r00 |
VER= v10r00 |
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' |
230 |
upgrade: FORCE=-u |
upgrade: FORCE=-u |
231 |
upgrade: install |
upgrade: install |
232 |
|
|
233 |
install: installlib installinc installmacros installcalib installdoc installcmacro installexe |
install: installlib installinc installmacros installcalib installdoc installcmacro installexe installplugins |
234 |
|
|
235 |
installlib: LINK=y |
installlib: LINK=y |
236 |
installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%) |
installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%) |
269 |
installdoc: |
installdoc: |
270 |
@${test_and_cp} |
@${test_and_cp} |
271 |
|
|
272 |
|
installplugins: |
273 |
|
@if [ "${FEV_PLUGIN}" != "" ]; then cd ${FEV_PLUGIN}; ln -sf ${PAM_LIB}/libCaloViewer.so ./; ln -sf ${PAM_LIB}/libCaloEnergy.so ./; ln -sf ${PAM_LIB}/libCaloProfile.so ./; ln -sf ${PAM_LIB}/libCaloPreSampler.so ./; ln -sf ${PAM_LIB}/libCaloNuclei.so ./; ln -sf ${PAM_LIB}/libCaloFranzini.so ./; ln -sf ${PAM_LIB}/libCaloDoubleShower.so ./; ln -sf ${PAM_LIB}/libCaloAxis.so ./; ln -sf ${PAM_LIB}/libTrkNuclei.so; ln -sf ${PAM_LIB}/libToFNuclei.so; fi |
274 |
|
|
275 |
mkverpath: |
mkverpath: |
276 |
@echo '#include <TSystem.h>' > ${DIRTOP}/${DIRSRC}/FEVVerl2.cpp; echo ' const char *FEVInfo(bool print){ if ( print ) printf("\nEvent Viewer flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >> ${DIRTOP}/${DIRSRC}/FEVVerl2.cpp |
@echo '#include <TSystem.h>' > ${DIRTOP}/${DIRSRC}/FEVVerl2.cpp; echo ' const char *FEVInfo(bool print){ if ( print ) printf("\nEvent Viewer flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >> ${DIRTOP}/${DIRSRC}/FEVVerl2.cpp |
277 |
@sleep 0.8 |
@sleep 0.8 |