tests/auth: Refactor common code
[openafs.git] / tests / auth / Makefile.in
index 7414829..31d2a59 100644 (file)
@@ -17,12 +17,13 @@ MODULE_LIBS =       ../tap/libtap.a \
                $(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 \
+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 \
                $(MODULE_LIBS)
 
-keys-t: keys-t.o
-       $(AFS_LDRULE) keys-t.o $(MODULE_LIBS)
+keys-t: keys-t.o common.o
+       $(AFS_LDRULE) keys-t.o common.o $(MODULE_LIBS)
 
 writekeyfile: writekeyfile.o
        $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
@@ -39,7 +40,7 @@ test.xdr.c: test.xg
 test.h: test.xg
        $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
 
-superuser-t.o: test.h
+superuser-t.o: test.h common.h
 
 clean:
        rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \