|
|
@ -1,4 +1,4 @@ |
|
|
|
DIST_SUBDIRS = secp256k1 |
|
|
|
DIST_SUBDIRS = secp256k1 univalue |
|
|
|
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) |
|
|
|
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -21,6 +21,7 @@ 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 $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) $(CRYPTO_CFLAGS) $(SSL_CFLAGS) |
|
|
|
|
|
|
|
|
|
|
|
BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include |
|
|
|
BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include |
|
|
|
|
|
|
|
BITCOIN_INCLUDES += -I$(srcdir)/univalue/include |
|
|
|
|
|
|
|
|
|
|
|
LIBBITCOIN_SERVER=libbitcoin_server.a |
|
|
|
LIBBITCOIN_SERVER=libbitcoin_server.a |
|
|
|
LIBBITCOIN_WALLET=libbitcoin_wallet.a |
|
|
|
LIBBITCOIN_WALLET=libbitcoin_wallet.a |
|
|
@ -28,20 +29,22 @@ LIBBITCOIN_COMMON=libbitcoin_common.a |
|
|
|
LIBBITCOIN_CLI=libbitcoin_cli.a |
|
|
|
LIBBITCOIN_CLI=libbitcoin_cli.a |
|
|
|
LIBBITCOIN_UTIL=libbitcoin_util.a |
|
|
|
LIBBITCOIN_UTIL=libbitcoin_util.a |
|
|
|
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a |
|
|
|
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a |
|
|
|
LIBBITCOIN_UNIVALUE=univalue/libbitcoin_univalue.a |
|
|
|
|
|
|
|
LIBBITCOINQT=qt/libbitcoinqt.a |
|
|
|
LIBBITCOINQT=qt/libbitcoinqt.a |
|
|
|
LIBSECP256K1=secp256k1/libsecp256k1.la |
|
|
|
LIBSECP256K1=secp256k1/libsecp256k1.la |
|
|
|
|
|
|
|
LIBUNIVALUE=univalue/lib/libunivalue.la |
|
|
|
|
|
|
|
|
|
|
|
$(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*) |
|
|
|
$(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*) |
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) |
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(LIBUNIVALUE): $(wildcard univalue/lib/*) $(wildcard univalue/include/*) |
|
|
|
|
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) |
|
|
|
|
|
|
|
|
|
|
|
# Make is not made aware of per-object dependencies to avoid limiting building parallelization
|
|
|
|
# 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:
|
|
|
|
# But to build the less dependent modules first, we manually select their order here:
|
|
|
|
EXTRA_LIBRARIES = \
|
|
|
|
EXTRA_LIBRARIES = \
|
|
|
|
crypto/libbitcoin_crypto.a \
|
|
|
|
crypto/libbitcoin_crypto.a \
|
|
|
|
libbitcoin_util.a \
|
|
|
|
libbitcoin_util.a \
|
|
|
|
libbitcoin_common.a \
|
|
|
|
libbitcoin_common.a \
|
|
|
|
univalue/libbitcoin_univalue.a \
|
|
|
|
|
|
|
|
libbitcoin_server.a \
|
|
|
|
libbitcoin_server.a \
|
|
|
|
libbitcoin_cli.a |
|
|
|
libbitcoin_cli.a |
|
|
|
if ENABLE_WALLET |
|
|
|
if ENABLE_WALLET |
|
|
@ -248,14 +251,6 @@ crypto_libbitcoin_crypto_a_SOURCES = \ |
|
|
|
crypto/sha512.cpp \
|
|
|
|
crypto/sha512.cpp \
|
|
|
|
crypto/sha512.h |
|
|
|
crypto/sha512.h |
|
|
|
|
|
|
|
|
|
|
|
# univalue JSON library
|
|
|
|
|
|
|
|
univalue_libbitcoin_univalue_a_SOURCES = \
|
|
|
|
|
|
|
|
univalue/univalue.cpp \
|
|
|
|
|
|
|
|
univalue/univalue.h \
|
|
|
|
|
|
|
|
univalue/univalue_escapes.h \
|
|
|
|
|
|
|
|
univalue/univalue_read.cpp \
|
|
|
|
|
|
|
|
univalue/univalue_write.cpp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# common: shared between bitcoind, and bitcoin-qt and non-server tools
|
|
|
|
# common: shared between bitcoind, and bitcoin-qt and non-server tools
|
|
|
|
libbitcoin_common_a_CPPFLAGS = $(BITCOIN_INCLUDES) |
|
|
|
libbitcoin_common_a_CPPFLAGS = $(BITCOIN_INCLUDES) |
|
|
|
libbitcoin_common_a_SOURCES = \
|
|
|
|
libbitcoin_common_a_SOURCES = \
|
|
|
@ -332,7 +327,7 @@ endif |
|
|
|
bitcoind_LDADD = \
|
|
|
|
bitcoind_LDADD = \
|
|
|
|
$(LIBBITCOIN_SERVER) \
|
|
|
|
$(LIBBITCOIN_SERVER) \
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
$(LIBBITCOIN_UNIVALUE) \
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
$(LIBLEVELDB) \
|
|
|
|
$(LIBLEVELDB) \
|
|
|
@ -360,7 +355,7 @@ endif |
|
|
|
|
|
|
|
|
|
|
|
bitcoin_cli_LDADD = \
|
|
|
|
bitcoin_cli_LDADD = \
|
|
|
|
$(LIBBITCOIN_CLI) \
|
|
|
|
$(LIBBITCOIN_CLI) \
|
|
|
|
$(LIBBITCOIN_UNIVALUE) \
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
$(LIBBITCOIN_UTIL) |
|
|
|
$(LIBBITCOIN_UTIL) |
|
|
|
|
|
|
|
|
|
|
|
bitcoin_cli_LDADD += $(BOOST_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(EVENT_LIBS) |
|
|
|
bitcoin_cli_LDADD += $(BOOST_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(EVENT_LIBS) |
|
|
@ -376,7 +371,7 @@ bitcoin_tx_SOURCES += bitcoin-tx-res.rc |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
bitcoin_tx_LDADD = \
|
|
|
|
bitcoin_tx_LDADD = \
|
|
|
|
$(LIBBITCOIN_UNIVALUE) \
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|