afs: Avoid memory leak on recursive write flock
[openafs.git] / tests / auth / Makefile.in
index 31d2a59..8afde8b 100644 (file)
@@ -4,7 +4,7 @@ abs_top_builddir=@abs_top_builddir@
 include @TOP_OBJDIR@/src/config/Makefile.config
 include @TOP_OBJDIR@/src/config/Makefile.pthread
 
-TESTS = superuser-t keys-t
+TESTS = authcon-t superuser-t keys-t
 
 MODULE_CFLAGS=-I$(srcdir)/..
 
@@ -12,11 +12,16 @@ all check test tests: $(TESTS)
 
 MODULE_LIBS =  ../tap/libtap.a \
                $(abs_top_builddir)/lib/libafsauthent.a \
+               $(abs_top_builddir)/lib/librxgk.a \
                $(abs_top_builddir)/lib/libafsrpc.a \
                $(abs_top_builddir)/lib/libafshcrypto.a \
                $(LIB_rfc3961) $(LIB_roken) -lafsutil\
                $(XLIBS)
 
+authcon-t: authcon-t.o common.o
+       $(AFS_LDRULE) authcon-t.o common.o \
+               $(MODULE_LIBS)
+
 superuser-t: superuser-t.o common.o test.cs.o test.ss.o test.xdr.o
        $(AFS_LDRULE) superuser-t.o common.o \
                test.cs.o test.ss.o test.xdr.o \
@@ -44,4 +49,4 @@ superuser-t.o: test.h common.h
 
 clean:
        rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
-               writekeyfile superuser-t keys-t
+               writekeyfile $(TESTS)