Changeset View
Changeset View
Standalone View
Standalone View
src/Makefile.am
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
if ENABLE_SSE41 | if ENABLE_SSE41 | ||||
LIBBITCOIN_CRYPTO_SSE41 = crypto/libbitcoin_crypto_sse41.a | LIBBITCOIN_CRYPTO_SSE41 = crypto/libbitcoin_crypto_sse41.a | ||||
LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_SSE41) | LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_SSE41) | ||||
endif | endif | ||||
if ENABLE_AVX2 | if ENABLE_AVX2 | ||||
LIBBITCOIN_CRYPTO_AVX2 = crypto/libbitcoin_crypto_avx2.a | LIBBITCOIN_CRYPTO_AVX2 = crypto/libbitcoin_crypto_avx2.a | ||||
LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_AVX2) | LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_AVX2) | ||||
endif | endif | ||||
if ENABLE_SHANI | |||||
LIBBITCOIN_CRYPTO_SHANI = crypto/libbitcoin_crypto_shani.a | |||||
LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_SHANI) | |||||
endif | |||||
$(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) | ||||
# 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 += \ | ||||
$(LIBBITCOIN_CRYPTO) \ | $(LIBBITCOIN_CRYPTO) \ | ||||
▲ Show 20 Lines • Show All 253 Lines • ▼ Show 20 Lines | |||||
crypto_libbitcoin_crypto_sse41_a_SOURCES = crypto/sha256_sse41.cpp | crypto_libbitcoin_crypto_sse41_a_SOURCES = crypto/sha256_sse41.cpp | ||||
crypto_libbitcoin_crypto_avx2_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) | crypto_libbitcoin_crypto_avx2_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) | ||||
crypto_libbitcoin_crypto_avx2_a_CPPFLAGS = $(AM_CPPFLAGS) | crypto_libbitcoin_crypto_avx2_a_CPPFLAGS = $(AM_CPPFLAGS) | ||||
crypto_libbitcoin_crypto_avx2_a_CXXFLAGS += $(AVX2_CXXFLAGS) | crypto_libbitcoin_crypto_avx2_a_CXXFLAGS += $(AVX2_CXXFLAGS) | ||||
crypto_libbitcoin_crypto_avx2_a_CPPFLAGS += -DENABLE_AVX2 | crypto_libbitcoin_crypto_avx2_a_CPPFLAGS += -DENABLE_AVX2 | ||||
crypto_libbitcoin_crypto_avx2_a_SOURCES = crypto/sha256_avx2.cpp | crypto_libbitcoin_crypto_avx2_a_SOURCES = crypto/sha256_avx2.cpp | ||||
crypto_libbitcoin_crypto_shani_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) | |||||
crypto_libbitcoin_crypto_shani_a_CPPFLAGS = $(AM_CPPFLAGS) | |||||
crypto_libbitcoin_crypto_shani_a_CXXFLAGS += $(SHANI_CXXFLAGS) | |||||
crypto_libbitcoin_crypto_shani_a_CPPFLAGS += -DENABLE_SHANI | |||||
crypto_libbitcoin_crypto_shani_a_SOURCES = crypto/sha256_shani.cpp | |||||
# consensus: shared between all executables that validate any consensus rules. | # consensus: shared between all executables that validate any consensus rules. | ||||
libbitcoin_consensus_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) | libbitcoin_consensus_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) | ||||
libbitcoin_consensus_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) | libbitcoin_consensus_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) | ||||
libbitcoin_consensus_a_SOURCES = \ | libbitcoin_consensus_a_SOURCES = \ | ||||
amount.h \ | amount.h \ | ||||
arith_uint256.cpp \ | arith_uint256.cpp \ | ||||
arith_uint256.h \ | arith_uint256.h \ | ||||
consensus/merkle.cpp \ | consensus/merkle.cpp \ | ||||
▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines |