diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-16 09:11:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-16 09:13:55 +0100 |
commit | d3afc4631626d7aade10e78a503e70173d457fec (patch) | |
tree | a1873a51a6b5b9e54c6f04bbda8f42577385673e /Makefile.in | |
parent | remove soldep (diff) | |
download | core-d3afc4631626d7aade10e78a503e70173d457fec.tar.gz core-d3afc4631626d7aade10e78a503e70173d457fec.zip |
add experimental callcatcher target
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 26b286837f17..ec56ac29895f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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/* |