X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2f03f956f425f03335005ba743f19b6ed3454248..f8be5ef4cb86bee9227b14b41238ac867c820759:/Makefile.in diff --git a/Makefile.in b/Makefile.in index fb9956b8..c1f3891b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,7 +20,7 @@ SHELL=/bin/sh .SUFFIXES: .SUFFIXES: .c .o -LIBOBJ=lib/getopt.o lib/fnmatch.o lib/compat.o +LIBOBJ=lib/getopt.o lib/fnmatch.o lib/compat.o lib/snprintf.o ZLIBOBJ=zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o \ zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o \ zlib/zutil.o zlib/adler32.o @@ -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