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
15 @for A in
$(SUBDIRS
); do cd
$$A && $(MAKE
) $@
&& cd .. || exit
1; done
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
31 @for A in
$(SUBDIRS
); do cd
$$A && $(MAKE
) $@
&& cd .. || exit
1; done
32 $(RM
) -f
*.o core runtests