s3-build: Remove finddead
authorAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 01:13:29 +0000 (11:13 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 02:31:15 +0000 (12:31 +1000)
This won't work with the new tree structure, and we have the same
output at
https://build.samba.org/lcov/data/coverage/samba_4_0_test/unused-fns.txt

Using the callcatcher framework.

Andrew Bartlett

source3/Makefile.in

index 2405ec77487ab32b87081b4f35cfbc8ba1ec155e..093123c2b9caa807d3183eee88ba76389e06ad67 100644 (file)
@@ -3253,15 +3253,6 @@ realdistclean:: distclean
        -rm -f include/version.h
        -rm -f configure
 
-# this target is really just for my use. It only works on a limited
-# range of machines and is used to produce a list of potentially
-# dead (ie. unused) functions in the code. (tridge)
-finddead::
-       nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
-       nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
-       comm -13 nmused.txt nmfns.txt
-
-
 # when configure.in is updated, reconfigure
 $(srcdir)/configure: $(srcdir)/configure.in
        @echo "WARNING: you need to rerun ./autogen.sh"