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