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
9 MODULE_CFLAGS=-I$(srcdir)/.. -I$(srcdir)/../common/
11 all check test tests: $(TESTS)
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\
21 authcon-t: authcon-t.o ../common/config.o
22 $(AFS_LDRULE) authcon-t.o ../common/config.o \
25 superuser-t: superuser-t.o ../common/config.o test.cs.o test.ss.o test.xdr.o
26 $(AFS_LDRULE) superuser-t.o ../common/config.o \
27 test.cs.o test.ss.o test.xdr.o \
30 keys-t: keys-t.o ../common/config.o
31 $(AFS_LDRULE) keys-t.o ../common/config.o $(MODULE_LIBS)
33 writekeyfile: writekeyfile.o
34 $(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
37 $(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
40 $(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
43 $(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
46 $(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
51 rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \