--- eventviewer/flight/Makefile 2009/08/11 13:03:41 1.18 +++ eventviewer/flight/Makefile 2010/01/29 20:31:36 1.20 @@ -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