forked from libbitcoin/libbitcoin-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
186 lines (162 loc) · 8.02 KB
/
Makefile.am
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
###############################################################################
# Copyright (c) 2014-2019 libbitcoin-blockchain developers (see COPYING).
#
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
#
###############################################################################
# Automake settings.
#==============================================================================
# Look for macros in the m4 subdirectory.
#------------------------------------------------------------------------------
ACLOCAL_AMFLAGS = -I m4
# Distribute, make and install products.
#==============================================================================
# files => ${pkgconfigdir}
#------------------------------------------------------------------------------
pkgconfig_DATA = \
libbitcoin-blockchain.pc
# files => ${docdir}
#------------------------------------------------------------------------------
doc_DATA = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README
# src/libbitcoin-blockchain.la => ${libdir}
#------------------------------------------------------------------------------
lib_LTLIBRARIES = src/libbitcoin-blockchain.la
src_libbitcoin_blockchain_la_CPPFLAGS = -I${srcdir}/include ${bitcoin_database_BUILD_CPPFLAGS} ${bitcoin_consensus_BUILD_CPPFLAGS}
src_libbitcoin_blockchain_la_LIBADD = ${bitcoin_database_LIBS} ${bitcoin_consensus_LIBS}
src_libbitcoin_blockchain_la_SOURCES = \
src/block_chain_initializer.cpp \
src/settings.cpp \
src/interface/block_chain.cpp \
src/organizers/organize_block.cpp \
src/organizers/organize_header.cpp \
src/organizers/organize_transaction.cpp \
src/pools/block_entry.cpp \
src/pools/block_pool.cpp \
src/pools/header_branch.cpp \
src/pools/header_entry.cpp \
src/pools/header_pool.cpp \
src/pools/transaction_entry.cpp \
src/pools/transaction_pool.cpp \
src/pools/utilities/anchor_converter.cpp \
src/pools/utilities/child_closure_calculator.cpp \
src/pools/utilities/conflicting_spend_remover.cpp \
src/pools/utilities/parent_closure_calculator.cpp \
src/pools/utilities/priority_calculator.cpp \
src/pools/utilities/stack_evaluator.cpp \
src/pools/utilities/transaction_order_calculator.cpp \
src/pools/utilities/transaction_pool_state.cpp \
src/populate/populate_base.cpp \
src/populate/populate_block.cpp \
src/populate/populate_chain_state.cpp \
src/populate/populate_header.cpp \
src/populate/populate_transaction.cpp \
src/validate/validate_block.cpp \
src/validate/validate_header.cpp \
src/validate/validate_input.cpp \
src/validate/validate_transaction.cpp
# local: test/libbitcoin-blockchain-test
#------------------------------------------------------------------------------
if WITH_TESTS
TESTS = libbitcoin-blockchain-test_runner.sh
check_PROGRAMS = test/libbitcoin-blockchain-test
test_libbitcoin_blockchain_test_CPPFLAGS = -I${srcdir}/include ${bitcoin_database_BUILD_CPPFLAGS} ${bitcoin_consensus_BUILD_CPPFLAGS}
test_libbitcoin_blockchain_test_LDADD = src/libbitcoin-blockchain.la ${boost_unit_test_framework_LIBS} ${bitcoin_database_LIBS} ${bitcoin_consensus_LIBS}
test_libbitcoin_blockchain_test_SOURCES = \
test/main.cpp \
test/utility.cpp \
test/utility.hpp \
test/interface/fast_chain.cpp \
test/interface/safe_chain.cpp \
test/pools/block_entry.cpp \
test/pools/block_pool.cpp \
test/pools/header_branch.cpp \
test/pools/header_entry.cpp \
test/pools/header_pool.cpp \
test/pools/transaction_entry.cpp \
test/pools/transaction_pool.cpp \
test/pools/utilities/anchor_converter.cpp \
test/pools/utilities/child_closure_calculator.cpp \
test/pools/utilities/conflicting_spend_remover.cpp \
test/pools/utilities/parent_closure_calculator.cpp \
test/pools/utilities/priority_calculator.cpp \
test/pools/utilities/transaction_order_calculator.cpp \
test/pools/utilities/utilities.cpp \
test/pools/utilities/utilities.hpp \
test/validators/validate_block.cpp \
test/validators/validate_transaction.cpp
endif WITH_TESTS
# local: tools/initchain/initchain
#------------------------------------------------------------------------------
if WITH_TOOLS
noinst_PROGRAMS = tools/initchain/initchain
tools_initchain_initchain_CPPFLAGS = -I${srcdir}/include ${bitcoin_database_BUILD_CPPFLAGS} ${bitcoin_consensus_BUILD_CPPFLAGS}
tools_initchain_initchain_LDADD = src/libbitcoin-blockchain.la ${bitcoin_database_LIBS} ${bitcoin_consensus_LIBS}
tools_initchain_initchain_SOURCES = \
tools/initchain/initchain.cpp
endif WITH_TOOLS
# files => ${includedir}/bitcoin
#------------------------------------------------------------------------------
include_bitcoindir = ${includedir}/bitcoin
include_bitcoin_HEADERS = \
include/bitcoin/blockchain.hpp
include_bitcoin_blockchaindir = ${includedir}/bitcoin/blockchain
include_bitcoin_blockchain_HEADERS = \
include/bitcoin/blockchain/block_chain_initializer.hpp \
include/bitcoin/blockchain/define.hpp \
include/bitcoin/blockchain/settings.hpp \
include/bitcoin/blockchain/version.hpp
include_bitcoin_blockchain_interfacedir = ${includedir}/bitcoin/blockchain/interface
include_bitcoin_blockchain_interface_HEADERS = \
include/bitcoin/blockchain/interface/block_chain.hpp \
include/bitcoin/blockchain/interface/fast_chain.hpp \
include/bitcoin/blockchain/interface/safe_chain.hpp
include_bitcoin_blockchain_organizersdir = ${includedir}/bitcoin/blockchain/organizers
include_bitcoin_blockchain_organizers_HEADERS = \
include/bitcoin/blockchain/organizers/organize_block.hpp \
include/bitcoin/blockchain/organizers/organize_header.hpp \
include/bitcoin/blockchain/organizers/organize_transaction.hpp
include_bitcoin_blockchain_poolsdir = ${includedir}/bitcoin/blockchain/pools
include_bitcoin_blockchain_pools_HEADERS = \
include/bitcoin/blockchain/pools/block_entry.hpp \
include/bitcoin/blockchain/pools/block_pool.hpp \
include/bitcoin/blockchain/pools/header_branch.hpp \
include/bitcoin/blockchain/pools/header_entry.hpp \
include/bitcoin/blockchain/pools/header_pool.hpp \
include/bitcoin/blockchain/pools/transaction_entry.hpp \
include/bitcoin/blockchain/pools/transaction_pool.hpp
include_bitcoin_blockchain_pools_utilitiesdir = ${includedir}/bitcoin/blockchain/pools/utilities
include_bitcoin_blockchain_pools_utilities_HEADERS = \
include/bitcoin/blockchain/pools/utilities/anchor_converter.hpp \
include/bitcoin/blockchain/pools/utilities/child_closure_calculator.hpp \
include/bitcoin/blockchain/pools/utilities/conflicting_spend_remover.hpp \
include/bitcoin/blockchain/pools/utilities/parent_closure_calculator.hpp \
include/bitcoin/blockchain/pools/utilities/priority_calculator.hpp \
include/bitcoin/blockchain/pools/utilities/stack_evaluator.hpp \
include/bitcoin/blockchain/pools/utilities/transaction_order_calculator.hpp \
include/bitcoin/blockchain/pools/utilities/transaction_pool_state.hpp
include_bitcoin_blockchain_populatedir = ${includedir}/bitcoin/blockchain/populate
include_bitcoin_blockchain_populate_HEADERS = \
include/bitcoin/blockchain/populate/populate_base.hpp \
include/bitcoin/blockchain/populate/populate_block.hpp \
include/bitcoin/blockchain/populate/populate_chain_state.hpp \
include/bitcoin/blockchain/populate/populate_header.hpp \
include/bitcoin/blockchain/populate/populate_transaction.hpp
include_bitcoin_blockchain_validatedir = ${includedir}/bitcoin/blockchain/validate
include_bitcoin_blockchain_validate_HEADERS = \
include/bitcoin/blockchain/validate/validate_block.hpp \
include/bitcoin/blockchain/validate/validate_header.hpp \
include/bitcoin/blockchain/validate/validate_input.hpp \
include/bitcoin/blockchain/validate/validate_transaction.hpp
# Custom make targets.
#==============================================================================
# make target: tools
#------------------------------------------------------------------------------
target_tools = \
tools/initchain/initchain
tools: ${target_tools}