comerr: Convert to using libtool
[openafs.git] / tests / cmd / Makefile.in
index 41b550f..e8e5b86 100644 (file)
@@ -9,8 +9,8 @@ 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/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