@@ -28,9 +28,9 @@ BITCOIN_INCLUDES += $(UNIVALUE_CFLAGS)
28
28
# LIBBITCOIN_COMMON=libbitcoin_common.a
29
29
# LIBBITCOIN_CONSENSUS=libbitcoin_consensus.a
30
30
# LIBBITCOIN_CLI=libbitcoin_cli.a
31
- # LIBBITCOIN_UTIL=libbitcoin_util.a
31
+ LIBBITCOIN_UTIL =libbitcoin_util.a
32
32
# LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a
33
- # LIBBITCOINQT=qt/libbitcoinqt.a
33
+ LIBBITCOINQT =qt/libbitcoinqt.a
34
34
# LIBSECP256K1=secp256k1/libsecp256k1.la
35
35
36
36
# if ENABLE_ZMQ
@@ -48,16 +48,17 @@ $(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)
48
48
49
49
# Make is not made aware of per-object dependencies to avoid limiting building parallelization
50
50
# But to build the less dependent modules first, we manually select their order here:
51
- # EXTRA_LIBRARIES += \
52
- # $(LIBBITCOIN_CRYPTO) \
53
- # $(LIBBITCOIN_UTIL) \
51
+ EXTRA_LIBRARIES += $(LIBBITCOIN_UTIL )
52
+
54
53
# $(LIBBITCOIN_COMMON) \
55
54
# $(LIBBITCOIN_CONSENSUS) \
56
55
# $(LIBBITCOIN_SERVER) \
57
56
# $(LIBBITCOIN_CLI) \
58
57
# $(LIBBITCOIN_WALLET) \
58
+ #
59
59
# $(LIBBITCOIN_ZMQ)
60
60
61
+
61
62
# lib_LTLIBRARIES = $(LIBBITCOINCONSENSUS)
62
63
63
64
bin_PROGRAMS =
@@ -142,47 +143,33 @@ obj/build.h: FORCE
142
143
# libbitcoin_util_a-clientversion.$(OBJEXT): obj/build.h
143
144
144
145
# server: shared between bitcoind and bitcoin-qt
145
- # libbitcoin_server_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(MINIUPNPC_CPPFLAGS) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS)
146
- # libbitcoin_server_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
147
- # libbitcoin_server_a_SOURCES = \
148
- # addrdb.cpp \
149
- # addrman.cpp \
150
- # bloom.cpp \
151
- # blockencodings.cpp \
152
- # chain.cpp \
153
- # checkpoints.cpp \
154
- # consensus/tx_verify.cpp \
155
- # httprpc.cpp \
156
- # httpserver.cpp \
157
- # init.cpp \
158
- # dbwrapper.cpp \
159
- # merkleblock.cpp \
146
+ # libbitcoin_server_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(MINIUPNPC_CPPFLAGS) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS) libbitcoin_server_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) libbitcoin_server_a_SOURCES = addrman.cpp \ alert.cpp \ beacon.cpp \ bitcoinrpc.cpp \ block.cpp \ boinc.cpp \ checkpoints.cpp \ cpid.cpp \ crypter.cpp \ db.cpp \ init.cpp \ irc.cpp \
147
+ # kernel.cpp \
148
+ # key.cpp \
149
+ # keystore.cpp \
150
+ # main.cpp \
160
151
# miner.cpp \
152
+ # netbase.cpp \
161
153
# net.cpp \
162
- # net_processing.cpp \
163
154
# noui.cpp \
164
- # policy/fees.cpp \
165
- # policy/policy.cpp \
166
- # policy/rbf.cpp \
167
- # pow.cpp \
168
- # rest.cpp \
169
- # rpc/blockchain.cpp \
170
- # rpc/mining.cpp \
171
- # rpc/misc.cpp \
172
- # rpc/net.cpp \
173
- # rpc/rawtransaction.cpp \
174
- # rpc/server.cpp \
175
- # script/sigcache.cpp \
176
- # script/ismine.cpp \
177
- # timedata.cpp \
178
- # torcontrol.cpp \
179
- # txdb.cpp \
180
- # txmempool.cpp \
181
- # ui_interface.cpp \
182
- # validation.cpp \
183
- # validationinterface.cpp \
184
- # versionbits.cpp \
185
- # $(BITCOIN_CORE_H)
155
+ # pbkdf2.cpp \
156
+ # protocol.cpp \
157
+ # rpcblockchain.cpp \
158
+ # rpcdump.cpp \
159
+ # rpcmining.cpp \
160
+ # rpcnet.cpp \
161
+ # rpcrawtransaction.cpp \
162
+ # rpcwallet.cpp \
163
+ # script.cpp \
164
+ # scrypt.cpp \
165
+ # sync.cpp \
166
+ # txdb-leveldb.cpp \
167
+ # upgrader.cpp \
168
+ # util.cpp \
169
+ # version.cpp \
170
+ # wallet.cpp \
171
+ # walletdb.cpp \
172
+ # $(BITCOIN_CORE_H)
186
173
187
174
# if ENABLE_ZMQ
188
175
# libbitcoin_zmq_a_CPPFLAGS = $(BITCOIN_INCLUDES) $(ZMQ_CFLAGS)
@@ -290,43 +277,9 @@ obj/build.h: FORCE
290
277
# util: shared between all executables.
291
278
# This library *must* be included to make sure that the glibc
292
279
# backward-compatibility objects and their sanity checks are linked.
293
- # libbitcoin_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
294
- # libbitcoin_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
295
- # libbitcoin_util_a_SOURCES = \
296
- # support/lockedpool.cpp \
297
- # chainparamsbase.cpp \
298
- # clientversion.cpp \
299
- # compat/glibc_sanity.cpp \
300
- # compat/glibcxx_sanity.cpp \
301
- # compat/strnlen.cpp \
302
- # fs.cpp \
303
- # random.cpp \
304
- # rpc/protocol.cpp \
305
- # support/cleanse.cpp \
306
- # sync.cpp \
307
- # threadinterrupt.cpp \
308
- # util.cpp \
309
- # utilmoneystr.cpp \
310
- # utilstrencodings.cpp \
311
- # utiltime.cpp \
312
- # $(BITCOIN_CORE_H)
313
-
314
- # if GLIBC_BACK_COMPAT
315
- # libbitcoin_util_a_SOURCES += compat/glibc_compat.cpp
316
- # endif
317
-
318
- # cli: shared between bitcoin-cli and bitcoin-qt
319
- # libbitcoin_cli_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
320
- # libbitcoin_cli_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
321
- # libbitcoin_cli_a_SOURCES = \
322
- # rpc/client.cpp \
323
- # $(BITCOIN_CORE_H)
324
-
325
- # nodist_libbitcoin_util_a_SOURCES = $(srcdir)/obj/build.h
326
- #
327
-
328
- # bitcoind binary #
329
- bitcoind_SOURCES = addrman.cpp \
280
+ libbitcoin_util_a_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES )
281
+ libbitcoin_util_a_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
282
+ libbitcoin_util_a_SOURCES = addrman.cpp \
330
283
alert.cpp \
331
284
beacon.cpp \
332
285
bitcoinrpc.cpp \
@@ -365,6 +318,61 @@ bitcoind_SOURCES = addrman.cpp \
365
318
walletdb.cpp \
366
319
$(BITCOIN_CORE_H )
367
320
321
+ # if GLIBC_BACK_COMPAT
322
+ # libbitcoin_util_a_SOURCES += compat/glibc_compat.cpp
323
+ # endif
324
+
325
+ # cli: shared between bitcoin-cli and bitcoin-qt
326
+ # libbitcoin_cli_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
327
+ # libbitcoin_cli_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
328
+ # libbitcoin_cli_a_SOURCES = \
329
+ # rpc/client.cpp \
330
+ # $(BITCOIN_CORE_H)
331
+
332
+ # nodist_libbitcoin_util_a_SOURCES = $(srcdir)/obj/build.h
333
+ #
334
+
335
+ # bitcoind binary #
336
+ bitcoind_SOURCES =
337
+ # bitcoind_SOURCES = addrman.cpp \
338
+ # alert.cpp \
339
+ # beacon.cpp \
340
+ # bitcoinrpc.cpp \
341
+ # block.cpp \
342
+ # boinc.cpp \
343
+ # checkpoints.cpp \
344
+ # cpid.cpp \
345
+ # crypter.cpp \
346
+ # db.cpp \
347
+ # init.cpp \
348
+ # irc.cpp \
349
+ # kernel.cpp \
350
+ # key.cpp \
351
+ # keystore.cpp \
352
+ # main.cpp \
353
+ # miner.cpp \
354
+ # netbase.cpp \
355
+ # net.cpp \
356
+ # noui.cpp \
357
+ # pbkdf2.cpp \
358
+ # protocol.cpp \
359
+ # rpcblockchain.cpp \
360
+ # rpcdump.cpp \
361
+ # rpcmining.cpp \
362
+ # rpcnet.cpp \
363
+ # rpcrawtransaction.cpp \
364
+ # rpcwallet.cpp \
365
+ # script.cpp \
366
+ # scrypt.cpp \
367
+ # sync.cpp \
368
+ # txdb-leveldb.cpp \
369
+ # upgrader.cpp \
370
+ # util.cpp \
371
+ # version.cpp \
372
+ # wallet.cpp \
373
+ # walletdb.cpp \
374
+ # $(BITCOIN_CORE_H)
375
+
368
376
bitcoind_CPPFLAGS = $(AM_CPPFLAGS ) $(BITCOIN_INCLUDES )
369
377
bitcoind_CXXFLAGS = $(AM_CXXFLAGS ) $(PIE_FLAGS )
370
378
bitcoind_LDFLAGS = $(RELDFLAGS ) $(AM_LDFLAGS ) $(LIBTOOL_APP_LDFLAGS )
@@ -374,18 +382,19 @@ bitcoind_SOURCES += bitcoind-res.rc
374
382
endif
375
383
376
384
bitcoind_LDADD = \
385
+ $(LIBBITCOIN_UTIL ) \
377
386
$(LIBLEVELDB ) \
378
387
$(LIBLEVELDB_SSE42 ) \
379
388
$(LIBMEMENV )
380
- # $(LIBBITCOIN_SERVER) \
381
- # $(LIBBITCOIN_COMMON) \
382
- # $(LIBUNIVALUE) \
383
- # $(LIBBITCOIN_UTIL) \
384
- # $(LIBBITCOIN_WALLET) \
385
- # $(LIBBITCOIN_CONSENSUS) \
386
- # $(LIBBITCOIN_CRYPTO) \
389
+ # $(LIBBITCOIN_WALLET)
390
+ # $(LIBBITCOIN_CONSENSUS)
391
+ # $(LIBBITCOIN_CRYPTO)
387
392
# $(LIBSECP256K1)
388
393
# $(LIBBITCOIN_ZMQ)
394
+ # $(LIBBITCOIN_SERVER)
395
+ # $(LIBBITCOIN_COMMON)
396
+ # $(LIBUNIVALUE)
397
+
389
398
390
399
bitcoind_LDADD += $(BOOST_LIBS ) $(BDB_LIBS ) $(SSL_LIBS ) $(CRYPTO_LIBS ) $(MINIUPNPC_LIBS ) $(EVENT_PTHREADS_LIBS ) $(EVENT_LIBS ) $(CURL_LIBS )
391
400
# bitcoind_LDADD += $(ZMQ_IBS)
0 commit comments