--- eventviewer/flight/Makefile 2009/08/11 13:03:41 1.18 +++ eventviewer/flight/Makefile 2012/04/12 12:03:13 1.22 @@ -1,6 +1,6 @@ # Flight Event Viewer software # SOFTWARE VERSION -VER= v4r00 +VER= v10r00 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo RED='\E[1;31;40m' @@ -230,7 +230,7 @@ upgrade: FORCE=-u upgrade: install -install: installlib installinc installmacros installcalib installdoc installcmacro installexe +install: installlib installinc installmacros installcalib installdoc installcmacro installexe installplugins installlib: LINK=y installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%) @@ -269,6 +269,9 @@ installdoc: @${test_and_cp} +installplugins: + @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 + mkverpath: @echo '#include ' > ${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 @sleep 0.8