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
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.
25 include Makefile_custom.common
27 # Generated header files that we want in the distribution.
28 GENERATED_HEADER_FILES =
30 # Generated header files that we don't want in the distribution.
31 NODIST_GENERATED_HEADER_FILES = \
33 ui_address_editor_frame.h \
34 ui_bluetooth_att_server_attributes_dialog.h \
35 ui_bluetooth_devices_dialog.h \
36 ui_bluetooth_hci_summary_dialog.h \
37 ui_capture_file_properties_dialog.h \
38 ui_capture_interfaces_dialog.h \
39 ui_capture_preferences_frame.h \
40 ui_coloring_rules_dialog.h \
41 ui_column_preferences_frame.h \
42 ui_column_editor_frame.h \
43 ui_compiled_filter_output.h \
44 ui_decode_as_dialog.h \
45 ui_display_filter_expression_dialog.h \
46 ui_expert_info_dialog.h \
47 ui_export_object_dialog.h \
48 ui_export_pdu_dialog.h \
49 ui_extcap_options_dialog.h \
50 ui_file_set_dialog.h \
52 ui_filter_expressions_preferences_frame.h \
53 ui_follow_stream_dialog.h \
54 ui_font_color_preferences_frame.h \
55 ui_funnel_string_dialog.h \
56 ui_funnel_text_dialog.h \
57 ui_import_text_dialog.h \
58 ui_io_graph_dialog.h \
59 ui_layout_preferences_frame.h \
60 ui_lbm_lbtrm_transport_dialog.h \
61 ui_lbm_lbtru_transport_dialog.h \
62 ui_lbm_stream_dialog.h \
63 ui_lbm_uimflow_dialog.h \
66 ui_main_window_preferences_frame.h \
67 ui_manage_interfaces_dialog.h \
68 ui_module_preferences_scroll_area.h \
69 ui_overlay_scroll_bar.h \
70 ui_packet_comment_dialog.h \
72 ui_packet_format_group_box.h \
73 ui_packet_range_group_box.h \
74 ui_preference_editor_frame.h \
75 ui_preferences_dialog.h \
79 ui_protocol_hierarchy_dialog.h \
80 ui_remote_capture_dialog.h \
81 ui_remote_settings_dialog.h \
82 ui_resolved_addresses_dialog.h \
83 ui_rtp_analysis_dialog.h \
84 ui_rtp_stream_dialog.h \
85 ui_sctp_all_assocs_dialog.h \
86 ui_sctp_assoc_analyse_dialog.h \
87 ui_sctp_chunk_statistics_dialog.h \
88 ui_sctp_graph_dialog.h \
89 ui_sctp_graph_arwnd_dialog.h \
90 ui_sctp_graph_byte_dialog.h \
92 ui_sequence_dialog.h \
94 ui_tap_parameter_dialog.h \
95 ui_tcp_stream_dialog.h \
96 ui_time_shift_dialog.h \
97 ui_traffic_table_dialog.h \
99 ui_voip_calls_dialog.h \
102 # Generated C source files that we want in the distribution.
103 GENERATED_C_FILES = \
104 wireshark-tap-register.c
106 # Generated C source files that we don't want in the distribution.
107 NODIST_GENERATED_C_FILES =
109 # Generated C++ source files that we want in the distribution.
110 GENERATED_CPP_FILES =
112 # Generated C++ source files that we don't want in the distribution.
113 NODIST_GENERATED_CPP_FILES = \
117 # All the generated files we want in the distribution.
119 $(GENERATED_HEADER_FILES) \
120 $(GENERATED_C_FILES) \
121 $(GENERATED_CPP_FILES)
123 # All the generated files we don't want in the distribution.
124 NODIST_GENERATED_FILES = \
125 $(NODIST_GENERATED_HEADER_FILES) \
126 $(NODIST_GENERATED_C_FILES) \
127 $(NODIST_GENERATED_CPP_FILES)
129 # Files that generate compileable files
133 # Headers that have to be run through moc.
138 address_editor_frame.h \
139 bluetooth_att_server_attributes_dialog.h \
140 bluetooth_devices_dialog.h \
141 bluetooth_hci_summary_dialog.h \
145 capture_file_dialog.h \
146 capture_file_properties_dialog.h \
147 capture_filter_combo.h \
148 capture_filter_edit.h \
149 capture_filter_syntax_worker.h \
150 capture_info_dialog.h \
151 capture_interfaces_dialog.h \
152 capture_preferences_frame.h \
153 coloring_rules_dialog.h \
155 column_preferences_frame.h \
156 column_editor_frame.h \
157 compiled_filter_output.h \
158 conversation_dialog.h \
160 display_filter_combo.h \
161 display_filter_edit.h \
162 display_filter_expression_dialog.h \
165 expert_info_dialog.h \
166 export_dissection_dialog.h \
167 export_object_dialog.h \
168 export_pdu_dialog.h \
170 extcap_argument_file.h \
171 extcap_options_dialog.h \
175 filter_expressions_preferences_frame.h \
176 follow_stream_dialog.h \
177 follow_stream_text.h \
178 font_color_preferences_frame.h \
179 funnel_string_dialog.h \
180 funnel_text_dialog.h \
181 funnel_statistics.h \
182 import_text_dialog.h \
186 layout_preferences_frame.h \
187 lbm_lbtrm_transport_dialog.h \
188 lbm_lbtru_transport_dialog.h \
189 lbm_stream_dialog.h \
190 lbm_uimflow_dialog.h \
194 main_window_preferences_frame.h \
195 manage_interfaces_dialog.h \
196 module_preferences_scroll_area.h \
197 overlay_scroll_bar.h \
198 packet_comment_dialog.h \
200 packet_format_group_box.h \
202 packet_list_model.h \
203 packet_range_group_box.h \
204 preference_editor_frame.h \
205 preferences_dialog.h \
210 protocol_hierarchy_dialog.h \
211 protocol_preferences_menu.h \
213 recent_file_status.h \
214 related_packet_delegate.h \
215 remote_capture_dialog.h \
216 remote_settings_dialog.h \
217 resolved_addresses_dialog.h \
218 response_time_delay_dialog.h \
220 rtp_analysis_dialog.h \
221 rtp_stream_dialog.h \
222 sctp_all_assocs_dialog.h \
223 sctp_assoc_analyse_dialog.h \
224 sctp_chunk_statistics_dialog.h \
225 sctp_graph_dialog.h \
226 sctp_graph_arwnd_dialog.h \
227 sctp_graph_byte_dialog.h \
230 service_response_time_dialog.h \
232 simple_statistics_dialog.h \
233 sparkline_delegate.h \
235 stats_tree_dialog.h \
237 tap_parameter_dialog.h \
238 tcp_stream_dialog.h \
239 time_shift_dialog.h \
240 traffic_table_dialog.h \
242 voip_calls_dialog.h \
244 wireshark_application.h \
253 address_editor_frame.ui \
254 bluetooth_att_server_attributes_dialog.ui \
255 bluetooth_devices_dialog.ui \
256 bluetooth_hci_summary_dialog.ui \
257 capture_file_properties_dialog.ui \
258 capture_interfaces_dialog.ui \
259 capture_preferences_frame.ui \
260 coloring_rules_dialog.ui \
261 column_preferences_frame.ui \
262 column_editor_frame.ui \
263 compiled_filter_output.ui \
264 decode_as_dialog.ui \
265 display_filter_expression_dialog.ui \
266 expert_info_dialog.ui \
267 export_object_dialog.ui \
268 export_pdu_dialog.ui \
269 extcap_options_dialog.ui \
272 filter_expressions_preferences_frame.ui \
273 follow_stream_dialog.ui \
274 font_color_preferences_frame.ui \
275 funnel_string_dialog.ui \
276 funnel_text_dialog.ui \
277 import_text_dialog.ui \
279 layout_preferences_frame.ui \
280 lbm_lbtrm_transport_dialog.ui \
281 lbm_lbtru_transport_dialog.ui \
282 lbm_stream_dialog.ui \
283 lbm_uimflow_dialog.ui \
286 main_window_preferences_frame.ui \
287 manage_interfaces_dialog.ui \
288 module_preferences_scroll_area.ui \
289 packet_format_group_box.ui \
290 packet_range_group_box.ui \
291 packet_comment_dialog.ui \
293 preference_editor_frame.ui \
294 preferences_dialog.ui \
298 protocol_hierarchy_dialog.ui \
299 remote_capture_dialog.ui \
300 remote_settings_dialog.ui \
301 resolved_addresses_dialog.ui \
302 rtp_analysis_dialog.ui \
303 rtp_stream_dialog.ui \
304 sctp_all_assocs_dialog.ui \
305 sctp_assoc_analyse_dialog.ui \
306 sctp_chunk_statistics_dialog.ui \
307 sctp_graph_dialog.ui \
308 sctp_graph_arwnd_dialog.ui \
309 sctp_graph_byte_dialog.ui \
313 tap_parameter_dialog.ui \
314 tcp_stream_dialog.ui \
315 time_shift_dialog.ui \
316 traffic_table_dialog.ui \
318 voip_calls_dialog.ui \
322 # The .moc.cpp files generated from them.
323 # We do *not* include these in the distribution; if you have the Qt SDK
324 # installed, so that you can build Qt-based applications, you have moc
327 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
332 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
334 ../../image/about.qrc \
335 ../../image/display_filter.qrc \
336 ../../image/languages/languages.qrc \
337 ../../image/layout.qrc \
338 ../../image/status.qrc \
339 ../../image/toolbar.qrc \
340 ../../image/wsicon.qrc \
345 # wireshark_en should be pluralonly.
359 # Should they be auto-generated ?
360 QM_FILES = $(TS_FILES:.ts=.qm)
363 # The .rcc.cpp files generated from them.
364 # We do *not* include these in the distribution; if you have the Qt SDK
365 # installed, so that you can build Qt-based applications, you have moc
368 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
372 accordion_frame.cpp \
373 address_editor_frame.cpp \
374 bluetooth_att_server_attributes_dialog.cpp \
375 bluetooth_devices_dialog.cpp \
376 bluetooth_hci_summary_dialog.cpp \
380 capture_file_dialog.cpp \
381 capture_file_properties_dialog.cpp \
382 capture_filter_combo.cpp \
383 capture_filter_edit.cpp \
384 capture_filter_syntax_worker.cpp \
385 capture_info_dialog.cpp \
386 capture_interfaces_dialog.cpp \
387 capture_preferences_frame.cpp \
389 coloring_rules_dialog.cpp \
390 column_preferences_frame.cpp \
391 column_editor_frame.cpp \
392 compiled_filter_output.cpp \
393 conversation_dialog.cpp \
394 decode_as_dialog.cpp \
395 display_filter_combo.cpp \
396 display_filter_edit.cpp \
397 display_filter_expression_dialog.cpp \
399 endpoint_dialog.cpp \
400 expert_info_dialog.cpp \
401 export_dissection_dialog.cpp \
402 export_object_dialog.cpp \
403 export_pdu_dialog.cpp \
404 extcap_argument.cpp \
405 extcap_argument_file.cpp \
406 extcap_options_dialog.cpp \
407 file_set_dialog.cpp \
410 filter_expressions_preferences_frame.cpp \
411 follow_stream_dialog.cpp \
412 follow_stream_text.cpp \
413 font_color_preferences_frame.cpp \
414 funnel_string_dialog.cpp \
415 funnel_text_dialog.cpp \
416 funnel_statistics.cpp \
417 import_text_dialog.cpp \
419 io_graph_dialog.cpp \
421 layout_preferences_frame.cpp \
422 lbm_lbtrm_transport_dialog.cpp \
423 lbm_lbtru_transport_dialog.cpp \
424 lbm_stream_dialog.cpp \
425 lbm_uimflow_dialog.cpp \
426 main_status_bar.cpp \
429 main_window_preferences_frame.cpp \
430 main_window_slots.cpp \
431 manage_interfaces_dialog.cpp \
432 module_preferences_scroll_area.cpp \
433 overlay_scroll_bar.cpp \
434 packet_comment_dialog.cpp \
436 packet_format_group_box.cpp \
438 packet_list_model.cpp \
439 packet_list_record.cpp \
440 packet_range_group_box.cpp \
441 preference_editor_frame.cpp \
442 preferences_dialog.cpp \
447 protocol_hierarchy_dialog.cpp \
448 protocol_preferences_menu.cpp \
451 recent_file_status.cpp \
452 related_packet_delegate.cpp \
453 remote_capture_dialog.cpp \
454 remote_settings_dialog.cpp \
455 resolved_addresses_dialog.cpp \
456 response_time_delay_dialog.cpp \
457 rtp_analysis_dialog.cpp \
458 rtp_stream_dialog.cpp \
459 sctp_all_assocs_dialog.cpp \
460 sctp_assoc_analyse_dialog.cpp \
461 sctp_chunk_statistics_dialog.cpp \
462 sctp_graph_dialog.cpp \
463 sctp_graph_arwnd_dialog.cpp \
464 sctp_graph_byte_dialog.cpp \
466 sequence_diagram.cpp \
467 sequence_dialog.cpp \
468 service_response_time_dialog.cpp \
470 simple_statistics_dialog.cpp \
471 sparkline_delegate.cpp \
473 stats_tree_dialog.cpp \
475 syntax_line_edit.cpp \
476 tap_parameter_dialog.cpp \
477 tcp_stream_dialog.cpp \
478 time_shift_dialog.cpp \
479 traffic_table_dialog.cpp \
481 voip_calls_dialog.cpp \
483 wireshark_application.cpp \
486 WIRESHARK_QT_TAP_SRC = \
487 stats_tree_dialog.cpp
491 packet_list_record.h \