X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37863201ad549b11ce70ecfb1e348165637f2e44..6e4fb64e6141727b8144bb77265bf0a4a8450a39:/Makefile.in diff --git a/Makefile.in b/Makefile.in index fb9956b8..9575e74a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -60,3 +60,11 @@ proto: clean: rm -f *~ $(OBJS) rsync config.cache config.log config.status + +# 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 */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt + nm *.o */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt + comm -13 nmused.txt nmfns.txt