2 # Automake file for the Qt interface routines for Wireshark
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
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.
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.
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.
24 include Makefile.common
25 include ../../Makefile.am.inc
27 if HAVE_WARNINGS_AS_ERRORS
28 AM_CLEAN_CFLAGS = -Werror
31 noinst_LIBRARIES = libqtui.a
38 $(NODIST_GENERATED_FILES)
40 MAINTAINERCLEANFILES = \
42 $(NODIST_GENERATED_FILES) \
45 RUNLEX=$(top_srcdir)/tools/runlex.sh
49 $(WIRESHARK_TAP_SRC) \
50 $(GENERATED_C_FILES) \
51 $(GENERATED_CPP_FILES) \
53 $(GENERATED_HEADER_FILES)
55 nodist_libqtui_a_SOURCES = \
56 $(NODIST_GENERATED_C_FILES) \
57 $(NODIST_GENERATED_CPP_FILES) \
58 $(NODIST_GENERATED_HEADER_FILES)
60 libqtui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
62 libqtui_a_DEPENDENCIES =
65 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
66 $(LIBGNUTLS_CFLAGS) $(PIE_CFLAGS)
68 AM_CXXFLAGS = $(AM_CLEAN_CFLAGS)
70 AM_V_MOC = $(am__v_MOC_@AM_V@)
71 am__v_MOC_ = $(am__v_MOC_@AM_DEFAULT_V@)
72 am__v_MOC_0 = @echo " MOC " $@;
74 AM_V_RCC = $(am__v_RCC_@AM_V@)
75 am__v_RCC_ = $(am__v_RCC_@AM_DEFAULT_V@)
76 am__v_RCC_0 = @echo " RCC " $@;
78 AM_V_UIC = $(am__v_UIC_@AM_V@)
79 am__v_UIC_ = $(am__v_UIC_@AM_DEFAULT_V@)
80 am__v_UIC_0 = @echo " UIC " $@;
83 # For building .moc.cpp files from .h files by running moc
84 # and building .rcc.cpp files from .qrc files by running rcc
86 SUFFIXES = .moc.cpp .qrc .rcc.cpp
89 $(AM_V_MOC)$(MOC) -I.. -I../.. -o $@ $<
93 $(AM_V_RCC)rcc -name `basename $< .qrc` -o $@ $<
96 $(AM_V_UIC)$(UIC) $< -o $@
98 # The Qt toolchain uses the naming convention moc_FOO.cpp. Should we do the same?
102 capture_preferences_frame.cpp capture_preferences_frame.h: ui_capture_preferences_frame.h
104 column_preferences_frame.cpp column_preferences_frame.h: ui_column_preferences_frame.h
106 export_object_dialog.cpp export_object_dialog.h: ui_export_object_dialog.h
108 file_set_dialog.cpp file_set_dialog.h: ui_file_set_dialog.h
110 filter_expressions_preferences_frame.cpp filter_expressions_preferences_frame.h: ui_filter_expressions_preferences_frame.h
112 follow_stream_dialog.cpp: ui_follow_stream_dialog.h
114 font_color_preferences_frame.cpp font_color_preferences_frame.h: ui_font_color_preferences_frame.h
116 import_text_dialog.cpp import_text_dialog.h: ui_import_text_dialog.h
118 layout_preferences_frame.cpp layout_preferences_frame.h: ui_layout_preferences_frame.h
120 main_welcome.cpp main_welcome.h: ui_main_welcome.h
122 main_window.cpp main_window_slots.cpp main_window.h: ui_main_window.h
124 main_window_preferences_frame.cpp main_window_preferences_frame.h: ui_main_window_preferences_frame.h
126 module_preferences_scroll_area.cpp module_preferences_scroll_area.h: ui_module_preferences_scroll_area.h
128 packet_comment_dialog.cpp packet_comment_dialog.h: ui_packet_comment_dialog.h
130 packet_format_group_box.cpp packet_format_group_box.h: ui_packet_format_group_box.h
132 packet_range_group_box.cpp packet_range_group_box.h: ui_packet_range_group_box.h
134 preferences_dialog.cpp preferences_dialog.h: ui_preferences_dialog.h
136 print_dialog.cpp print_dialog.h: ui_print_dialog.h
138 profile_dialog.cpp profile_dialog.h: ui_profile_dialog.h
140 search_frame.cpp search_frame.h: ui_search_frame.h
142 sequence_dialog.cpp sequence_dialog.h: ui_sequence_dialog.h
144 splash_overlay.cpp splash_overlay.h: ui_splash_overlay.h
146 summary_dialog.cpp summary_dialog.h: ui_summary_dialog.h
148 tcp_stream_dialog.cpp: ui_tcp_stream_dialog.h
150 time_shift_dialog.cpp time_shift_dialog.h: ui_time_shift_dialog.h
152 uat_dialog.cpp uat_dialog.h: ui_uat_dialog.h
156 $(DOXYGEN) doxygen.cfg
159 checkapi: checkapi-base checkapi-todo
162 $(PERL) ../tools/checkAPIs.pl -g deprecated-gtk -build \
163 $(WIRESHARK_GTK_SRC) \
164 $(WIRESHARK_TAP_SRC) \
165 capture_if_details_dlg_win32.c
168 $(PERL) ../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
169 $(WIRESHARK_GTK_SRC) \
170 $(WIRESHARK_TAP_SRC) \
171 capture_if_details_dlg_win32.c
174 echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
176 for elevel in chat error none note warn ; do \
177 gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../../image/expert_$${elevel}.png >> $@ ;\
181 echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
183 for icon in bluetooth usb wired wireless ; do \
184 gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../../image/toolbar/network_$${icon}_16.png >> $@ ;\
188 echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
190 for icon in arrow globe sat ; do \
191 gdk-pixbuf-csource --raw --name=remote_$${icon}_pb_data ../../image/toolbar/remote_$${icon}_16.png >> $@ ;\
207 Makefile_custom.common \
209 display_filter_16.svg \