src/tests: Fix a couple of build issues
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 30 May 2011 16:39:56 +0000 (17:39 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 6 Jun 2011 02:55:30 +0000 (19:55 -0700)
Fix a couple of build problems with the old src/tests directory.
Firstly, now that we're using asnprintf in libauth, we need to include
libroken as a dependency here too.
Secondly, the build rule for dumptool is wrong. Fix it.

Change-Id: I2d9e2db169c617a323c71ac837045d2f36331321
Reviewed-on: http://gerrit.openafs.org/4805
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

src/tests/Makefile.in

index 284daa5..b0150a9 100644 (file)
@@ -22,6 +22,7 @@ LIBS=\
        ${TOP_LIBDIR}/liblwp.a \
        ${TOP_LIBDIR}/util.a \
        ${TOP_LIBDIR}/libafscom_err.a \
+       $(LIB_roken) \
        ${XLIBS}
 
 OBJS_afsdump_scan    = afsdump_scan.o repair.o
@@ -58,7 +59,7 @@ null-search: libxfiles.a libdumpscan.a null-search.c
        $(AFS_LDRULE) null-search.c $(LIBS)
 
 dumptool: dumptool.c
-       $(AFS_LDRULE) dumptool dumptool.c
+       $(AFS_LDRULE) dumptool.c
 
 libxfiles.a: $(OBJS_libxfiles.a)
        -rm -f libxfiles.a