2011-10-22 09:43:41 +01:00
|
|
|
srcdir=@srcdir@
|
|
|
|
abs_top_builddir=@abs_top_builddir@
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.lwp
|
|
|
|
|
|
|
|
MODULE_CFLAGS = -I$(srcdir)/..
|
|
|
|
|
|
|
|
LIBS=../tap/libtap.a $(abs_top_builddir)/lib/libopr.a
|
|
|
|
|
2011-11-20 23:40:51 +00:00
|
|
|
tests = jhash-t queues-t rbtree-t
|
2011-10-22 09:43:41 +01:00
|
|
|
|
|
|
|
all check test tests: $(tests)
|
|
|
|
|
|
|
|
queues-t: queues-t.o
|
|
|
|
$(AFS_LDRULE) queues-t.o ../tap/libtap.a $(XLIBS)
|
|
|
|
|
2011-10-22 11:22:51 +01:00
|
|
|
rbtree-t: rbtree-t.o $(LIBS)
|
|
|
|
$(AFS_LDRULE) rbtree-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
|
|
|
|
|
2011-11-20 23:40:51 +00:00
|
|
|
jhash-t: jhash-t.o
|
|
|
|
$(AFS_LDRULE) jhash-t.o ../tap/libtap.a $(XLIBS)
|
|
|
|
|
2011-10-22 09:43:41 +01:00
|
|
|
clean distclean:
|
|
|
|
$(RM) -f $(tests) *.o core
|