|
|
|
@ -28,6 +28,7 @@ BITCOIN_INCLUDES += -I$(srcdir)/univalue/include
@@ -28,6 +28,7 @@ BITCOIN_INCLUDES += -I$(srcdir)/univalue/include
|
|
|
|
|
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 |
|
|
|
|
LIBBITCOIN_UTIL=libbitcoin_util.a |
|
|
|
|
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a |
|
|
|
@ -47,6 +48,7 @@ EXTRA_LIBRARIES = \
@@ -47,6 +48,7 @@ EXTRA_LIBRARIES = \
|
|
|
|
|
crypto/libbitcoin_crypto.a \
|
|
|
|
|
libbitcoin_util.a \
|
|
|
|
|
libbitcoin_common.a \
|
|
|
|
|
libbitcoin_consensus.a \
|
|
|
|
|
libbitcoin_server.a \
|
|
|
|
|
libbitcoin_cli.a |
|
|
|
|
if ENABLE_WALLET |
|
|
|
@ -59,9 +61,9 @@ endif
@@ -59,9 +61,9 @@ endif
|
|
|
|
|
|
|
|
|
|
if BUILD_BITCOIN_LIBS |
|
|
|
|
lib_LTLIBRARIES = libbitcoinconsensus.la |
|
|
|
|
LIBBITCOIN_CONSENSUS=libbitcoinconsensus.la |
|
|
|
|
LIBBITCOINCONSENSUS=libbitcoinconsensus.la |
|
|
|
|
else |
|
|
|
|
LIBBITCOIN_CONSENSUS= |
|
|
|
|
LIBBITCOINCONSENSUS= |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = |
|
|
|
@ -81,7 +83,6 @@ endif
@@ -81,7 +83,6 @@ endif
|
|
|
|
|
BITCOIN_CORE_H = \
|
|
|
|
|
addrman.h \
|
|
|
|
|
alert.h \
|
|
|
|
|
amount.h \
|
|
|
|
|
arith_uint256.h \
|
|
|
|
|
base58.h \
|
|
|
|
|
bloom.h \
|
|
|
|
@ -105,7 +106,6 @@ BITCOIN_CORE_H = \
@@ -105,7 +106,6 @@ BITCOIN_CORE_H = \
|
|
|
|
|
consensus/validation.h \
|
|
|
|
|
core_io.h \
|
|
|
|
|
core_memusage.h \
|
|
|
|
|
hash.h \
|
|
|
|
|
httprpc.h \
|
|
|
|
|
httpserver.h \
|
|
|
|
|
init.h \
|
|
|
|
@ -124,24 +124,17 @@ BITCOIN_CORE_H = \
@@ -124,24 +124,17 @@ BITCOIN_CORE_H = \
|
|
|
|
|
policy/fees.h \
|
|
|
|
|
policy/policy.h \
|
|
|
|
|
pow.h \
|
|
|
|
|
prevector.h \
|
|
|
|
|
primitives/block.h \
|
|
|
|
|
primitives/transaction.h \
|
|
|
|
|
protocol.h \
|
|
|
|
|
pubkey.h \
|
|
|
|
|
random.h \
|
|
|
|
|
reverselock.h \
|
|
|
|
|
rpcclient.h \
|
|
|
|
|
rpcprotocol.h \
|
|
|
|
|
rpcserver.h \
|
|
|
|
|
scheduler.h \
|
|
|
|
|
script/interpreter.h \
|
|
|
|
|
script/script.h \
|
|
|
|
|
script/script_error.h \
|
|
|
|
|
script/sigcache.h \
|
|
|
|
|
script/sign.h \
|
|
|
|
|
script/standard.h \
|
|
|
|
|
serialize.h \
|
|
|
|
|
streams.h \
|
|
|
|
|
support/allocators/secure.h \
|
|
|
|
|
support/allocators/zeroafterfree.h \
|
|
|
|
@ -150,19 +143,15 @@ BITCOIN_CORE_H = \
@@ -150,19 +143,15 @@ BITCOIN_CORE_H = \
|
|
|
|
|
sync.h \
|
|
|
|
|
threadsafety.h \
|
|
|
|
|
timedata.h \
|
|
|
|
|
tinyformat.h \
|
|
|
|
|
torcontrol.h \
|
|
|
|
|
txdb.h \
|
|
|
|
|
txmempool.h \
|
|
|
|
|
ui_interface.h \
|
|
|
|
|
uint256.h \
|
|
|
|
|
undo.h \
|
|
|
|
|
util.h \
|
|
|
|
|
utilmoneystr.h \
|
|
|
|
|
utilstrencodings.h \
|
|
|
|
|
utiltime.h \
|
|
|
|
|
validationinterface.h \
|
|
|
|
|
version.h \
|
|
|
|
|
wallet/crypter.h \
|
|
|
|
|
wallet/db.h \
|
|
|
|
|
wallet/wallet.h \
|
|
|
|
@ -260,6 +249,33 @@ crypto_libbitcoin_crypto_a_SOURCES = \
@@ -260,6 +249,33 @@ crypto_libbitcoin_crypto_a_SOURCES = \
|
|
|
|
|
crypto/sha512.cpp \
|
|
|
|
|
crypto/sha512.h |
|
|
|
|
|
|
|
|
|
# consensus: shared between all executables that validate any consensus rules.
|
|
|
|
|
libbitcoin_consensus_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) |
|
|
|
|
libbitcoin_consensus_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
|
libbitcoin_consensus_a_SOURCES = \
|
|
|
|
|
amount.h \
|
|
|
|
|
hash.cpp \
|
|
|
|
|
hash.h \
|
|
|
|
|
prevector.h \
|
|
|
|
|
primitives/transaction.cpp \
|
|
|
|
|
primitives/transaction.h \
|
|
|
|
|
pubkey.cpp \
|
|
|
|
|
pubkey.h \
|
|
|
|
|
script/bitcoinconsensus.cpp \
|
|
|
|
|
script/interpreter.cpp \
|
|
|
|
|
script/interpreter.h \
|
|
|
|
|
script/script.cpp \
|
|
|
|
|
script/script.h \
|
|
|
|
|
script/script_error.cpp \
|
|
|
|
|
script/script_error.h \
|
|
|
|
|
serialize.h \
|
|
|
|
|
tinyformat.h \
|
|
|
|
|
uint256.cpp \
|
|
|
|
|
uint256.h \
|
|
|
|
|
utilstrencodings.cpp \
|
|
|
|
|
utilstrencodings.h \
|
|
|
|
|
version.h |
|
|
|
|
|
|
|
|
|
# common: shared between bitcoind, and bitcoin-qt and non-server tools
|
|
|
|
|
libbitcoin_common_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) |
|
|
|
|
libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
@ -273,18 +289,12 @@ libbitcoin_common_a_SOURCES = \
@@ -273,18 +289,12 @@ libbitcoin_common_a_SOURCES = \
|
|
|
|
|
consensus/merkle.cpp \
|
|
|
|
|
core_read.cpp \
|
|
|
|
|
core_write.cpp \
|
|
|
|
|
hash.cpp \
|
|
|
|
|
key.cpp \
|
|
|
|
|
keystore.cpp \
|
|
|
|
|
netbase.cpp \
|
|
|
|
|
primitives/block.cpp \
|
|
|
|
|
primitives/transaction.cpp \
|
|
|
|
|
protocol.cpp \
|
|
|
|
|
pubkey.cpp \
|
|
|
|
|
scheduler.cpp \
|
|
|
|
|
script/interpreter.cpp \
|
|
|
|
|
script/script.cpp \
|
|
|
|
|
script/script_error.cpp \
|
|
|
|
|
script/sign.cpp \
|
|
|
|
|
script/standard.cpp \
|
|
|
|
|
$(BITCOIN_CORE_H) |
|
|
|
@ -305,7 +315,6 @@ libbitcoin_util_a_SOURCES = \
@@ -305,7 +315,6 @@ libbitcoin_util_a_SOURCES = \
|
|
|
|
|
rpcprotocol.cpp \
|
|
|
|
|
support/cleanse.cpp \
|
|
|
|
|
sync.cpp \
|
|
|
|
|
uint256.cpp \
|
|
|
|
|
util.cpp \
|
|
|
|
|
utilmoneystr.cpp \
|
|
|
|
|
utilstrencodings.cpp \
|
|
|
|
@ -341,6 +350,7 @@ bitcoind_LDADD = \
@@ -341,6 +350,7 @@ bitcoind_LDADD = \
|
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
|
$(LIBBITCOIN_CONSENSUS) \
|
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
|
$(LIBLEVELDB) \
|
|
|
|
|
$(LIBMEMENV) \
|
|
|
|
@ -388,6 +398,7 @@ bitcoin_tx_LDADD = \
@@ -388,6 +398,7 @@ bitcoin_tx_LDADD = \
|
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
|
$(LIBBITCOIN_CONSENSUS) \
|
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
|
$(LIBSECP256K1) |
|
|
|
|
|
|
|
|
@ -403,14 +414,7 @@ libbitcoinconsensus_la_SOURCES = \
@@ -403,14 +414,7 @@ libbitcoinconsensus_la_SOURCES = \
|
|
|
|
|
crypto/sha1.cpp \
|
|
|
|
|
crypto/sha256.cpp \
|
|
|
|
|
crypto/sha512.cpp \
|
|
|
|
|
hash.cpp \
|
|
|
|
|
primitives/transaction.cpp \
|
|
|
|
|
pubkey.cpp \
|
|
|
|
|
script/bitcoinconsensus.cpp \
|
|
|
|
|
script/interpreter.cpp \
|
|
|
|
|
script/script.cpp \
|
|
|
|
|
uint256.cpp \
|
|
|
|
|
utilstrencodings.cpp |
|
|
|
|
$(libbitcoin_consensus_a_SOURCES) |
|
|
|
|
|
|
|
|
|
if GLIBC_BACK_COMPAT |
|
|
|
|
libbitcoinconsensus_la_SOURCES += compat/glibc_compat.cpp |
|
|
|
|