forked from libbitcoin/libbitcoin-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
162 lines (135 loc) · 5.73 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
###############################################################################
# Copyright (c) 2014-2019 libbitcoin-node 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-node.pc
# files => ${docdir}
#------------------------------------------------------------------------------
doc_DATA = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README
# src/libbitcoin-node.la => ${libdir}
#------------------------------------------------------------------------------
lib_LTLIBRARIES = src/libbitcoin-node.la
src_libbitcoin_node_la_CPPFLAGS = -I${srcdir}/include -DSYSCONFDIR=\"${sysconfdir}\" ${bitcoin_blockchain_BUILD_CPPFLAGS} ${bitcoin_network_BUILD_CPPFLAGS}
src_libbitcoin_node_la_LIBADD = ${bitcoin_blockchain_LIBS} ${bitcoin_network_LIBS}
src_libbitcoin_node_la_SOURCES = \
src/configuration.cpp \
src/full_node.cpp \
src/parser.cpp \
src/settings.cpp \
src/protocols/protocol_block_in.cpp \
src/protocols/protocol_block_out.cpp \
src/protocols/protocol_compact_filter_out.cpp \
src/protocols/protocol_header_in.cpp \
src/protocols/protocol_transaction_in.cpp \
src/protocols/protocol_transaction_out.cpp \
src/sessions/session_inbound.cpp \
src/sessions/session_manual.cpp \
src/sessions/session_outbound.cpp \
src/utility/check_list.cpp \
src/utility/hash_queue.cpp \
src/utility/performance.cpp \
src/utility/reservation.cpp \
src/utility/reservations.cpp
# local: test/libbitcoin-node-test
#------------------------------------------------------------------------------
if WITH_TESTS
TESTS = libbitcoin-node-test_runner.sh
check_PROGRAMS = test/libbitcoin-node-test
test_libbitcoin_node_test_CPPFLAGS = -I${srcdir}/include ${bitcoin_blockchain_BUILD_CPPFLAGS} ${bitcoin_network_BUILD_CPPFLAGS}
test_libbitcoin_node_test_LDADD = src/libbitcoin-node.la ${boost_unit_test_framework_LIBS} ${bitcoin_blockchain_LIBS} ${bitcoin_network_LIBS}
test_libbitcoin_node_test_SOURCES = \
test/check_list.cpp \
test/configuration.cpp \
test/main.cpp \
test/node.cpp \
test/performance.cpp \
test/reservation.cpp \
test/reservations.cpp \
test/settings.cpp \
test/utility.cpp \
test/utility.hpp
endif WITH_TESTS
# console/bn => ${bindir}
#------------------------------------------------------------------------------
if WITH_CONSOLE
bin_PROGRAMS = console/bn
console_bn_CPPFLAGS = -I${srcdir}/include ${bitcoin_blockchain_BUILD_CPPFLAGS} ${bitcoin_network_BUILD_CPPFLAGS}
console_bn_LDADD = src/libbitcoin-node.la ${bitcoin_blockchain_LIBS} ${bitcoin_network_LIBS}
console_bn_SOURCES = \
console/executor.cpp \
console/executor.hpp \
console/main.cpp
endif WITH_CONSOLE
# files => ${includedir}/bitcoin
#------------------------------------------------------------------------------
include_bitcoindir = ${includedir}/bitcoin
include_bitcoin_HEADERS = \
include/bitcoin/node.hpp
include_bitcoin_nodedir = ${includedir}/bitcoin/node
include_bitcoin_node_HEADERS = \
include/bitcoin/node/configuration.hpp \
include/bitcoin/node/define.hpp \
include/bitcoin/node/full_node.hpp \
include/bitcoin/node/parser.hpp \
include/bitcoin/node/settings.hpp \
include/bitcoin/node/version.hpp
include_bitcoin_node_protocolsdir = ${includedir}/bitcoin/node/protocols
include_bitcoin_node_protocols_HEADERS = \
include/bitcoin/node/protocols/protocol_block_in.hpp \
include/bitcoin/node/protocols/protocol_block_out.hpp \
include/bitcoin/node/protocols/protocol_compact_filter_out.hpp \
include/bitcoin/node/protocols/protocol_header_in.hpp \
include/bitcoin/node/protocols/protocol_transaction_in.hpp \
include/bitcoin/node/protocols/protocol_transaction_out.hpp
include_bitcoin_node_sessionsdir = ${includedir}/bitcoin/node/sessions
include_bitcoin_node_sessions_HEADERS = \
include/bitcoin/node/sessions/session.hpp \
include/bitcoin/node/sessions/session_inbound.hpp \
include/bitcoin/node/sessions/session_manual.hpp \
include/bitcoin/node/sessions/session_outbound.hpp
include_bitcoin_node_utilitydir = ${includedir}/bitcoin/node/utility
include_bitcoin_node_utility_HEADERS = \
include/bitcoin/node/utility/check_list.hpp \
include/bitcoin/node/utility/hash_queue.hpp \
include/bitcoin/node/utility/performance.hpp \
include/bitcoin/node/utility/reservation.hpp \
include/bitcoin/node/utility/reservations.hpp \
include/bitcoin/node/utility/statistics.hpp
# files => ${bash_completiondir}
#------------------------------------------------------------------------------
if BASH_COMPLETIONDIR
dist_bash_completion_DATA = \
data/bn
endif BASH_COMPLETIONDIR
# files => ${sysconfdir}/libbitcoin
#------------------------------------------------------------------------------
if WITH_CONSOLE
sysconf_libbitcoindir = ${sysconfdir}/libbitcoin
sysconf_libbitcoin_DATA = \
data/bn.cfg
endif WITH_CONSOLE
# Custom make targets.
#==============================================================================
# make target: console
#------------------------------------------------------------------------------
target_console = \
console/bn
console: ${target_console}