tests: Fix most tests for objdir builds
[openafs.git] / tests / opr / Makefile.in
index 30a4d95..d9a37f6 100644 (file)
@@ -3,17 +3,20 @@ 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$(TOP_OBJDIR)
 
 LIBS=../tap/libtap.a $(abs_top_builddir)/src/opr/liboafs_opr.la
 
-tests = dict-t jhash-t queues-t rbtree-t time-t uuid-t
+tests = dict-t fmt-t jhash-t queues-t rbtree-t softsig-helper time-t uuid-t
 
 all check test tests: $(tests)
 
 dict-t: dict-t.o
        $(LT_LDRULE_static) dict-t.o $(LIBS) $(XLIBS)
 
+fmt-t: fmt-t.o
+       $(LT_LDRULE_static) fmt-t.o $(LIBS) $(XLIBS)
+
 queues-t: queues-t.o
        $(LT_LDRULE_static) queues-t.o ../tap/libtap.a $(XLIBS)
 
@@ -29,5 +32,9 @@ time-t: time-t.o
 uuid-t: uuid-t.o
        $(LT_LDRULE_static) uuid-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
 
+softsig-helper: softsig-helper.o $(LIBS)
+       $(LT_LDRULE_static) softsig-helper.o $(LIBS) $(XLIBS)
+
 clean distclean:
+       $(LT_CLEAN)
        $(RM) -f $(tests) *.o core