summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/*