Fix various build problems with the test suite
[openafs.git] / tests / cmd / Makefile.in
1 # Build rules for the OpenAFS cmd test suite.
2
3 srcdir=@srcdir@
4 abs_top_builddir=@abs_top_builddir@
5 include @TOP_OBJDIR@/src/config/Makefile.config
6 include @TOP_OBJDIR@/src/config/Makefile.pthread
7
8 MODULE_CFLAGS = -I$(srcdir)/..
9
10 LIBS = ../tap/libtap.a \
11        $(abs_top_builddir)/lib/libcmd.a \
12        $(abs_top_builddir)/lib/libafscom_err.a \
13        $(abs_top_builddir)/lib/util.a
14
15 tests = command-t
16
17 all check test tests: $(tests)
18
19 command-t: command-t.o $(LIBS)
20         $(AFS_LDRULE) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
21
22 install:
23
24 clean distclean:
25         $(RM) -f $(tests) *.o core