LIBBITCOIN_UNIVALUE=univalue/libbitcoin_univalue.a
LIBBITCOINQT=qt/libbitcoinqt.a
LIBSECP256K1=secp256k1/libsecp256k1.la
-LIBZEROCASH=libzerocash.a
+LIBZCASH=libzcash.a
$(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
univalue/libbitcoin_univalue.a \
libbitcoin_server.a \
libbitcoin_cli.a \
- libzerocash.a
+ libzcash.a
if ENABLE_WALLET
BITCOIN_INCLUDES += $(BDB_CPPFLAGS)
EXTRA_LIBRARIES += libbitcoin_wallet.a
endif
# TODO: rename to libzcash
-LIBZEROCASH_H = \
+LIBZCASH_H = \
zcash/IncrementalMerkleTree.h \
zerocash/utils/util.h \
zcash/NoteEncryption.hpp \
validationinterface.cpp \
$(JSON_H) \
$(BITCOIN_CORE_H) \
- $(LIBZEROCASH_H)
+ $(LIBZCASH_H)
# wallet: shared between bitcoind and bitcoin-qt, but only linked
# when wallet enabled
wallet/wallet_ismine.cpp \
wallet/walletdb.cpp \
$(BITCOIN_CORE_H) \
- $(LIBZEROCASH_H)
+ $(LIBZCASH_H)
# crypto primitives library
crypto_libbitcoin_crypto_a_CPPFLAGS = $(BITCOIN_CONFIG_INCLUDES)
script/sign.cpp \
script/standard.cpp \
$(BITCOIN_CORE_H) \
- $(LIBZEROCASH_H)
+ $(LIBZCASH_H)
# util: shared between all executables.
# This library *must* be included to make sure that the glibc
utilstrencodings.cpp \
utiltime.cpp \
$(BITCOIN_CORE_H) \
- $(LIBZEROCASH_H)
+ $(LIBZCASH_H)
if GLIBC_BACK_COMPAT
libbitcoin_util_a_SOURCES += compat/glibc_compat.cpp
libbitcoin_cli_a_SOURCES = \
rpcclient.cpp \
$(BITCOIN_CORE_H) \
- $(LIBZEROCASH_H)
+ $(LIBZCASH_H)
nodist_libbitcoin_util_a_SOURCES = $(srcdir)/obj/build.h
#
$(LIBBITCOIN_UNIVALUE) \
$(LIBBITCOIN_UTIL) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH) \
+ $(LIBZCASH) \
$(LIBLEVELDB) \
$(LIBMEMENV) \
$(LIBSECP256K1)
$(SSL_LIBS) \
$(CRYPTO_LIBS) \
$(MINIUPNPC_LIBS) \
- $(LIBZEROCASH) \
+ $(LIBZCASH) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
+ $(LIBZCASH_LIBS)
#
# bitcoin-cli binary #
$(BOOST_LIBS) \
$(SSL_LIBS) \
$(CRYPTO_LIBS) \
- $(LIBZEROCASH) \
+ $(LIBZCASH) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
+ $(LIBZCASH_LIBS)
#
# bitcoin-tx binary #
bitcoin_tx_SOURCES += bitcoin-tx-res.rc
endif
-# FIXME: Is libzerocash needed for bitcoin_tx?
+# FIXME: Is libzcash needed for bitcoin_tx?
bitcoin_tx_LDADD = \
$(LIBBITCOIN_UNIVALUE) \
$(LIBBITCOIN_COMMON) \
$(LIBBITCOIN_UTIL) \
$(LIBSECP256K1) \
- $(LIBZEROCASH) \
+ $(LIBZCASH) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
+ $(LIBZCASH_LIBS)
bitcoin_tx_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS)
#
# zerocash protocol primitives #
-libzerocash_a_SOURCES = \
+libzcash_a_SOURCES = \
zcash/IncrementalMerkleTree.cpp \
zerocash/utils/util.cpp \
zcash/NoteEncryption.cpp \
zcash/prf.cpp \
zcash/util.cpp
-libzerocash_a_CPPFLAGS = -fPIC -DCURVE_ALT_BN128 -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS $(HARDENED_CPPFLAGS) -std=c++11 -pipe -O2 -O0 -g -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -DSTATIC $(BITCOIN_INCLUDES)
+libzcash_a_CPPFLAGS = -fPIC -DCURVE_ALT_BN128 -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS $(HARDENED_CPPFLAGS) -std=c++11 -pipe -O2 -O0 -g -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -DSTATIC $(BITCOIN_INCLUDES)
# bitcoinconsensus library #
if BUILD_BITCOIN_LIBS