Working on getting new range tree library

git-svn-id: file:///svn/tokudb@2732 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2008-03-11 16:09:03 +00:00
parent 9a958751ba
commit ca5e5b0b40
4 changed files with 17 additions and 18 deletions

View file

@ -5,7 +5,7 @@ OPTFLAGS = -O2
LIBNAME=libtokurange
EXPORTMAP = -Wl,--version-script=export.map
EXPORTMAP = -Wl,--version-script=rangeexport.map
VISIBILITY = -fvisibility=hidden
ifneq ($(OSX),)

View file

@ -0,0 +1,13 @@
{
global:
toku_rbt_init;
toku_rbt_destroy;
toku_rbt_lookup;
toku_rbt_finger_successor;
toku_rbt_finger_insert;
toku_rbt_finger_delete;
toku_rbt_finger_predecessor;
local: *;
};

View file

@ -1,14 +0,0 @@
{
global:
db_create;
db_env_create;
db_strerror;
db_version;
log_compare;
db_env_set_func_fsync;
toku_ydb_error_all_cases;
local: *;
};

View file

@ -86,14 +86,14 @@ endif
$(MAYBEATSIGN) $(VGRIND) ./$< $(VERBVERBOSE)
LINEAR_BINS = ../linear.o
TLOG_BINS = ../log_nooverlap.o ../tokuredblack.o
TLOG_BINS = ../log_nooverlap.o
LOG_BINS = ../log.o
HEADERS=../rangetree.h ../rangetree-internal.h test.h
%.lin: %.c $(HEADERS) $(LINEAR_BINS)
cc -DDIR=\"dir.$<.lin\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINEAR_BINS)
%.tlog: %.c $(HEADERS) $(TLOG_BINS)
cc -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS
%.tlog: %.c $(HEADERS) $(TLOG_BINS) ../libtokurange.so
cc -L../ -ltokurange -Wl,-rpath,.. -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS
%.log: %.c $(HEADERS) $(LOG_BINS)
cc -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LOG_BINS)