diff options
author | Sanjay Ghemawat <sanjay@google.com> | 2012-12-27 10:38:48 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-01-23 14:00:29 -0500 |
commit | f79ddf24a967a0043270b2999921550c6c366ec4 (patch) | |
tree | 2f4819b34a46cd15ef6b985a0d367d0b0cf3f77f /src/leveldb/Makefile | |
parent | b1024662eafddd5560fbfbac29333e5e967ca0f8 (diff) |
added utility to dump leveldb files
Diffstat (limited to 'src/leveldb/Makefile')
-rw-r--r-- | src/leveldb/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leveldb/Makefile b/src/leveldb/Makefile index fdc66f9a2b..fef085b9c4 100644 --- a/src/leveldb/Makefile +++ b/src/leveldb/Makefile @@ -50,7 +50,7 @@ TESTS = \ version_set_test \ write_batch_test -PROGRAMS = db_bench $(TESTS) +PROGRAMS = db_bench leveldbutil $(TESTS) BENCHMARKS = db_bench_sqlite3 db_bench_tree_db LIBRARY = libleveldb.a @@ -69,7 +69,7 @@ SHARED = $(SHARED1) else # Update db.h if you change these. SHARED_MAJOR = 1 -SHARED_MINOR = 7 +SHARED_MINOR = 8 SHARED1 = libleveldb.$(PLATFORM_SHARED_EXT) SHARED2 = $(SHARED1).$(SHARED_MAJOR) SHARED3 = $(SHARED1).$(SHARED_MAJOR).$(SHARED_MINOR) @@ -107,6 +107,9 @@ db_bench_sqlite3: doc/bench/db_bench_sqlite3.o $(LIBOBJECTS) $(TESTUTIL) db_bench_tree_db: doc/bench/db_bench_tree_db.o $(LIBOBJECTS) $(TESTUTIL) $(CXX) $(LDFLAGS) doc/bench/db_bench_tree_db.o $(LIBOBJECTS) $(TESTUTIL) -o $@ -lkyotocabinet $(LIBS) +leveldbutil: db/leveldb_main.o $(LIBOBJECTS) + $(CXX) $(LDFLAGS) db/leveldb_main.o $(LIBOBJECTS) -o $@ $(LIBS) + arena_test: util/arena_test.o $(LIBOBJECTS) $(TESTHARNESS) $(CXX) $(LDFLAGS) util/arena_test.o $(LIBOBJECTS) $(TESTHARNESS) -o $@ $(LIBS) |