]>
Commit | Line | Data |
---|---|---|
65e8ba4d CF |
1 | bin_PROGRAMS += qt/bitcoin-qt |
2 | noinst_LIBRARIES += qt/libbitcoinqt.a | |
3 | ||
4 | # bitcoin qt core # | |
5 | QT_TS = \ | |
6 | qt/locale/bitcoin_ach.ts \ | |
7 | qt/locale/bitcoin_af_ZA.ts \ | |
8 | qt/locale/bitcoin_ar.ts \ | |
9 | qt/locale/bitcoin_be_BY.ts \ | |
10 | qt/locale/bitcoin_bg.ts \ | |
11 | qt/locale/bitcoin_bs.ts \ | |
12 | qt/locale/bitcoin_ca_ES.ts \ | |
13 | qt/locale/bitcoin_ca.ts \ | |
14 | qt/locale/[email protected] \ | |
15 | qt/locale/bitcoin_cmn.ts \ | |
16 | qt/locale/bitcoin_cs.ts \ | |
17 | qt/locale/bitcoin_cy.ts \ | |
18 | qt/locale/bitcoin_da.ts \ | |
19 | qt/locale/bitcoin_de.ts \ | |
20 | qt/locale/bitcoin_el_GR.ts \ | |
21 | qt/locale/bitcoin_en.ts \ | |
22 | qt/locale/bitcoin_eo.ts \ | |
23 | qt/locale/bitcoin_es_CL.ts \ | |
24 | qt/locale/bitcoin_es_DO.ts \ | |
25 | qt/locale/bitcoin_es_MX.ts \ | |
26 | qt/locale/bitcoin_es.ts \ | |
27 | qt/locale/bitcoin_es_UY.ts \ | |
28 | qt/locale/bitcoin_et.ts \ | |
29 | qt/locale/bitcoin_eu_ES.ts \ | |
30 | qt/locale/bitcoin_fa_IR.ts \ | |
31 | qt/locale/bitcoin_fa.ts \ | |
32 | qt/locale/bitcoin_fi.ts \ | |
33 | qt/locale/bitcoin_fr_CA.ts \ | |
34 | qt/locale/bitcoin_fr.ts \ | |
35 | qt/locale/bitcoin_gl.ts \ | |
36 | qt/locale/bitcoin_gu_IN.ts \ | |
37 | qt/locale/bitcoin_he.ts \ | |
38 | qt/locale/bitcoin_hi_IN.ts \ | |
39 | qt/locale/bitcoin_hr.ts \ | |
40 | qt/locale/bitcoin_hu.ts \ | |
41 | qt/locale/bitcoin_id_ID.ts \ | |
42 | qt/locale/bitcoin_it.ts \ | |
43 | qt/locale/bitcoin_ja.ts \ | |
44 | qt/locale/bitcoin_ka.ts \ | |
45 | qt/locale/bitcoin_kk_KZ.ts \ | |
46 | qt/locale/bitcoin_ko_KR.ts \ | |
47 | qt/locale/bitcoin_ky.ts \ | |
48 | qt/locale/bitcoin_la.ts \ | |
49 | qt/locale/bitcoin_lt.ts \ | |
50 | qt/locale/bitcoin_lv_LV.ts \ | |
51 | qt/locale/bitcoin_mn.ts \ | |
52 | qt/locale/bitcoin_ms_MY.ts \ | |
53 | qt/locale/bitcoin_nb.ts \ | |
54 | qt/locale/bitcoin_nl.ts \ | |
55 | qt/locale/bitcoin_pam.ts \ | |
56 | qt/locale/bitcoin_pl.ts \ | |
57 | qt/locale/bitcoin_pt_BR.ts \ | |
58 | qt/locale/bitcoin_pt_PT.ts \ | |
59 | qt/locale/bitcoin_ro_RO.ts \ | |
60 | qt/locale/bitcoin_ru.ts \ | |
61 | qt/locale/bitcoin_sah.ts \ | |
62 | qt/locale/bitcoin_sk.ts \ | |
63 | qt/locale/bitcoin_sl_SI.ts \ | |
64 | qt/locale/bitcoin_sq.ts \ | |
65 | qt/locale/bitcoin_sr.ts \ | |
66 | qt/locale/bitcoin_sv.ts \ | |
67 | qt/locale/bitcoin_th_TH.ts \ | |
68 | qt/locale/bitcoin_tr.ts \ | |
69 | qt/locale/bitcoin_uk.ts \ | |
70 | qt/locale/bitcoin_ur_PK.ts \ | |
71 | qt/locale/[email protected] \ | |
72 | qt/locale/bitcoin_vi.ts \ | |
73 | qt/locale/bitcoin_vi_VN.ts \ | |
74 | qt/locale/bitcoin_zh_CN.ts \ | |
75 | qt/locale/bitcoin_zh_HK.ts \ | |
76 | qt/locale/bitcoin_zh_TW.ts | |
77 | ||
78 | QT_FORMS_UI = \ | |
65e8ba4d CF |
79 | qt/forms/addressbookpage.ui \ |
80 | qt/forms/askpassphrasedialog.ui \ | |
81 | qt/forms/coincontroldialog.ui \ | |
82 | qt/forms/editaddressdialog.ui \ | |
83 | qt/forms/helpmessagedialog.ui \ | |
84 | qt/forms/intro.ui \ | |
85 | qt/forms/openuridialog.ui \ | |
86 | qt/forms/optionsdialog.ui \ | |
87 | qt/forms/overviewpage.ui \ | |
88 | qt/forms/receivecoinsdialog.ui \ | |
89 | qt/forms/receiverequestdialog.ui \ | |
90 | qt/forms/rpcconsole.ui \ | |
91 | qt/forms/sendcoinsdialog.ui \ | |
92 | qt/forms/sendcoinsentry.ui \ | |
93 | qt/forms/signverifymessagedialog.ui \ | |
94 | qt/forms/transactiondescdialog.ui | |
95 | ||
96 | QT_MOC_CPP = \ | |
97 | qt/moc_addressbookpage.cpp \ | |
98 | qt/moc_addresstablemodel.cpp \ | |
99 | qt/moc_askpassphrasedialog.cpp \ | |
100 | qt/moc_bitcoinaddressvalidator.cpp \ | |
101 | qt/moc_bitcoinamountfield.cpp \ | |
102 | qt/moc_bitcoingui.cpp \ | |
103 | qt/moc_bitcoinunits.cpp \ | |
104 | qt/moc_clientmodel.cpp \ | |
105 | qt/moc_coincontroldialog.cpp \ | |
106 | qt/moc_coincontroltreewidget.cpp \ | |
107 | qt/moc_csvmodelwriter.cpp \ | |
108 | qt/moc_editaddressdialog.cpp \ | |
109 | qt/moc_guiutil.cpp \ | |
110 | qt/moc_intro.cpp \ | |
111 | qt/moc_macdockiconhandler.cpp \ | |
112 | qt/moc_macnotificationhandler.cpp \ | |
113 | qt/moc_monitoreddatamapper.cpp \ | |
114 | qt/moc_notificator.cpp \ | |
115 | qt/moc_openuridialog.cpp \ | |
116 | qt/moc_optionsdialog.cpp \ | |
117 | qt/moc_optionsmodel.cpp \ | |
118 | qt/moc_overviewpage.cpp \ | |
119 | qt/moc_peertablemodel.cpp \ | |
120 | qt/moc_paymentserver.cpp \ | |
121 | qt/moc_qvalidatedlineedit.cpp \ | |
122 | qt/moc_qvaluecombobox.cpp \ | |
123 | qt/moc_receivecoinsdialog.cpp \ | |
124 | qt/moc_receiverequestdialog.cpp \ | |
125 | qt/moc_recentrequeststablemodel.cpp \ | |
126 | qt/moc_rpcconsole.cpp \ | |
127 | qt/moc_sendcoinsdialog.cpp \ | |
128 | qt/moc_sendcoinsentry.cpp \ | |
129 | qt/moc_signverifymessagedialog.cpp \ | |
130 | qt/moc_splashscreen.cpp \ | |
131 | qt/moc_trafficgraphwidget.cpp \ | |
132 | qt/moc_transactiondesc.cpp \ | |
133 | qt/moc_transactiondescdialog.cpp \ | |
134 | qt/moc_transactionfilterproxy.cpp \ | |
135 | qt/moc_transactiontablemodel.cpp \ | |
136 | qt/moc_transactionview.cpp \ | |
137 | qt/moc_utilitydialog.cpp \ | |
138 | qt/moc_walletframe.cpp \ | |
139 | qt/moc_walletmodel.cpp \ | |
140 | qt/moc_walletview.cpp | |
141 | ||
142 | BITCOIN_MM = \ | |
143 | qt/macdockiconhandler.mm \ | |
144 | qt/macnotificationhandler.mm | |
145 | ||
146 | QT_MOC = \ | |
147 | qt/bitcoin.moc \ | |
91cce173 | 148 | qt/bitcoinamountfield.moc \ |
65e8ba4d CF |
149 | qt/intro.moc \ |
150 | qt/overviewpage.moc \ | |
151 | qt/rpcconsole.moc | |
152 | ||
153 | QT_QRC_CPP = qt/qrc_bitcoin.cpp | |
154 | QT_QRC = qt/bitcoin.qrc | |
38e324af CF |
155 | QT_QRC_LOCALE_CPP = qt/qrc_bitcoin_locale.cpp |
156 | QT_QRC_LOCALE = qt/bitcoin_locale.qrc | |
65e8ba4d CF |
157 | |
158 | PROTOBUF_CC = qt/paymentrequest.pb.cc | |
159 | PROTOBUF_H = qt/paymentrequest.pb.h | |
160 | PROTOBUF_PROTO = qt/paymentrequest.proto | |
161 | ||
162 | BITCOIN_QT_H = \ | |
163 | qt/addressbookpage.h \ | |
164 | qt/addresstablemodel.h \ | |
165 | qt/askpassphrasedialog.h \ | |
166 | qt/bitcoinaddressvalidator.h \ | |
167 | qt/bitcoinamountfield.h \ | |
168 | qt/bitcoingui.h \ | |
169 | qt/bitcoinunits.h \ | |
170 | qt/clientmodel.h \ | |
171 | qt/coincontroldialog.h \ | |
172 | qt/coincontroltreewidget.h \ | |
173 | qt/csvmodelwriter.h \ | |
174 | qt/editaddressdialog.h \ | |
175 | qt/guiconstants.h \ | |
176 | qt/guiutil.h \ | |
177 | qt/intro.h \ | |
178 | qt/macdockiconhandler.h \ | |
179 | qt/macnotificationhandler.h \ | |
180 | qt/monitoreddatamapper.h \ | |
181 | qt/notificator.h \ | |
182 | qt/openuridialog.h \ | |
183 | qt/optionsdialog.h \ | |
184 | qt/optionsmodel.h \ | |
185 | qt/overviewpage.h \ | |
186 | qt/paymentrequestplus.h \ | |
187 | qt/paymentserver.h \ | |
188 | qt/peertablemodel.h \ | |
189 | qt/qvalidatedlineedit.h \ | |
190 | qt/qvaluecombobox.h \ | |
191 | qt/receivecoinsdialog.h \ | |
192 | qt/receiverequestdialog.h \ | |
193 | qt/recentrequeststablemodel.h \ | |
194 | qt/rpcconsole.h \ | |
195 | qt/sendcoinsdialog.h \ | |
196 | qt/sendcoinsentry.h \ | |
197 | qt/signverifymessagedialog.h \ | |
198 | qt/splashscreen.h \ | |
199 | qt/trafficgraphwidget.h \ | |
200 | qt/transactiondesc.h \ | |
201 | qt/transactiondescdialog.h \ | |
202 | qt/transactionfilterproxy.h \ | |
203 | qt/transactionrecord.h \ | |
204 | qt/transactiontablemodel.h \ | |
205 | qt/transactionview.h \ | |
206 | qt/utilitydialog.h \ | |
207 | qt/walletframe.h \ | |
208 | qt/walletmodel.h \ | |
209 | qt/walletmodeltransaction.h \ | |
210 | qt/walletview.h \ | |
211 | qt/winshutdownmonitor.h | |
212 | ||
213 | RES_ICONS = \ | |
214 | qt/res/icons/add.png \ | |
215 | qt/res/icons/address-book.png \ | |
216 | qt/res/icons/bitcoin.ico \ | |
217 | qt/res/icons/bitcoin.png \ | |
218 | qt/res/icons/bitcoin_testnet.ico \ | |
219 | qt/res/icons/bitcoin_testnet.png \ | |
220 | qt/res/icons/clock1.png \ | |
221 | qt/res/icons/clock2.png \ | |
222 | qt/res/icons/clock3.png \ | |
223 | qt/res/icons/clock4.png \ | |
224 | qt/res/icons/clock5.png \ | |
225 | qt/res/icons/configure.png \ | |
226 | qt/res/icons/connect0_16.png \ | |
227 | qt/res/icons/connect1_16.png \ | |
228 | qt/res/icons/connect2_16.png \ | |
229 | qt/res/icons/connect3_16.png \ | |
230 | qt/res/icons/connect4_16.png \ | |
231 | qt/res/icons/debugwindow.png \ | |
232 | qt/res/icons/edit.png \ | |
233 | qt/res/icons/editcopy.png \ | |
234 | qt/res/icons/editpaste.png \ | |
235 | qt/res/icons/export.png \ | |
1c5f0af0 CL |
236 | qt/res/icons/eye.png \ |
237 | qt/res/icons/eye_minus.png \ | |
238 | qt/res/icons/eye_plus.png \ | |
65e8ba4d CF |
239 | qt/res/icons/filesave.png \ |
240 | qt/res/icons/history.png \ | |
241 | qt/res/icons/key.png \ | |
242 | qt/res/icons/lock_closed.png \ | |
243 | qt/res/icons/lock_open.png \ | |
244 | qt/res/icons/overview.png \ | |
245 | qt/res/icons/qrcode.png \ | |
246 | qt/res/icons/quit.png \ | |
247 | qt/res/icons/receive.png \ | |
248 | qt/res/icons/remove.png \ | |
249 | qt/res/icons/send.png \ | |
250 | qt/res/icons/synced.png \ | |
65e8ba4d CF |
251 | qt/res/icons/transaction0.png \ |
252 | qt/res/icons/transaction2.png \ | |
253 | qt/res/icons/transaction_conflicted.png \ | |
254 | qt/res/icons/tx_inout.png \ | |
255 | qt/res/icons/tx_input.png \ | |
256 | qt/res/icons/tx_output.png \ | |
ad87bc4d CL |
257 | qt/res/icons/tx_mined.png \ |
258 | qt/res/icons/unit_btc.png \ | |
259 | qt/res/icons/unit_mbtc.png \ | |
260 | qt/res/icons/unit_ubtc.png | |
65e8ba4d CF |
261 | |
262 | BITCOIN_QT_CPP = \ | |
263 | qt/bitcoinaddressvalidator.cpp \ | |
264 | qt/bitcoinamountfield.cpp \ | |
265 | qt/bitcoingui.cpp \ | |
266 | qt/bitcoinunits.cpp \ | |
267 | qt/clientmodel.cpp \ | |
268 | qt/csvmodelwriter.cpp \ | |
269 | qt/guiutil.cpp \ | |
270 | qt/intro.cpp \ | |
271 | qt/monitoreddatamapper.cpp \ | |
272 | qt/notificator.cpp \ | |
273 | qt/optionsdialog.cpp \ | |
274 | qt/optionsmodel.cpp \ | |
275 | qt/peertablemodel.cpp \ | |
276 | qt/qvalidatedlineedit.cpp \ | |
277 | qt/qvaluecombobox.cpp \ | |
278 | qt/rpcconsole.cpp \ | |
279 | qt/splashscreen.cpp \ | |
280 | qt/trafficgraphwidget.cpp \ | |
281 | qt/utilitydialog.cpp \ | |
282 | qt/winshutdownmonitor.cpp | |
283 | ||
284 | if ENABLE_WALLET | |
285 | BITCOIN_QT_CPP += \ | |
286 | qt/addressbookpage.cpp \ | |
287 | qt/addresstablemodel.cpp \ | |
288 | qt/askpassphrasedialog.cpp \ | |
289 | qt/coincontroldialog.cpp \ | |
290 | qt/coincontroltreewidget.cpp \ | |
291 | qt/editaddressdialog.cpp \ | |
292 | qt/openuridialog.cpp \ | |
293 | qt/overviewpage.cpp \ | |
294 | qt/paymentrequestplus.cpp \ | |
295 | qt/paymentserver.cpp \ | |
296 | qt/receivecoinsdialog.cpp \ | |
297 | qt/receiverequestdialog.cpp \ | |
298 | qt/recentrequeststablemodel.cpp \ | |
299 | qt/sendcoinsdialog.cpp \ | |
300 | qt/sendcoinsentry.cpp \ | |
301 | qt/signverifymessagedialog.cpp \ | |
302 | qt/transactiondesc.cpp \ | |
303 | qt/transactiondescdialog.cpp \ | |
304 | qt/transactionfilterproxy.cpp \ | |
305 | qt/transactionrecord.cpp \ | |
306 | qt/transactiontablemodel.cpp \ | |
307 | qt/transactionview.cpp \ | |
308 | qt/walletframe.cpp \ | |
309 | qt/walletmodel.cpp \ | |
310 | qt/walletmodeltransaction.cpp \ | |
311 | qt/walletview.cpp | |
312 | endif | |
313 | ||
314 | RES_IMAGES = \ | |
315 | qt/res/images/about.png \ | |
316 | qt/res/images/splash.png \ | |
317 | qt/res/images/splash_testnet.png | |
318 | ||
319 | RES_MOVIES = $(wildcard qt/res/movies/spinner-*.png) | |
320 | ||
321 | BITCOIN_RC = qt/res/bitcoin-qt-res.rc | |
322 | ||
f4d81129 CF |
323 | BITCOIN_QT_INCLUDES = -I$(builddir)/qt -I$(srcdir)/qt -I$(srcdir)/qt/forms \ |
324 | -I$(builddir)/qt/forms | |
325 | ||
326 | qt_libbitcoinqt_a_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \ | |
327 | $(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS) | |
328 | ||
65e8ba4d | 329 | qt_libbitcoinqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \ |
38e324af | 330 | $(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) |
65e8ba4d CF |
331 | |
332 | nodist_qt_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \ | |
38e324af | 333 | $(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP) |
65e8ba4d CF |
334 | |
335 | # forms/foo.h -> forms/ui_foo.h | |
336 | QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h)))) | |
337 | ||
338 | # Most files will depend on the forms and moc files as includes. Generate them | |
339 | # before anything else. | |
340 | $(QT_MOC): $(QT_FORMS_H) | |
341 | $(qt_libbitcoinqt_a_OBJECTS) $(qt_bitcoin_qt_OBJECTS) : | $(QT_MOC) | |
342 | ||
343 | #Generating these with a half-written protobuf header leads to wacky results. | |
344 | #This makes sure it's done. | |
345 | $(QT_MOC): $(PROTOBUF_H) | |
346 | $(QT_MOC_CPP): $(PROTOBUF_H) | |
347 | ||
348 | # bitcoin-qt binary # | |
f4d81129 CF |
349 | qt_bitcoin_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \ |
350 | $(QT_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS) | |
351 | ||
65e8ba4d CF |
352 | qt_bitcoin_qt_SOURCES = qt/bitcoin.cpp |
353 | if TARGET_DARWIN | |
354 | qt_bitcoin_qt_SOURCES += $(BITCOIN_MM) | |
355 | endif | |
356 | if TARGET_WINDOWS | |
357 | qt_bitcoin_qt_SOURCES += $(BITCOIN_RC) | |
358 | endif | |
359 | qt_bitcoin_qt_LDADD = qt/libbitcoinqt.a $(LIBBITCOIN_SERVER) | |
360 | if ENABLE_WALLET | |
361 | qt_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET) | |
362 | endif | |
cbe39a38 | 363 | qt_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
6b099402 | 364 | $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) |
55668266 CF |
365 | if USE_LIBSECP256K1 |
366 | qt_bitcoin_qt_LDADD += secp256k1/libsecp256k1.la | |
367 | endif | |
e432a5f0 | 368 | qt_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) |
65e8ba4d CF |
369 | |
370 | #locale/foo.ts -> locale/foo.qm | |
371 | QT_QM=$(QT_TS:.ts=.qm) | |
372 | ||
373 | .SECONDARY: $(QT_QM) | |
374 | ||
50903034 | 375 | qt/bitcoinstrings.cpp: $(libbitcoin_server_a_SOURCES) $(libbitcoin_wallet_a_SOURCES) |
65e8ba4d | 376 | @test -n $(XGETTEXT) || echo "xgettext is required for updating translations" |
50903034 | 377 | $(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) ../share/qt/extract_strings_qt.py $^ |
65e8ba4d CF |
378 | |
379 | translate: qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM) | |
380 | @test -n $(LUPDATE) || echo "lupdate is required for updating translations" | |
70c71c50 | 381 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts qt/locale/bitcoin_en.ts |
65e8ba4d | 382 | |
38e324af | 383 | $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM) |
70c71c50 | 384 | @test -f $(RCC) |
38e324af CF |
385 | @test -f $(@D)/$(<F) || cp -f $< $(@D) |
386 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin_locale $(@D)/$(<F) | \ | |
387 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
388 | ||
389 | $(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) | |
390 | @test -f $(RCC) | |
391 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin $< | \ | |
392 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
65e8ba4d CF |
393 | |
394 | CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno | |
395 | ||
396 | CLEANFILES += $(CLEAN_QT) | |
397 | ||
398 | bitcoin_qt_clean: FORCE | |
399 | rm -f $(CLEAN_QT) $(qt_libbitcoinqt_a_OBJECTS) $(qt_bitcoin_qt_OBJECTS) qt/bitcoin-qt$(EXEEXT) $(LIBBITCOINQT) | |
400 | ||
401 | bitcoin_qt : qt/bitcoin-qt$(EXEEXT) | |
6b9f0d55 CF |
402 | |
403 | ui_%.h: %.ui | |
70c71c50 CF |
404 | @test -f $(UIC) |
405 | @$(MKDIR_P) $(@D) | |
406 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(UIC) -o $@ $< || (echo "Error creating $@"; false) | |
6b9f0d55 CF |
407 | |
408 | %.moc: %.cpp | |
70c71c50 CF |
409 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) $< | \ |
410 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
6b9f0d55 CF |
411 | |
412 | moc_%.cpp: %.h | |
70c71c50 CF |
413 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) $< | \ |
414 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
6b9f0d55 CF |
415 | |
416 | %.qm: %.ts | |
70c71c50 CF |
417 | @test -f $(LRELEASE) |
418 | @$(MKDIR_P) $(@D) | |
419 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LRELEASE) -silent $< -qm $@ |