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