@ -15,13 +15,12 @@ LIBUNIVALUE = $(UNIVALUE_LIBS)
e n d i f
BITCOIN_CONFIG_INCLUDES = -I$( builddir) /config
BITCOIN_INCLUDES = -I$( builddir) -I$( builddir) /obj $( BOOST_CPPFLAGS) $( LEVELDB_CPPFLAGS) $( CRYPTO_CFLAGS) $( SSL_CFLAGS)
BITCOIN_INCLUDES = -I$( builddir) -I$( builddir) /obj $( BDB_CPPFLAGS) $( B OOST_CPPFLAGS) $( LEVELDB_CPPFLAGS) $( CRYPTO_CFLAGS) $( SSL_CFLAGS)
BITCOIN_INCLUDES += -I$( srcdir) /secp256k1/include
BITCOIN_INCLUDES += $( UNIVALUE_CFLAGS)
LIBBITCOIN_SERVER = libbitcoin_server.a
LIBBITCOIN_WALLET = libbitcoin_wallet.a
LIBBITCOIN_COMMON = libbitcoin_common.a
LIBBITCOIN_CONSENSUS = libbitcoin_consensus.a
LIBBITCOIN_CLI = libbitcoin_cli.a
@ -30,32 +29,32 @@ LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a
LIBBITCOINQT = qt/libbitcoinqt.a
LIBSECP256K1 = secp256k1/libsecp256k1.la
i f E N A B L E _ Z M Q
LIBBITCOIN_ZMQ = libbitcoin_zmq.a
e n d i f
i f B U I L D _ B I T C O I N _ L I B S
LIBBITCOINCONSENSUS = libbitcoinconsensus.la
e n d i f
i f E N A B L E _ W A L L E T
LIBBITCOIN_WALLET = libbitcoin_wallet.a
e n d i f
$(LIBSECP256K1) : $( wildcard secp 256k 1/src /*) $( wildcard secp 256k 1/include /*)
$( AM_V_at) $( MAKE) $( AM_MAKEFLAGS) -C $( @D) $( @F)
# Make is not made aware of per-object dependencies to avoid limiting building parallelization
# But to build the less dependent modules first, we manually select their order here:
EXTRA_LIBRARIES += \
crypto/libbitcoin_crypto.a \
libbitcoin_util.a \
libbitcoin_common.a \
libbitcoin_consensus.a \
libbitcoin_server.a \
libbitcoin_cli.a
i f E N A B L E _ W A L L E T
BITCOIN_INCLUDES += $( BDB_CPPFLAGS)
EXTRA_LIBRARIES += libbitcoin_wallet.a
e n d i f
i f E N A B L E _ Z M Q
EXTRA_LIBRARIES += libbitcoin_zmq.a
e n d i f
$( LIBBITCOIN_CRYPTO) \
$( LIBBITCOIN_UTIL) \
$( LIBBITCOIN_COMMON) \
$( LIBBITCOIN_CONSENSUS) \
$( LIBBITCOIN_SERVER) \
$( LIBBITCOIN_CLI) \
$( LIBBITCOIN_WALLET) \
$( LIBBITCOIN_ZMQ)
i f B U I L D _ B I T C O I N _ L I B S
lib_LTLIBRARIES = libbitcoinconsensus.la
LIBBITCOINCONSENSUS = libbitcoinconsensus.la
e l s e
LIBBITCOINCONSENSUS =
e n d i f
lib_LTLIBRARIES = $( LIBBITCOINCONSENSUS)
bin_PROGRAMS =
TESTS =
@ -196,8 +195,6 @@ libbitcoin_server_a_SOURCES = \
$( BITCOIN_CORE_H)
i f E N A B L E _ Z M Q
LIBBITCOIN_ZMQ = libbitcoin_zmq.a
libbitcoin_zmq_a_CPPFLAGS = $( BITCOIN_INCLUDES) $( ZMQ_CFLAGS)
libbitcoin_zmq_a_CXXFLAGS = $( AM_CXXFLAGS) $( PIE_FLAGS)
libbitcoin_zmq_a_SOURCES = \
@ -347,21 +344,15 @@ bitcoind_LDADD = \
$( LIBBITCOIN_COMMON) \
$( LIBUNIVALUE) \
$( LIBBITCOIN_UTIL) \
$( LIBBITCOIN_WALLET) \
$( LIBBITCOIN_ZMQ) \
$( LIBBITCOIN_CONSENSUS) \
$( LIBBITCOIN_CRYPTO) \
$( LIBLEVELDB) \
$( LIBMEMENV) \
$( LIBSECP256K1)
i f E N A B L E _ Z M Q
bitcoind_LDADD += $( LIBBITCOIN_ZMQ) $( ZMQ_LIBS)
e n d i f
i f E N A B L E _ W A L L E T
bitcoind_LDADD += libbitcoin_wallet.a
e n d i f
bitcoind_LDADD += $( BOOST_LIBS) $( BDB_LIBS) $( SSL_LIBS) $( CRYPTO_LIBS) $( MINIUPNPC_LIBS) $( EVENT_PTHREADS_LIBS) $( EVENT_LIBS)
bitcoind_LDADD += $( BOOST_LIBS) $( BDB_LIBS) $( SSL_LIBS) $( CRYPTO_LIBS) $( MINIUPNPC_LIBS) $( EVENT_PTHREADS_LIBS) $( EVENT_LIBS) $( ZMQ_LIBS)
# bitcoin-cli binary #
bitcoin_cli_SOURCES = bitcoin-cli.cpp