|
|
@ -1,9 +1,20 @@ |
|
|
|
DIST_SUBDIRS = secp256k1 univalue |
|
|
|
DIST_SUBDIRS = secp256k1 |
|
|
|
|
|
|
|
|
|
|
|
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS) |
|
|
|
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS) |
|
|
|
AM_CXXFLAGS = $(HARDENED_CXXFLAGS) |
|
|
|
AM_CXXFLAGS = $(HARDENED_CXXFLAGS) |
|
|
|
AM_CPPFLAGS = $(HARDENED_CPPFLAGS) |
|
|
|
AM_CPPFLAGS = $(HARDENED_CPPFLAGS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if EMBEDDED_UNIVALUE |
|
|
|
|
|
|
|
DIST_SUBDIRS += univalue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIBUNIVALUE = univalue/libunivalue.la |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(LIBUNIVALUE): $(wildcard univalue/lib/*) $(wildcard univalue/include/*) |
|
|
|
|
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
LIBUNIVALUE = $(UNIVALUE_LIBS) |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
if EMBEDDED_LEVELDB |
|
|
|
if EMBEDDED_LEVELDB |
|
|
|
LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/include |
|
|
|
LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/include |
|
|
|
LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/helpers/memenv |
|
|
|
LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/helpers/memenv |
|
|
@ -23,7 +34,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 |
|
|
|
BITCOIN_INCLUDES += $(UNIVALUE_CFLAGS) |
|
|
|
|
|
|
|
|
|
|
|
LIBBITCOIN_SERVER=libbitcoin_server.a |
|
|
|
LIBBITCOIN_SERVER=libbitcoin_server.a |
|
|
|
LIBBITCOIN_WALLET=libbitcoin_wallet.a |
|
|
|
LIBBITCOIN_WALLET=libbitcoin_wallet.a |
|
|
@ -33,13 +44,9 @@ LIBBITCOIN_UTIL=libbitcoin_util.a |
|
|
|
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a |
|
|
|
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a |
|
|
|
LIBBITCOINQT=qt/libbitcoinqt.a |
|
|
|
LIBBITCOINQT=qt/libbitcoinqt.a |
|
|
|
LIBSECP256K1=secp256k1/libsecp256k1.la |
|
|
|
LIBSECP256K1=secp256k1/libsecp256k1.la |
|
|
|
LIBUNIVALUE=univalue/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:
|
|
|
|