3 abs_top_builddir=@abs_top_builddir@
4 include @TOP_OBJDIR@/src/config/Makefile.config
5 include @TOP_OBJDIR@/src/config/Makefile.pthread
7 TESTS = authcon-t superuser-t keys-t
9 MODULE_CFLAGS=-I$(srcdir)/..
11 all check test tests: $(TESTS)
13 MODULE_LIBS = ../tap/libtap.a \
14 $(abs_top_builddir)/lib/libafsauthent.a \
15 $(abs_top_builddir)/lib/libafsrpc.a \
16 $(abs_top_builddir)/lib/libafshcrypto.a \
17 $(LIB_rfc3961) $(LIB_roken) -lafsutil\
20 authcon-t: authcon-t.o common.o
21 $(AFS_LDRULE) authcon-t.o common.o \
24 superuser-t: superuser-t.o common.o test.cs.o test.ss.o test.xdr.o
25 $(AFS_LDRULE) superuser-t.o common.o \
26 test.cs.o test.ss.o test.xdr.o \
29 keys-t: keys-t.o common.o
30 $(AFS_LDRULE) keys-t.o common.o $(MODULE_LIBS)
32 writekeyfile: writekeyfile.o
33 $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
36 $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
39 $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
42 $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
45 $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
47 superuser-t.o: test.h common.h
50 rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \