tests: Add opr library for ktime test
[openafs.git] / tests / util / Makefile.in
index 89ea518..f99a959 100644 (file)
@@ -7,17 +7,19 @@ include @TOP_OBJDIR@/src/config/Makefile.lwp
 
 MODULE_CFLAGS = -I$(srcdir)/..
 
+LIBS = ../tap/libtap.a \
+       $(abs_top_builddir)/lib/util.a \
+       $(abs_top_builddir)/lib/libopr.a
+
 tests = ktime-t exec-alt-t
 
 all check test tests: $(tests)
 
-ktime-t: ktime-t.o
-       $(AFS_LDRULE) ktime-t.o ../tap/libtap.a \
-               $(abs_top_builddir)/lib/util.a $(XLIBS)
+ktime-t: ktime-t.o $(LIBS)
+       $(AFS_LDRULE) ktime-t.o $(LIBS) $(XLIBS)
 
-exec-alt-t: exec-alt-t.o
-       $(AFS_LDRULE) exec-alt-t.o ../tap/libtap.a \
-           $(abs_top_builddir)/lib/util.a $(XLIBS)
+exec-alt-t: exec-alt-t.o $(LIBS)
+       $(AFS_LDRULE) exec-alt-t.o $(LIBS) $(XLIBS)
 
 install: