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