diff options
author | Harris <brakmic@gmail.com> | 2019-11-21 21:13:08 +0100 |
---|---|---|
committer | Harris <brakmic@gmail.com> | 2019-11-21 21:13:08 +0100 |
commit | a2e581de942ece85b84c4f5a15287654b02867cb (patch) | |
tree | eeb1ebecaee9397e30e1d5e866ac9a00f11a9c5b /src/Makefile.test_util.include | |
parent | b4a1da9ef8e4b673c290d5b882527e627ae1b43a (diff) |
build: Create test utility library from src/test/util/
Diffstat (limited to 'src/Makefile.test_util.include')
-rw-r--r-- | src/Makefile.test_util.include | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Makefile.test_util.include b/src/Makefile.test_util.include new file mode 100644 index 0000000000..cf55d141b0 --- /dev/null +++ b/src/Makefile.test_util.include @@ -0,0 +1,31 @@ +# 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 += \ + $(LIBTEST_UTIL) + +TEST_UTIL_H = \ + test/util/blockfilter.h \ + test/util/logging.h \ + test/util/setup_common.h \ + test/util/str.h \ + test/util/transaction_utils.h + +libtest_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(MINIUPNPC_CPPFLAGS) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS) +libtest_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) +libtest_util_a_SOURCES = \ + test/util/blockfilter.cpp \ + test/util/logging.cpp \ + test/util/setup_common.cpp \ + test/util/str.cpp \ + test/util/transaction_utils.cpp \ + $(TEST_UTIL_H) + +LIBTEST_UTIL += $(LIBBITCOIN_SERVER) +LIBTEST_UTIL += $(LIBBITCOIN_COMMON) +LIBTEST_UTIL += $(LIBBITCOIN_UTIL) +LIBTEST_UTIL += $(LIBBITCOIN_CRYPTO_BASE) + |