forked from libbitcoin/libbitcoin-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
237 lines (212 loc) · 7.39 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
#
# documentation
#
doc_DATA = README.md INSTALL COPYING doc/README.tutorial
#doc_sphinxdir = ${docdir}/sphinx/
#doc_sphinx_DATA = \
# doc/sphinx/Makefile \
# doc/sphinx/overview.rst \
# doc/sphinx/network.rst \
# doc/sphinx/make.bat \
# doc/sphinx/crypto.rst \
# doc/sphinx/fullnode.rst \
# doc/sphinx/offlinetx.rst \
# doc/sphinx/blockchain.rst \
# doc/sphinx/index.rst \
# doc/sphinx/quickstart.rst \
# doc/sphinx/conf.py \
# doc/sphinx/introduction.rst
#
#doc_sphinx_imgdir = ${docdir}/sphinx/img/
#doc_sphinx_img_DATA = doc/sphinx/img/operations.png
#
#doc_sphinx_examplesdir = ${docdir}/sphinx/examples/
#doc_sphinx_examples_DATA = \
# doc/sphinx/examples/connect.rst \
# doc/sphinx/examples/initchain.rst \
# doc/sphinx/examples/priv.rst \
# doc/sphinx/examples/determ.rst \
# doc/sphinx/examples/accept.rst \
# doc/sphinx/examples/txrad.rst \
# doc/sphinx/examples/satoshiwords.rst \
# doc/sphinx/examples/fullnode.rst \
# doc/sphinx/examples/display-last.rst \
# doc/sphinx/examples/proto.rst
#
# pkg-config
#
pkgconfig_DATA = libbitcoin.pc
# look for macros in the m4 subdirectory
ACLOCAL_AMFLAGS = -I m4
#
# headers
#
bitcoin_includedir = ${includedir}/bitcoin
bitcoin_include_HEADERS = \
include/bitcoin/bitcoin.hpp
bitcoin_bitcoin_includedir = ${includedir}/bitcoin/bitcoin
bitcoin_bitcoin_include_HEADERS = \
include/bitcoin/bitcoin/address.hpp \
include/bitcoin/bitcoin/block.hpp \
include/bitcoin/bitcoin/compat.h \
include/bitcoin/bitcoin/compat.hpp \
include/bitcoin/bitcoin/constants.hpp \
include/bitcoin/bitcoin/define.hpp \
include/bitcoin/bitcoin/error.hpp \
include/bitcoin/bitcoin/format.hpp \
include/bitcoin/bitcoin/primitives.hpp \
include/bitcoin/bitcoin/satoshi_serialize.hpp \
include/bitcoin/bitcoin/script.hpp \
include/bitcoin/bitcoin/stealth.hpp \
include/bitcoin/bitcoin/threadpool.hpp \
include/bitcoin/bitcoin/transaction.hpp \
include/bitcoin/bitcoin/types.hpp \
include/bitcoin/bitcoin/version.hpp
bitcoin_bitcoin_impl_includedir = ${includedir}/bitcoin/bitcoin/impl
bitcoin_bitcoin_impl_include_HEADERS = \
include/bitcoin/bitcoin/impl/format.ipp
bitcoin_bitcoin_impl_serialize_includedir = ${includedir}/bitcoin/bitcoin/impl/serialize
bitcoin_bitcoin_impl_serialize_include_HEADERS = \
include/bitcoin/bitcoin/impl/serialize/block.ipp \
include/bitcoin/bitcoin/impl/serialize/misc.ipp
bitcoin_bitcoin_network_includedir = ${includedir}/bitcoin/bitcoin/network
bitcoin_bitcoin_network_include_HEADERS = \
include/bitcoin/bitcoin/network/channel.hpp \
include/bitcoin/bitcoin/network/handshake.hpp \
include/bitcoin/bitcoin/network/hosts.hpp \
include/bitcoin/bitcoin/network/network.hpp \
include/bitcoin/bitcoin/network/protocol.hpp \
include/bitcoin/bitcoin/network/shared_const_buffer.hpp
bitcoin_bitcoin_util_includedir = ${includedir}/bitcoin/bitcoin/utility
bitcoin_bitcoin_util_include_HEADERS = \
include/bitcoin/bitcoin/utility/array_slice.hpp \
include/bitcoin/bitcoin/utility/assert.hpp \
include/bitcoin/bitcoin/utility/async_parallel.hpp \
include/bitcoin/bitcoin/utility/base58.hpp \
include/bitcoin/bitcoin/utility/checksum.hpp \
include/bitcoin/bitcoin/utility/decorator.hpp \
include/bitcoin/bitcoin/utility/ec_keys.hpp \
include/bitcoin/bitcoin/utility/hash.hpp \
include/bitcoin/bitcoin/utility/hash_number.hpp \
include/bitcoin/bitcoin/utility/logger.hpp \
include/bitcoin/bitcoin/utility/script_number.hpp \
include/bitcoin/bitcoin/utility/serializer.hpp \
include/bitcoin/bitcoin/utility/subscriber.hpp \
include/bitcoin/bitcoin/utility/timed_section.hpp \
include/bitcoin/bitcoin/utility/weak_bind.hpp
bitcoin_bitcoin_util_external_includedir = ${includedir}/bitcoin/bitcoin/utility/external
bitcoin_bitcoin_util_external_include_HEADERS = \
include/bitcoin/bitcoin/utility/external/hmac_sha256.h \
include/bitcoin/bitcoin/utility/external/hmac_sha512.h \
include/bitcoin/bitcoin/utility/external/ripemd160.h \
include/bitcoin/bitcoin/utility/external/sha1.h \
include/bitcoin/bitcoin/utility/external/sha256.h \
include/bitcoin/bitcoin/utility/external/sha512.h \
include/bitcoin/bitcoin/utility/external/zeroize.h \
include/bitcoin/bitcoin/utility/external/uint256.h
bitcoin_bitcoin_impl_utility_includedir = ${includedir}/bitcoin/bitcoin/impl/utility
bitcoin_bitcoin_impl_utility_include_HEADERS = \
include/bitcoin/bitcoin/impl/utility/array_slice.ipp \
include/bitcoin/bitcoin/impl/utility/serializer.ipp
bitcoin_bitcoin_wallet_includedir = ${includedir}/bitcoin/bitcoin/wallet
bitcoin_bitcoin_wallet_include_HEADERS = \
include/bitcoin/bitcoin/wallet/amount.hpp \
include/bitcoin/bitcoin/wallet/hd_keys.hpp \
include/bitcoin/bitcoin/wallet/key_formats.hpp \
include/bitcoin/bitcoin/wallet/message.hpp \
include/bitcoin/bitcoin/wallet/mnemonic.hpp \
include/bitcoin/bitcoin/wallet/stealth_address.hpp \
include/bitcoin/bitcoin/wallet/uri.hpp
#
# libraries
#
lib_LTLIBRARIES = src/libbitcoin.la
src_libbitcoin_la_CPPFLAGS = \
-I${srcdir}/include \
${secp256k1_CFLAGS}
src_libbitcoin_la_SOURCES = \
src/address.cpp \
src/block.cpp \
src/compat.cpp \
src/constants.cpp \
src/error.cpp \
src/format.cpp \
src/network/channel.cpp \
src/network/handshake.cpp \
src/network/hosts.cpp \
src/network/network.cpp \
src/network/protocol.cpp \
src/satoshi_serialize.cpp \
src/script.cpp \
src/stealth.cpp \
src/threadpool.cpp \
src/transaction.cpp \
src/utility/base58.cpp \
src/utility/checksum.cpp \
src/utility/ec_keys.cpp \
src/utility/hash.cpp \
src/utility/hash_number.cpp \
src/utility/logger.cpp \
src/utility/script_number.cpp \
src/utility/timed_section.cpp \
src/utility/external/hmac_sha256.c \
src/utility/external/hmac_sha512.c \
src/utility/external/ripemd160.c \
src/utility/external/sha1.c \
src/utility/external/sha256.c \
src/utility/external/sha512.c \
src/utility/external/zeroize.c \
src/wallet/amount.cpp \
src/wallet/hd_keys.cpp \
src/wallet/key_formats.cpp \
src/wallet/message.cpp \
src/wallet/mnemonic.cpp \
src/wallet/stealth_address.cpp \
src/wallet/uri.cpp
# The rt_LIBS symbol may be empty, keep on shared line.
src_libbitcoin_la_LIBADD = \
${boost_LIBS} \
${secp256k1_LIBS} \
${gmp_LIBS} ${rt_LIBS}
#
# tests
#
if WITH_TESTS
TESTS = test/libbitcoin_test
check_PROGRAMS = test/libbitcoin_test
test_libbitcoin_test_CPPFLAGS = \
-I${srcdir}/include \
-I${srcdir}/test \
${secp256k1_CFLAGS}
if ENABLE_SHARED
test_libbitcoin_test_CPPFLAGS += \
-DBOOST_TEST_DYN_LINK
endif
test_libbitcoin_test_SOURCES = \
test/amount.cpp \
test/base58.cpp \
test/big_number.cpp \
test/checksum.cpp \
test/ec_keys.cpp \
test/format.cpp \
test/hash_number.cpp \
test/hash.cpp \
test/hd_keys.cpp \
test/key_formats.cpp \
test/main.cpp \
test/message.cpp \
test/script_number.cpp \
test/script.cpp \
test/serialize.cpp \
test/stealth_address.cpp \
test/stealth.cpp \
test/uri.cpp
# The rt_LIBS symbol may be empty, keep on shared line.
test_libbitcoin_test_LDADD = \
src/libbitcoin.la \
${boost_LIBS} \
-lboost_unit_test_framework \
-lpthread \
${secp256k1_LIBS} \
${gmp_LIBS} ${rt_LIBS}
endif