add experimental callcatcher target

This commit is contained in:
Caolán McNamara 2011-06-16 09:11:06 +01:00
parent 1ea4622629
commit d3afc46316

View file

@ -164,3 +164,20 @@ tags:
docs:
@. ./*Env.Set.sh && \
mkdocs.sh $$SRC_ROOT/docs $$SOLARENV/inc/doxygen.cfg
findunusedcode:
# experimental callcatcher target
# http://www.skynet.ie/~caolan/Packages/callcatcher.html
@which callcatcher > /dev/null 2>&1 || \
(echo "callcatcher not installed" && false)
@. ./*Env.Set.sh && \
. ./solenv/bin/callcatchEnv.Set.sh && \
cd instsetoo_native && \
build.pl $(GBUILD_OPT) --all
@. ./*Env.Set.sh && \
. ./solenv/bin/callcatchEnv.Set.sh && \
callanalyse \
$$OUTDIR/lib/* \
$$OUTDIR/bin/* \
*/$$OUTPATH/bin/* \
*/$$OUTPATH/lib/*