aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.unix
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-10-16 22:23:39 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-10-20 23:08:57 +0200
commit4ca60bba5c3b8394c252715c71e8758d63c316ee (patch)
tree7c0df7313bf492b67bd629a01d28074f22af4104 /src/makefile.unix
parentbeeb57610cf57c1d802be993ac0e98211bfc5f0c (diff)
Remove BDB block database support
Diffstat (limited to 'src/makefile.unix')
-rw-r--r--src/makefile.unix12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index 95234bae2a..df05f7990a 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -4,7 +4,6 @@
USE_UPNP:=0
USE_IPV6:=1
-USE_LEVELDB:=1
LINK:=$(CXX)
@@ -128,7 +127,9 @@ OBJS= \
obj/util.o \
obj/wallet.o \
obj/walletdb.o \
- obj/noui.o
+ obj/noui.o \
+ obj/leveldb.o \
+ obj/txdb.o
all: bitcoind
@@ -139,17 +140,12 @@ test check: test_bitcoin FORCE
#
# LevelDB support
#
-ifdef USE_LEVELDB
LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
-DEFS += $(addprefix -I,$(CURDIR)/leveldb/include) -DUSE_LEVELDB
+DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
-OBJS += obj/leveldb.o obj/txdb-leveldb.o
leveldb/libleveldb.a:
@echo "Building LevelDB ..."; cd leveldb; make libleveldb.a libmemenv.a; cd ..;
obj/leveldb.o: leveldb/libleveldb.a
-else
-OBJS += obj/txdb-bdb.o
-endif
# auto-generated dependencies:
-include obj/*.P