@ -75,7 +75,7 @@ TOOLS = \
PROGRAMS = db_bench signal_test $( TESTS) $( TOOLS)
PROGRAMS = db_bench signal_test $( TESTS) $( TOOLS)
BENCHMARKS = db_bench_sqlite3 db_bench_tree_db
BENCHMARKS = db_bench_sqlite3 db_bench_tree_db
LIBRARY = liblevel db.a
LIBRARY = librocks db.a
MEMENVLIBRARY = libmemenv.a
MEMENVLIBRARY = libmemenv.a
default : all
default : all
@ -84,7 +84,7 @@ default: all
i f n e q ( $( PLATFORM_SHARED_EXT ) , )
i f n e q ( $( PLATFORM_SHARED_EXT ) , )
i f n e q ( $( PLATFORM_SHARED_VERSIONED ) , t r u e )
i f n e q ( $( PLATFORM_SHARED_VERSIONED ) , t r u e )
SHARED1 = liblevel db.$( PLATFORM_SHARED_EXT)
SHARED1 = librocks db.$( PLATFORM_SHARED_EXT)
SHARED2 = $( SHARED1)
SHARED2 = $( SHARED1)
SHARED3 = $( SHARED1)
SHARED3 = $( SHARED1)
SHARED = $( SHARED1)
SHARED = $( SHARED1)
@ -92,7 +92,7 @@ else
# Update db.h if you change these.
# Update db.h if you change these.
SHARED_MAJOR = 2
SHARED_MAJOR = 2
SHARED_MINOR = 0
SHARED_MINOR = 0
SHARED1 = liblevel db.$( PLATFORM_SHARED_EXT)
SHARED1 = librocks db.$( PLATFORM_SHARED_EXT)
SHARED2 = $( SHARED1) .$( SHARED_MAJOR)
SHARED2 = $( SHARED1) .$( SHARED_MAJOR)
SHARED3 = $( SHARED1) .$( SHARED_MAJOR) .$( SHARED_MINOR)
SHARED3 = $( SHARED1) .$( SHARED_MAJOR) .$( SHARED_MINOR)
SHARED = $( SHARED1) $( SHARED2) $( SHARED3)
SHARED = $( SHARED1) $( SHARED2) $( SHARED3)
@ -253,7 +253,7 @@ memenv_test : helpers/memenv/memenv_test.o $(MEMENVLIBRARY) $(LIBRARY) $(TESTHAR
manual_compaction_test : util /manual_compaction_test .o $( LIBOBJECTS ) $( TESTHARNESS )
manual_compaction_test : util /manual_compaction_test .o $( LIBOBJECTS ) $( TESTHARNESS )
$( CXX) util/manual_compaction_test.o $( LIBOBJECTS) $( TESTHARNESS) $( EXEC_LDFLAGS) -o $@ $( LDFLAGS)
$( CXX) util/manual_compaction_test.o $( LIBOBJECTS) $( TESTHARNESS) $( EXEC_LDFLAGS) -o $@ $( LDFLAGS)
level db_shell: tools /shell /ShellContext .o tools /shell /ShellState .o tools /shell /LeveldbShell .o tools /shell /DBClientProxy .o tools /shell /ShellContext .h tools /shell /ShellState .h tools /shell /DBClientProxy .h $( LIBOBJECTS )
rocks db_shell: tools /shell /ShellContext .o tools /shell /ShellState .o tools /shell /LeveldbShell .o tools /shell /DBClientProxy .o tools /shell /ShellContext .h tools /shell /ShellState .h tools /shell /DBClientProxy .h $( LIBOBJECTS )
$( CXX) tools/shell/ShellContext.o tools/shell/ShellState.o tools/shell/LeveldbShell.o tools/shell/DBClientProxy.o $( LIBOBJECTS) $( EXEC_LDFLAGS) -o $@ $( LDFLAGS)
$( CXX) tools/shell/ShellContext.o tools/shell/ShellState.o tools/shell/LeveldbShell.o tools/shell/DBClientProxy.o $( LIBOBJECTS) $( EXEC_LDFLAGS) -o $@ $( LDFLAGS)
DBClientProxy_test : tools /shell /test /DBClientProxyTest .o tools /shell /DBClientProxy .o $( LIBRARY )
DBClientProxy_test : tools /shell /test /DBClientProxyTest .o tools /shell /DBClientProxy .o $( LIBRARY )