opr: Add simple time type
[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 = authcon-t superuser-t keys-t realms-t
8
9 MODULE_CFLAGS=-I$(srcdir)/../.. -I$(srcdir)/../common/
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/libafsrpc.a \
16                 $(abs_top_builddir)/lib/libafshcrypto.a \
17                 $(abs_top_builddir)/lib/libopr.a \
18                 $(LIB_rfc3961) $(LIB_roken) -lafsutil\
19                 $(XLIBS)
20
21 authcon-t: authcon-t.o ../common/config.o
22         $(AFS_LDRULE) authcon-t.o ../common/config.o \
23                 $(MODULE_LIBS)
24
25 superuser-t: superuser-t.o ../common/config.o ../common/rxkad.o \
26              test.cs.o test.ss.o test.xdr.o
27         $(AFS_LDRULE) superuser-t.o ../common/config.o ../common/rxkad.o \
28                 test.cs.o test.ss.o test.xdr.o \
29                 $(MODULE_LIBS)
30
31 keys-t: keys-t.o ../common/config.o
32         $(AFS_LDRULE) keys-t.o ../common/config.o $(MODULE_LIBS)
33
34 realms-t: realms-t.o ../common/config.o
35         $(AFS_LDRULE) realms-t.o ../common/config.o $(MODULE_LIBS)
36
37 writekeyfile: writekeyfile.o
38         $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
39
40 test.cs.c: test.xg
41         $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
42
43 test.ss.c: test.xg
44         $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
45
46 test.xdr.c: test.xg
47         $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
48
49 test.h: test.xg
50         $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
51
52 superuser-t.o: test.h
53
54 clean:
55         rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
56                 writekeyfile $(TESTS)