forked from libbitcoin/libbitcoin-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
106 lines (85 loc) · 3.92 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
###############################################################################
# Copyright (c) 2014-2023 libbitcoin-client 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-client.pc
# files => ${docdir}
#------------------------------------------------------------------------------
doc_DATA = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
NEWS \
README
# src/libbitcoin-client.la => ${libdir}
#------------------------------------------------------------------------------
lib_LTLIBRARIES = src/libbitcoin-client.la
src_libbitcoin_client_la_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS} ${bitcoin_protocol_BUILD_CPPFLAGS}
src_libbitcoin_client_la_LIBADD = ${bitcoin_system_LIBS} ${bitcoin_protocol_LIBS}
src_libbitcoin_client_la_SOURCES = \
src/obelisk_client.cpp
# local: test/libbitcoin-client-test
#------------------------------------------------------------------------------
if WITH_TESTS
TESTS = libbitcoin-client-test_runner.sh
check_PROGRAMS = test/libbitcoin-client-test
test_libbitcoin_client_test_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS} ${bitcoin_protocol_BUILD_CPPFLAGS}
test_libbitcoin_client_test_LDADD = src/libbitcoin-client.la ${boost_unit_test_framework_LIBS} ${bitcoin_system_LIBS} ${bitcoin_protocol_LIBS}
test_libbitcoin_client_test_SOURCES = \
test/main.cpp \
test/obelisk_client.cpp
endif WITH_TESTS
# local: examples/console/console
#------------------------------------------------------------------------------
if WITH_EXAMPLES
noinst_PROGRAMS = examples/console/console
examples_console_console_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS} ${bitcoin_protocol_BUILD_CPPFLAGS}
examples_console_console_LDADD = src/libbitcoin-client.la ${bitcoin_system_LIBS} ${bitcoin_protocol_LIBS}
examples_console_console_SOURCES = \
examples/console/client.cpp \
examples/console/client.hpp \
examples/console/main.cpp \
examples/console/read_line.cpp \
examples/console/read_line.hpp
endif WITH_EXAMPLES
# local: examples/get_height/get_height
#------------------------------------------------------------------------------
if WITH_EXAMPLES
noinst_PROGRAMS += examples/get_height/get_height
examples_get_height_get_height_CPPFLAGS = -I${srcdir}/include ${bitcoin_system_BUILD_CPPFLAGS} ${bitcoin_protocol_BUILD_CPPFLAGS}
examples_get_height_get_height_LDADD = src/libbitcoin-client.la ${bitcoin_system_LIBS} ${bitcoin_protocol_LIBS}
examples_get_height_get_height_SOURCES = \
examples/get_height/main.cpp
endif WITH_EXAMPLES
# files => ${includedir}/bitcoin
#------------------------------------------------------------------------------
include_bitcoindir = ${includedir}/bitcoin
include_bitcoin_HEADERS = \
include/bitcoin/client.hpp
include_bitcoin_clientdir = ${includedir}/bitcoin/client
include_bitcoin_client_HEADERS = \
include/bitcoin/client/define.hpp \
include/bitcoin/client/history.hpp \
include/bitcoin/client/obelisk_client.hpp \
include/bitcoin/client/version.hpp
# Custom make targets.
#==============================================================================
# make target: examples
#------------------------------------------------------------------------------
target_examples = \
examples/console/console \
examples/get_height/get_height
examples: ${target_examples}