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

tests = jhash-t queues-t rbtree-t

all check test tests: $(tests)

queues-t: queues-t.o
	$(AFS_LDRULE) queues-t.o ../tap/libtap.a $(XLIBS)

rbtree-t: rbtree-t.o $(LIBS)
	$(AFS_LDRULE) rbtree-t.o ../tap/libtap.a $(LIBS) $(XLIBS)

jhash-t: jhash-t.o
	$(AFS_LDRULE) jhash-t.o ../tap/libtap.a $(XLIBS)

clean distclean:
	$(RM) -f $(tests) *.o core
