afs: Assert avc->lock is held in afs_IAS_once
[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 writekeyfile
8
9 MODULE_CFLAGS=-I$(TOP_OBJDIR) -I$(srcdir)/../common/
10
11 all check test tests: $(TESTS)
12
13 MODULE_LIBS =   ../tap/libtap.a \
14                 $(abs_top_builddir)/src/auth/liboafs_auth.la \
15                 $(LIB_rfc3961) $(LIB_roken) \
16                 $(XLIBS)
17
18 authcon-t: authcon-t.o ../common/config.o ../common/network.o
19         $(LT_LDRULE_static) authcon-t.o ../common/config.o ../common/network.o \
20                 $(MODULE_LIBS)
21
22 superuser-t: superuser-t.o ../common/config.o ../common/rxkad.o \
23              test.cs.o test.ss.o test.xdr.o ../common/network.o \
24              ../common/misc.o
25         $(LT_LDRULE_static) superuser-t.o ../common/config.o \
26                 ../common/rxkad.o ../common/servers.o \
27                 test.cs.o test.ss.o test.xdr.o ../common/network.o \
28                 ../common/misc.o $(MODULE_LIBS)
29
30 keys-t: keys-t.o ../common/config.o ../common/network.o
31         $(LT_LDRULE_static) keys-t.o ../common/config.o ../common/network.o $(MODULE_LIBS)
32
33 realms-t: realms-t.o ../common/config.o ../common/network.o
34         $(LT_LDRULE_static) realms-t.o ../common/config.o ../common/network.o $(MODULE_LIBS)
35
36 writekeyfile: writekeyfile.o ../common/config.o
37         $(LT_LDRULE_static) writekeyfile.o ../common/config.o $(MODULE_LIBS)
38
39 test.cs.c: test.xg
40         $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
41
42 test.ss.c: test.xg
43         $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
44
45 test.xdr.c: test.xg
46         $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
47
48 test.h: test.xg
49         $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
50
51 superuser-t.o: test.h
52
53 clean:
54         $(LT_CLEAN)
55         rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
56                 $(TESTS)