@ -1,11 +1,6 @@
@@ -1,11 +1,6 @@
AM_CPPFLAGS = $( INCLUDES) \
-I$( builddir) /obj \
$( BDB_CPPFLAGS) \
$( BOOST_CPPFLAGS) $( BOOST_INCLUDES)
AM_CPPFLAGS += $( LEVELDB_CPPFLAGS)
AM_CPPFLAGS = $( INCLUDES)
AM_LDFLAGS = $( PTHREAD_CFLAGS)
AM_CPPFLAGS += -I$( builddir)
i f E M B E D D E D _ L E V E L D B
LEVELDB_CPPFLAGS += -I$( srcdir) /leveldb/include
@ -22,11 +17,14 @@ $(LIBLEVELDB) $(LIBMEMENV):
@@ -22,11 +17,14 @@ $(LIBLEVELDB) $(LIBMEMENV):
OPT = " $( CXXFLAGS) $( CPPFLAGS) "
e n d i f
BITCOIN_INCLUDES = -I$( builddir) -I$( builddir) /obj $( BOOST_CPPFLAGS) $( LEVELDB_CPPFLAGS)
noinst_LIBRARIES = \
libbitcoin_server.a \
libbitcoin_common.a \
libbitcoin_cli.a
i f E N A B L E _ W A L L E T
BITCOIN_INCLUDES += $( BDB_CPPFLAGS)
noinst_LIBRARIES += libbitcoin_wallet.a
e n d i f
@ -106,6 +104,7 @@ obj/build.h: FORCE
@@ -106,6 +104,7 @@ obj/build.h: FORCE
$( abs_top_srcdir)
version.o : obj /build .h
libbitcoin_server_a_CPPFLAGS = $( BITCOIN_INCLUDES)
libbitcoin_server_a_SOURCES = \
addrman.cpp \
alert.cpp \
@ -130,6 +129,7 @@ libbitcoin_server_a_SOURCES = \
@@ -130,6 +129,7 @@ libbitcoin_server_a_SOURCES = \
$( JSON_H) \
$( BITCOIN_CORE_H)
libbitcoin_wallet_a_CPPFLAGS = $( BITCOIN_INCLUDES)
libbitcoin_wallet_a_SOURCES = \
db.cpp \
crypter.cpp \
@ -139,6 +139,7 @@ libbitcoin_wallet_a_SOURCES = \
@@ -139,6 +139,7 @@ libbitcoin_wallet_a_SOURCES = \
walletdb.cpp \
$( BITCOIN_CORE_H)
libbitcoin_common_a_CPPFLAGS = $( BITCOIN_INCLUDES)
libbitcoin_common_a_SOURCES = \
base58.cpp \
allocators.cpp \
@ -184,8 +185,8 @@ if TARGET_WINDOWS
@@ -184,8 +185,8 @@ if TARGET_WINDOWS
bitcoind_SOURCES += bitcoind-res.rc
e n d i f
AM_CPPFLAGS += $( BDB_CPPFLAGS)
bitcoind_LDADD += $( BOOST_LIBS) $( BDB_LIBS)
bitcoind_CPPFLAGS = $( BITCOIN_INCLUDES)
# bitcoin-cli binary #
bitcoin_cli_LDADD = \
@ -193,6 +194,7 @@ bitcoin_cli_LDADD = \
@@ -193,6 +194,7 @@ bitcoin_cli_LDADD = \
libbitcoin_common.a \
$( BOOST_LIBS)
bitcoin_cli_SOURCES = bitcoin-cli.cpp
bitcoin_cli_CPPFLAGS = $( BITCOIN_INCLUDES)
#
i f T A R G E T _ W I N D O W S