@@ -289,7 +289,7 @@ RES_ICONS = \
289
289
qt/res/icons/warning.png \
290
290
qt/res/icons/verify.png
291
291
292
- BITCOIN_QT_CPP = \
292
+ BITCOIN_QT_BASE_CPP = \
293
293
qt/bantablemodel.cpp \
294
294
qt/bitcoinaddressvalidator.cpp \
295
295
qt/bitcoinamountfield.cpp \
@@ -313,12 +313,9 @@ BITCOIN_QT_CPP = \
313
313
qt/trafficgraphwidget.cpp \
314
314
qt/utilitydialog.cpp
315
315
316
- if TARGET_WINDOWS
317
- BITCOIN_QT_CPP += qt/winshutdownmonitor.cpp
318
- endif
316
+ BITCOIN_QT_WINDOWS_CPP = qt/winshutdownmonitor.cpp
319
317
320
- if ENABLE_WALLET
321
- BITCOIN_QT_CPP += \
318
+ BITCOIN_QT_WALLET_CPP = \
322
319
qt/addressbookpage.cpp \
323
320
qt/addresstablemodel.cpp \
324
321
qt/askpassphrasedialog.cpp \
@@ -345,6 +342,13 @@ BITCOIN_QT_CPP += \
345
342
qt/walletmodel.cpp \
346
343
qt/walletmodeltransaction.cpp \
347
344
qt/walletview.cpp
345
+
346
+ BITCOIN_QT_CPP = $(BITCOIN_QT_BASE_CPP)
347
+ if TARGET_WINDOWS
348
+ BITCOIN_QT_CPP += $(BITCOIN_QT_WINDOWS_CPP)
349
+ endif
350
+ if ENABLE_WALLET
351
+ BITCOIN_QT_CPP += $(BITCOIN_QT_WALLET_CPP)
348
352
endif
349
353
350
354
RES_IMAGES =
@@ -413,7 +417,7 @@ $(srcdir)/qt/bitcoinstrings.cpp: $(libbitcoin_server_a_SOURCES) $(libbitcoin_wal
413
417
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
414
418
$(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) PACKAGE_NAME="$(PACKAGE_NAME)" COPYRIGHT_HOLDERS="$(COPYRIGHT_HOLDERS)" COPYRIGHT_HOLDERS_SUBSTITUTION="$(COPYRIGHT_HOLDERS_SUBSTITUTION)" $(PYTHON) ../share/qt/extract_strings_qt.py $^
415
419
416
- translate: $(srcdir)/qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP ) $(BITCOIN_QT_H) $(BITCOIN_MM)
420
+ translate: $(srcdir)/qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_BASE_CPP) $(BITCOIN_QT_WINDOWS_CPP) $(BITCOIN_QT_WALLET_CPP ) $(BITCOIN_QT_H) $(BITCOIN_MM)
417
421
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
418
422
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts $(srcdir)/qt/locale/bitcoin_en.ts
419
423
0 commit comments