2012-03-18 23:35:53 +00:00
|
|
|
# Makefile.common
|
|
|
|
# Contains the stuff from Makefile.am and Makefile.nmake that is
|
|
|
|
# a) common to both files and
|
|
|
|
# b) portable between both files
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# 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_custom.common
|
|
|
|
|
|
|
|
# Generated header files that we want in the distribution.
|
2012-03-19 07:30:38 +00:00
|
|
|
GENERATED_HEADER_FILES =
|
|
|
|
|
|
|
|
# Generated header files that we don't want in the distribution.
|
2013-02-09 23:35:30 +00:00
|
|
|
NODIST_GENERATED_HEADER_FILES = \
|
2013-02-01 00:14:15 +00:00
|
|
|
ui_capture_preferences_frame.h \
|
2013-01-23 19:04:36 +00:00
|
|
|
ui_column_preferences_frame.h \
|
2012-12-05 15:14:20 +00:00
|
|
|
ui_export_object_dialog.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
ui_file_set_dialog.h \
|
2013-02-06 19:03:23 +00:00
|
|
|
ui_filter_expressions_preferences_frame.h \
|
2013-09-09 19:30:30 +00:00
|
|
|
ui_follow_stream_dialog.h \
|
|
|
|
ui_font_color_preferences_frame.h \
|
2012-12-05 15:14:20 +00:00
|
|
|
ui_import_text_dialog.h \
|
2013-01-21 05:29:14 +00:00
|
|
|
ui_layout_preferences_frame.h \
|
2012-08-18 22:25:50 +00:00
|
|
|
ui_main_welcome.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
ui_main_window.h \
|
2013-01-19 00:57:57 +00:00
|
|
|
ui_main_window_preferences_frame.h \
|
2013-02-08 01:30:31 +00:00
|
|
|
ui_module_preferences_scroll_area.h \
|
2012-12-23 05:11:49 +00:00
|
|
|
ui_packet_comment_dialog.h \
|
2012-12-05 15:14:20 +00:00
|
|
|
ui_packet_format_group_box.h \
|
2012-11-01 20:57:45 +00:00
|
|
|
ui_packet_range_group_box.h \
|
2013-01-05 02:30:58 +00:00
|
|
|
ui_preferences_dialog.h \
|
2012-11-05 03:54:21 +00:00
|
|
|
ui_print_dialog.h \
|
2012-12-29 02:58:56 +00:00
|
|
|
ui_profile_dialog.h \
|
2012-12-15 01:55:28 +00:00
|
|
|
ui_search_frame.h \
|
2013-10-24 22:52:30 +00:00
|
|
|
ui_sequence_dialog.h \
|
2012-12-23 05:11:49 +00:00
|
|
|
ui_splash_overlay.h \
|
2013-09-09 19:30:30 +00:00
|
|
|
ui_summary_dialog.h \
|
2013-08-27 18:13:20 +00:00
|
|
|
ui_tcp_stream_dialog.h \
|
2013-07-25 23:49:47 +00:00
|
|
|
ui_time_shift_dialog.h \
|
|
|
|
ui_uat_dialog.h
|
2012-03-18 23:35:53 +00:00
|
|
|
|
|
|
|
# Generated C source files that we want in the distribution.
|
|
|
|
GENERATED_C_FILES =
|
|
|
|
|
2012-03-19 07:30:38 +00:00
|
|
|
# Generated C source files that we don't want in the distribution.
|
2013-02-09 23:35:30 +00:00
|
|
|
NODIST_GENERATED_C_FILES =
|
2012-03-19 07:30:38 +00:00
|
|
|
|
2012-03-19 06:29:41 +00:00
|
|
|
# Generated C++ source files that we want in the distribution.
|
2012-03-19 07:30:38 +00:00
|
|
|
GENERATED_CPP_FILES =
|
|
|
|
|
|
|
|
# Generated C++ source files that we don't want in the distribution.
|
2013-02-09 23:35:30 +00:00
|
|
|
NODIST_GENERATED_CPP_FILES = \
|
2012-03-19 06:29:41 +00:00
|
|
|
$(MOC_SRC) \
|
|
|
|
$(QRC_SRC)
|
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
# All the generated files we want in the distribution.
|
|
|
|
GENERATED_FILES = \
|
|
|
|
$(GENERATED_HEADER_FILES) \
|
|
|
|
$(GENERATED_C_FILES) \
|
2012-09-15 08:17:53 +00:00
|
|
|
$(GENERATED_CPP_FILES)
|
2012-03-18 23:35:53 +00:00
|
|
|
|
2012-03-19 07:30:38 +00:00
|
|
|
# All the generated files we don't want in the distribution.
|
2013-02-09 23:35:30 +00:00
|
|
|
NODIST_GENERATED_FILES = \
|
|
|
|
$(NODIST_GENERATED_HEADER_FILES) \
|
|
|
|
$(NODIST_GENERATED_C_FILES) \
|
|
|
|
$(NODIST_GENERATED_CPP_FILES)
|
2012-03-19 07:30:38 +00:00
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
# Files that generate compileable files
|
|
|
|
GENERATOR_FILES =
|
|
|
|
|
|
|
|
#
|
|
|
|
# Headers that have to be run through moc.
|
|
|
|
#
|
|
|
|
MOC_HDRS = \
|
2012-12-18 17:21:20 +00:00
|
|
|
accordion_frame.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
byte_view_tab.h \
|
|
|
|
byte_view_text.h \
|
|
|
|
capture_file_dialog.h \
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.h \
|
|
|
|
capture_filter_edit.h \
|
|
|
|
capture_filter_syntax_worker.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
capture_info_dialog.h \
|
|
|
|
capture_interface_dialog.h \
|
|
|
|
color_dialog.h \
|
|
|
|
color_utils.h \
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.h \
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
display_filter_combo.h \
|
|
|
|
display_filter_edit.h \
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.h \
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.h \
|
2012-11-27 09:18:42 +00:00
|
|
|
export_object_dialog.h \
|
2012-10-01 22:40:20 +00:00
|
|
|
file_set_dialog.h \
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.h \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.h \
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.h \
|
2012-11-27 09:18:42 +00:00
|
|
|
import_text_dialog.h \
|
2012-12-31 19:07:38 +00:00
|
|
|
interface_tree.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
label_stack.h \
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
main_status_bar.h \
|
|
|
|
main_welcome.h \
|
|
|
|
main_window.h \
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.h \
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.h \
|
2012-12-31 15:08:45 +00:00
|
|
|
packet_comment_dialog.h \
|
2012-10-12 23:40:29 +00:00
|
|
|
packet_format_group_box.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
packet_list.h \
|
|
|
|
packet_list_model.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_range_group_box.h \
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.h \
|
2012-11-01 20:57:45 +00:00
|
|
|
print_dialog.h \
|
2012-12-29 02:58:56 +00:00
|
|
|
profile_dialog.h \
|
2012-07-19 23:04:46 +00:00
|
|
|
progress_bar.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
proto_tree.h \
|
2013-08-27 20:31:22 +00:00
|
|
|
qcustomplot.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
recent_file_status.h \
|
2013-07-08 16:54:18 +00:00
|
|
|
related_packet_delegate.h \
|
2012-12-31 19:07:38 +00:00
|
|
|
search_frame.h \
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.h \
|
|
|
|
sequence_dialog.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
simple_dialog_qt.h \
|
2012-08-04 00:31:31 +00:00
|
|
|
sparkline_delegate.h \
|
2012-11-05 03:54:21 +00:00
|
|
|
splash_overlay.h \
|
2013-09-09 19:30:30 +00:00
|
|
|
summary_dialog.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
syntax_line_edit.h \
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.h \
|
2012-12-23 03:45:35 +00:00
|
|
|
time_shift_dialog.h \
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.h \
|
2012-03-18 23:35:53 +00:00
|
|
|
wireshark_application.h
|
|
|
|
|
2013-01-21 16:58:51 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# .ui files.
|
|
|
|
#
|
|
|
|
UI_FILES = \
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.ui \
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.ui \
|
2013-01-21 16:58:51 +00:00
|
|
|
export_object_dialog.ui \
|
|
|
|
file_set_dialog.ui \
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.ui \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.ui \
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.ui \
|
2013-01-21 16:58:51 +00:00
|
|
|
import_text_dialog.ui \
|
|
|
|
layout_preferences_frame.ui \
|
|
|
|
main_welcome.ui \
|
|
|
|
main_window.ui \
|
|
|
|
main_window_preferences_frame.ui \
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.ui \
|
2013-01-21 16:58:51 +00:00
|
|
|
packet_format_group_box.ui \
|
|
|
|
packet_range_group_box.ui \
|
|
|
|
packet_comment_dialog.ui \
|
|
|
|
preferences_dialog.ui \
|
|
|
|
print_dialog.ui \
|
|
|
|
profile_dialog.ui \
|
|
|
|
search_frame.ui \
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_dialog.ui \
|
2013-01-21 16:58:51 +00:00
|
|
|
splash_overlay.ui \
|
2013-09-09 19:30:30 +00:00
|
|
|
summary_dialog.ui \
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.ui \
|
2013-07-25 23:49:47 +00:00
|
|
|
time_shift_dialog.ui \
|
|
|
|
uat_dialog.ui
|
2013-01-21 16:58:51 +00:00
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
#
|
|
|
|
# The .moc.cpp files generated from them.
|
|
|
|
# We do *not* include these in the distribution; if you have the Qt SDK
|
|
|
|
# installed, so that you can build Qt-based applications, you have moc
|
|
|
|
# installed.
|
|
|
|
#
|
|
|
|
MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
|
|
|
|
|
|
|
|
#
|
|
|
|
# .qrc files.
|
|
|
|
#
|
2012-06-15 18:17:20 +00:00
|
|
|
# Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
|
2012-03-18 23:35:53 +00:00
|
|
|
QRC_FILES = \
|
2013-07-12 03:49:29 +00:00
|
|
|
$(top_srcdir)/image/display_filter.qrc \
|
|
|
|
$(top_srcdir)/image/layout.qrc \
|
|
|
|
$(top_srcdir)/image/status.qrc \
|
|
|
|
$(top_srcdir)/image/toolbar.qrc \
|
2012-03-18 23:35:53 +00:00
|
|
|
i18n.qrc \
|
|
|
|
welcome.qrc
|
|
|
|
|
2012-11-27 13:14:37 +00:00
|
|
|
#
|
|
|
|
# .ts files.
|
|
|
|
#
|
|
|
|
TS_FILES = \
|
|
|
|
qtshark_fr.ts \
|
2013-09-09 17:49:15 +00:00
|
|
|
qtshark_zh_CN.ts \
|
2012-11-27 13:14:37 +00:00
|
|
|
qtshark_de.ts
|
|
|
|
|
|
|
|
#
|
|
|
|
# .qm files.
|
|
|
|
#
|
|
|
|
# Should be auto-generated ?
|
|
|
|
QM_FILES = \
|
|
|
|
qtshark_fr.qm \
|
2013-09-09 17:49:15 +00:00
|
|
|
qtshark_zh_CN.qm \
|
2012-11-27 13:14:37 +00:00
|
|
|
qtshark_de.qm
|
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
#
|
|
|
|
# The .rcc.cpp files generated from them.
|
|
|
|
# We do *not* include these in the distribution; if you have the Qt SDK
|
|
|
|
# installed, so that you can build Qt-based applications, you have moc
|
|
|
|
# installed.
|
|
|
|
#
|
|
|
|
QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
|
|
|
|
|
|
|
|
WIRESHARK_QT_SRC = \
|
2012-12-18 17:21:20 +00:00
|
|
|
accordion_frame.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
byte_view_tab.cpp \
|
|
|
|
byte_view_text.cpp \
|
|
|
|
capture_file_dialog.cpp \
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.cpp \
|
|
|
|
capture_filter_edit.cpp \
|
|
|
|
capture_filter_syntax_worker.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
capture_info_dialog.cpp \
|
|
|
|
capture_interface_dialog.cpp \
|
|
|
|
color_dialog.cpp \
|
|
|
|
color_utils.cpp \
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.cpp \
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
display_filter_combo.cpp \
|
|
|
|
display_filter_edit.cpp \
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.cpp \
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.cpp \
|
2012-11-27 09:18:42 +00:00
|
|
|
export_object_dialog.cpp \
|
2012-10-01 22:40:20 +00:00
|
|
|
file_set_dialog.cpp \
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.cpp \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.cpp \
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.cpp \
|
2012-11-27 09:18:42 +00:00
|
|
|
import_text_dialog.cpp \
|
2012-12-31 19:07:38 +00:00
|
|
|
interface_tree.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
label_stack.cpp \
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.cpp \
|
2012-12-31 19:07:38 +00:00
|
|
|
main.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
main_status_bar.cpp \
|
|
|
|
main_welcome.cpp \
|
|
|
|
main_window.cpp \
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.cpp \
|
2012-10-02 18:47:05 +00:00
|
|
|
main_window_slots.cpp \
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.cpp \
|
2012-12-31 15:08:45 +00:00
|
|
|
packet_comment_dialog.cpp \
|
2012-10-12 23:40:29 +00:00
|
|
|
packet_format_group_box.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
packet_list.cpp \
|
|
|
|
packet_list_model.cpp \
|
|
|
|
packet_list_record.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_range_group_box.cpp \
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.cpp \
|
2012-11-01 20:57:45 +00:00
|
|
|
print_dialog.cpp \
|
2012-12-29 02:58:56 +00:00
|
|
|
profile_dialog.cpp \
|
2012-07-19 23:04:46 +00:00
|
|
|
progress_bar.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
proto_tree.cpp \
|
2013-08-27 20:31:22 +00:00
|
|
|
qcustomplot.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
qt_ui_utils.cpp \
|
|
|
|
recent_file_status.cpp \
|
2013-07-08 16:54:18 +00:00
|
|
|
related_packet_delegate.cpp \
|
2012-12-31 19:07:38 +00:00
|
|
|
search_frame.cpp \
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.cpp \
|
|
|
|
sequence_dialog.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
simple_dialog_qt.cpp \
|
2012-08-04 00:31:31 +00:00
|
|
|
sparkline_delegate.cpp \
|
2013-08-27 20:24:20 +00:00
|
|
|
summary_dialog.cpp \
|
2012-11-05 03:54:21 +00:00
|
|
|
splash_overlay.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
syntax_line_edit.cpp \
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.cpp \
|
2012-12-23 03:45:35 +00:00
|
|
|
time_shift_dialog.cpp \
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
wireshark_application.cpp
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
$(MOC_HDRS) \
|
|
|
|
packet_list_record.h \
|
2013-08-27 20:24:20 +00:00
|
|
|
qcustomplot.h \
|
2012-11-27 09:18:42 +00:00
|
|
|
qt_ui_utils.h \
|
|
|
|
tango_colors.h
|