2012-03-18 23:35:53 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for the Qt interface routines for Wireshark
|
|
|
|
#
|
|
|
|
# $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.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 = \
|
2012-03-19 06:29:41 +00:00
|
|
|
libqtui.a \
|
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
|
|
|
|
|
|
|
|
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)
|
2013-02-05 05:17:16 +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
|
|
|
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.cpp capture_preferences_frame.h: ui_capture_preferences_frame.h
|
|
|
|
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.cpp column_preferences_frame.h: ui_column_preferences_frame.h
|
|
|
|
|
2012-12-31 19:07:38 +00:00
|
|
|
export_object_dialog.cpp export_object_dialog.h: ui_export_object_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
|
|
|
|
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
|
|
|
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.cpp layout_preferences_frame.h: ui_layout_preferences_frame.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
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
2013-07-09 18:08:40 +00:00
|
|
|
summary_dialog.cpp summary_dialog.h: ui_summary_dialog.h
|
|
|
|
|
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
|
|
|
|
2013-07-26 00:23:09 +00:00
|
|
|
uat_dialog.cpp uat_dialog.h: ui_uat_dialog.h
|
|
|
|
|
2012-03-18 23:35:53 +00:00
|
|
|
doxygen:
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
$(DOXYGEN) doxygen.cfg
|
|
|
|
endif # HAVE_DOXYGEN
|
|
|
|
|
|
|
|
checkapi: checkapi-base checkapi-todo
|
|
|
|
|
|
|
|
checkapi-base:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../tools/checkAPIs.pl -g deprecated-gtk -build \
|
2012-03-18 23:35:53 +00:00
|
|
|
$(WIRESHARK_GTK_SRC) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
|
|
|
capture_if_details_dlg_win32.c
|
|
|
|
|
|
|
|
checkapi-todo:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
|
2012-03-18 23:35:53 +00:00
|
|
|
$(WIRESHARK_GTK_SRC) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
|
|
|
capture_if_details_dlg_win32.c
|
|
|
|
|
|
|
|
expert_indicators.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for elevel in chat error none note warn ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../../image/expert_$${elevel}.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
|
|
|
network_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for icon in bluetooth usb wired wireless ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../../image/toolbar/network_$${icon}_16.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
|
|
|
remote_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for icon in arrow globe sat ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=remote_$${icon}_pb_data ../../image/toolbar/remote_$${icon}_16.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
2012-03-19 01:47:53 +00:00
|
|
|
# XXX to be created
|
2012-03-19 06:29:41 +00:00
|
|
|
# libqtui.vcproj
|
|
|
|
# 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 \
|
2012-03-19 07:32:45 +00:00
|
|
|
main.cpp \
|
2012-03-18 23:35:53 +00:00
|
|
|
Makefile.common \
|
2012-03-19 06:29:41 +00:00
|
|
|
Makefile_custom.common \
|
2012-11-27 09:18:42 +00:00
|
|
|
QtShark.pro \
|
2012-06-15 18:17:20 +00:00
|
|
|
display_filter_16.svg \
|
|
|
|
gpl-template.txt
|