2019-11-21 21:13:08 +01:00
|
|
|
# Copyright (c) 2013-2019 The Bitcoin Core developers
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
LIBTEST_UTIL=libtest_util.a
|
|
|
|
|
|
|
|
EXTRA_LIBRARIES += \
|
2022-10-10 14:27:31 +02:00
|
|
|
$(LIBTEST_UTIL)
|
2019-11-21 21:13:08 +01:00
|
|
|
|
|
|
|
TEST_UTIL_H = \
|
2022-10-10 14:27:31 +02:00
|
|
|
test/util/blockfilter.h \
|
|
|
|
test/util/chainstate.h \
|
|
|
|
test/util/logging.h \
|
|
|
|
test/util/mining.h \
|
|
|
|
test/util/net.h \
|
|
|
|
test/util/script.h \
|
|
|
|
test/util/setup_common.h \
|
|
|
|
test/util/str.h \
|
|
|
|
test/util/transaction_utils.h \
|
|
|
|
test/util/txmempool.h \
|
2022-08-19 11:13:41 -03:00
|
|
|
test/util/validation.h
|
|
|
|
|
|
|
|
if ENABLE_WALLET
|
|
|
|
TEST_UTIL_H += wallet/test/util.h
|
|
|
|
endif # ENABLE_WALLET
|
2019-11-21 21:13:08 +01:00
|
|
|
|
2022-09-15 09:30:14 +01:00
|
|
|
libtest_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
|
2019-11-21 21:13:08 +01:00
|
|
|
libtest_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
libtest_util_a_SOURCES = \
|
|
|
|
test/util/blockfilter.cpp \
|
|
|
|
test/util/logging.cpp \
|
2019-11-25 02:44:40 +01:00
|
|
|
test/util/mining.cpp \
|
2020-04-04 07:30:51 +08:00
|
|
|
test/util/net.cpp \
|
2021-03-30 09:32:35 +02:00
|
|
|
test/util/script.cpp \
|
2019-11-21 21:13:08 +01:00
|
|
|
test/util/setup_common.cpp \
|
|
|
|
test/util/str.cpp \
|
|
|
|
test/util/transaction_utils.cpp \
|
2022-10-10 14:27:31 +02:00
|
|
|
test/util/txmempool.cpp \
|
2022-08-19 11:13:41 -03:00
|
|
|
test/util/validation.cpp
|
|
|
|
|
|
|
|
if ENABLE_WALLET
|
|
|
|
libtest_util_a_SOURCES += wallet/test/util.cpp
|
|
|
|
endif # ENABLE_WALLET
|
|
|
|
|
|
|
|
libtest_util_a_SOURCES += $(TEST_UTIL_H)
|