aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.linux-mingw
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-09-03 21:14:03 +0200
committerPieter Wuille <[email protected]>2012-10-20 23:08:57 +0200
commit2d8a48292b0da96cda8d7b45a24a22adfb4667b2 (patch)
tree351935f27dcd037d68d514c3a79ff5d2d24da367 /src/makefile.linux-mingw
parentFlush and sync block data (diff)
downloaddiscoin-2d8a48292b0da96cda8d7b45a24a22adfb4667b2.tar.xz
discoin-2d8a48292b0da96cda8d7b45a24a22adfb4667b2.zip
LevelDB block and coin databases
Split off CBlockTreeDB and CCoinsViewDB into txdb-*.{cpp,h} files, implemented by either LevelDB or BDB. Based on code from earlier commits by Mike Hearn in his leveldb branch.
Diffstat (limited to 'src/makefile.linux-mingw')
-rw-r--r--src/makefile.linux-mingw4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index 9bad54cb6..eee325d62 100644
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -91,10 +91,12 @@ ifdef USE_LEVELDB
LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
DEFS += -I"$(CURDIR)/leveldb/include" -DUSE_LEVELDB
DEFS += -I"$(CURDIR)/leveldb/helpers"
-OBJS += obj/leveldb.o
+OBJS += obj/leveldb.o obj/txdb-leveldb.o
leveldb/libleveldb.a:
@echo "Building LevelDB ..."; cd leveldb; TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$(INCLUDEPATHS)" LDFLAGS="-L$(LIBPATHS)" make libleveldb.a libmemenv.a; cd ..
obj/leveldb.o: leveldb/libleveldb.a
+else
+OBJS += obj/txdb-bdb.o
endif
obj/build.h: FORCE