Commit ff22cce9 authored by Yoni Fogel's avatar Yoni Fogel

Working on getting new range tree library

git-svn-id: file:///svn/tokudb@2732 c7de825b-a66e-492c-adef-691d508d4ae1
parent ee3bbe55
...@@ -5,7 +5,7 @@ OPTFLAGS = -O2 ...@@ -5,7 +5,7 @@ OPTFLAGS = -O2
LIBNAME=libtokurange LIBNAME=libtokurange
EXPORTMAP = -Wl,--version-script=export.map EXPORTMAP = -Wl,--version-script=rangeexport.map
VISIBILITY = -fvisibility=hidden VISIBILITY = -fvisibility=hidden
ifneq ($(OSX),) ifneq ($(OSX),)
......
{
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: *;
};
{
global:
db_create;
db_env_create;
db_strerror;
db_version;
log_compare;
db_env_set_func_fsync;
toku_ydb_error_all_cases;
local: *;
};
...@@ -86,14 +86,14 @@ endif ...@@ -86,14 +86,14 @@ endif
$(MAYBEATSIGN) $(VGRIND) ./$< $(VERBVERBOSE) $(MAYBEATSIGN) $(VGRIND) ./$< $(VERBVERBOSE)
LINEAR_BINS = ../linear.o LINEAR_BINS = ../linear.o
TLOG_BINS = ../log_nooverlap.o ../tokuredblack.o TLOG_BINS = ../log_nooverlap.o
LOG_BINS = ../log.o LOG_BINS = ../log.o
HEADERS=../rangetree.h ../rangetree-internal.h test.h HEADERS=../rangetree.h ../rangetree-internal.h test.h
%.lin: %.c $(HEADERS) $(LINEAR_BINS) %.lin: %.c $(HEADERS) $(LINEAR_BINS)
cc -DDIR=\"dir.$<.lin\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINEAR_BINS) cc -DDIR=\"dir.$<.lin\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINEAR_BINS)
%.tlog: %.c $(HEADERS) $(TLOG_BINS) %.tlog: %.c $(HEADERS) $(TLOG_BINS) ../libtokurange.so
cc -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS cc -L../ -ltokurange -Wl,-rpath,.. -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS
%.log: %.c $(HEADERS) $(LOG_BINS) %.log: %.c $(HEADERS) $(LOG_BINS)
cc -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LOG_BINS) cc -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LOG_BINS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment