util: Convert to using libtool
[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)/src/cmd/liboafs_cmd.la \
12        $(abs_top_builddir)/src/comerr/liboafs_comerr.la \
13        $(abs_top_builddir)/src/opr/liboafs_opr.la \
14        $(abs_top_builddir)/src/opr/liboafs_opr.la
15
16 tests = command-t
17
18 all check test tests: $(tests)
19
20 command-t: command-t.o $(LIBS)
21         $(LT_LDRULE_static) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
22
23 install:
24
25 clean distclean:
26         $(LT_CLEAN)
27         $(RM) -f $(tests) *.o core