openafs/tests/opr/Makefile.in
Simon Wilkinson 5574ff814f opr: Add a red/black tree implementation
Add an implementation of red/black trees to our runtime library.

This is originally derived from the FreeBSD macro-based rbtree
implementation, but is heavily reworked to not use macros, to improve
legibility, and to favour speed over structure compactness.

A test suite is provided in tests/opr/

Change-Id: I123209d3f89b5f8c1b85d1e5cd7d1d650ccc68ed
Reviewed-on: http://gerrit.openafs.org/5838
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
2011-11-12 06:48:17 -08:00

22 lines
499 B
Makefile

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 = 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)
clean distclean:
$(RM) -f $(tests) *.o core