generated: take into account the things needed in master
[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
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                 $(LIB_rfc3961) $(LIB_roken) -lafsutil\
18                 $(XLIBS)
19
20 authcon-t: authcon-t.o ../common/config.o
21         $(AFS_LDRULE) authcon-t.o ../common/config.o \
22                 $(MODULE_LIBS)
23
24 superuser-t: superuser-t.o ../common/config.o test.cs.o test.ss.o test.xdr.o
25         $(AFS_LDRULE) superuser-t.o ../common/config.o \
26                 test.cs.o test.ss.o test.xdr.o \
27                 $(MODULE_LIBS)
28
29 keys-t: keys-t.o ../common/config.o
30         $(AFS_LDRULE) keys-t.o ../common/config.o $(MODULE_LIBS)
31
32 writekeyfile: writekeyfile.o
33         $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
34
35 test.cs.c: test.xg
36         $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
37
38 test.ss.c: test.xg
39         $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
40
41 test.xdr.c: test.xg
42         $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
43
44 test.h: test.xg
45         $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
46
47 superuser-t.o: test.h
48
49 clean:
50         rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
51                 writekeyfile $(TESTS)