Add general a busy progress indicator.
[gd/wireshark/.git] / ui / qt / Makefile.common
1 # Makefile.common
2 #     Contains the stuff from Makefile.am and Makefile.nmake that is
3 #     a) common to both files and
4 #     b) portable between both files
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
9 #
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
24 #
25 include Makefile_custom.common
26
27 # Generated header files that we want in the distribution.
28 GENERATED_HEADER_FILES =
29
30 # Generated header files that we don't want in the distribution.
31 NODIST_GENERATED_HEADER_FILES = \
32         ui_about_dialog.h       \
33         ui_bluetooth_att_server_attributes_dialog.h     \
34         ui_bluetooth_devices_dialog.h   \
35         ui_bluetooth_hci_summary_dialog.h       \
36         ui_capture_file_properties_dialog.h     \
37         ui_capture_interfaces_dialog.h  \
38         ui_capture_preferences_frame.h  \
39         ui_coloring_rules_dialog.h      \
40         ui_column_preferences_frame.h   \
41         ui_column_editor_frame.h        \
42         ui_compiled_filter_output.h             \
43         ui_decode_as_dialog.h   \
44         ui_display_filter_expression_dialog.h   \
45         ui_expert_info_dialog.h \
46         ui_export_object_dialog.h       \
47         ui_export_pdu_dialog.h  \
48         ui_extcap_options_dialog.h      \
49         ui_file_set_dialog.h    \
50         ui_filter_dialog.h      \
51         ui_filter_expressions_preferences_frame.h       \
52         ui_follow_stream_dialog.h       \
53         ui_font_color_preferences_frame.h       \
54         ui_funnel_string_dialog.h       \
55         ui_funnel_text_dialog.h \
56         ui_import_text_dialog.h \
57         ui_io_graph_dialog.h    \
58         ui_layout_preferences_frame.h   \
59         ui_lbm_lbtrm_transport_dialog.h \
60         ui_lbm_lbtru_transport_dialog.h \
61         ui_lbm_stream_dialog.h \
62         ui_lbm_uimflow_dialog.h \
63         ui_main_welcome.h       \
64         ui_main_window.h        \
65         ui_main_window_preferences_frame.h      \
66         ui_manage_interfaces_dialog.h   \
67         ui_module_preferences_scroll_area.h     \
68         ui_overlay_scroll_bar.h \
69         ui_packet_comment_dialog.h      \
70         ui_packet_dialog.h      \
71         ui_packet_format_group_box.h    \
72         ui_packet_range_group_box.h     \
73         ui_preference_editor_frame.h    \
74         ui_preferences_dialog.h \
75         ui_print_dialog.h       \
76         ui_profile_dialog.h     \
77         ui_progress_frame.h \
78         ui_protocol_hierarchy_dialog.h  \
79         ui_remote_capture_dialog.h      \
80         ui_remote_settings_dialog.h     \
81         ui_resolved_addresses_dialog.h  \
82         ui_rtp_analysis_dialog.h        \
83         ui_rtp_stream_dialog.h  \
84         ui_sctp_all_assocs_dialog.h     \
85         ui_sctp_assoc_analyse_dialog.h  \
86         ui_sctp_chunk_statistics_dialog.h       \
87         ui_sctp_graph_dialog.h  \
88         ui_sctp_graph_arwnd_dialog.h    \
89         ui_sctp_graph_byte_dialog.h     \
90         ui_search_frame.h       \
91         ui_sequence_dialog.h    \
92         ui_splash_overlay.h     \
93         ui_tap_parameter_dialog.h       \
94         ui_tcp_stream_dialog.h  \
95         ui_time_shift_dialog.h  \
96         ui_traffic_table_dialog.h       \
97         ui_uat_dialog.h         \
98         ui_voip_calls_dialog.h  \
99         ui_wireless_frame.h
100
101 # Generated C source files that we want in the distribution.
102 GENERATED_C_FILES =     \
103         wireshark-tap-register.c
104
105 # Generated C source files that we don't want in the distribution.
106 NODIST_GENERATED_C_FILES =
107
108 # Generated C++ source files that we want in the distribution.
109 GENERATED_CPP_FILES =
110
111 # Generated C++ source files that we don't want in the distribution.
112 NODIST_GENERATED_CPP_FILES =    \
113         $(MOC_SRC)      \
114         $(QRC_SRC)
115
116 # All the generated files we want in the distribution.
117 GENERATED_FILES =       \
118         $(GENERATED_HEADER_FILES)       \
119         $(GENERATED_C_FILES)    \
120         $(GENERATED_CPP_FILES)
121
122 # All the generated files we don't want in the distribution.
123 NODIST_GENERATED_FILES =        \
124         $(NODIST_GENERATED_HEADER_FILES)        \
125         $(NODIST_GENERATED_C_FILES)     \
126         $(NODIST_GENERATED_CPP_FILES)
127
128 # Files that generate compileable files
129 GENERATOR_FILES =
130
131 #
132 # Headers that have to be run through moc.
133 #
134 MOC_HDRS =      \
135         about_dialog.h  \
136         accordion_frame.h       \
137         bluetooth_att_server_attributes_dialog.h        \
138         bluetooth_devices_dialog.h      \
139         bluetooth_hci_summary_dialog.h  \
140         byte_view_tab.h \
141         byte_view_text.h        \
142         capture_file.h  \
143         capture_file_dialog.h   \
144         capture_file_properties_dialog.h        \
145         capture_filter_combo.h  \
146         capture_filter_edit.h   \
147         capture_filter_syntax_worker.h  \
148         capture_info_dialog.h   \
149         capture_interfaces_dialog.h     \
150         capture_preferences_frame.h     \
151         coloring_rules_dialog.h \
152         color_utils.h   \
153         column_preferences_frame.h      \
154         column_editor_frame.h   \
155         compiled_filter_output.h        \
156         conversation_dialog.h   \
157         decode_as_dialog.h      \
158         display_filter_combo.h  \
159         display_filter_edit.h   \
160         display_filter_expression_dialog.h      \
161         elided_label.h  \
162         endpoint_dialog.h       \
163         expert_info_dialog.h    \
164         export_dissection_dialog.h      \
165         export_object_dialog.h  \
166         export_pdu_dialog.h     \
167         extcap_argument.h       \
168         extcap_argument_file.h  \
169         extcap_options_dialog.h \
170         file_set_dialog.h       \
171         filter_action.h \
172         filter_dialog.h \
173         filter_expressions_preferences_frame.h  \
174         follow_stream_dialog.h  \
175         follow_stream_text.h    \
176         font_color_preferences_frame.h  \
177         funnel_string_dialog.h  \
178         funnel_text_dialog.h    \
179         funnel_statistics.h     \
180         import_text_dialog.h    \
181         interface_tree.h        \
182         io_graph_dialog.h       \
183         label_stack.h   \
184         layout_preferences_frame.h      \
185         lbm_lbtrm_transport_dialog.h    \
186         lbm_lbtru_transport_dialog.h    \
187         lbm_stream_dialog.h     \
188         lbm_uimflow_dialog.h    \
189         main_status_bar.h       \
190         main_welcome.h  \
191         main_window.h   \
192         main_window_preferences_frame.h \
193         manage_interfaces_dialog.h      \
194         module_preferences_scroll_area.h        \
195         overlay_scroll_bar.h    \
196         packet_comment_dialog.h \
197         packet_dialog.h \
198         packet_format_group_box.h       \
199         packet_list.h   \
200         packet_list_model.h     \
201         packet_range_group_box.h        \
202         preference_editor_frame.h       \
203         preferences_dialog.h    \
204         print_dialog.h  \
205         profile_dialog.h        \
206         progress_frame.h        \
207         proto_tree.h    \
208         protocol_hierarchy_dialog.h     \
209         protocol_preferences_menu.h     \
210         qcustomplot.h   \
211         recent_file_status.h    \
212         related_packet_delegate.h       \
213         remote_capture_dialog.h \
214         remote_settings_dialog.h        \
215         resolved_addresses_dialog.h     \
216         response_time_delay_dialog.h    \
217         search_frame.h  \
218         rtp_analysis_dialog.h   \
219         rtp_stream_dialog.h     \
220         sctp_all_assocs_dialog.h        \
221         sctp_assoc_analyse_dialog.h     \
222         sctp_chunk_statistics_dialog.h  \
223         sctp_graph_dialog.h     \
224         sctp_graph_arwnd_dialog.h       \
225         sctp_graph_byte_dialog.h        \
226         sequence_diagram.h      \
227         sequence_dialog.h       \
228         service_response_time_dialog.h  \
229         simple_dialog.h \
230         simple_statistics_dialog.h      \
231         sparkline_delegate.h    \
232         splash_overlay.h        \
233         stats_tree_dialog.h     \
234         syntax_line_edit.h      \
235         tap_parameter_dialog.h  \
236         tcp_stream_dialog.h     \
237         time_shift_dialog.h     \
238         traffic_table_dialog.h  \
239         uat_dialog.h    \
240         voip_calls_dialog.h     \
241         wireless_frame.h        \
242         wireshark_application.h \
243         wireshark_dialog.h
244
245
246 #
247 # .ui files.
248 #
249 UI_FILES =      \
250         about_dialog.ui \
251         bluetooth_att_server_attributes_dialog.ui       \
252         bluetooth_devices_dialog.ui     \
253         bluetooth_hci_summary_dialog.ui \
254         capture_file_properties_dialog.ui       \
255         capture_interfaces_dialog.ui    \
256         capture_preferences_frame.ui    \
257         coloring_rules_dialog.ui        \
258         column_preferences_frame.ui     \
259         column_editor_frame.ui  \
260         compiled_filter_output.ui \
261         decode_as_dialog.ui     \
262         display_filter_expression_dialog.ui     \
263         expert_info_dialog.ui   \
264         export_object_dialog.ui \
265         export_pdu_dialog.ui    \
266         extcap_options_dialog.ui        \
267         file_set_dialog.ui      \
268         filter_dialog.ui        \
269         filter_expressions_preferences_frame.ui \
270         follow_stream_dialog.ui \
271         font_color_preferences_frame.ui \
272         funnel_string_dialog.ui \
273         funnel_text_dialog.ui   \
274         import_text_dialog.ui   \
275         io_graph_dialog.ui      \
276         layout_preferences_frame.ui     \
277         lbm_lbtrm_transport_dialog.ui   \
278         lbm_lbtru_transport_dialog.ui   \
279         lbm_stream_dialog.ui    \
280         lbm_uimflow_dialog.ui   \
281         main_welcome.ui \
282         main_window.ui  \
283         main_window_preferences_frame.ui        \
284         manage_interfaces_dialog.ui             \
285         module_preferences_scroll_area.ui       \
286         packet_format_group_box.ui      \
287         packet_range_group_box.ui       \
288         packet_comment_dialog.ui        \
289         packet_dialog.ui        \
290         preference_editor_frame.ui      \
291         preferences_dialog.ui   \
292         print_dialog.ui \
293         profile_dialog.ui       \
294         progress_frame.ui       \
295         protocol_hierarchy_dialog.ui    \
296         remote_capture_dialog.ui        \
297         remote_settings_dialog.ui       \
298         resolved_addresses_dialog.ui    \
299         rtp_analysis_dialog.ui  \
300         rtp_stream_dialog.ui    \
301         sctp_all_assocs_dialog.ui       \
302         sctp_assoc_analyse_dialog.ui    \
303         sctp_chunk_statistics_dialog.ui \
304         sctp_graph_dialog.ui    \
305         sctp_graph_arwnd_dialog.ui      \
306         sctp_graph_byte_dialog.ui       \
307         search_frame.ui \
308         sequence_dialog.ui      \
309         splash_overlay.ui       \
310         tap_parameter_dialog.ui \
311         tcp_stream_dialog.ui    \
312         time_shift_dialog.ui    \
313         traffic_table_dialog.ui \
314         uat_dialog.ui           \
315         voip_calls_dialog.ui    \
316         wireless_frame.ui
317
318 #
319 # The .moc.cpp files generated from them.
320 # We do *not* include these in the distribution; if you have the Qt SDK
321 # installed, so that you can build Qt-based applications, you have moc
322 # installed.
323 #
324 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
325
326 #
327 # .qrc files.
328 #
329 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
330 QRC_FILES =     \
331         ../../image/about.qrc   \
332         ../../image/display_filter.qrc  \
333         ../../image/languages/languages.qrc     \
334         ../../image/layout.qrc  \
335         ../../image/status.qrc  \
336         ../../image/toolbar.qrc \
337         ../../image/wsicon.qrc  \
338         i18n.qrc
339
340 #
341 # .ts files.
342 # wireshark_en should be pluralonly.
343 #
344 TS_FILES =      \
345         wireshark_de.ts \
346         wireshark_en.ts \
347         wireshark_fr.ts \
348         wireshark_it.ts \
349         wireshark_ja_JP.ts      \
350         wireshark_pl.ts \
351         wireshark_zh_CN.ts
352
353 #
354 # .qm files.
355 #
356 # Should they be auto-generated ?
357 QM_FILES = $(TS_FILES:.ts=.qm)
358
359 #
360 # The .rcc.cpp files generated from them.
361 # We do *not* include these in the distribution; if you have the Qt SDK
362 # installed, so that you can build Qt-based applications, you have moc
363 # installed.
364 #
365 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
366
367 WIRESHARK_QT_SRC =      \
368         about_dialog.cpp        \
369         accordion_frame.cpp     \
370         bluetooth_att_server_attributes_dialog.cpp      \
371         bluetooth_devices_dialog.cpp    \
372         bluetooth_hci_summary_dialog.cpp        \
373         byte_view_tab.cpp       \
374         byte_view_text.cpp      \
375         capture_file.cpp        \
376         capture_file_dialog.cpp \
377         capture_file_properties_dialog.cpp      \
378         capture_filter_combo.cpp        \
379         capture_filter_edit.cpp \
380         capture_filter_syntax_worker.cpp        \
381         capture_info_dialog.cpp \
382         capture_interfaces_dialog.cpp   \
383         capture_preferences_frame.cpp   \
384         color_utils.cpp \
385         coloring_rules_dialog.cpp       \
386         column_preferences_frame.cpp    \
387         column_editor_frame.cpp \
388         compiled_filter_output.cpp \
389         conversation_dialog.cpp \
390         decode_as_dialog.cpp    \
391         display_filter_combo.cpp        \
392         display_filter_edit.cpp \
393         display_filter_expression_dialog.cpp    \
394         elided_label.cpp        \
395         endpoint_dialog.cpp     \
396         expert_info_dialog.cpp  \
397         export_dissection_dialog.cpp    \
398         export_object_dialog.cpp        \
399         export_pdu_dialog.cpp   \
400         extcap_argument.cpp     \
401         extcap_argument_file.cpp        \
402         extcap_options_dialog.cpp       \
403         file_set_dialog.cpp     \
404         filter_action.cpp       \
405         filter_dialog.cpp       \
406         filter_expressions_preferences_frame.cpp        \
407         follow_stream_dialog.cpp        \
408         follow_stream_text.cpp  \
409         font_color_preferences_frame.cpp        \
410         funnel_string_dialog.cpp        \
411         funnel_text_dialog.cpp  \
412         funnel_statistics.cpp   \
413         import_text_dialog.cpp  \
414         interface_tree.cpp      \
415         io_graph_dialog.cpp     \
416         label_stack.cpp \
417         layout_preferences_frame.cpp    \
418         lbm_lbtrm_transport_dialog.cpp  \
419         lbm_lbtru_transport_dialog.cpp  \
420         lbm_stream_dialog.cpp   \
421         lbm_uimflow_dialog.cpp  \
422         main_status_bar.cpp     \
423         main_welcome.cpp        \
424         main_window.cpp \
425         main_window_preferences_frame.cpp       \
426         main_window_slots.cpp   \
427         manage_interfaces_dialog.cpp    \
428         module_preferences_scroll_area.cpp      \
429         overlay_scroll_bar.cpp  \
430         packet_comment_dialog.cpp       \
431         packet_dialog.cpp       \
432         packet_format_group_box.cpp     \
433         packet_list.cpp \
434         packet_list_model.cpp   \
435         packet_list_record.cpp  \
436         packet_range_group_box.cpp      \
437         preference_editor_frame.cpp     \
438         preferences_dialog.cpp  \
439         print_dialog.cpp        \
440         profile_dialog.cpp      \
441         progress_frame.cpp      \
442         proto_tree.cpp  \
443         protocol_hierarchy_dialog.cpp   \
444         protocol_preferences_menu.cpp   \
445         qcustomplot.cpp \
446         qt_ui_utils.cpp \
447         recent_file_status.cpp  \
448         related_packet_delegate.cpp     \
449         remote_capture_dialog.cpp       \
450         remote_settings_dialog.cpp      \
451         resolved_addresses_dialog.cpp   \
452         response_time_delay_dialog.cpp  \
453         rtp_analysis_dialog.cpp \
454         rtp_stream_dialog.cpp   \
455         sctp_all_assocs_dialog.cpp      \
456         sctp_assoc_analyse_dialog.cpp   \
457         sctp_chunk_statistics_dialog.cpp        \
458         sctp_graph_dialog.cpp   \
459         sctp_graph_arwnd_dialog.cpp     \
460         sctp_graph_byte_dialog.cpp      \
461         search_frame.cpp        \
462         sequence_diagram.cpp    \
463         sequence_dialog.cpp     \
464         service_response_time_dialog.cpp        \
465         simple_dialog.cpp       \
466         simple_statistics_dialog.cpp    \
467         sparkline_delegate.cpp  \
468         splash_overlay.cpp      \
469         stats_tree_dialog.cpp   \
470         stock_icon.cpp          \
471         syntax_line_edit.cpp    \
472         tap_parameter_dialog.cpp        \
473         tcp_stream_dialog.cpp   \
474         time_shift_dialog.cpp   \
475         traffic_table_dialog.cpp        \
476         uat_dialog.cpp  \
477         voip_calls_dialog.cpp   \
478         wireless_frame.cpp      \
479         wireshark_application.cpp       \
480         wireshark_dialog.cpp
481
482 WIRESHARK_QT_TAP_SRC =  \
483         stats_tree_dialog.cpp
484
485 noinst_HEADERS =        \
486         $(MOC_HDRS)     \
487         packet_list_record.h    \
488         qcustomplot.h   \
489         qt_ui_utils.h   \
490         stock_icon.h    \
491         tango_colors.h