Fix indent always use tab
[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_interfaces_dialog.h  \
35         ui_capture_preferences_frame.h  \
36         ui_column_preferences_frame.h   \
37         ui_decode_as_dialog.h   \
38         ui_export_object_dialog.h       \
39         ui_file_set_dialog.h    \
40         ui_filter_expressions_preferences_frame.h       \
41         ui_follow_stream_dialog.h       \
42         ui_font_color_preferences_frame.h       \
43         ui_import_text_dialog.h \
44         ui_layout_preferences_frame.h   \
45         ui_main_welcome.h       \
46         ui_main_window.h        \
47         ui_main_window_preferences_frame.h      \
48         ui_module_preferences_scroll_area.h     \
49         ui_packet_comment_dialog.h      \
50         ui_packet_format_group_box.h    \
51         ui_packet_range_group_box.h     \
52         ui_preferences_dialog.h \
53         ui_print_dialog.h       \
54         ui_profile_dialog.h     \
55         ui_sctp_all_assocs_dialog.h     \
56         ui_sctp_assoc_analyse_dialog.h  \
57         ui_sctp_chunk_statistics_dialog.h       \
58         ui_sctp_graph_dialog.h  \
59         ui_sctp_graph_arwnd_dialog.h    \
60         ui_sctp_graph_byte_dialog.h     \
61         ui_stats_tree_dialog.h  \
62         ui_search_frame.h       \
63         ui_sequence_dialog.h    \
64         ui_splash_overlay.h     \
65         ui_summary_dialog.h     \
66         ui_tcp_stream_dialog.h  \
67         ui_time_shift_dialog.h  \
68         ui_uat_dialog.h
69
70 # Generated C source files that we want in the distribution.
71 GENERATED_C_FILES =     \
72         wireshark-tap-register.c
73
74 # Generated C source files that we don't want in the distribution.
75 NODIST_GENERATED_C_FILES =
76
77 # Generated C++ source files that we want in the distribution.
78 GENERATED_CPP_FILES =
79
80 # Generated C++ source files that we don't want in the distribution.
81 NODIST_GENERATED_CPP_FILES =    \
82         $(MOC_SRC)      \
83         $(QRC_SRC)
84
85 # All the generated files we want in the distribution.
86 GENERATED_FILES =       \
87         $(GENERATED_HEADER_FILES)       \
88         $(GENERATED_C_FILES)    \
89         $(GENERATED_CPP_FILES)
90
91 # All the generated files we don't want in the distribution.
92 NODIST_GENERATED_FILES =        \
93         $(NODIST_GENERATED_HEADER_FILES)        \
94         $(NODIST_GENERATED_C_FILES)     \
95         $(NODIST_GENERATED_CPP_FILES)
96
97 # Files that generate compileable files
98 GENERATOR_FILES =
99
100 #
101 # Headers that have to be run through moc.
102 #
103 MOC_HDRS =      \
104         accordion_frame.h       \
105         byte_view_tab.h \
106         byte_view_text.h        \
107         capture_file_dialog.h   \
108         capture_filter_combo.h  \
109         capture_filter_edit.h   \
110         capture_filter_syntax_worker.h  \
111         capture_info_dialog.h   \
112         capture_interface_dialog.h      \
113         capture_interfaces_dialog.h     \
114         color_dialog.h  \
115         color_utils.h   \
116         capture_preferences_frame.h     \
117         column_preferences_frame.h      \
118         decode_as_dialog.h      \
119         display_filter_combo.h  \
120         display_filter_edit.h   \
121         elided_label.h  \
122         export_dissection_dialog.h      \
123         export_object_dialog.h  \
124         file_set_dialog.h       \
125         filter_expressions_preferences_frame.h  \
126         follow_stream_dialog.h  \
127         follow_stream_text.h    \
128         font_color_preferences_frame.h  \
129         import_text_dialog.h    \
130         interface_tree.h        \
131         label_stack.h   \
132         layout_preferences_frame.h      \
133         main_status_bar.h       \
134         main_welcome.h  \
135         main_window.h   \
136         main_window_preferences_frame.h \
137         module_preferences_scroll_area.h        \
138         packet_comment_dialog.h \
139         packet_format_group_box.h       \
140         packet_list.h   \
141         packet_list_model.h     \
142         packet_range_group_box.h        \
143         preferences_dialog.h    \
144         print_dialog.h  \
145         profile_dialog.h        \
146         progress_bar.h  \
147         proto_tree.h    \
148         qcustomplot.h   \
149         recent_file_status.h    \
150         related_packet_delegate.h       \
151         search_frame.h  \
152         sctp_all_assocs_dialog.h        \
153         sctp_assoc_analyse_dialog.h     \
154         sctp_chunk_statistics_dialog.h  \
155         sctp_graph_dialog.h     \
156         sctp_graph_arwnd_dialog.h       \
157         sctp_graph_byte_dialog.h        \
158         sequence_diagram.h      \
159         sequence_dialog.h       \
160         simple_dialog_qt.h      \
161         sparkline_delegate.h    \
162         splash_overlay.h        \
163         stats_tree_dialog.h     \
164         summary_dialog.h        \
165         syntax_line_edit.h      \
166         tcp_stream_dialog.h     \
167         time_shift_dialog.h     \
168         uat_dialog.h    \
169         wireshark_application.h
170
171
172 #
173 # .ui files.
174 #
175 UI_FILES =      \
176         capture_interfaces_dialog.ui    \
177         capture_preferences_frame.ui    \
178         column_preferences_frame.ui     \
179         decode_as_dialog.ui     \
180         export_object_dialog.ui \
181         file_set_dialog.ui      \
182         filter_expressions_preferences_frame.ui \
183         follow_stream_dialog.ui \
184         font_color_preferences_frame.ui \
185         import_text_dialog.ui   \
186         layout_preferences_frame.ui     \
187         main_welcome.ui \
188         main_window.ui  \
189         main_window_preferences_frame.ui        \
190         module_preferences_scroll_area.ui       \
191         packet_format_group_box.ui      \
192         packet_range_group_box.ui       \
193         packet_comment_dialog.ui        \
194         preferences_dialog.ui   \
195         print_dialog.ui \
196         profile_dialog.ui       \
197         sctp_all_assocs_dialog.ui       \
198         sctp_assoc_analyse_dialog.ui    \
199         sctp_chunk_statistics_dialog.ui \
200         sctp_graph_dialog.ui    \
201         sctp_graph_arwnd_dialog.ui      \
202         sctp_graph_byte_dialog.ui       \
203         search_frame.ui \
204         sequence_dialog.ui      \
205         splash_overlay.ui       \
206         stats_tree_dialog.ui    \
207         summary_dialog.ui       \
208         tcp_stream_dialog.ui    \
209         time_shift_dialog.ui    \
210         uat_dialog.ui
211
212 #
213 # The .moc.cpp files generated from them.
214 # We do *not* include these in the distribution; if you have the Qt SDK
215 # installed, so that you can build Qt-based applications, you have moc
216 # installed.
217 #
218 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
219
220 #
221 # .qrc files.
222 #
223 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
224 QRC_FILES = \
225         ../../image/display_filter.qrc \
226         ../../image/layout.qrc \
227         ../../image/status.qrc \
228         ../../image/toolbar.qrc \
229         i18n.qrc \
230         welcome.qrc
231
232 #
233 # .ts files.
234 # qtshark_en should be pluralonly.
235 #
236 TS_FILES =      \
237         qtshark_de.ts   \
238         qtshark_en.ts   \
239         qtshark_fr.ts   \
240         qtshark_zh_CN.ts
241
242 #
243 # .qm files.
244 #
245 # Should be auto-generated ?
246 QM_FILES =      \
247         qtshark_de.qm   \
248         qtshark_en.qm   \
249         qtshark_fr.qm   \
250         qtshark_zh_CN.qm
251
252 #
253 # The .rcc.cpp files generated from them.
254 # We do *not* include these in the distribution; if you have the Qt SDK
255 # installed, so that you can build Qt-based applications, you have moc
256 # installed.
257 #
258 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
259
260 WIRESHARK_QT_SRC =      \
261         accordion_frame.cpp     \
262         byte_view_tab.cpp       \
263         byte_view_text.cpp      \
264         capture_file_dialog.cpp \
265         capture_filter_combo.cpp        \
266         capture_filter_edit.cpp \
267         capture_filter_syntax_worker.cpp        \
268         capture_info_dialog.cpp \
269         capture_interface_dialog.cpp    \
270         capture_interfaces_dialog.cpp   \
271         color_dialog.cpp        \
272         color_utils.cpp \
273         capture_preferences_frame.cpp   \
274         column_preferences_frame.cpp    \
275         decode_as_dialog.cpp    \
276         display_filter_combo.cpp        \
277         display_filter_edit.cpp \
278         elided_label.cpp        \
279         export_dissection_dialog.cpp    \
280         export_object_dialog.cpp        \
281         file_set_dialog.cpp     \
282         filter_expressions_preferences_frame.cpp        \
283         follow_stream_dialog.cpp        \
284         follow_stream_text.cpp  \
285         font_color_preferences_frame.cpp        \
286         import_text_dialog.cpp  \
287         interface_tree.cpp      \
288         label_stack.cpp \
289         layout_preferences_frame.cpp    \
290         main.cpp        \
291         main_status_bar.cpp     \
292         main_welcome.cpp        \
293         main_window.cpp \
294         main_window_preferences_frame.cpp       \
295         main_window_slots.cpp   \
296         module_preferences_scroll_area.cpp      \
297         packet_comment_dialog.cpp       \
298         packet_format_group_box.cpp     \
299         packet_list.cpp \
300         packet_list_model.cpp   \
301         packet_list_record.cpp  \
302         packet_range_group_box.cpp      \
303         preferences_dialog.cpp  \
304         print_dialog.cpp        \
305         profile_dialog.cpp      \
306         progress_bar.cpp        \
307         proto_tree.cpp  \
308         qcustomplot.cpp \
309         qt_ui_utils.cpp \
310         recent_file_status.cpp  \
311         related_packet_delegate.cpp     \
312         sctp_all_assocs_dialog.cpp      \
313         sctp_assoc_analyse_dialog.cpp   \
314         sctp_chunk_statistics_dialog.cpp        \
315         sctp_graph_dialog.cpp   \
316         sctp_graph_arwnd_dialog.cpp     \
317         sctp_graph_byte_dialog.cpp      \
318         search_frame.cpp        \
319         sequence_diagram.cpp    \
320         sequence_dialog.cpp     \
321         simple_dialog_qt.cpp    \
322         sparkline_delegate.cpp  \
323         stats_tree_dialog.cpp   \
324         summary_dialog.cpp      \
325         splash_overlay.cpp      \
326         syntax_line_edit.cpp    \
327         tcp_stream_dialog.cpp   \
328         time_shift_dialog.cpp   \
329         uat_dialog.cpp  \
330         wireshark_application.cpp
331
332 WIRESHARK_QT_TAP_SRC =  \
333         stats_tree_dialog.cpp
334
335 noinst_HEADERS =        \
336         $(MOC_HDRS)     \
337         packet_list_record.h    \
338         qcustomplot.h   \
339         qt_ui_utils.h   \
340         tango_colors.h