2012-03-18 23:35:53 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for the Qt interface routines for Wireshark
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2012-03-18 23:35:53 +00:00
|
|
|
|
|
|
|
include Makefile.common
|
|
|
|
include ../../Makefile.am.inc
|
|
|
|
|
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
|
|
|
AM_CLEAN_CFLAGS = -Werror
|
|
|
|
endif
|
|
|
|
|
2012-03-19 06:29:41 +00:00
|
|
|
noinst_LIBRARIES = libqtui.a
|
2012-03-18 23:35:53 +00:00
|
|
|
|
|
|
|
CLEANFILES = \
|
2013-11-29 08:02:19 +00:00
|
|
|
libqtui.a \
|
|
|
|
wireshark-tap-register.c-tmp \
|
|
|
|
wireshark-tap-register-cache.pkl \
|
|
|
|
*.moc.cpp \
|
|
|
|
*.rrc.cpp \
|
|
|
|
ui_*.h
|
2012-03-18 23:35:53 +00:00
|
|
|
*~
|
|
|
|
|
2012-03-19 09:12:17 +00:00
|
|
|
DISTCLEANFILES = \
|
2013-02-09 23:35:30 +00:00
|
|
|
$(NODIST_GENERATED_FILES)
|
2012-03-19 09:12:17 +00:00
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2012-03-19 07:30:38 +00:00
|
|
|
$(GENERATED_FILES) \
|
2013-02-09 23:35:30 +00:00
|
|
|
$(NODIST_GENERATED_FILES) \
|
2012-03-18 23:35:53 +00:00
|
|
|
Makefile.in
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
#
|
|
|
|
# Build "wireshark-tap-register.c", which contains a function
|
|
|
|
# "register_all_tap_listeners()"
|
|
|
|
# that calls the register routines for all wireshark tap listeners.
|
|
|
|
#
|
|
|
|
# We do this by grepping through sources.
|
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the tap_listener_register_*
|
|
|
|
# routines must start in column zero, or must be preceded only by
|
|
|
|
# "void " starting in column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# The first argument is the directory in which the source files live.
|
|
|
|
# All subsequent arguments are the files to scan.
|
|
|
|
#
|
2014-08-24 19:23:45 +00:00
|
|
|
wireshark-tap-register.c: $(WIRESHARK_QT_TAP_SRC) $(top_srcdir)/tools/make-tap-reg.py
|
|
|
|
@echo Making wireshark-tap-register.c
|
|
|
|
@$(PYTHON) $(top_srcdir)/tools/make-tap-reg.py $(srcdir) taps $(WIRESHARK_QT_TAP_SRC)
|
2013-11-21 01:28:17 +00:00
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
RUNLEX=$(top_srcdir)/tools/runlex.sh
|
|
|
|
|
2012-03-19 06:29:41 +00:00
|
|
|
libqtui_a_SOURCES = \
|
2012-03-18 23:35:53 +00:00
|
|
|
$(WIRESHARK_QT_SRC) \
|
2012-03-19 09:31:22 +00:00
|
|
|
$(WIRESHARK_TAP_SRC) \
|
2012-03-18 23:35:53 +00:00
|
|
|
$(GENERATED_C_FILES) \
|
2012-03-19 07:30:38 +00:00
|
|
|
$(GENERATED_CPP_FILES) \
|
2012-03-18 23:35:53 +00:00
|
|
|
$(noinst_HEADERS) \
|
2012-03-19 09:31:22 +00:00
|
|
|
$(GENERATED_HEADER_FILES)
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2012-03-19 07:30:38 +00:00
|
|
|
nodist_libqtui_a_SOURCES = \
|
2013-02-09 23:35:30 +00:00
|
|
|
$(NODIST_GENERATED_C_FILES) \
|
|
|
|
$(NODIST_GENERATED_CPP_FILES) \
|
|
|
|
$(NODIST_GENERATED_HEADER_FILES)
|
2012-03-19 07:30:38 +00:00
|
|
|
|
2012-03-19 06:29:41 +00:00
|
|
|
libqtui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2012-03-19 06:29:41 +00:00
|
|
|
libqtui_a_DEPENDENCIES =
|
2012-03-18 23:35:53 +00:00
|
|
|
|
|
|
|
# Common headers
|
2013-10-18 16:56:27 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
|
2013-10-18 18:28:57 +00:00
|
|
|
$(LIBGNUTLS_CFLAGS) $(PIE_CFLAGS)
|
|
|
|
|
|
|
|
AM_CXXFLAGS = $(AM_CLEAN_CFLAGS)
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2013-02-05 05:17:16 +00:00
|
|
|
AM_V_MOC = $(am__v_MOC_@AM_V@)
|
|
|
|
am__v_MOC_ = $(am__v_MOC_@AM_DEFAULT_V@)
|
|
|
|
am__v_MOC_0 = @echo " MOC " $@;
|
|
|
|
|
|
|
|
AM_V_RCC = $(am__v_RCC_@AM_V@)
|
|
|
|
am__v_RCC_ = $(am__v_RCC_@AM_DEFAULT_V@)
|
|
|
|
am__v_RCC_0 = @echo " RCC " $@;
|
|
|
|
|
|
|
|
AM_V_UIC = $(am__v_UIC_@AM_V@)
|
|
|
|
am__v_UIC_ = $(am__v_UIC_@AM_DEFAULT_V@)
|
|
|
|
am__v_UIC_0 = @echo " UIC " $@;
|
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
#
|
|
|
|
# For building .moc.cpp files from .h files by running moc
|
|
|
|
# and building .rcc.cpp files from .qrc files by running rcc
|
|
|
|
#
|
|
|
|
SUFFIXES = .moc.cpp .qrc .rcc.cpp
|
|
|
|
|
|
|
|
.h.moc.cpp:
|
2013-02-05 05:17:16 +00:00
|
|
|
$(AM_V_MOC)$(MOC) -I.. -I../.. -o $@ $<
|
2012-03-18 23:35:53 +00:00
|
|
|
|
|
|
|
.qrc.rcc.cpp:
|
2013-10-28 18:01:09 +00:00
|
|
|
$(MKDIR_P) $(@D)
|
2014-11-05 16:43:00 +00:00
|
|
|
$(AM_V_RCC)$(RCC) -name `basename $< .qrc` -o $@ $<
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2012-12-31 19:07:38 +00:00
|
|
|
ui_%.h: %.ui
|
2013-02-05 05:17:16 +00:00
|
|
|
$(AM_V_UIC)$(UIC) $< -o $@
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2012-12-31 19:07:38 +00:00
|
|
|
# The Qt toolchain uses the naming convention moc_FOO.cpp. Should we do the same?
|
|
|
|
#moc_%.cpp: %.h
|
2013-02-03 21:39:11 +00:00
|
|
|
# $(MOC) $< -o $@
|
2012-12-31 19:07:38 +00:00
|
|
|
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.cpp about_dialog.h: ui_about_dialog.h
|
|
|
|
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.cpp bluetooth_att_server_attributes_dialog.h: ui_bluetooth_att_server_attributes_dialog.h
|
|
|
|
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.cpp bluetooth_devices_dialog.h: ui_bluetooth_devices_dialog.h
|
|
|
|
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.cpp capture_file_properties_dialog.h: ui_capture_file_properties_dialog.h
|
|
|
|
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.cpp capture_interfaces_dialog.h: ui_capture_interfaces_dialog.h
|
|
|
|
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.cpp capture_preferences_frame.h: ui_capture_preferences_frame.h
|
|
|
|
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.cpp coloring_rules_dialog.h: ui_coloring_rules_dialog.h
|
|
|
|
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.cpp column_editor_frame.h: ui_column_editor_frame.h
|
|
|
|
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.cpp column_preferences_frame.h: ui_column_preferences_frame.h
|
|
|
|
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.cpp compiled_filter_output.h: ui_compiled_filter_output.h
|
|
|
|
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.cpp decode_as_dialog.h: ui_decode_as_dialog.h
|
|
|
|
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.cpp display_filter_expression_dialog.h: ui_display_filter_expression_dialog.h
|
|
|
|
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.cpp expert_info_dialog.h: ui_expert_info_dialog.h
|
|
|
|
|
2012-12-31 19:07:38 +00:00
|
|
|
export_object_dialog.cpp export_object_dialog.h: ui_export_object_dialog.h
|
|
|
|
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.cpp export_pdu_dialog.h: ui_export_pdu_dialog.h
|
|
|
|
|
2015-04-28 08:26:46 +00:00
|
|
|
extcap_options_dialog.cpp extcap_options_dialog.h: ui_extcap_options_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
file_set_dialog.cpp file_set_dialog.h: ui_file_set_dialog.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.cpp filter_dialog.h: ui_filter_dialog.h
|
|
|
|
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.cpp filter_expressions_preferences_frame.h: ui_filter_expressions_preferences_frame.h
|
|
|
|
|
2013-09-09 21:09:03 +00:00
|
|
|
follow_stream_dialog.cpp: ui_follow_stream_dialog.h
|
|
|
|
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.cpp font_color_preferences_frame.h: ui_font_color_preferences_frame.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
import_text_dialog.cpp import_text_dialog.h: ui_import_text_dialog.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.cpp io_graph_dialog.h: ui_io_graph_dialog.h
|
|
|
|
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.cpp layout_preferences_frame.h: ui_layout_preferences_frame.h
|
|
|
|
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.cpp lbm_lbtrm_transport_dialog.h: ui_lbm_lbtrm_transport_dialog.h
|
|
|
|
|
|
|
|
lbm_lbtru_transport_dialog.cpp lbm_lbtru_transport_dialog.h: ui_lbm_lbtru_transport_dialog.h
|
|
|
|
|
|
|
|
lbm_stream_dialog.cpp lbm_stream_dialog.h: ui_lbm_stream_dialog.h
|
|
|
|
|
|
|
|
lbm_uimflow_dialog.cpp lbm_uimflow_dialog.h: ui_lbm_uimflow_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
main_welcome.cpp main_welcome.h: ui_main_welcome.h
|
2012-08-18 19:45:09 +00:00
|
|
|
|
2013-02-14 19:56:21 +00:00
|
|
|
main_window.cpp main_window_slots.cpp main_window.h: ui_main_window.h
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.cpp main_window_preferences_frame.h: ui_main_window_preferences_frame.h
|
|
|
|
|
2014-06-24 09:36:51 +00:00
|
|
|
manage_interfaces_dialog.cpp manage_interfaces_dialog.h: ui_manage_interfaces_dialog.h
|
|
|
|
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.cpp module_preferences_scroll_area.h: ui_module_preferences_scroll_area.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
packet_comment_dialog.cpp packet_comment_dialog.h: ui_packet_comment_dialog.h
|
2012-12-23 04:37:58 +00:00
|
|
|
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.cpp packet_dialog.h: ui_packet_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
packet_format_group_box.cpp packet_format_group_box.h: ui_packet_format_group_box.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
packet_range_group_box.cpp packet_range_group_box.h: ui_packet_range_group_box.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.cpp preference_editor_frame.h: ui_preference_editor_frame.h
|
|
|
|
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.cpp preferences_dialog.h: ui_preferences_dialog.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
print_dialog.cpp print_dialog.h: ui_print_dialog.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
profile_dialog.cpp profile_dialog.h: ui_profile_dialog.h
|
2012-12-29 02:58:56 +00:00
|
|
|
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.cpp protocol_hierarchy_dialog.h: ui_protocol_hierarchy_dialog.h
|
|
|
|
|
2014-08-04 11:57:17 +00:00
|
|
|
remote_capture_dialog.cpp remote_capture_dialog.h: ui_remote_capture_dialog.h
|
|
|
|
|
|
|
|
remote_settings_dialog.cpp remote_settings_dialog.h: ui_remote_settings_dialog.h
|
|
|
|
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.cpp rtp_stream_dialog.h: ui_rtp_stream_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
search_frame.cpp search_frame.h: ui_search_frame.h
|
2012-12-15 01:04:39 +00:00
|
|
|
|
2013-10-24 23:01:30 +00:00
|
|
|
sequence_dialog.cpp sequence_dialog.h: ui_sequence_dialog.h
|
|
|
|
|
2013-12-13 10:39:13 +00:00
|
|
|
sctp_all_assocs_dialog.cpp sctp_all_assocs_dialog.h: ui_sctp_all_assocs_dialog.h
|
|
|
|
|
|
|
|
sctp_assoc_analyse_dialog.cpp sctp_assoc_analyse_dialog.h: ui_sctp_assoc_analyse_dialog.h
|
|
|
|
|
|
|
|
sctp_chunk_statistics_dialog.cpp sctp_chunk_statistics_dialog.h: ui_sctp_chunk_statistics_dialog.h
|
|
|
|
|
|
|
|
sctp_graph_dialog.cpp sctp_graph_dialog.h: ui_sctp_graph_dialog.h
|
|
|
|
|
2013-12-13 11:20:21 +00:00
|
|
|
sctp_graph_arwnd_dialog.cpp sctp_graph_arwnd_dialog.h: ui_sctp_graph_arwnd_dialog.h
|
2013-12-13 10:39:13 +00:00
|
|
|
|
|
|
|
sctp_graph_byte_dialog.cpp sctp_graph_byte_dialog.h: ui_sctp_graph_byte_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
splash_overlay.cpp splash_overlay.h: ui_splash_overlay.h
|
2012-12-03 21:33:08 +00:00
|
|
|
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.cpp tap_parameter_dialog.h: ui_tap_parameter_dialog.h
|
2013-11-21 01:28:17 +00:00
|
|
|
|
2013-08-27 20:31:22 +00:00
|
|
|
tcp_stream_dialog.cpp: ui_tcp_stream_dialog.h
|
|
|
|
|
2012-12-31 05:22:47 +00:00
|
|
|
time_shift_dialog.cpp time_shift_dialog.h: ui_time_shift_dialog.h
|
2012-12-23 03:45:35 +00:00
|
|
|
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.cpp traffic_table_dialog.h: ui_traffic_table_dialog.h
|
|
|
|
|
2013-07-26 00:23:09 +00:00
|
|
|
uat_dialog.cpp uat_dialog.h: ui_uat_dialog.h
|
|
|
|
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.cpp voip_calls_dialog.h: ui_voip_calls_dialog.h
|
|
|
|
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.cpp wireless_frame.h: ui_wireless_frame.h
|
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
doxygen:
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
$(DOXYGEN) doxygen.cfg
|
|
|
|
endif # HAVE_DOXYGEN
|
|
|
|
|
2015-03-08 04:47:24 +00:00
|
|
|
#checkapi: checkapi-base checkapi-todo
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2012-03-19 01:47:53 +00:00
|
|
|
# XXX to be created
|
2012-03-19 06:29:41 +00:00
|
|
|
# Makefile.nmake
|
2012-03-18 23:35:53 +00:00
|
|
|
EXTRA_DIST = \
|
2012-03-19 01:47:53 +00:00
|
|
|
$(GENERATOR_FILES) \
|
2013-01-21 16:58:51 +00:00
|
|
|
$(UI_FILES) \
|
2012-11-27 09:18:42 +00:00
|
|
|
$(QRC_FILES) \
|
2012-11-27 13:14:37 +00:00
|
|
|
$(TS_FILES) \
|
|
|
|
$(QM_FILES) \
|
2012-03-19 06:29:41 +00:00
|
|
|
CMakeLists.txt \
|
2012-03-18 23:35:53 +00:00
|
|
|
doxygen.cfg.in \
|
|
|
|
Makefile.common \
|
2012-03-19 06:29:41 +00:00
|
|
|
Makefile_custom.common \
|
2014-08-28 23:48:53 +00:00
|
|
|
Wireshark.pro \
|
2012-06-15 18:17:20 +00:00
|
|
|
display_filter_16.svg \
|
|
|
|
gpl-template.txt
|