summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-16 09:11:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-16 09:13:55 +0100
commitd3afc4631626d7aade10e78a503e70173d457fec (patch)
treea1873a51a6b5b9e54c6f04bbda8f42577385673e /Makefile.in
parent1ea46226297d51cebd56b17bca36fc58bd258901 (diff)
add experimental callcatcher target
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
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/*