aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test_util.include
blob: aefefe789a781ce4005d1e7d1b21285f93a27ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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/chainstate.h \
  test/util/coins.h \
  test/util/json.h \
  test/util/logging.h \
  test/util/mining.h \
  test/util/net.h \
  test/util/random.h \
  test/util/script.h \
  test/util/setup_common.h \
  test/util/str.h \
  test/util/transaction_utils.h \
  test/util/txmempool.h \
  test/util/validation.h \
  test/util/xoroshiro128plusplus.h

if ENABLE_WALLET
TEST_UTIL_H += wallet/test/util.h
endif # ENABLE_WALLET

libtest_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
libtest_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libtest_util_a_SOURCES = \
  test/util/blockfilter.cpp \
  test/util/coins.cpp \
  test/util/json.cpp \
  test/util/logging.cpp \
  test/util/mining.cpp \
  test/util/net.cpp \
  test/util/script.cpp \
  test/util/setup_common.cpp \
  test/util/str.cpp \
  test/util/transaction_utils.cpp \
  test/util/txmempool.cpp \
  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)