forked from libbitcoin/libbitcoin-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
171 lines (142 loc) · 6.14 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
###############################################################################
# Copyright (c) 2014-2023 libbitcoin-server 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-server.pc
# files => ${docdir}
#------------------------------------------------------------------------------
doc_DATA = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README
# src/libbitcoin-server.la => ${libdir}
#------------------------------------------------------------------------------
lib_LTLIBRARIES = src/libbitcoin-server.la
src_libbitcoin_server_la_CPPFLAGS = -I${srcdir}/include -DSYSCONFDIR=\"${sysconfdir}\" ${bitcoin_protocol_BUILD_CPPFLAGS} ${bitcoin_node_BUILD_CPPFLAGS}
src_libbitcoin_server_la_LIBADD = ${bitcoin_protocol_LIBS} ${bitcoin_node_LIBS}
src_libbitcoin_server_la_SOURCES = \
src/configuration.cpp \
src/parser.cpp \
src/server_node.cpp \
src/settings.cpp \
src/interface/blockchain.cpp \
src/interface/server.cpp \
src/interface/subscribe.cpp \
src/interface/transaction_pool.cpp \
src/interface/unsubscribe.cpp \
src/messages/message.cpp \
src/messages/route.cpp \
src/messages/subscription.cpp \
src/services/block_service.cpp \
src/services/heartbeat_service.cpp \
src/services/query_service.cpp \
src/services/transaction_service.cpp \
src/web/block_socket.cpp \
src/web/default_page_data.cpp \
src/web/heartbeat_socket.cpp \
src/web/query_socket.cpp \
src/web/transaction_socket.cpp \
src/workers/authenticator.cpp \
src/workers/notification_worker.cpp \
src/workers/query_worker.cpp
# local: test/libbitcoin-server-test
#------------------------------------------------------------------------------
if WITH_TESTS
TESTS = libbitcoin-server-test_runner.sh
check_PROGRAMS = test/libbitcoin-server-test
test_libbitcoin_server_test_CPPFLAGS = -I${srcdir}/include ${bitcoin_protocol_BUILD_CPPFLAGS} ${bitcoin_node_BUILD_CPPFLAGS}
test_libbitcoin_server_test_LDADD = src/libbitcoin-server.la ${boost_unit_test_framework_LIBS} ${bitcoin_protocol_LIBS} ${bitcoin_node_LIBS}
test_libbitcoin_server_test_SOURCES = \
test/main.cpp \
test/server.cpp \
test/stress.sh
endif WITH_TESTS
# console/bs => ${bindir}
#------------------------------------------------------------------------------
if WITH_CONSOLE
bin_PROGRAMS = console/bs
console_bs_CPPFLAGS = -I${srcdir}/include ${bitcoin_protocol_BUILD_CPPFLAGS} ${bitcoin_node_BUILD_CPPFLAGS}
console_bs_LDADD = src/libbitcoin-server.la ${bitcoin_protocol_LIBS} ${bitcoin_node_LIBS}
console_bs_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/server.hpp
include_bitcoin_serverdir = ${includedir}/bitcoin/server
include_bitcoin_server_HEADERS = \
include/bitcoin/server/configuration.hpp \
include/bitcoin/server/define.hpp \
include/bitcoin/server/parser.hpp \
include/bitcoin/server/server_node.hpp \
include/bitcoin/server/settings.hpp \
include/bitcoin/server/version.hpp
include_bitcoin_server_interfacedir = ${includedir}/bitcoin/server/interface
include_bitcoin_server_interface_HEADERS = \
include/bitcoin/server/interface/blockchain.hpp \
include/bitcoin/server/interface/server.hpp \
include/bitcoin/server/interface/subscribe.hpp \
include/bitcoin/server/interface/transaction_pool.hpp \
include/bitcoin/server/interface/unsubscribe.hpp
include_bitcoin_server_messagesdir = ${includedir}/bitcoin/server/messages
include_bitcoin_server_messages_HEADERS = \
include/bitcoin/server/messages/message.hpp \
include/bitcoin/server/messages/route.hpp \
include/bitcoin/server/messages/subscription.hpp
include_bitcoin_server_servicesdir = ${includedir}/bitcoin/server/services
include_bitcoin_server_services_HEADERS = \
include/bitcoin/server/services/block_service.hpp \
include/bitcoin/server/services/heartbeat_service.hpp \
include/bitcoin/server/services/query_service.hpp \
include/bitcoin/server/services/transaction_service.hpp
include_bitcoin_server_webdir = ${includedir}/bitcoin/server/web
include_bitcoin_server_web_HEADERS = \
include/bitcoin/server/web/block_socket.hpp \
include/bitcoin/server/web/default_page_data.hpp \
include/bitcoin/server/web/heartbeat_socket.hpp \
include/bitcoin/server/web/query_socket.hpp \
include/bitcoin/server/web/transaction_socket.hpp
include_bitcoin_server_workersdir = ${includedir}/bitcoin/server/workers
include_bitcoin_server_workers_HEADERS = \
include/bitcoin/server/workers/authenticator.hpp \
include/bitcoin/server/workers/notification_worker.hpp \
include/bitcoin/server/workers/query_worker.hpp
# files => ${bash_completiondir}
#------------------------------------------------------------------------------
if BASH_COMPLETIONDIR
dist_bash_completion_DATA = \
data/bs
endif BASH_COMPLETIONDIR
# files => ${sysconfdir}/libbitcoin
#------------------------------------------------------------------------------
if WITH_CONSOLE
sysconf_libbitcoindir = ${sysconfdir}/libbitcoin
sysconf_libbitcoin_DATA = \
data/bs.cfg
endif WITH_CONSOLE
# Custom make targets.
#==============================================================================
# make target: console
#------------------------------------------------------------------------------
target_console = \
console/bs
console: ${target_console}