tests: Convert opr tests to use libtool
[openafs.git] / tests / opr / Makefile.in
1 srcdir=@srcdir@
2 abs_top_builddir=@abs_top_builddir@
3 include @TOP_OBJDIR@/src/config/Makefile.config
4 include @TOP_OBJDIR@/src/config/Makefile.pthread
5
6 MODULE_CFLAGS = -I$(srcdir)/../..
7
8 LIBS=../tap/libtap.a $(abs_top_builddir)/src/opr/liboafs_opr.la
9
10 tests = jhash-t queues-t rbtree-t time-t uuid-t
11
12 all check test tests: $(tests)
13
14 queues-t: queues-t.o
15         $(LT_LDRULE_static) queues-t.o ../tap/libtap.a $(XLIBS)
16
17 rbtree-t: rbtree-t.o $(LIBS)
18         $(LT_LDRULE_static) rbtree-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
19
20 jhash-t: jhash-t.o
21         $(LT_LDRULE_static) jhash-t.o ../tap/libtap.a $(XLIBS)
22
23 time-t: time-t.o
24         $(LT_LDRULE_static) time-t.o ../tap/libtap.a $(XLIBS)
25
26 uuid-t: uuid-t.o
27         $(LT_LDRULE_static) uuid-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
28
29 clean distclean:
30         $(RM) -f $(tests) *.o core