tests: Add tests for afsconf_'s key functions
[openafs.git] / tests / auth / Makefile.in
index 83033a1..016a781 100644 (file)
@@ -4,15 +4,13 @@ abs_top_builddir=@abs_top_builddir@
 include @TOP_OBJDIR@/src/config/Makefile.config
 include @TOP_OBJDIR@/src/config/Makefile.pthread
 
-TESTS = superuser-t
+TESTS = superuser-t keys-t
 
 MODULE_CFLAGS=-I$(srcdir)/..
 
 all check test tests: $(TESTS)
 
-superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o
-       $(AFS_LDRULE) superuser-t.o test.cs.o test.ss.o test.xdr.o \
-               ../tap/libtap.a \
+MODULE_LIBS =  ../tap/libtap.a \
                $(abs_top_builddir)/lib/libafsauthent.a \
                $(abs_top_builddir)/lib/librxgk.a \
                $(abs_top_builddir)/lib/libafsrpc.a \
@@ -20,6 +18,16 @@ superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o
                $(LIB_rfc3961) $(LIB_roken) -lafsutil\
                $(XLIBS)
 
+superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o
+       $(AFS_LDRULE) superuser-t.o test.cs.o test.ss.o test.xdr.o \
+               $(MODULE_LIBS)
+
+keys-t: keys-t.o
+       $(AFS_LDRULE) keys-t.o $(MODULE_LIBS)
+
+writekeyfile: writekeyfile.o
+       $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
+
 test.cs.c: test.xg
        $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
 
@@ -35,4 +43,5 @@ test.h: test.xg
 superuser-t.o: test.h
 
 clean:
-       rm -f *.o *.cs.c *.ss.c *.xdr.c test.h superuser-t
+       rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
+               writekeyfile superuser-t keys-t