forked from libbitcoin/libbitcoin-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
116 lines (95 loc) · 4.16 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
###############################################################################
# Copyright (c) 2014-2015 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_CPPFLAGS} ${bitcoin_protocol_CPPFLAGS}
src_libbitcoin_client_la_LIBADD = ${bitcoin_LIBS} ${bitcoin_protocol_LIBS}
src_libbitcoin_client_la_SOURCES = \
src/dealer.cpp \
src/obelisk_client.cpp \
src/proxy.cpp \
src/socket_stream.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_CPPFLAGS} ${bitcoin_protocol_CPPFLAGS}
test_libbitcoin_client_test_LDADD = src/libbitcoin-client.la ${boost_unit_test_framework_LIBS} ${bitcoin_LIBS} ${bitcoin_protocol_LIBS}
test_libbitcoin_client_test_SOURCES = \
test/main.cpp \
test/proxy.cpp
endif WITH_TESTS
# local: examples/console/console
#------------------------------------------------------------------------------
if WITH_EXAMPLES
noinst_PROGRAMS = examples/console/console
examples_console_console_CPPFLAGS = -I${srcdir}/include ${bitcoin_CPPFLAGS} ${bitcoin_protocol_CPPFLAGS}
examples_console_console_LDADD = src/libbitcoin-client.la ${bitcoin_LIBS} ${bitcoin_protocol_LIBS}
examples_console_console_SOURCES = \
examples/console/client.cpp \
examples/console/client.hpp \
examples/console/connection.cpp \
examples/console/connection.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_CPPFLAGS} ${bitcoin_protocol_CPPFLAGS}
examples_get_height_get_height_LDADD = src/libbitcoin-client.la ${bitcoin_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/dealer.hpp \
include/bitcoin/client/define.hpp \
include/bitcoin/client/history.hpp \
include/bitcoin/client/obelisk_client.hpp \
include/bitcoin/client/proxy.hpp \
include/bitcoin/client/socket_stream.hpp \
include/bitcoin/client/stealth.hpp \
include/bitcoin/client/stream.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}