added a vsnprintf() implementation from cvslock. See the notes on the
[rsync/rsync.git] / Makefile.in
index fb9956b..c1f3891 100644 (file)
@@ -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