@ -1,6 +1,10 @@
AM_CPPFLAGS = $( INCLUDES)
AM_CPPFLAGS = $( INCLUDES)
AM_LDFLAGS = $( PTHREAD_CFLAGS)
AM_LDFLAGS = $( PTHREAD_CFLAGS)
i f U S E _ L I B S E C P 2 5 6 K 1
secp256k1/libsecp256k1.la : $( wildcard secp 256k 1/src /*) $( wildcard secp 256k 1/include /*)
@$( MAKE) $( AM_MAKEFLAGS) -C $( @D) $( @F)
e n d i f
i f E M B E D D E D _ L E V E L D B
i f E M B E D D E D _ L E V E L D B
LEVELDB_CPPFLAGS += -I$( srcdir) /leveldb/include
LEVELDB_CPPFLAGS += -I$( srcdir) /leveldb/include
@ -20,6 +24,10 @@ endif
BITCOIN_CONFIG_INCLUDES = -I$( builddir) /config
BITCOIN_CONFIG_INCLUDES = -I$( builddir) /config
BITCOIN_INCLUDES = -I$( builddir) -I$( builddir) /obj $( BOOST_CPPFLAGS) $( LEVELDB_CPPFLAGS)
BITCOIN_INCLUDES = -I$( builddir) -I$( builddir) /obj $( BOOST_CPPFLAGS) $( LEVELDB_CPPFLAGS)
i f U S E _ L I B S E C P 2 5 6 K 1
BITCOIN_INCLUDES += -I$( srcdir) /secp256k1/include
e n d i f
LIBBITCOIN_SERVER = libbitcoin_server.a
LIBBITCOIN_SERVER = libbitcoin_server.a
LIBBITCOIN_WALLET = libbitcoin_wallet.a
LIBBITCOIN_WALLET = libbitcoin_wallet.a
LIBBITCOIN_COMMON = libbitcoin_common.a
LIBBITCOIN_COMMON = libbitcoin_common.a
@ -220,6 +228,11 @@ bitcoind_LDADD = \
$( LIBBITCOIN_CRYPTO) \
$( LIBBITCOIN_CRYPTO) \
$( LIBLEVELDB) \
$( LIBLEVELDB) \
$( LIBMEMENV)
$( LIBMEMENV)
i f U S E _ L I B S E C P 2 5 6 K 1
bitcoind_LDADD += secp256k1/libsecp256k1.la
e n d i f
i f E N A B L E _ W A L L E T
i f E N A B L E _ W A L L E T
bitcoind_LDADD += libbitcoin_wallet.a
bitcoind_LDADD += libbitcoin_wallet.a
e n d i f
e n d i f
@ -242,6 +255,10 @@ bitcoin_cli_LDADD = \
$( BOOST_LIBS)
$( BOOST_LIBS)
bitcoin_cli_SOURCES = \
bitcoin_cli_SOURCES = \
bitcoin-cli.cpp
bitcoin-cli.cpp
i f U S E _ L I B S E C P 2 5 6 K 1
bitcoin_cli_LDADD += secp256k1/libsecp256k1.la
e n d i f
bitcoin_cli_CPPFLAGS = $( BITCOIN_INCLUDES)
bitcoin_cli_CPPFLAGS = $( BITCOIN_INCLUDES)
#
#
@ -253,10 +270,11 @@ CLEANFILES = leveldb/libleveldb.a leveldb/libmemenv.a *.gcda *.gcno
DISTCLEANFILES = obj/build.h
DISTCLEANFILES = obj/build.h
EXTRA_DIST = leveldb
EXTRA_DIST = leveldb secp256k1
clean-local :
clean-local :
-$( MAKE) -C leveldb clean
-$( MAKE) -C leveldb clean
-$( MAKE) -C secp256k1 clean
rm -f leveldb/*/*.gcno leveldb/helpers/memenv/*.gcno
rm -f leveldb/*/*.gcno leveldb/helpers/memenv/*.gcno
-rm -f config.h
-rm -f config.h