@@ -345,11 +345,7 @@ obj/build.h: FORCE
345
345
" $( abs_top_srcdir) "
346
346
libbitcoin_util_a-clientversion.$(OBJEXT ) : obj/build.h
347
347
348
-
349
- # server: shared between bitcoind and bitcoin-qt
350
- # Contains code accessing mempool and chain state that is meant to be separated
351
- # from wallet and gui code (see node/README.md). Shared code should go in
352
- # libbitcoin_common or libbitcoin_util libraries, instead.
348
+ # node #
353
349
libbitcoin_node_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(BOOST_CPPFLAGS ) $(MINIUPNPC_CPPFLAGS ) $(NATPMP_CPPFLAGS ) $(EVENT_CFLAGS ) $(EVENT_PTHREADS_CFLAGS )
354
350
libbitcoin_node_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
355
351
libbitcoin_node_a_SOURCES = \
@@ -439,7 +435,9 @@ endif
439
435
if !ENABLE_WALLET
440
436
libbitcoin_node_a_SOURCES += dummywallet.cpp
441
437
endif
438
+ #
442
439
440
+ # zmq #
443
441
if ENABLE_ZMQ
444
442
libbitcoin_zmq_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(ZMQ_CFLAGS )
445
443
libbitcoin_zmq_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
@@ -450,10 +448,9 @@ libbitcoin_zmq_a_SOURCES = \
450
448
zmq/zmqrpc.cpp \
451
449
zmq/zmqutil.cpp
452
450
endif
451
+ #
453
452
454
-
455
- # wallet: shared between bitcoind and bitcoin-qt, but only linked
456
- # when wallet enabled
453
+ # wallet #
457
454
libbitcoin_wallet_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(BOOST_CPPFLAGS ) $(BDB_CPPFLAGS ) $(SQLITE_CFLAGS )
458
455
libbitcoin_wallet_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
459
456
libbitcoin_wallet_a_SOURCES = \
@@ -492,14 +489,17 @@ endif
492
489
if USE_BDB
493
490
libbitcoin_wallet_a_SOURCES += wallet/bdb.cpp wallet/salvage.cpp
494
491
endif
492
+ #
495
493
494
+ # wallet tool #
496
495
libbitcoin_wallet_tool_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(BOOST_CPPFLAGS )
497
496
libbitcoin_wallet_tool_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
498
497
libbitcoin_wallet_tool_a_SOURCES = \
499
498
wallet/wallettool.cpp \
500
499
$(BITCOIN_CORE_H )
500
+ #
501
501
502
- # crypto primitives library
502
+ # crypto #
503
503
crypto_libbitcoin_crypto_base_la_CPPFLAGS = $(AM_CPPFLAGS )
504
504
505
505
# Specify -static in both CXXFLAGS and LDFLAGS so libtool will only build a
@@ -579,8 +579,9 @@ crypto_libbitcoin_crypto_arm_shani_la_CPPFLAGS = $(AM_CPPFLAGS)
579
579
crypto_libbitcoin_crypto_arm_shani_la_CXXFLAGS += $(ARM_SHANI_CXXFLAGS )
580
580
crypto_libbitcoin_crypto_arm_shani_la_CPPFLAGS += -DENABLE_ARM_SHANI
581
581
crypto_libbitcoin_crypto_arm_shani_la_SOURCES = crypto/sha256_arm_shani.cpp
582
+ #
582
583
583
- # consensus: shared between all executables that validate any consensus rules.
584
+ # consensus #
584
585
libbitcoin_consensus_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES )
585
586
libbitcoin_consensus_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
586
587
libbitcoin_consensus_a_SOURCES = \
@@ -616,8 +617,9 @@ libbitcoin_consensus_a_SOURCES = \
616
617
util/strencodings.cpp \
617
618
util/strencodings.h \
618
619
version.h
620
+ #
619
621
620
- # common: shared between bitcoind, and bitcoin-qt and non-server tools
622
+ # common #
621
623
libbitcoin_common_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(BOOST_CPPFLAGS )
622
624
libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
623
625
libbitcoin_common_a_SOURCES = \
@@ -656,8 +658,9 @@ libbitcoin_common_a_SOURCES = \
656
658
script/standard.cpp \
657
659
warnings.cpp \
658
660
$(BITCOIN_CORE_H )
661
+ #
659
662
660
- # util: shared between all executables.
663
+ # util #
661
664
libbitcoin_util_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES ) $(BOOST_CPPFLAGS )
662
665
libbitcoin_util_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
663
666
libbitcoin_util_a_SOURCES = \
@@ -705,8 +708,9 @@ libbitcoin_util_a_SOURCES = \
705
708
if USE_LIBEVENT
706
709
libbitcoin_util_a_SOURCES += util/url.cpp
707
710
endif
711
+ #
708
712
709
- # cli: shared between bitcoin-cli and bitcoin-qt
713
+ # cli #
710
714
libbitcoin_cli_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES )
711
715
libbitcoin_cli_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
712
716
libbitcoin_cli_a_SOURCES = \
0 commit comments