Pull in patch that properly includes stdint.h
[pkg-k5-afs_openafs.git] / tests / Makefile.in
blobd2d0bbfbc8d46c4e37f28017b0afdbe8bc7795db
1 # Build rules for the OpenAFS test suite.
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
8 RUNTESTS_CPPFLAGS = -DSOURCE='"$(abs_top_srcdir)/tests"' \
9 -DBUILD='"$(abs_top_builddir)/tests"'
11 all: runtests
12 cd tap && $(MAKE) $@
13 cd util && $(MAKE) $@
15 runtests.o: $(srcdir)/runtests.c
16 $(CCOBJ) $(CFLAGS) $(RUNTESTS_CPPFLAGS) -c $(srcdir)/runtests.c
18 runtests: runtests.o
19 $(CC) $(LDFLAGS) -o runtests runtests.o
21 check test tests: runtests
22 cd tap && $(MAKE) $@
23 cd util && $(MAKE) $@
24 ./runtests $(abs_top_srcdir)/tests/TESTS
26 install:
28 clean distclean:
29 cd tap && $(MAKE) $@
30 cd util && $(MAKE) $@
31 $(RM) -f *.o core runtests