Build util tests properly with make check
[openafs.git] / tests / util / Makefile.in
1 # Build rules for the OpenAFS util test suite.
2
3 srcdir=@srcdir@
4 abs_top_srcdir=@abs_top_srcdir@
5 include @TOP_OBJDIR@/src/config/Makefile.config
6
7 CFLAGS += -I$(srcdir)/..
8
9 tests = ktime-t
10
11 all check test tests: $(tests)
12
13 ktime-t: ktime-t.o
14         $(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \
15             $(abs_top_srcdir)/lib/util.a $(XLIBS)
16
17 install:
18
19 clean distclean:
20         $(RM) -f $(tests) *.o core