mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
5815a04cf1
Move the token faking code out of superuser-t.c into its own file in tests/common, so it can be used by other tests. Change-Id: I7b420250ef974b4b80a8dde692d2666657bb82ca Reviewed-on: http://gerrit.openafs.org/7259 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
57 lines
1.4 KiB
Makefile
57 lines
1.4 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 realms-t
|
|
|
|
MODULE_CFLAGS=-I$(srcdir)/.. -I$(srcdir)/../common/
|
|
|
|
all check test tests: $(TESTS)
|
|
|
|
MODULE_LIBS = ../tap/libtap.a \
|
|
$(abs_top_builddir)/lib/libafsauthent.a \
|
|
$(abs_top_builddir)/lib/libafsrpc.a \
|
|
$(abs_top_builddir)/lib/libafshcrypto.a \
|
|
$(abs_top_builddir)/lib/libopr.a \
|
|
$(LIB_rfc3961) $(LIB_roken) -lafsutil\
|
|
$(XLIBS)
|
|
|
|
authcon-t: authcon-t.o ../common/config.o
|
|
$(AFS_LDRULE) authcon-t.o ../common/config.o \
|
|
$(MODULE_LIBS)
|
|
|
|
superuser-t: superuser-t.o ../common/config.o ../common/rxkad.o \
|
|
test.cs.o test.ss.o test.xdr.o
|
|
$(AFS_LDRULE) superuser-t.o ../common/config.o ../common/rxkad.o \
|
|
test.cs.o test.ss.o test.xdr.o \
|
|
$(MODULE_LIBS)
|
|
|
|
keys-t: keys-t.o ../common/config.o
|
|
$(AFS_LDRULE) keys-t.o ../common/config.o $(MODULE_LIBS)
|
|
|
|
realms-t: realms-t.o ../common/config.o
|
|
$(AFS_LDRULE) realms-t.o ../common/config.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
|
|
|
|
clean:
|
|
rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
|
|
writekeyfile $(TESTS)
|