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
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
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.
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.
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.
27 include Makefile_custom.common
29 # Generated header files that we want in the distribution.
30 GENERATED_HEADER_FILES =
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 \
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 \
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 \
63 ui_sequence_dialog.h \
66 ui_tcp_stream_dialog.h \
67 ui_time_shift_dialog.h \
70 # Generated C source files that we want in the distribution.
72 wireshark-tap-register.c
74 # Generated C source files that we don't want in the distribution.
75 NODIST_GENERATED_C_FILES =
77 # Generated C++ source files that we want in the distribution.
80 # Generated C++ source files that we don't want in the distribution.
81 NODIST_GENERATED_CPP_FILES = \
85 # All the generated files we want in the distribution.
87 $(GENERATED_HEADER_FILES) \
88 $(GENERATED_C_FILES) \
89 $(GENERATED_CPP_FILES)
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)
97 # Files that generate compileable files
101 # Headers that have to be run through moc.
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 \
116 capture_preferences_frame.h \
117 column_preferences_frame.h \
119 display_filter_combo.h \
120 display_filter_edit.h \
122 export_dissection_dialog.h \
123 export_object_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 \
132 layout_preferences_frame.h \
136 main_window_preferences_frame.h \
137 module_preferences_scroll_area.h \
138 packet_comment_dialog.h \
139 packet_format_group_box.h \
141 packet_list_model.h \
142 packet_range_group_box.h \
143 preferences_dialog.h \
149 recent_file_status.h \
150 related_packet_delegate.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 \
161 sparkline_delegate.h \
163 stats_tree_dialog.h \
166 tcp_stream_dialog.h \
167 time_shift_dialog.h \
169 wireshark_application.h
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 \
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 \
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 \
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 \
206 stats_tree_dialog.ui \
208 tcp_stream_dialog.ui \
209 time_shift_dialog.ui \
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
218 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
223 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
225 ../../image/display_filter.qrc \
226 ../../image/layout.qrc \
227 ../../image/status.qrc \
228 ../../image/toolbar.qrc \
234 # qtshark_en should be pluralonly.
245 # Should be auto-generated ?
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
258 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
261 accordion_frame.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 \
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 \
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 \
289 layout_preferences_frame.cpp \
291 main_status_bar.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 \
300 packet_list_model.cpp \
301 packet_list_record.cpp \
302 packet_range_group_box.cpp \
303 preferences_dialog.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 \
319 sequence_diagram.cpp \
320 sequence_dialog.cpp \
321 simple_dialog_qt.cpp \
322 sparkline_delegate.cpp \
323 stats_tree_dialog.cpp \
326 syntax_line_edit.cpp \
327 tcp_stream_dialog.cpp \
328 time_shift_dialog.cpp \
330 wireshark_application.cpp
332 WIRESHARK_QT_TAP_SRC = \
333 stats_tree_dialog.cpp
337 packet_list_record.h \