]>
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 \ | |
65e8ba4d CF |
113 | qt/moc_notificator.cpp \ |
114 | qt/moc_openuridialog.cpp \ | |
115 | qt/moc_optionsdialog.cpp \ | |
116 | qt/moc_optionsmodel.cpp \ | |
117 | qt/moc_overviewpage.cpp \ | |
118 | qt/moc_peertablemodel.cpp \ | |
119 | qt/moc_paymentserver.cpp \ | |
120 | qt/moc_qvalidatedlineedit.cpp \ | |
121 | qt/moc_qvaluecombobox.cpp \ | |
122 | qt/moc_receivecoinsdialog.cpp \ | |
123 | qt/moc_receiverequestdialog.cpp \ | |
124 | qt/moc_recentrequeststablemodel.cpp \ | |
125 | qt/moc_rpcconsole.cpp \ | |
126 | qt/moc_sendcoinsdialog.cpp \ | |
127 | qt/moc_sendcoinsentry.cpp \ | |
128 | qt/moc_signverifymessagedialog.cpp \ | |
129 | qt/moc_splashscreen.cpp \ | |
130 | qt/moc_trafficgraphwidget.cpp \ | |
131 | qt/moc_transactiondesc.cpp \ | |
132 | qt/moc_transactiondescdialog.cpp \ | |
133 | qt/moc_transactionfilterproxy.cpp \ | |
134 | qt/moc_transactiontablemodel.cpp \ | |
135 | qt/moc_transactionview.cpp \ | |
136 | qt/moc_utilitydialog.cpp \ | |
137 | qt/moc_walletframe.cpp \ | |
138 | qt/moc_walletmodel.cpp \ | |
139 | qt/moc_walletview.cpp | |
140 | ||
141 | BITCOIN_MM = \ | |
142 | qt/macdockiconhandler.mm \ | |
143 | qt/macnotificationhandler.mm | |
144 | ||
145 | QT_MOC = \ | |
146 | qt/bitcoin.moc \ | |
91cce173 | 147 | qt/bitcoinamountfield.moc \ |
65e8ba4d CF |
148 | qt/intro.moc \ |
149 | qt/overviewpage.moc \ | |
150 | qt/rpcconsole.moc | |
151 | ||
152 | QT_QRC_CPP = qt/qrc_bitcoin.cpp | |
153 | QT_QRC = qt/bitcoin.qrc | |
38e324af CF |
154 | QT_QRC_LOCALE_CPP = qt/qrc_bitcoin_locale.cpp |
155 | QT_QRC_LOCALE = qt/bitcoin_locale.qrc | |
65e8ba4d CF |
156 | |
157 | PROTOBUF_CC = qt/paymentrequest.pb.cc | |
158 | PROTOBUF_H = qt/paymentrequest.pb.h | |
159 | PROTOBUF_PROTO = qt/paymentrequest.proto | |
160 | ||
161 | BITCOIN_QT_H = \ | |
162 | qt/addressbookpage.h \ | |
163 | qt/addresstablemodel.h \ | |
164 | qt/askpassphrasedialog.h \ | |
165 | qt/bitcoinaddressvalidator.h \ | |
166 | qt/bitcoinamountfield.h \ | |
167 | qt/bitcoingui.h \ | |
168 | qt/bitcoinunits.h \ | |
169 | qt/clientmodel.h \ | |
170 | qt/coincontroldialog.h \ | |
171 | qt/coincontroltreewidget.h \ | |
172 | qt/csvmodelwriter.h \ | |
173 | qt/editaddressdialog.h \ | |
174 | qt/guiconstants.h \ | |
175 | qt/guiutil.h \ | |
176 | qt/intro.h \ | |
177 | qt/macdockiconhandler.h \ | |
178 | qt/macnotificationhandler.h \ | |
6de50c3c | 179 | qt/networkstyle.h \ |
65e8ba4d CF |
180 | qt/notificator.h \ |
181 | qt/openuridialog.h \ | |
182 | qt/optionsdialog.h \ | |
183 | qt/optionsmodel.h \ | |
184 | qt/overviewpage.h \ | |
185 | qt/paymentrequestplus.h \ | |
186 | qt/paymentserver.h \ | |
187 | qt/peertablemodel.h \ | |
188 | qt/qvalidatedlineedit.h \ | |
189 | qt/qvaluecombobox.h \ | |
190 | qt/receivecoinsdialog.h \ | |
191 | qt/receiverequestdialog.h \ | |
192 | qt/recentrequeststablemodel.h \ | |
193 | qt/rpcconsole.h \ | |
194 | qt/sendcoinsdialog.h \ | |
195 | qt/sendcoinsentry.h \ | |
196 | qt/signverifymessagedialog.h \ | |
197 | qt/splashscreen.h \ | |
198 | qt/trafficgraphwidget.h \ | |
199 | qt/transactiondesc.h \ | |
200 | qt/transactiondescdialog.h \ | |
201 | qt/transactionfilterproxy.h \ | |
202 | qt/transactionrecord.h \ | |
203 | qt/transactiontablemodel.h \ | |
204 | qt/transactionview.h \ | |
205 | qt/utilitydialog.h \ | |
206 | qt/walletframe.h \ | |
207 | qt/walletmodel.h \ | |
208 | qt/walletmodeltransaction.h \ | |
209 | qt/walletview.h \ | |
210 | qt/winshutdownmonitor.h | |
211 | ||
212 | RES_ICONS = \ | |
213 | qt/res/icons/add.png \ | |
214 | qt/res/icons/address-book.png \ | |
215 | qt/res/icons/bitcoin.ico \ | |
216 | qt/res/icons/bitcoin.png \ | |
217 | qt/res/icons/bitcoin_testnet.ico \ | |
218 | qt/res/icons/bitcoin_testnet.png \ | |
219 | qt/res/icons/clock1.png \ | |
220 | qt/res/icons/clock2.png \ | |
221 | qt/res/icons/clock3.png \ | |
222 | qt/res/icons/clock4.png \ | |
223 | qt/res/icons/clock5.png \ | |
224 | qt/res/icons/configure.png \ | |
225 | qt/res/icons/connect0_16.png \ | |
226 | qt/res/icons/connect1_16.png \ | |
227 | qt/res/icons/connect2_16.png \ | |
228 | qt/res/icons/connect3_16.png \ | |
229 | qt/res/icons/connect4_16.png \ | |
230 | qt/res/icons/debugwindow.png \ | |
231 | qt/res/icons/edit.png \ | |
232 | qt/res/icons/editcopy.png \ | |
233 | qt/res/icons/editpaste.png \ | |
234 | qt/res/icons/export.png \ | |
1c5f0af0 CL |
235 | qt/res/icons/eye.png \ |
236 | qt/res/icons/eye_minus.png \ | |
237 | qt/res/icons/eye_plus.png \ | |
65e8ba4d CF |
238 | qt/res/icons/filesave.png \ |
239 | qt/res/icons/history.png \ | |
240 | qt/res/icons/key.png \ | |
241 | qt/res/icons/lock_closed.png \ | |
242 | qt/res/icons/lock_open.png \ | |
243 | qt/res/icons/overview.png \ | |
244 | qt/res/icons/qrcode.png \ | |
245 | qt/res/icons/quit.png \ | |
246 | qt/res/icons/receive.png \ | |
247 | qt/res/icons/remove.png \ | |
248 | qt/res/icons/send.png \ | |
249 | qt/res/icons/synced.png \ | |
65e8ba4d CF |
250 | qt/res/icons/transaction0.png \ |
251 | qt/res/icons/transaction2.png \ | |
252 | qt/res/icons/transaction_conflicted.png \ | |
253 | qt/res/icons/tx_inout.png \ | |
254 | qt/res/icons/tx_input.png \ | |
255 | qt/res/icons/tx_output.png \ | |
ad87bc4d CL |
256 | qt/res/icons/tx_mined.png \ |
257 | qt/res/icons/unit_btc.png \ | |
258 | qt/res/icons/unit_mbtc.png \ | |
259 | qt/res/icons/unit_ubtc.png | |
65e8ba4d CF |
260 | |
261 | BITCOIN_QT_CPP = \ | |
262 | qt/bitcoinaddressvalidator.cpp \ | |
263 | qt/bitcoinamountfield.cpp \ | |
264 | qt/bitcoingui.cpp \ | |
265 | qt/bitcoinunits.cpp \ | |
266 | qt/clientmodel.cpp \ | |
267 | qt/csvmodelwriter.cpp \ | |
268 | qt/guiutil.cpp \ | |
269 | qt/intro.cpp \ | |
6de50c3c | 270 | qt/networkstyle.cpp \ |
65e8ba4d CF |
271 | qt/notificator.cpp \ |
272 | qt/optionsdialog.cpp \ | |
273 | qt/optionsmodel.cpp \ | |
274 | qt/peertablemodel.cpp \ | |
275 | qt/qvalidatedlineedit.cpp \ | |
276 | qt/qvaluecombobox.cpp \ | |
277 | qt/rpcconsole.cpp \ | |
278 | qt/splashscreen.cpp \ | |
279 | qt/trafficgraphwidget.cpp \ | |
280 | qt/utilitydialog.cpp \ | |
281 | qt/winshutdownmonitor.cpp | |
282 | ||
283 | if ENABLE_WALLET | |
284 | BITCOIN_QT_CPP += \ | |
285 | qt/addressbookpage.cpp \ | |
286 | qt/addresstablemodel.cpp \ | |
287 | qt/askpassphrasedialog.cpp \ | |
288 | qt/coincontroldialog.cpp \ | |
289 | qt/coincontroltreewidget.cpp \ | |
290 | qt/editaddressdialog.cpp \ | |
291 | qt/openuridialog.cpp \ | |
292 | qt/overviewpage.cpp \ | |
293 | qt/paymentrequestplus.cpp \ | |
294 | qt/paymentserver.cpp \ | |
295 | qt/receivecoinsdialog.cpp \ | |
296 | qt/receiverequestdialog.cpp \ | |
297 | qt/recentrequeststablemodel.cpp \ | |
298 | qt/sendcoinsdialog.cpp \ | |
299 | qt/sendcoinsentry.cpp \ | |
300 | qt/signverifymessagedialog.cpp \ | |
301 | qt/transactiondesc.cpp \ | |
302 | qt/transactiondescdialog.cpp \ | |
303 | qt/transactionfilterproxy.cpp \ | |
304 | qt/transactionrecord.cpp \ | |
305 | qt/transactiontablemodel.cpp \ | |
306 | qt/transactionview.cpp \ | |
307 | qt/walletframe.cpp \ | |
308 | qt/walletmodel.cpp \ | |
309 | qt/walletmodeltransaction.cpp \ | |
310 | qt/walletview.cpp | |
311 | endif | |
312 | ||
313 | RES_IMAGES = \ | |
314 | qt/res/images/about.png \ | |
315 | qt/res/images/splash.png \ | |
316 | qt/res/images/splash_testnet.png | |
317 | ||
318 | RES_MOVIES = $(wildcard qt/res/movies/spinner-*.png) | |
319 | ||
320 | BITCOIN_RC = qt/res/bitcoin-qt-res.rc | |
321 | ||
f4d81129 CF |
322 | BITCOIN_QT_INCLUDES = -I$(builddir)/qt -I$(srcdir)/qt -I$(srcdir)/qt/forms \ |
323 | -I$(builddir)/qt/forms | |
324 | ||
325 | qt_libbitcoinqt_a_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \ | |
326 | $(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS) | |
327 | ||
65e8ba4d | 328 | qt_libbitcoinqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \ |
38e324af | 329 | $(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) |
65e8ba4d CF |
330 | |
331 | nodist_qt_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \ | |
38e324af | 332 | $(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP) |
65e8ba4d CF |
333 | |
334 | # forms/foo.h -> forms/ui_foo.h | |
335 | QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h)))) | |
336 | ||
337 | # Most files will depend on the forms and moc files as includes. Generate them | |
338 | # before anything else. | |
339 | $(QT_MOC): $(QT_FORMS_H) | |
340 | $(qt_libbitcoinqt_a_OBJECTS) $(qt_bitcoin_qt_OBJECTS) : | $(QT_MOC) | |
341 | ||
342 | #Generating these with a half-written protobuf header leads to wacky results. | |
343 | #This makes sure it's done. | |
344 | $(QT_MOC): $(PROTOBUF_H) | |
345 | $(QT_MOC_CPP): $(PROTOBUF_H) | |
346 | ||
347 | # bitcoin-qt binary # | |
f4d81129 CF |
348 | qt_bitcoin_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \ |
349 | $(QT_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS) | |
350 | ||
65e8ba4d CF |
351 | qt_bitcoin_qt_SOURCES = qt/bitcoin.cpp |
352 | if TARGET_DARWIN | |
353 | qt_bitcoin_qt_SOURCES += $(BITCOIN_MM) | |
354 | endif | |
355 | if TARGET_WINDOWS | |
356 | qt_bitcoin_qt_SOURCES += $(BITCOIN_RC) | |
357 | endif | |
358 | qt_bitcoin_qt_LDADD = qt/libbitcoinqt.a $(LIBBITCOIN_SERVER) | |
359 | if ENABLE_WALLET | |
360 | qt_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET) | |
361 | endif | |
cbe39a38 | 362 | qt_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
07a99017 | 363 | $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) |
e0077de5 | 364 | qt_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) |
6f155bdb | 365 | qt_bitcoin_qt_LIBTOOLFLAGS = --tag CXX |
65e8ba4d CF |
366 | |
367 | #locale/foo.ts -> locale/foo.qm | |
368 | QT_QM=$(QT_TS:.ts=.qm) | |
369 | ||
370 | .SECONDARY: $(QT_QM) | |
371 | ||
50903034 | 372 | qt/bitcoinstrings.cpp: $(libbitcoin_server_a_SOURCES) $(libbitcoin_wallet_a_SOURCES) |
65e8ba4d | 373 | @test -n $(XGETTEXT) || echo "xgettext is required for updating translations" |
50903034 | 374 | $(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) ../share/qt/extract_strings_qt.py $^ |
65e8ba4d CF |
375 | |
376 | translate: qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM) | |
377 | @test -n $(LUPDATE) || echo "lupdate is required for updating translations" | |
70c71c50 | 378 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts qt/locale/bitcoin_en.ts |
65e8ba4d | 379 | |
38e324af | 380 | $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM) |
70c71c50 | 381 | @test -f $(RCC) |
38e324af CF |
382 | @test -f $(@D)/$(<F) || cp -f $< $(@D) |
383 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin_locale $(@D)/$(<F) | \ | |
384 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
385 | ||
386 | $(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) | |
387 | @test -f $(RCC) | |
388 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin $< | \ | |
389 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
65e8ba4d CF |
390 | |
391 | CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno | |
392 | ||
393 | CLEANFILES += $(CLEAN_QT) | |
394 | ||
395 | bitcoin_qt_clean: FORCE | |
396 | rm -f $(CLEAN_QT) $(qt_libbitcoinqt_a_OBJECTS) $(qt_bitcoin_qt_OBJECTS) qt/bitcoin-qt$(EXEEXT) $(LIBBITCOINQT) | |
397 | ||
398 | bitcoin_qt : qt/bitcoin-qt$(EXEEXT) | |
6b9f0d55 CF |
399 | |
400 | ui_%.h: %.ui | |
70c71c50 CF |
401 | @test -f $(UIC) |
402 | @$(MKDIR_P) $(@D) | |
403 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(UIC) -o $@ $< || (echo "Error creating $@"; false) | |
6b9f0d55 CF |
404 | |
405 | %.moc: %.cpp | |
70c71c50 CF |
406 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) $< | \ |
407 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
6b9f0d55 CF |
408 | |
409 | moc_%.cpp: %.h | |
70c71c50 CF |
410 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) $< | \ |
411 | $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ | |
6b9f0d55 CF |
412 | |
413 | %.qm: %.ts | |
70c71c50 CF |
414 | @test -f $(LRELEASE) |
415 | @$(MKDIR_P) $(@D) | |
416 | $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LRELEASE) -silent $< -qm $@ |