cmd: Convert to using libtool
[openafs.git] / tests / cmd / Makefile.in
index a0c82f9..570f868 100644 (file)
@@ -5,12 +5,12 @@ abs_top_builddir=@abs_top_builddir@
 include @TOP_OBJDIR@/src/config/Makefile.config
 include @TOP_OBJDIR@/src/config/Makefile.pthread
 
-MODULE_CFLAGS = -I$(srcdir)/..
+MODULE_CFLAGS = -I$(srcdir)/../..
 
 LIBS = ../tap/libtap.a \
-       $(abs_top_builddir)/lib/libcmd.a \
-       $(abs_top_builddir)/lib/libafscom_err.a \
-       $(abs_top_builddir)/lib/libopr.a \
+       $(abs_top_builddir)/src/cmd/liboafs_cmd.la \
+       $(abs_top_builddir)/src/comerr/liboafs_comerr.la \
+       $(abs_top_builddir)/src/opr/liboafs_opr.la \
        $(abs_top_builddir)/lib/util.a
 
 tests = command-t
@@ -18,9 +18,10 @@ tests = command-t
 all check test tests: $(tests)
 
 command-t: command-t.o $(LIBS)
-       $(AFS_LDRULE) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
+       $(LT_LDRULE_static) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
 
 install:
 
 clean distclean:
+       $(LT_CLEAN)
        $(RM) -f $(tests) *.o core