Add an initial "Decode As" dialog. Currently read-only.
[metze/wireshark/wip.git] / ui / qt / Makefile.common
1 # Makefile.common
2 #     Contains the stuff from Makefile.am and Makefile.nmake that is
3 #     a) common to both files and
4 #     b) portable between both files
5 #
6 # $Id$
7 #
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26 #
27 include Makefile_custom.common
28
29 # Generated header files that we want in the distribution.
30 GENERATED_HEADER_FILES =
31
32 # Generated header files that we don't want in the distribution.
33 NODIST_GENERATED_HEADER_FILES = \
34         ui_capture_preferences_frame.h \
35         ui_column_preferences_frame.h \
36         ui_decode_as_dialog.h \
37         ui_export_object_dialog.h \
38         ui_file_set_dialog.h \
39         ui_filter_expressions_preferences_frame.h \
40         ui_follow_stream_dialog.h \
41         ui_font_color_preferences_frame.h \
42         ui_import_text_dialog.h \
43         ui_layout_preferences_frame.h \
44         ui_main_welcome.h \
45         ui_main_window.h \
46         ui_main_window_preferences_frame.h \
47         ui_module_preferences_scroll_area.h \
48         ui_packet_comment_dialog.h \
49         ui_packet_format_group_box.h \
50         ui_packet_range_group_box.h \
51         ui_preferences_dialog.h \
52         ui_print_dialog.h \
53         ui_profile_dialog.h \
54         ui_stats_tree_dialog.h \
55         ui_search_frame.h \
56         ui_sequence_dialog.h \
57         ui_splash_overlay.h \
58         ui_summary_dialog.h \
59         ui_tcp_stream_dialog.h \
60         ui_time_shift_dialog.h \
61         ui_uat_dialog.h
62
63 # Generated C source files that we want in the distribution.
64 GENERATED_C_FILES = \
65         wireshark-tap-register.c
66
67 # Generated C source files that we don't want in the distribution.
68 NODIST_GENERATED_C_FILES =
69
70 # Generated C++ source files that we want in the distribution.
71 GENERATED_CPP_FILES =
72
73 # Generated C++ source files that we don't want in the distribution.
74 NODIST_GENERATED_CPP_FILES = \
75         $(MOC_SRC) \
76         $(QRC_SRC)
77
78 # All the generated files we want in the distribution.
79 GENERATED_FILES = \
80         $(GENERATED_HEADER_FILES) \
81         $(GENERATED_C_FILES) \
82         $(GENERATED_CPP_FILES)
83
84 # All the generated files we don't want in the distribution.
85 NODIST_GENERATED_FILES = \
86         $(NODIST_GENERATED_HEADER_FILES) \
87         $(NODIST_GENERATED_C_FILES) \
88         $(NODIST_GENERATED_CPP_FILES)
89
90 # Files that generate compileable files
91 GENERATOR_FILES =
92
93 #
94 # Headers that have to be run through moc.
95 #
96 MOC_HDRS = \
97         accordion_frame.h \
98         byte_view_tab.h \
99         byte_view_text.h \
100         capture_file_dialog.h \
101         capture_filter_combo.h \
102         capture_filter_edit.h \
103         capture_filter_syntax_worker.h \
104         capture_info_dialog.h \
105         capture_interface_dialog.h \
106         color_dialog.h \
107         color_utils.h \
108         capture_preferences_frame.h \
109         column_preferences_frame.h \
110         decode_as_dialog.h \
111         display_filter_combo.h \
112         display_filter_edit.h \
113         elided_label.h \
114         export_dissection_dialog.h \
115         export_object_dialog.h \
116         file_set_dialog.h \
117         filter_expressions_preferences_frame.h \
118         follow_stream_dialog.h \
119         follow_stream_text.h \
120         font_color_preferences_frame.h \
121         import_text_dialog.h \
122         interface_tree.h \
123         label_stack.h \
124         layout_preferences_frame.h \
125         main_status_bar.h \
126         main_welcome.h \
127         main_window.h \
128         main_window_preferences_frame.h \
129         module_preferences_scroll_area.h \
130         packet_comment_dialog.h \
131         packet_format_group_box.h \
132         packet_list.h \
133         packet_list_model.h \
134         packet_range_group_box.h \
135         preferences_dialog.h \
136         print_dialog.h \
137         profile_dialog.h \
138         progress_bar.h \
139         proto_tree.h \
140         qcustomplot.h \
141         recent_file_status.h \
142         related_packet_delegate.h \
143         search_frame.h \
144         sequence_diagram.h \
145         sequence_dialog.h \
146         simple_dialog_qt.h \
147         sparkline_delegate.h \
148         splash_overlay.h \
149         stats_tree_dialog.h \
150         summary_dialog.h \
151         syntax_line_edit.h \
152         tcp_stream_dialog.h \
153         time_shift_dialog.h \
154         uat_dialog.h \
155         wireshark_application.h
156
157
158 #
159 # .ui files.
160 #
161 UI_FILES = \
162         capture_preferences_frame.ui    \
163         column_preferences_frame.ui     \
164         decode_as_dialog.ui             \
165         export_object_dialog.ui         \
166         file_set_dialog.ui              \
167         filter_expressions_preferences_frame.ui \
168         follow_stream_dialog.ui \
169         font_color_preferences_frame.ui \
170         import_text_dialog.ui           \
171         layout_preferences_frame.ui     \
172         main_welcome.ui                 \
173         main_window.ui                  \
174         main_window_preferences_frame.ui        \
175         module_preferences_scroll_area.ui       \
176         packet_format_group_box.ui      \
177         packet_range_group_box.ui       \
178         packet_comment_dialog.ui        \
179         preferences_dialog.ui           \
180         print_dialog.ui                 \
181         profile_dialog.ui               \
182         search_frame.ui                 \
183         sequence_dialog.ui              \
184         splash_overlay.ui               \
185         stats_tree_dialog.ui            \
186         summary_dialog.ui               \
187         tcp_stream_dialog.ui            \
188         time_shift_dialog.ui            \
189         uat_dialog.ui
190
191 #
192 # The .moc.cpp files generated from them.
193 # We do *not* include these in the distribution; if you have the Qt SDK
194 # installed, so that you can build Qt-based applications, you have moc
195 # installed.
196 #
197 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
198
199 #
200 # .qrc files.
201 #
202 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
203 QRC_FILES = \
204         ../../image/display_filter.qrc \
205         ../../image/layout.qrc \
206         ../../image/status.qrc \
207         ../../image/toolbar.qrc \
208         i18n.qrc \
209         welcome.qrc
210
211 #
212 # .ts files.
213 # qtshark_en should be pluralonly.
214 #
215 TS_FILES = \
216         qtshark_de.ts \
217         qtshark_en.ts \
218         qtshark_fr.ts \
219         qtshark_zh_CN.ts
220
221 #
222 # .qm files.
223 #
224 # Should be auto-generated ?
225 QM_FILES = \
226         qtshark_de.qm \
227         qtshark_en.qm \
228         qtshark_fr.qm \
229         qtshark_zh_CN.qm
230
231 #
232 # The .rcc.cpp files generated from them.
233 # We do *not* include these in the distribution; if you have the Qt SDK
234 # installed, so that you can build Qt-based applications, you have moc
235 # installed.
236 #
237 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
238
239 WIRESHARK_QT_SRC = \
240         accordion_frame.cpp \
241         byte_view_tab.cpp \
242         byte_view_text.cpp \
243         capture_file_dialog.cpp \
244         capture_filter_combo.cpp \
245         capture_filter_edit.cpp \
246         capture_filter_syntax_worker.cpp \
247         capture_info_dialog.cpp \
248         capture_interface_dialog.cpp \
249         color_dialog.cpp \
250         color_utils.cpp \
251         capture_preferences_frame.cpp \
252         column_preferences_frame.cpp \
253         decode_as_dialog.cpp \
254         display_filter_combo.cpp \
255         display_filter_edit.cpp \
256         elided_label.cpp \
257         export_dissection_dialog.cpp \
258         export_object_dialog.cpp \
259         file_set_dialog.cpp \
260         filter_expressions_preferences_frame.cpp \
261         follow_stream_dialog.cpp \
262         follow_stream_text.cpp \
263         font_color_preferences_frame.cpp \
264         import_text_dialog.cpp \
265         interface_tree.cpp \
266         label_stack.cpp \
267         layout_preferences_frame.cpp \
268         main.cpp \
269         main_status_bar.cpp \
270         main_welcome.cpp \
271         main_window.cpp \
272         main_window_preferences_frame.cpp \
273         main_window_slots.cpp \
274         module_preferences_scroll_area.cpp \
275         packet_comment_dialog.cpp \
276         packet_format_group_box.cpp \
277         packet_list.cpp \
278         packet_list_model.cpp \
279         packet_list_record.cpp \
280         packet_range_group_box.cpp \
281         preferences_dialog.cpp \
282         print_dialog.cpp \
283         profile_dialog.cpp \
284         progress_bar.cpp \
285         proto_tree.cpp \
286         qcustomplot.cpp \
287         qt_ui_utils.cpp \
288         recent_file_status.cpp \
289         related_packet_delegate.cpp \
290         search_frame.cpp \
291         sequence_diagram.cpp \
292         sequence_dialog.cpp \
293         simple_dialog_qt.cpp \
294         sparkline_delegate.cpp \
295         stats_tree_dialog.cpp \
296         summary_dialog.cpp \
297         splash_overlay.cpp \
298         syntax_line_edit.cpp \
299         tcp_stream_dialog.cpp \
300         time_shift_dialog.cpp \
301         uat_dialog.cpp \
302         wireshark_application.cpp
303
304 WIRESHARK_QT_TAP_SRC = \
305         stats_tree_dialog.cpp
306
307 noinst_HEADERS = \
308         $(MOC_HDRS) \
309         packet_list_record.h \
310         qcustomplot.h \
311         qt_ui_utils.h \
312         tango_colors.h