auth: Add more tests and resulting fixes to userok
[openafs.git] / tests / auth / Makefile.in
1
2 srcdir=@srcdir@
3 abs_top_builddir=@abs_top_builddir@
4 include @TOP_OBJDIR@/src/config/Makefile.config
5 include @TOP_OBJDIR@/src/config/Makefile.pthread
6
7 TESTS = superuser-t
8
9 MODULE_CFLAGS=-I$(srcdir)/..
10
11 all check test tests: $(TESTS)
12
13 superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o
14         $(AFS_LDRULE) superuser-t.o test.cs.o test.ss.o test.xdr.o \
15                 ../tap/libtap.a \
16                 $(abs_top_builddir)/lib/libafsauthent.a \
17                 $(abs_top_builddir)/lib/librxgk.a \
18                 $(abs_top_builddir)/lib/libafsrpc.a \
19                 $(abs_top_builddir)/lib/libafshcrypto.a \
20                 $(LIB_rfc3961) $(LIB_roken) -lafsutil\
21                 $(XLIBS)
22
23 test.cs.c: test.xg
24         $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
25
26 test.ss.c: test.xg
27         $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
28
29 test.xdr.c: test.xg
30         $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
31
32 test.h: test.xg
33         $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
34
35 superuser-t.o: test.h
36
37 clean:
38         rm -f *.o *.cs.c *.ss.c *.xdr.c test.h superuser-t