forked from libbitcoin/libbitcoin-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
189 lines (166 loc) · 7.31 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
###############################################################################
# Copyright (c) 2014-2019 libbitcoin-database 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-database.pc
# files => ${docdir}
#------------------------------------------------------------------------------
doc_DATA = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README
# src/libbitcoin-database.la => ${libdir}
#------------------------------------------------------------------------------
lib_LTLIBRARIES = src/libbitcoin-database.la
src_libbitcoin_database_la_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS}
src_libbitcoin_database_la_LIBADD = ${bitcoin_system_LIBS}
src_libbitcoin_database_la_SOURCES = \
src/data_base.cpp \
src/settings.cpp \
src/store.cpp \
src/unspent_outputs.cpp \
src/unspent_transaction.cpp \
src/verify.cpp \
src/databases/block_database.cpp \
src/databases/filter_database.cpp \
src/databases/payment_database.cpp \
src/databases/transaction_database.cpp \
src/memory/accessor.cpp \
src/memory/file_storage.cpp \
src/mman-win32/mman.c \
src/mman-win32/mman.h \
src/result/block_result.cpp \
src/result/filter_result.cpp \
src/result/inpoint_iterator.cpp \
src/result/payment_iterator.cpp \
src/result/payment_result.cpp \
src/result/transaction_iterator.cpp \
src/result/transaction_result.cpp
# local: test/libbitcoin-database-test
#------------------------------------------------------------------------------
if WITH_TESTS
TESTS = libbitcoin-database-test_runner.sh
check_PROGRAMS = test/libbitcoin-database-test
test_libbitcoin_database_test_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS}
test_libbitcoin_database_test_LDADD = src/libbitcoin-database.la ${boost_unit_test_framework_LIBS} ${bitcoin_system_LIBS}
test_libbitcoin_database_test_SOURCES = \
test/block_state.cpp \
test/data_base.cpp \
test/main.cpp \
test/settings.cpp \
test/store.cpp \
test/unspent_outputs.cpp \
test/unspent_transaction.cpp \
test/databases/block_database.cpp \
test/databases/filter_database.cpp \
test/databases/payment_database.cpp \
test/databases/transaction_database.cpp \
test/memory/accessor.cpp \
test/memory/file_storage.cpp \
test/primitives/hash_table.cpp \
test/primitives/hash_table_header.cpp \
test/primitives/hash_table_multimap.cpp \
test/primitives/list.cpp \
test/primitives/list_element.cpp \
test/primitives/list_iterator.cpp \
test/primitives/record_manager.cpp \
test/primitives/slab_manager.cpp \
test/result/block_result.cpp \
test/result/filter_result.cpp \
test/result/payment_iterator.cpp \
test/result/payment_result.cpp \
test/result/transaction_iterator.cpp \
test/result/transaction_result.cpp \
test/utility/storage.cpp \
test/utility/storage.hpp \
test/utility/utility.cpp \
test/utility/utility.hpp
endif WITH_TESTS
# local: tools/initchain/initchain
#------------------------------------------------------------------------------
if WITH_TOOLS
noinst_PROGRAMS = tools/initchain/initchain
tools_initchain_initchain_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS}
tools_initchain_initchain_LDADD = src/libbitcoin-database.la ${bitcoin_system_LIBS}
tools_initchain_initchain_SOURCES = \
tools/initchain/initchain.cpp
endif WITH_TOOLS
# files => ${includedir}/bitcoin
#------------------------------------------------------------------------------
include_bitcoindir = ${includedir}/bitcoin
include_bitcoin_HEADERS = \
include/bitcoin/database.hpp
include_bitcoin_databasedir = ${includedir}/bitcoin/database
include_bitcoin_database_HEADERS = \
include/bitcoin/database/block_state.hpp \
include/bitcoin/database/data_base.hpp \
include/bitcoin/database/define.hpp \
include/bitcoin/database/settings.hpp \
include/bitcoin/database/store.hpp \
include/bitcoin/database/unspent_outputs.hpp \
include/bitcoin/database/unspent_transaction.hpp \
include/bitcoin/database/verify.hpp \
include/bitcoin/database/version.hpp
include_bitcoin_database_databasesdir = ${includedir}/bitcoin/database/databases
include_bitcoin_database_databases_HEADERS = \
include/bitcoin/database/databases/block_database.hpp \
include/bitcoin/database/databases/filter_database.hpp \
include/bitcoin/database/databases/payment_database.hpp \
include/bitcoin/database/databases/transaction_database.hpp
include_bitcoin_database_impldir = ${includedir}/bitcoin/database/impl
include_bitcoin_database_impl_HEADERS = \
include/bitcoin/database/impl/hash_table.ipp \
include/bitcoin/database/impl/hash_table_header.ipp \
include/bitcoin/database/impl/hash_table_multimap.ipp \
include/bitcoin/database/impl/list.ipp \
include/bitcoin/database/impl/list_element.ipp \
include/bitcoin/database/impl/list_iterator.ipp \
include/bitcoin/database/impl/record_manager.ipp \
include/bitcoin/database/impl/slab_manager.ipp
include_bitcoin_database_memorydir = ${includedir}/bitcoin/database/memory
include_bitcoin_database_memory_HEADERS = \
include/bitcoin/database/memory/accessor.hpp \
include/bitcoin/database/memory/file_storage.hpp \
include/bitcoin/database/memory/memory.hpp \
include/bitcoin/database/memory/storage.hpp
include_bitcoin_database_primitivesdir = ${includedir}/bitcoin/database/primitives
include_bitcoin_database_primitives_HEADERS = \
include/bitcoin/database/primitives/hash_table.hpp \
include/bitcoin/database/primitives/hash_table_header.hpp \
include/bitcoin/database/primitives/hash_table_multimap.hpp \
include/bitcoin/database/primitives/list.hpp \
include/bitcoin/database/primitives/list_element.hpp \
include/bitcoin/database/primitives/list_iterator.hpp \
include/bitcoin/database/primitives/record_manager.hpp \
include/bitcoin/database/primitives/slab_manager.hpp
include_bitcoin_database_resultdir = ${includedir}/bitcoin/database/result
include_bitcoin_database_result_HEADERS = \
include/bitcoin/database/result/block_result.hpp \
include/bitcoin/database/result/filter_result.hpp \
include/bitcoin/database/result/inpoint_iterator.hpp \
include/bitcoin/database/result/payment_iterator.hpp \
include/bitcoin/database/result/payment_result.hpp \
include/bitcoin/database/result/transaction_iterator.hpp \
include/bitcoin/database/result/transaction_result.hpp
# Custom make targets.
#==============================================================================
# make target: tools
#------------------------------------------------------------------------------
target_tools = \
tools/initchain/initchain
tools: ${target_tools}