76057f6b56bc14da588e5b2d3ced6482f64839ea
[openafs.git] / tests / Makefile.in
1 # Build rules for the OpenAFS test suite.
2
3 srcdir=@srcdir@
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
8
9 MODULE_CFLAGS = -DSOURCE='"$(abs_top_srcdir)/tests"' \
10         -DBUILD='"$(abs_top_builddir)/tests"'
11
12 all: runtests
13         cd tap && $(MAKE) $@
14         cd auth && $(MAKE) $@
15         cd util && $(MAKE) $@
16
17 runtests: runtests.o
18         $(AFS_LDRULE) runtests.o
19
20 check test tests: runtests
21         cd tap && $(MAKE) $@
22         cd auth && $(MAKE) $@
23         cd util && $(MAKE) $@
24         ./runtests $(abs_top_srcdir)/tests/TESTS
25
26 install:
27
28 clean distclean:
29         cd tap && $(MAKE) $@
30         cd auth && $(MAKE) $@
31         cd util && $(MAKE) $@
32         $(RM) -f *.o core runtests