3 abs_top_builddir=@abs_top_builddir@
4 include @TOP_OBJDIR@/src/config/Makefile.config
5 include @TOP_OBJDIR@/src/config/Makefile.pthread
7 TESTS = authcon-t superuser-t keys-t realms-t
9 MODULE_CFLAGS=-I$(srcdir)/../.. -I$(srcdir)/../common/
11 all check test tests: $(TESTS)
13 MODULE_LIBS = ../tap/libtap.a \
14 $(abs_top_builddir)/src/auth/liboafs_auth.la \
15 $(LIB_rfc3961) $(LIB_roken) \
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 \
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 $(LT_LDRULE_static) superuser-t.o ../common/config.o \
25 ../common/rxkad.o ../common/servers.o \
26 test.cs.o test.ss.o test.xdr.o ../common/network.o \
29 keys-t: keys-t.o ../common/config.o ../common/network.o
30 $(LT_LDRULE_static) keys-t.o ../common/config.o ../common/network.o $(MODULE_LIBS)
32 realms-t: realms-t.o ../common/config.o ../common/network.o
33 $(LT_LDRULE_static) realms-t.o ../common/config.o ../common/network.o $(MODULE_LIBS)
35 writekeyfile: writekeyfile.o
36 $(LT_LDRULE_static) writekeyfile.o $(MODULE_LIBS)
39 $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
42 $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
45 $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
48 $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
54 rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \