CMake: API reference fixes.
[metze/wireshark/wip.git] / ui / qt / Makefile.am
1 # Makefile.am
2 # Automake file for the Qt interface routines for Wireshark
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22 include $(top_srcdir)/Makefile.am.inc
23
24 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(Qt_CFLAGS)
25
26 if HAVE_SPEEXDSP
27 AM_CPPFLAGS += $(SPEEXDSP_CFLAGS)
28 endif
29
30 noinst_LIBRARIES = libqtui.a
31
32 include Makefile_custom.common
33
34 # Generated header files that we want in the distribution.
35 GENERATED_HEADER_FILES =
36
37 # Generated header files that we don't want in the distribution.
38 NODIST_GENERATED_HEADER_FILES = \
39         ui_about_dialog.h                               \
40         ui_address_editor_frame.h                       \
41         ui_bluetooth_att_server_attributes_dialog.h     \
42         ui_bluetooth_device_dialog.h                    \
43         ui_bluetooth_devices_dialog.h                   \
44         ui_bluetooth_hci_summary_dialog.h               \
45         ui_capture_file_properties_dialog.h             \
46         ui_capture_interfaces_dialog.h                  \
47         ui_capture_preferences_frame.h                  \
48         ui_coloring_rules_dialog.h                      \
49         ui_column_preferences_frame.h                   \
50         ui_column_editor_frame.h                        \
51         ui_compiled_filter_output.h                     \
52         ui_conversation_hash_tables_dialog.h            \
53         ui_decode_as_dialog.h                           \
54         ui_display_filter_expression_dialog.h           \
55         ui_dissector_tables_dialog.h                    \
56         ui_enabled_protocols_dialog.h                   \
57         ui_expert_info_dialog.h                         \
58         ui_export_object_dialog.h                       \
59         ui_export_pdu_dialog.h                          \
60         ui_extcap_options_dialog.h                      \
61         ui_file_set_dialog.h                            \
62         ui_filter_dialog.h                              \
63         ui_filter_expression_frame.h                    \
64         ui_firewall_rules_dialog.h                      \
65         ui_follow_stream_dialog.h                       \
66         ui_font_color_preferences_frame.h               \
67         ui_funnel_string_dialog.h                       \
68         ui_funnel_text_dialog.h                         \
69         ui_gsm_map_summary_dialog.h                     \
70         ui_iax2_analysis_dialog.h                       \
71         ui_import_text_dialog.h                         \
72         ui_interface_frame.h                            \
73         ui_interface_toolbar.h                          \
74         ui_io_graph_dialog.h                            \
75         ui_layout_preferences_frame.h                   \
76         ui_lbm_lbtrm_transport_dialog.h                 \
77         ui_lbm_lbtru_transport_dialog.h                 \
78         ui_lbm_stream_dialog.h                          \
79         ui_lbm_uimflow_dialog.h                         \
80         ui_lte_rlc_graph_dialog.h                       \
81         ui_main_welcome.h                               \
82         ui_main_window.h                                \
83         ui_main_window_preferences_frame.h              \
84         ui_manage_interfaces_dialog.h                   \
85         ui_module_preferences_scroll_area.h             \
86         ui_mtp3_summary_dialog.h                        \
87         ui_overlay_scroll_bar.h                         \
88         ui_packet_comment_dialog.h                      \
89         ui_packet_dialog.h                              \
90         ui_packet_format_group_box.h                    \
91         ui_packet_range_group_box.h                     \
92         ui_preference_editor_frame.h                    \
93         ui_preferences_dialog.h                         \
94         ui_print_dialog.h                               \
95         ui_profile_dialog.h                             \
96         ui_progress_frame.h                             \
97         ui_protocol_hierarchy_dialog.h                  \
98         ui_remote_capture_dialog.h                      \
99         ui_remote_settings_dialog.h                     \
100         ui_resolved_addresses_dialog.h                  \
101         ui_rtp_analysis_dialog.h                        \
102         ui_rtp_player_dialog.h                          \
103         ui_rtp_stream_dialog.h                          \
104         ui_sctp_all_assocs_dialog.h                     \
105         ui_sctp_assoc_analyse_dialog.h                  \
106         ui_sctp_chunk_statistics_dialog.h               \
107         ui_sctp_graph_dialog.h                          \
108         ui_sctp_graph_arwnd_dialog.h                    \
109         ui_sctp_graph_byte_dialog.h                     \
110         ui_search_frame.h                               \
111         ui_sequence_dialog.h                            \
112         ui_show_packet_bytes_dialog.h                   \
113         ui_splash_overlay.h                             \
114         ui_supported_protocols_dialog.h                 \
115         ui_tap_parameter_dialog.h                       \
116         ui_tcp_stream_dialog.h                          \
117         ui_time_shift_dialog.h                          \
118         ui_traffic_table_dialog.h                       \
119         ui_uat_dialog.h                                 \
120         ui_uat_frame.h                                  \
121         ui_voip_calls_dialog.h                          \
122         ui_wireless_frame.h
123
124
125 # Generated C source files that we want in the distribution.
126 GENERATED_C_FILES =
127
128 # Generated C source files that we don't want in the distribution.
129 NODIST_GENERATED_C_FILES = \
130         wireshark-tap-register.c
131
132 # Generated C++ source files that we want in the distribution.
133 GENERATED_CPP_FILES =
134
135 # Generated C++ source files that we don't want in the distribution.
136 NODIST_GENERATED_CPP_FILES = \
137         $(MOC_SRC)      \
138         $(QRC_SRC)
139
140 # All the generated files we want in the distribution.
141 GENERATED_FILES = \
142         $(GENERATED_HEADER_FILES)       \
143         $(GENERATED_C_FILES)            \
144         $(GENERATED_CPP_FILES)
145
146 # All the generated files we don't want in the distribution.
147 NODIST_GENERATED_FILES = \
148         $(NODIST_GENERATED_HEADER_FILES)        \
149         $(NODIST_GENERATED_C_FILES)             \
150         $(NODIST_GENERATED_CPP_FILES)
151
152 # Files that generate compileable files
153 GENERATOR_FILES =
154
155 # Files that are basic widgets for every tool to be used
156 MOC_WIDGET_HDRS = \
157         widgets/additional_toolbar.h                    \
158         widgets/apply_line_edit.h                       \
159         widgets/byte_view_text.h                        \
160         widgets/capture_filter_combo.h                  \
161         widgets/capture_filter_edit.h                   \
162         widgets/clickable_label.h                       \
163         widgets/display_filter_combo.h                  \
164         widgets/display_filter_edit.h                   \
165         widgets/dissector_tables_view.h                 \
166         widgets/drag_drop_toolbar.h                     \
167         widgets/drag_label.h                    \
168         widgets/editor_color_dialog.h                           \
169         widgets/editor_file_dialog.h                            \
170         widgets/elided_label.h                          \
171         widgets/expert_info_view.h                      \
172         widgets/export_objects_view.h                           \
173         widgets/field_filter_edit.h                     \
174         widgets/find_line_edit.h                        \
175         widgets/follow_stream_text.h                    \
176         widgets/interface_toolbar_lineedit.h            \
177         widgets/label_stack.h                           \
178         widgets/overlay_scroll_bar.h                    \
179         widgets/pref_module_view.h                      \
180         widgets/range_syntax_lineedit.h                 \
181         widgets/syntax_line_edit.h                      \
182         widgets/stock_icon_tool_button.h                \
183         widgets/tabnav_tree_view.h                      \
184         widgets/qcustomplot.h
185
186
187 # Files that are general manager classes with
188 MOC_MANAGER_HDRS = \
189         manager/preference_manager.h                    \
190         manager/wireshark_preference.h
191
192 # Files that are utility classes with multi-purpose, but no widgets
193 MOC_UTILS_HDRS = \
194         utils/color_utils.h                             \
195         utils/data_printer.h                            \
196         utils/field_information.h                       \
197         utils/frame_information.h                       \
198         utils/idata_printable.h                         \
199         utils/proto_node.h                              \
200         utils/qt_ui_utils.h                             \
201         utils/stock_icon.h                              \
202         utils/variant_pointer.h                         \
203         utils/wireshark_mime_data.h
204
205 # Files for delegates and models
206 MOC_MODELS_HDRS = \
207         models/astringlist_list_model.h                 \
208         models/cache_proxy_model.h                      \
209         models/coloring_rules_delegate.h                        \
210         models/coloring_rules_model.h                   \
211         models/decode_as_delegate.h                     \
212         models/decode_as_model.h                        \
213         models/dissector_tables_model.h                 \
214         models/enabled_protocols_model.h                        \
215         models/expert_info_model.h                      \
216         models/expert_info_proxy_model.h                \
217         models/export_objects_model.h                   \
218         models/fileset_entry_model.h                    \
219         models/info_proxy_model.h                       \
220         models/interface_sort_filter_model.h            \
221         models/interface_tree_cache_model.h             \
222         models/interface_tree_model.h                   \
223         models/numeric_value_chooser_delegate.h         \
224         models/packet_list_model.h                      \
225         models/packet_list_record.h                     \
226         models/path_chooser_delegate.h                  \
227         models/percent_bar_delegate.h                   \
228         models/pref_delegate.h                  \
229         models/pref_models.h                    \
230         models/proto_tree_model.h                       \
231         models/related_packet_delegate.h                \
232         models/sparkline_delegate.h                     \
233         models/supported_protocols_model.h              \
234         models/timeline_delegate.h                      \
235         models/tree_model_helpers.h                     \
236         models/uat_delegate.h                           \
237         models/uat_model.h                              \
238         models/url_link_delegate.h                      \
239         models/voip_calls_info_model.h
240
241
242 #
243 # Headers that have to be run through moc.
244 #
245 MOC_HDRS = \
246         about_dialog.h                                  \
247         accordion_frame.h                               \
248         address_editor_frame.h                          \
249         bluetooth_att_server_attributes_dialog.h        \
250         bluetooth_device_dialog.h                       \
251         bluetooth_devices_dialog.h                      \
252         bluetooth_hci_summary_dialog.h                  \
253         byte_view_tab.h                                 \
254         capture_file.h                                  \
255         capture_file_dialog.h                           \
256         capture_file_properties_dialog.h                \
257         capture_filter_syntax_worker.h                  \
258         capture_info_dialog.h                           \
259         capture_interfaces_dialog.h                     \
260         capture_preferences_frame.h                     \
261         coloring_rules_dialog.h                         \
262         column_preferences_frame.h                      \
263         column_editor_frame.h                           \
264         compiled_filter_output.h                        \
265         conversation_colorize_action.h                  \
266         conversation_dialog.h                           \
267         conversation_hash_tables_dialog.h               \
268         decode_as_dialog.h                              \
269         display_filter_expression_dialog.h              \
270         dissector_tables_dialog.h                       \
271         enabled_protocols_dialog.h                      \
272         endpoint_dialog.h                               \
273         expert_info_dialog.h                            \
274         export_dissection_dialog.h                      \
275         export_object_action.h                          \
276         export_object_dialog.h                          \
277         export_pdu_dialog.h                             \
278         extcap_argument.h               \
279         extcap_argument_file.h          \
280         extcap_argument_multiselect.h   \
281         extcap_options_dialog.h                 \
282         file_set_dialog.h                               \
283         filter_action.h                                 \
284         filter_dialog.h                                 \
285         filter_expression_frame.h                       \
286         firewall_rules_dialog.h                         \
287         follow_stream_dialog.h                          \
288         font_color_preferences_frame.h                  \
289         funnel_string_dialog.h                          \
290         funnel_text_dialog.h                            \
291         funnel_statistics.h                             \
292         geometry_state_dialog.h                         \
293         gsm_map_summary_dialog.h                        \
294         iax2_analysis_dialog.h                          \
295         import_text_dialog.h                            \
296         interface_frame.h                               \
297         interface_toolbar.h                             \
298         interface_toolbar_reader.h                      \
299         io_graph_dialog.h                               \
300         layout_preferences_frame.h                      \
301         lbm_lbtrm_transport_dialog.h                    \
302         lbm_lbtru_transport_dialog.h                    \
303         lbm_stream_dialog.h                             \
304         lte_mac_statistics_dialog.h                     \
305         lte_rlc_graph_dialog.h                          \
306         lte_rlc_statistics_dialog.h                     \
307         main_status_bar.h                               \
308         main_welcome.h                                  \
309         main_window.h                                   \
310         main_window_preferences_frame.h                 \
311         manage_interfaces_dialog.h                      \
312         module_preferences_scroll_area.h                \
313         multicast_statistics_dialog.h                   \
314         mtp3_summary_dialog.h                           \
315         packet_comment_dialog.h                         \
316         packet_dialog.h                                 \
317         packet_format_group_box.h                       \
318         packet_list.h                                   \
319         packet_range_group_box.h                        \
320         preference_editor_frame.h                       \
321         preferences_dialog.h                            \
322         print_dialog.h                                  \
323         profile_dialog.h                                \
324         progress_frame.h                                \
325         proto_tree.h                                    \
326         protocol_hierarchy_dialog.h                     \
327         protocol_preferences_menu.h                     \
328         recent_file_status.h                            \
329         remote_capture_dialog.h                         \
330         remote_settings_dialog.h                        \
331         resolved_addresses_dialog.h                     \
332         response_time_delay_dialog.h                    \
333         rpc_service_response_time_dialog.h              \
334         rtp_analysis_dialog.h                           \
335         rtp_audio_stream.h                              \
336         rtp_player_dialog.h                             \
337         rtp_stream_dialog.h                             \
338         scsi_service_response_time_dialog.h             \
339         sctp_all_assocs_dialog.h                        \
340         sctp_assoc_analyse_dialog.h                     \
341         search_frame.h                                  \
342         sctp_chunk_statistics_dialog.h                  \
343         sctp_graph_dialog.h                             \
344         sctp_graph_arwnd_dialog.h                       \
345         sctp_graph_byte_dialog.h                        \
346         search_frame.h                                  \
347         sequence_diagram.h                              \
348         sequence_dialog.h                               \
349         service_response_time_dialog.h                  \
350         show_packet_bytes_dialog.h                      \
351         simple_statistics_dialog.h                      \
352         splash_overlay.h                                \
353         stats_tree_dialog.h                             \
354         supported_protocols_dialog.h                    \
355         tabnav_tree_widget.h                            \
356         tap_parameter_dialog.h                          \
357         tcp_stream_dialog.h                             \
358         time_shift_dialog.h                             \
359         traffic_table_dialog.h                          \
360         uat_dialog.h                                    \
361         uat_frame.h                                     \
362         voip_calls_dialog.h                             \
363         wireless_frame.h                                \
364         wireless_timeline.h                             \
365         wireshark_application.h                         \
366         wireshark_dialog.h                              \
367         wlan_statistics_dialog.h                        \
368         $(MOC_WIDGET_HDRS)                              \
369         $(MOC_MANAGER_HDRS)                             \
370         $(MOC_UTILS_HDRS)                               \
371         $(MOC_MODELS_HDRS)
372
373 #
374 # .ui files.
375 #
376 UI_FILES = \
377         about_dialog.ui                                 \
378         address_editor_frame.ui                         \
379         bluetooth_att_server_attributes_dialog.ui       \
380         bluetooth_device_dialog.ui                      \
381         bluetooth_devices_dialog.ui                     \
382         bluetooth_hci_summary_dialog.ui                 \
383         capture_file_properties_dialog.ui               \
384         capture_interfaces_dialog.ui                    \
385         capture_preferences_frame.ui                    \
386         coloring_rules_dialog.ui                        \
387         column_preferences_frame.ui                     \
388         column_editor_frame.ui                          \
389         compiled_filter_output.ui                       \
390         conversation_hash_tables_dialog.ui              \
391         decode_as_dialog.ui                             \
392         display_filter_expression_dialog.ui             \
393         dissector_tables_dialog.ui                      \
394         enabled_protocols_dialog.ui                     \
395         expert_info_dialog.ui                           \
396         export_object_dialog.ui                         \
397         export_pdu_dialog.ui                            \
398         extcap_options_dialog.ui                        \
399         file_set_dialog.ui                              \
400         filter_dialog.ui                                \
401         filter_expression_frame.ui                      \
402         firewall_rules_dialog.ui                        \
403         follow_stream_dialog.ui                         \
404         font_color_preferences_frame.ui                 \
405         funnel_string_dialog.ui                         \
406         funnel_text_dialog.ui                           \
407         gsm_map_summary_dialog.ui                       \
408         iax2_analysis_dialog.ui                         \
409         import_text_dialog.ui                           \
410         interface_frame.ui                              \
411         interface_toolbar.ui                            \
412         io_graph_dialog.ui                              \
413         layout_preferences_frame.ui                     \
414         lbm_lbtrm_transport_dialog.ui                   \
415         lbm_lbtru_transport_dialog.ui                   \
416         lbm_stream_dialog.ui                            \
417         lte_rlc_graph_dialog.ui                         \
418         main_welcome.ui                                 \
419         main_window.ui                                  \
420         main_window_preferences_frame.ui                \
421         manage_interfaces_dialog.ui                     \
422         module_preferences_scroll_area.ui               \
423         mtp3_summary_dialog.ui                          \
424         packet_format_group_box.ui                      \
425         packet_range_group_box.ui                       \
426         packet_comment_dialog.ui                        \
427         packet_dialog.ui                                \
428         preference_editor_frame.ui                      \
429         preferences_dialog.ui                           \
430         print_dialog.ui                                 \
431         profile_dialog.ui                               \
432         progress_frame.ui                               \
433         protocol_hierarchy_dialog.ui                    \
434         remote_capture_dialog.ui                        \
435         remote_settings_dialog.ui                       \
436         resolved_addresses_dialog.ui                    \
437         rtp_analysis_dialog.ui                          \
438         rtp_player_dialog.ui                            \
439         rtp_stream_dialog.ui                            \
440         sctp_all_assocs_dialog.ui                       \
441         sctp_assoc_analyse_dialog.ui                    \
442         sctp_chunk_statistics_dialog.ui                 \
443         sctp_graph_dialog.ui                            \
444         sctp_graph_arwnd_dialog.ui                      \
445         sctp_graph_byte_dialog.ui                       \
446         search_frame.ui                                 \
447         sequence_dialog.ui                              \
448         show_packet_bytes_dialog.ui                     \
449         splash_overlay.ui                               \
450         supported_protocols_dialog.ui                   \
451         tap_parameter_dialog.ui                         \
452         tcp_stream_dialog.ui                            \
453         time_shift_dialog.ui                            \
454         traffic_table_dialog.ui                         \
455         uat_dialog.ui                                   \
456         uat_frame.ui                                    \
457         voip_calls_dialog.ui                            \
458         wireless_frame.ui
459
460 #
461 # The .moc.cpp files generated from them.
462 # We do *not* include these in the distribution; if you have the Qt SDK
463 # installed, so that you can build Qt-based applications, you have moc
464 # installed.
465 #
466 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
467
468 #
469 # .qrc files.
470 #
471 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
472 QRC_FILES = \
473         ../../image/about.qrc                   \
474         ../../image/languages/languages.qrc     \
475         ../../image/layout.qrc                  \
476         ../../image/stock_icons.qrc             \
477         ../../image/wsicon.qrc
478
479 #
480 # The .cpp files generated from them.
481 # We do *not* include these in the distribution; if you have the Qt SDK
482 # installed, so that you can build Qt-based applications, you have rcc
483 # installed.
484 #
485 QRC_SRC = \
486         qrc_about.cpp           \
487         qrc_languages.cpp       \
488         qrc_layout.cpp          \
489         qrc_stock_icons.cpp     \
490         qrc_wsicon.cpp          \
491         qrc_i18n.cpp
492
493 #
494 # .ts files.
495 # wireshark_en should be pluralonly.
496 #
497 TS_FILES = \
498         wireshark_de.ts         \
499         wireshark_en.ts         \
500         wireshark_fr.ts         \
501         wireshark_it.ts         \
502         wireshark_ja_JP.ts      \
503         wireshark_pl.ts         \
504         wireshark_zh_CN.ts
505
506 #
507 # .qm files.
508 #
509 QM_FILES = $(TS_FILES:.ts=.qm)
510
511 WIRESHARK_QT_WIDGET_SRC = \
512         widgets/additional_toolbar.cpp                  \
513         widgets/apply_line_edit.cpp                     \
514         widgets/byte_view_text.cpp                      \
515         widgets/capture_filter_combo.cpp                \
516         widgets/capture_filter_edit.cpp                 \
517         widgets/clickable_label.cpp                     \
518         widgets/display_filter_combo.cpp                \
519         widgets/display_filter_edit.cpp                 \
520         widgets/dissector_tables_view.cpp                       \
521         widgets/drag_drop_toolbar.cpp                   \
522         widgets/drag_label.cpp                  \
523         widgets/editor_color_dialog.cpp                 \
524         widgets/editor_file_dialog.cpp                  \
525         widgets/elided_label.cpp                        \
526         widgets/expert_info_view.cpp                    \
527         widgets/export_objects_view.cpp                 \
528         widgets/field_filter_edit.cpp                   \
529         widgets/find_line_edit.cpp                      \
530         widgets/follow_stream_text.cpp                  \
531         widgets/interface_toolbar_lineedit.cpp          \
532         widgets/label_stack.cpp                         \
533         widgets/overlay_scroll_bar.cpp                  \
534         widgets/pref_module_view.cpp                    \
535         widgets/stock_icon_tool_button.cpp              \
536         widgets/range_syntax_lineedit.cpp               \
537         widgets/syntax_line_edit.cpp                    \
538         widgets/tabnav_tree_view.cpp                    \
539         widgets/qcustomplot.cpp
540
541 # Files that are general manager classes with
542 WIRESHARK_QT_MANAGER_SRC = \
543         manager/preference_manager.cpp                  \
544         manager/wireshark_preference.cpp
545
546 WIRESHARK_QT_UTILS_SRC = \
547         utils/color_utils.cpp                           \
548         utils/data_printer.cpp                          \
549         utils/field_information.cpp                     \
550         utils/frame_information.cpp                     \
551         utils/proto_node.cpp                            \
552         utils/qt_ui_utils.cpp                           \
553         utils/stock_icon.cpp                            \
554         utils/wireshark_mime_data.cpp
555
556 WIRESHARK_QT_MODELS_SRCS = \
557         models/astringlist_list_model.cpp               \
558         models/cache_proxy_model.cpp                    \
559         models/coloring_rules_delegate.cpp                      \
560         models/coloring_rules_model.cpp                 \
561         models/decode_as_delegate.cpp                   \
562         models/decode_as_model.cpp                      \
563         models/dissector_tables_model.cpp                       \
564         models/enabled_protocols_model.cpp                      \
565         models/expert_info_model.cpp                    \
566         models/expert_info_proxy_model.cpp              \
567         models/export_objects_model.cpp                 \
568         models/fileset_entry_model.cpp                  \
569         models/info_proxy_model.cpp                     \
570         models/interface_sort_filter_model.cpp          \
571         models/interface_tree_cache_model.cpp           \
572         models/interface_tree_model.cpp                 \
573         models/numeric_value_chooser_delegate.cpp       \
574         models/packet_list_model.cpp                    \
575         models/packet_list_record.cpp                   \
576         models/path_chooser_delegate.cpp                \
577         models/percent_bar_delegate.cpp                 \
578         models/pref_delegate.cpp                        \
579         models/pref_models.cpp                  \
580         models/proto_tree_model.cpp                     \
581         models/related_packet_delegate.cpp              \
582         models/sparkline_delegate.cpp                   \
583         models/supported_protocols_model.cpp            \
584         models/timeline_delegate.cpp                    \
585         models/uat_model.cpp                            \
586         models/uat_delegate.cpp                         \
587         models/url_link_delegate.cpp                    \
588         models/voip_calls_info_model.cpp
589
590 WIRESHARK_QT_SRC = \
591         about_dialog.cpp                                \
592         accordion_frame.cpp                             \
593         address_editor_frame.cpp                        \
594         bluetooth_att_server_attributes_dialog.cpp      \
595         bluetooth_device_dialog.cpp                     \
596         bluetooth_devices_dialog.cpp                    \
597         bluetooth_hci_summary_dialog.cpp                \
598         byte_view_tab.cpp                               \
599         capture_file.cpp                                \
600         capture_file_dialog.cpp                         \
601         capture_file_properties_dialog.cpp              \
602         capture_filter_syntax_worker.cpp                \
603         capture_info_dialog.cpp                         \
604         capture_interfaces_dialog.cpp                   \
605         capture_preferences_frame.cpp                   \
606         coloring_rules_dialog.cpp                       \
607         column_preferences_frame.cpp                    \
608         column_editor_frame.cpp                         \
609         compiled_filter_output.cpp                      \
610         conversation_colorize_action.cpp                \
611         conversation_dialog.cpp                         \
612         conversation_hash_tables_dialog.cpp             \
613         decode_as_dialog.cpp                            \
614         display_filter_expression_dialog.cpp            \
615         dissector_tables_dialog.cpp                     \
616         enabled_protocols_dialog.cpp                    \
617         endpoint_dialog.cpp                             \
618         export_dissection_dialog.cpp                    \
619         export_object_action.cpp                        \
620         export_object_dialog.cpp                        \
621         export_pdu_dialog.cpp                           \
622         extcap_argument.cpp                     \
623         extcap_argument_file.cpp        \
624         extcap_argument_multiselect.cpp \
625         extcap_options_dialog.cpp               \
626         file_set_dialog.cpp                             \
627         filter_action.cpp                               \
628         filter_dialog.cpp                               \
629         filter_expression_frame.cpp                     \
630         firewall_rules_dialog.cpp                       \
631         follow_stream_dialog.cpp                        \
632         font_color_preferences_frame.cpp                \
633         funnel_string_dialog.cpp                        \
634         funnel_text_dialog.cpp                          \
635         geometry_state_dialog.cpp                       \
636         iax2_analysis_dialog.cpp                        \
637         import_text_dialog.cpp                          \
638         interface_frame.cpp                             \
639         interface_toolbar.cpp                           \
640         interface_toolbar_reader.cpp                    \
641         layout_preferences_frame.cpp                    \
642         lbm_lbtrm_transport_dialog.cpp                  \
643         lbm_lbtru_transport_dialog.cpp                  \
644         lbm_stream_dialog.cpp                           \
645         lte_mac_statistics_dialog.cpp                   \
646         lte_rlc_graph_dialog.cpp                        \
647         lte_rlc_statistics_dialog.cpp                   \
648         main_status_bar.cpp                             \
649         main_welcome.cpp                                \
650         main_window.cpp                                 \
651         main_window_preferences_frame.cpp               \
652         main_window_slots.cpp                           \
653         manage_interfaces_dialog.cpp                    \
654         module_preferences_scroll_area.cpp              \
655         packet_comment_dialog.cpp                       \
656         packet_dialog.cpp                               \
657         packet_format_group_box.cpp                     \
658         packet_list.cpp                                 \
659         packet_range_group_box.cpp                      \
660         preference_editor_frame.cpp                     \
661         preferences_dialog.cpp                          \
662         print_dialog.cpp                                \
663         profile_dialog.cpp                              \
664         progress_frame.cpp                              \
665         proto_tree.cpp                                  \
666         protocol_hierarchy_dialog.cpp                   \
667         protocol_preferences_menu.cpp                   \
668         recent_file_status.cpp                          \
669         remote_capture_dialog.cpp                       \
670         remote_settings_dialog.cpp                      \
671         resolved_addresses_dialog.cpp                   \
672         response_time_delay_dialog.cpp                  \
673         rpc_service_response_time_dialog.cpp            \
674         rtp_analysis_dialog.cpp                         \
675         rtp_audio_stream.cpp                            \
676         rtp_player_dialog.cpp                           \
677         rtp_stream_dialog.cpp                           \
678         scsi_service_response_time_dialog.cpp           \
679         sctp_all_assocs_dialog.cpp                      \
680         sctp_assoc_analyse_dialog.cpp                   \
681         sctp_chunk_statistics_dialog.cpp                \
682         sctp_graph_dialog.cpp                           \
683         sctp_graph_arwnd_dialog.cpp                     \
684         sctp_graph_byte_dialog.cpp                      \
685         search_frame.cpp                                \
686         sequence_diagram.cpp                            \
687         sequence_dialog.cpp                             \
688         service_response_time_dialog.cpp                \
689         show_packet_bytes_dialog.cpp                    \
690         simple_dialog.cpp                               \
691         simple_statistics_dialog.cpp                    \
692         splash_overlay.cpp                              \
693         supported_protocols_dialog.cpp                  \
694         tabnav_tree_widget.cpp                          \
695         tap_parameter_dialog.cpp                        \
696         tcp_stream_dialog.cpp                           \
697         time_shift_dialog.cpp                           \
698         traffic_table_dialog.cpp                        \
699         uat_dialog.cpp                                  \
700         uat_frame.cpp                                   \
701         voip_calls_dialog.cpp                           \
702         wireless_frame.cpp                              \
703         wireless_timeline.cpp                           \
704         wireshark_application.cpp                       \
705         wireshark_dialog.cpp                            \
706         $(WIRESHARK_QT_WIDGET_SRC)                      \
707         $(WIRESHARK_QT_UTILS_SRC)                       \
708         $(WIRESHARK_QT_MANAGER_SRC)                     \
709         ${WIRESHARK_QT_MODELS_SRCS}
710
711 WIRESHARK_QT_TAP_SRC = \
712         expert_info_dialog.cpp                  \
713         funnel_statistics.cpp                   \
714         gsm_map_summary_dialog.cpp              \
715         io_graph_dialog.cpp                     \
716         lte_mac_statistics_dialog.cpp           \
717         lte_rlc_statistics_dialog.cpp           \
718         mtp3_summary_dialog.cpp                 \
719         multicast_statistics_dialog.cpp         \
720         rtp_stream_dialog.cpp                   \
721         sctp_all_assocs_dialog.cpp              \
722         sctp_assoc_analyse_dialog.cpp           \
723         stats_tree_dialog.cpp                   \
724         wlan_statistics_dialog.cpp
725
726 noinst_HEADERS = \
727         $(MOC_HDRS)                     \
728         simple_dialog.h                 \
729         models/packet_list_record.h     \
730         widgets/qcustomplot.h           \
731         utils/qt_ui_utils.h             \
732         utils/stock_icon.h              \
733         utils/tango_colors.h            \
734         utils/variant_pointer.h
735
736
737 wireshark-tap-register.c: $(WIRESHARK_QT_TAP_SRC) ../make-taps
738         $(AM_V_GEN)../make-taps $@ $(filter %.cpp,$^)
739
740 libqtui_a_SOURCES = \
741         $(WIRESHARK_QT_SRC)             \
742         $(WIRESHARK_QT_TAP_SRC)         \
743         $(GENERATED_C_FILES)            \
744         $(GENERATED_CPP_FILES)          \
745         $(noinst_HEADERS)               \
746         $(GENERATED_HEADER_FILES)
747
748 nodist_libqtui_a_SOURCES = \
749         $(NODIST_GENERATED_C_FILES)     \
750         $(NODIST_GENERATED_CPP_FILES)   \
751         $(NODIST_GENERATED_HEADER_FILES)
752
753 CLEANFILES = \
754         *.moc.cpp                       \
755         qrc_*.cpp                       \
756         ui_*.h
757
758 DISTCLEANFILES = \
759         $(NODIST_GENERATED_FILES)       \
760         $(QM_FILES)             \
761         i18n.qrc
762
763 MAINTAINERCLEANFILES = \
764         $(GENERATED_FILES)
765
766 AM_V_MOC = $(am__v_MOC_@AM_V@)
767 am__v_MOC_ = $(am__v_MOC_@AM_DEFAULT_V@)
768 am__v_MOC_0 = @echo "  MOC     " $@;
769
770 AM_V_RCC = $(am__v_RCC_@AM_V@)
771 am__v_RCC_ = $(am__v_RCC_@AM_DEFAULT_V@)
772 am__v_RCC_0 = @echo "  RCC     " $@;
773
774 AM_V_UIC = $(am__v_UIC_@AM_V@)
775 am__v_UIC_ = $(am__v_UIC_@AM_DEFAULT_V@)
776 am__v_UIC_0 = @echo "  UIC     " $@;
777
778 AM_V_LRELEASE = $(am__v_LRELEASE_@AM_V@)
779 am__v_LRELEASE_ = $(am__v_LRELEASE_@AM_DEFAULT_V@)
780 am__v_LRELEASE_0 = @echo "  LRELEASE  " $@;
781
782 #
783 # For building .moc.cpp files from .h files by running moc,
784 # building .rcc.cpp files from .qrc files by running rcc,
785 # and building ui_XXX.h files from .ui files by running uic.
786 #
787 SUFFIXES = .moc.cpp
788
789 #
790 # The Qt toolchain uses the naming convention moc_FOO.cpp. Should we do the same?
791 #moc_%.cpp: %.h
792 #       $(MOC) $< -o $@
793 #
794 .h.moc.cpp:
795         $(AM_V_MOC)$(MOC) $(MOC_OPTIONS) -I.. -I../.. $(INCLUDEDIRS) -o $@ $<
796
797 qrc_about.cpp: ../../image/about.qrc
798         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name about -o $@ $<
799
800 qrc_layout.cpp: ../../image/layout.qrc
801         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name layout -o $@ $<
802
803 qrc_languages.cpp: ../../image/languages/languages.qrc
804         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name languages -o $@ $<
805
806 qrc_i18n.cpp: i18n.qrc
807         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name i18n -o $@ $<
808
809 qrc_stock_icons.cpp: ../../image/stock_icons.qrc
810         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name stock_icons -o $@ $<
811
812 qrc_wsicon.cpp: ../../image/wsicon.qrc
813         $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name wsicon -o $@ $<
814
815 ui_%.h: %.ui
816         $(AM_V_UIC)$(UIC) $< -o $@
817
818 wireshark_%.qm: wireshark_%.ts
819         $(AM_V_LRELEASE)$(LRELEASE) -silent $< -qm $@
820
821 i18n_qresource := $(foreach qm, $(QM_FILES),<file>$(qm)</file>)
822
823 i18n.qrc: i18n.qrc.in $(QM_FILES)
824         $(AM_V_SED)$(SED) \
825                 -e 's,@i18n_qresource\@,$(i18n_qresource),' \
826                 -e 's,> *<file>,>%    <file>,g' \
827                 < $< | tr '%' '\n' > $@
828
829 #
830 # Explicit dependencies to force the ui_ headers to be built.
831 # See "Recording Dependencies manually" in the "Built Sources"
832 # section of the automake documentation:
833 #
834 #    https://www.gnu.org/software/automake/manual/automake.html#Sources
835 #
836 about_dialog.$(OBJEXT): ui_about_dialog.h
837
838 address_editor_frame.$(OBJEXT): ui_address_editor_frame.h
839
840 bluetooth_att_server_attributes_dialog.$(OBJEXT): ui_bluetooth_att_server_attributes_dialog.h
841
842 bluetooth_devices_dialog.$(OBJEXT): ui_bluetooth_devices_dialog.h
843
844 bluetooth_device_dialog.$(OBJEXT): ui_bluetooth_device_dialog.h
845
846 bluetooth_hci_summary_dialog.$(OBJEXT): ui_bluetooth_hci_summary_dialog.h
847
848 capture_file_properties_dialog.$(OBJEXT): ui_capture_file_properties_dialog.h
849
850 capture_interfaces_dialog.$(OBJEXT): ui_capture_interfaces_dialog.h
851
852 capture_preferences_frame.$(OBJEXT): ui_capture_preferences_frame.h
853
854 coloring_rules_dialog.$(OBJEXT): ui_coloring_rules_dialog.h
855
856 column_editor_frame.$(OBJEXT): ui_column_editor_frame.h
857
858 column_preferences_frame.$(OBJEXT): ui_column_preferences_frame.h
859
860 compiled_filter_output.$(OBJEXT): ui_compiled_filter_output.h
861
862 conversation_hash_tables_dialog.$(OBJEXT): ui_conversation_hash_tables_dialog.h
863
864 decode_as_dialog.$(OBJEXT): ui_decode_as_dialog.h
865
866 display_filter_expression_dialog.$(OBJEXT): ui_display_filter_expression_dialog.h
867
868 dissector_tables_dialog.$(OBJEXT): ui_dissector_tables_dialog.h
869
870 enabled_protocols_dialog.$(OBJEXT): ui_enabled_protocols_dialog.h
871
872 expert_info_dialog.$(OBJEXT): ui_expert_info_dialog.h
873
874 export_object_dialog.$(OBJEXT): ui_export_object_dialog.h
875
876 export_pdu_dialog.$(OBJEXT): ui_export_pdu_dialog.h
877
878 extcap_options_dialog.$(OBJEXT): ui_extcap_options_dialog.h
879
880 file_set_dialog.$(OBJEXT): ui_file_set_dialog.h
881
882 filter_dialog.$(OBJEXT): ui_filter_dialog.h
883
884 filter_expression_frame.$(OBJEXT): ui_filter_expression_frame.h
885
886 firewall_rules_dialog.$(OBJEXT): ui_firewall_rules_dialog.h
887
888 follow_stream_dialog.$(OBJEXT): ui_follow_stream_dialog.h
889
890 font_color_preferences_frame.$(OBJEXT): ui_font_color_preferences_frame.h
891
892 funnel_string_dialog.$(OBJEXT): ui_funnel_string_dialog.h
893
894 funnel_text_dialog.$(OBJEXT): ui_funnel_text_dialog.h
895
896 gsm_map_summary_dialog.$(OBJEXT): ui_gsm_map_summary_dialog.h
897
898 iax2_analysis_dialog.$(OBJEXT): ui_iax2_analysis_dialog.h
899
900 import_text_dialog.$(OBJEXT): ui_import_text_dialog.h
901
902 io_graph_dialog.$(OBJEXT): ui_io_graph_dialog.h
903
904 interface_frame.$(OBJEXT): ui_interface_frame.h
905
906 interface_toolbar.$(OBJEXT): ui_interface_toolbar.h
907
908 layout_preferences_frame.$(OBJEXT): ui_layout_preferences_frame.h
909
910 lbm_lbtrm_transport_dialog.$(OBJEXT): ui_lbm_lbtrm_transport_dialog.h
911
912 lbm_lbtru_transport_dialog.$(OBJEXT): ui_lbm_lbtru_transport_dialog.h
913
914 lbm_stream_dialog.$(OBJEXT): ui_lbm_stream_dialog.h
915
916 lte_rlc_graph_dialog.$(OBJEXT): ui_lte_rlc_graph_dialog.h
917
918 main_welcome.$(OBJEXT): ui_main_welcome.h
919
920 main_window.$(OBJEXT): ui_main_window.h
921
922 main_window_preferences_frame.$(OBJEXT): ui_main_window_preferences_frame.h
923
924 main_window_slots.$(OBJEXT): ui_main_window.h
925
926 manage_interfaces_dialog.$(OBJEXT): ui_manage_interfaces_dialog.h
927
928 module_preferences_scroll_area.$(OBJEXT): ui_module_preferences_scroll_area.h
929
930 mtp3_summary_dialog.$(OBJEXT): ui_mtp3_summary_dialog.h
931
932 packet_comment_dialog.$(OBJEXT): ui_packet_comment_dialog.h
933
934 packet_dialog.$(OBJEXT): ui_packet_dialog.h
935
936 packet_format_group_box.$(OBJEXT): ui_packet_format_group_box.h
937
938 packet_range_group_box.$(OBJEXT): ui_packet_range_group_box.h
939
940 preference_editor_frame.$(OBJEXT): ui_preference_editor_frame.h
941
942 preferences_dialog.$(OBJEXT): ui_preferences_dialog.h
943
944 print_dialog.$(OBJEXT): ui_print_dialog.h
945
946 progress_frame.$(OBJEXT): ui_progress_frame.h
947
948 profile_dialog.$(OBJEXT): ui_profile_dialog.h
949
950 protocol_hierarchy_dialog.$(OBJEXT): ui_protocol_hierarchy_dialog.h
951
952 remote_capture_dialog.$(OBJEXT): ui_remote_capture_dialog.h
953
954 remote_settings_dialog.$(OBJEXT): ui_remote_settings_dialog.h
955
956 resolved_addresses_dialog.$(OBJEXT): ui_resolved_addresses_dialog.h
957
958 rtp_analysis_dialog.$(OBJEXT): ui_rtp_analysis_dialog.h
959
960 rtp_player_dialog.$(OBJEXT): ui_rtp_player_dialog.h
961
962 rtp_stream_dialog.$(OBJEXT): ui_rtp_stream_dialog.h
963
964 search_frame.$(OBJEXT): ui_search_frame.h
965
966 sequence_dialog.$(OBJEXT): ui_sequence_dialog.h
967
968 sctp_all_assocs_dialog.$(OBJEXT): ui_sctp_all_assocs_dialog.h
969
970 sctp_assoc_analyse_dialog.$(OBJEXT): ui_sctp_assoc_analyse_dialog.h
971
972 sctp_chunk_statistics_dialog.$(OBJEXT): ui_sctp_chunk_statistics_dialog.h
973
974 sctp_graph_dialog.$(OBJEXT): ui_sctp_graph_dialog.h
975
976 sctp_graph_arwnd_dialog.$(OBJEXT): ui_sctp_graph_arwnd_dialog.h
977
978 sctp_graph_byte_dialog.$(OBJEXT): ui_sctp_graph_byte_dialog.h
979
980 show_packet_bytes_dialog.$(OBJEXT): ui_show_packet_bytes_dialog.h
981
982 splash_overlay.$(OBJEXT): ui_splash_overlay.h
983
984 supported_protocols_dialog.$(OBJEXT): ui_supported_protocols_dialog.h
985
986 tap_parameter_dialog.$(OBJEXT): ui_tap_parameter_dialog.h
987
988 tcp_stream_dialog.$(OBJEXT): ui_tcp_stream_dialog.h
989
990 time_shift_dialog.$(OBJEXT): ui_time_shift_dialog.h
991
992 traffic_table_dialog.$(OBJEXT): ui_traffic_table_dialog.h
993
994 uat_dialog.$(OBJEXT): ui_uat_dialog.h
995
996 uat_frame.$(OBJEXT): ui_uat_frame.h
997
998 voip_calls_dialog.$(OBJEXT): ui_voip_calls_dialog.h
999
1000 wireless_frame.$(OBJEXT): ui_wireless_frame.h
1001
1002 doxygen:
1003 if HAVE_DOXYGEN
1004         $(DOXYGEN) doxygen.cfg
1005 endif           # HAVE_DOXYGEN
1006
1007 #checkapi: checkapi-base checkapi-todo
1008
1009 EXTRA_DIST = \
1010         $(GENERATOR_FILES)              \
1011         $(UI_FILES)                     \
1012         $(QRC_FILES)                    \
1013         $(TS_FILES)                     \
1014         CMakeLists.txt                  \
1015         doxygen.cfg.in                  \
1016         i18n.qrc.in                     \
1017         Makefile_custom.common          \
1018         gpl-template.txt