tests: Introduce libafstest_common
[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$(TOP_OBJDIR)
7
8 LIBS=   $(abs_top_builddir)/tests/common/libafstest_common.la \
9         $(abs_top_builddir)/src/opr/liboafs_opr.la
10
11 BINS = cache-t dict-t fmt-t jhash-t queues-t rbtree-t softsig-helper time-t \
12        uuid-t
13
14 all check test tests: $(BINS)
15
16 cache-t: cache-t.o $(LIBS)
17         $(LT_LDRULE_static) cache-t.o $(LIBS) $(XLIBS)
18
19 dict-t: dict-t.o $(LIBS)
20         $(LT_LDRULE_static) dict-t.o $(LIBS) $(XLIBS)
21
22 fmt-t: fmt-t.o
23         $(LT_LDRULE_static) fmt-t.o $(LIBS) $(XLIBS)
24
25 queues-t: queues-t.o $(LIBS)
26         $(LT_LDRULE_static) queues-t.o $(LIBS) $(XLIBS)
27
28 rbtree-t: rbtree-t.o $(LIBS)
29         $(LT_LDRULE_static) rbtree-t.o $(LIBS) $(XLIBS)
30
31 jhash-t: jhash-t.o
32         $(LT_LDRULE_static) jhash-t.o $(LIBS) $(XLIBS)
33
34 time-t: time-t.o
35         $(LT_LDRULE_static) time-t.o $(LIBS) $(XLIBS)
36
37 uuid-t: uuid-t.o
38         $(LT_LDRULE_static) uuid-t.o $(LIBS) $(XLIBS)
39
40 softsig-helper: softsig-helper.o $(LIBS)
41         $(LT_LDRULE_static) softsig-helper.o $(LIBS) $(XLIBS)
42
43 clean distclean:
44         $(LT_CLEAN)
45         $(RM) -f $(BINS) *.o core