Update NEWS entries to reflect new version
[pkg-k5-afs_openafs.git] / tests / Makefile.in
blob23f1fa096a4cba2c513992619812ed660110c696
1 # Build rules for the OpenAFS test suite.
3 srcdir=@srcdir@/../src/external/c-tap-harness/tests
4 abs_top_srcdir=@abs_top_srcdir@
5 abs_top_builddir=@abs_top_builddir@
6 include @TOP_OBJDIR@/src/config/Makefile.config
7 include @TOP_OBJDIR@/src/config/Makefile.pthread
9 MODULE_CFLAGS = -DSOURCE='"$(abs_top_srcdir)/tests"' \
10 -DBUILD='"$(abs_top_builddir)/tests"'
12 SUBDIRS = tap common auth util cmd volser opr rx
14 all: runtests
15 @for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
17 runtests: runtests.o
18 $(AFS_LDRULE) runtests.o
20 runtests.o: $(srcdir)/runtests.c
21 $(AFS_CCRULE) $(srcdir)/runtests.c
23 check test tests: runtests
24 @for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
25 MAKECHECK=1 ./libwrap @TOP_OBJDIR@/lib \
26 ./runtests $(abs_top_srcdir)/tests/TESTS
28 install:
30 clean distclean:
31 @for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
32 $(RM) -f *.o core runtests