tests: Add tests for afsconf_'s key functions
[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 keys-t
8
9 MODULE_CFLAGS=-I$(srcdir)/..
10
11 all check test tests: $(TESTS)
12
13 MODULE_LIBS =   ../tap/libtap.a \
14                 $(abs_top_builddir)/lib/libafsauthent.a \
15                 $(abs_top_builddir)/lib/librxgk.a \
16                 $(abs_top_builddir)/lib/libafsrpc.a \
17                 $(abs_top_builddir)/lib/libafshcrypto.a \
18                 $(LIB_rfc3961) $(LIB_roken) -lafsutil\
19                 $(XLIBS)
20
21 superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o
22         $(AFS_LDRULE) superuser-t.o test.cs.o test.ss.o test.xdr.o \
23                 $(MODULE_LIBS)
24
25 keys-t: keys-t.o
26         $(AFS_LDRULE) keys-t.o $(MODULE_LIBS)
27
28 writekeyfile: writekeyfile.o
29         $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
30
31 test.cs.c: test.xg
32         $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
33
34 test.ss.c: test.xg
35         $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
36
37 test.xdr.c: test.xg
38         $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
39
40 test.h: test.xg
41         $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
42
43 superuser-t.o: test.h
44
45 clean:
46         rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
47                 writekeyfile superuser-t keys-t