openafs/tests/auth/Makefile.in
Simon Wilkinson 7a0bbff4a6 afsconf: Rework security flags
BuildServerSecurityObjects takes a set of flags, which makes it
hard to use it as a callback function. Rework this so that the
security flags are part of the afsconf directory structure, and
so BuildServerSecurityObjects only takes a rock, and its return
parameters.

Update all of the callers for this new function, and add tests
for it to the test suite.

Change-Id: I48219ed199d128c6aec3765ca425bda9e464b937
Reviewed-on: http://gerrit.openafs.org/4201
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2011-03-13 07:34:28 -07:00

53 lines
1.2 KiB
Makefile

srcdir=@srcdir@
abs_top_builddir=@abs_top_builddir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
TESTS = authcon-t superuser-t keys-t
MODULE_CFLAGS=-I$(srcdir)/..
all check test tests: $(TESTS)
MODULE_LIBS = ../tap/libtap.a \
$(abs_top_builddir)/lib/libafsauthent.a \
$(abs_top_builddir)/lib/librxgk.a \
$(abs_top_builddir)/lib/libafsrpc.a \
$(abs_top_builddir)/lib/libafshcrypto.a \
$(LIB_rfc3961) $(LIB_roken) -lafsutil\
$(XLIBS)
authcon-t: authcon-t.o common.o
$(AFS_LDRULE) authcon-t.o common.o \
$(MODULE_LIBS)
superuser-t: superuser-t.o common.o test.cs.o test.ss.o test.xdr.o
$(AFS_LDRULE) superuser-t.o common.o \
test.cs.o test.ss.o test.xdr.o \
$(MODULE_LIBS)
keys-t: keys-t.o common.o
$(AFS_LDRULE) keys-t.o common.o $(MODULE_LIBS)
writekeyfile: writekeyfile.o
$(AFS_LDRULE) writekeyfile.o $(MODULE_LIBS)
test.cs.c: test.xg
$(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
test.ss.c: test.xg
$(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
test.xdr.c: test.xg
$(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
test.h: test.xg
$(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
superuser-t.o: test.h common.h
clean:
rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
writekeyfile $(TESTS)