@@ -8,21 +8,42 @@ doc_DATA = README INSTALL COPYING
88#
99pkgconfig_DATA = libbitcoin-server.pc
1010
11+ # look for macros in the m4 subdirectory
12+ ACLOCAL_AMFLAGS = -I m4
13+
1114#
12- # bash completion
15+ # console application
1316#
17+ # if WITH_CONSOLE
18+
19+ # bash completion
1420if BASH_COMPLETION_DIR
1521 bashcompletiondir = ${bash_completion_dir}
1622 dist_bashcompletion_DATA = data/bitcoin_server
1723endif
1824
19- # look for macros in the m4 subdirectory
20- ACLOCAL_AMFLAGS = -I m4
21-
22- #
23- # console application
25+ # configuration file
2426#
25- bin_PROGRAMS = bitcoin_server
27+ # TODO: coordinate this dir and file name with source code to keep in sync.
28+ # Note that in a prefix install this file is placed relative to the prefix but
29+ # execution of the server will default to reading in the system-wide directory.
30+ confdir ="${sysconfdir}/libbitcoin"
31+ conf_DATA = data/server.cfg
32+
33+ bin_PROGRAMS = \
34+ bitcoin_server
35+
36+ bitcoin_server_CPPFLAGS = \
37+ -I${srcdir}/include \
38+ ${sodium_CFLAGS} \
39+ ${czmq___CFLAGS} \
40+ ${bitcoin_node_CFLAGS} \
41+ -DSYSCONFDIR=\"${sysconfdir}\"
42+
43+ bitcoin_server_LDADD = \
44+ ${sodium_LIBS} \
45+ ${czmq___LIBS} \
46+ ${bitcoin_node_LIBS}
2647
2748bitcoin_server_SOURCES = \
2849 src/message.cpp \
@@ -43,24 +64,4 @@ bitcoin_server_SOURCES = \
4364 src/service/protocol.cpp \
4465 src/service/transaction_pool.cpp
4566
46- bitcoin_server_CPPFLAGS = \
47- -I${srcdir}/include \
48- ${sodium_CFLAGS} \
49- ${czmq___CFLAGS} \
50- ${bitcoin_node_CFLAGS} \
51- -DSYSCONFDIR=\"${sysconfdir}\"
52-
53- bitcoin_server_LDADD = \
54- ${sodium_LIBS} \
55- ${czmq___LIBS} \
56- ${bitcoin_node_LIBS}
57-
58- #
59- # configuration file
60- #
61- # TODO: coordinate this dir and file name with source code to keep in sync.
62- # Note that in a prefix install this file is placed relative to the prefix but
63- # execution of the server will default to reading in the system-wide directory.
64- confdir ="${sysconfdir}/libbitcoin"
65- conf_DATA = data/server.cfg
66-
67+ # endif
0 commit comments