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_bluetooth_att_server_attributes_dialog.h \
34 ui_bluetooth_devices_dialog.h \
35 ui_bluetooth_hci_summary_dialog.h \
36 ui_capture_file_properties_dialog.h \
37 ui_capture_interfaces_dialog.h \
38 ui_capture_preferences_frame.h \
39 ui_coloring_rules_dialog.h \
40 ui_column_preferences_frame.h \
41 ui_column_editor_frame.h \
42 ui_compiled_filter_output.h \
43 ui_decode_as_dialog.h \
44 ui_display_filter_expression_dialog.h \
45 ui_expert_info_dialog.h \
46 ui_export_object_dialog.h \
47 ui_export_pdu_dialog.h \
48 ui_extcap_options_dialog.h \
49 ui_file_set_dialog.h \
51 ui_filter_expressions_preferences_frame.h \
52 ui_follow_stream_dialog.h \
53 ui_font_color_preferences_frame.h \
54 ui_funnel_string_dialog.h \
55 ui_funnel_text_dialog.h \
56 ui_import_text_dialog.h \
57 ui_io_graph_dialog.h \
58 ui_layout_preferences_frame.h \
59 ui_lbm_lbtrm_transport_dialog.h \
60 ui_lbm_lbtru_transport_dialog.h \
61 ui_lbm_stream_dialog.h \
62 ui_lbm_uimflow_dialog.h \
65 ui_main_window_preferences_frame.h \
66 ui_manage_interfaces_dialog.h \
67 ui_module_preferences_scroll_area.h \
68 ui_overlay_scroll_bar.h \
69 ui_packet_comment_dialog.h \
71 ui_packet_format_group_box.h \
72 ui_packet_range_group_box.h \
73 ui_preference_editor_frame.h \
74 ui_preferences_dialog.h \
78 ui_protocol_hierarchy_dialog.h \
79 ui_remote_capture_dialog.h \
80 ui_remote_settings_dialog.h \
81 ui_resolved_addresses_dialog.h \
82 ui_rtp_analysis_dialog.h \
83 ui_rtp_stream_dialog.h \
84 ui_sctp_all_assocs_dialog.h \
85 ui_sctp_assoc_analyse_dialog.h \
86 ui_sctp_chunk_statistics_dialog.h \
87 ui_sctp_graph_dialog.h \
88 ui_sctp_graph_arwnd_dialog.h \
89 ui_sctp_graph_byte_dialog.h \
91 ui_sequence_dialog.h \
93 ui_tap_parameter_dialog.h \
94 ui_tcp_stream_dialog.h \
95 ui_time_shift_dialog.h \
96 ui_traffic_table_dialog.h \
98 ui_voip_calls_dialog.h \
101 # Generated C source files that we want in the distribution.
102 GENERATED_C_FILES = \
103 wireshark-tap-register.c
105 # Generated C source files that we don't want in the distribution.
106 NODIST_GENERATED_C_FILES =
108 # Generated C++ source files that we want in the distribution.
109 GENERATED_CPP_FILES =
111 # Generated C++ source files that we don't want in the distribution.
112 NODIST_GENERATED_CPP_FILES = \
116 # All the generated files we want in the distribution.
118 $(GENERATED_HEADER_FILES) \
119 $(GENERATED_C_FILES) \
120 $(GENERATED_CPP_FILES)
122 # All the generated files we don't want in the distribution.
123 NODIST_GENERATED_FILES = \
124 $(NODIST_GENERATED_HEADER_FILES) \
125 $(NODIST_GENERATED_C_FILES) \
126 $(NODIST_GENERATED_CPP_FILES)
128 # Files that generate compileable files
132 # Headers that have to be run through moc.
137 bluetooth_att_server_attributes_dialog.h \
138 bluetooth_devices_dialog.h \
139 bluetooth_hci_summary_dialog.h \
143 capture_file_dialog.h \
144 capture_file_properties_dialog.h \
145 capture_filter_combo.h \
146 capture_filter_edit.h \
147 capture_filter_syntax_worker.h \
148 capture_info_dialog.h \
149 capture_interfaces_dialog.h \
150 capture_preferences_frame.h \
151 coloring_rules_dialog.h \
153 column_preferences_frame.h \
154 column_editor_frame.h \
155 compiled_filter_output.h \
156 conversation_dialog.h \
158 display_filter_combo.h \
159 display_filter_edit.h \
160 display_filter_expression_dialog.h \
163 expert_info_dialog.h \
164 export_dissection_dialog.h \
165 export_object_dialog.h \
166 export_pdu_dialog.h \
168 extcap_argument_file.h \
169 extcap_options_dialog.h \
173 filter_expressions_preferences_frame.h \
174 follow_stream_dialog.h \
175 follow_stream_text.h \
176 font_color_preferences_frame.h \
177 funnel_string_dialog.h \
178 funnel_text_dialog.h \
179 funnel_statistics.h \
180 import_text_dialog.h \
184 layout_preferences_frame.h \
185 lbm_lbtrm_transport_dialog.h \
186 lbm_lbtru_transport_dialog.h \
187 lbm_stream_dialog.h \
188 lbm_uimflow_dialog.h \
192 main_window_preferences_frame.h \
193 manage_interfaces_dialog.h \
194 module_preferences_scroll_area.h \
195 overlay_scroll_bar.h \
196 packet_comment_dialog.h \
198 packet_format_group_box.h \
200 packet_list_model.h \
201 packet_range_group_box.h \
202 preference_editor_frame.h \
203 preferences_dialog.h \
208 protocol_hierarchy_dialog.h \
209 protocol_preferences_menu.h \
211 recent_file_status.h \
212 related_packet_delegate.h \
213 remote_capture_dialog.h \
214 remote_settings_dialog.h \
215 resolved_addresses_dialog.h \
216 response_time_delay_dialog.h \
218 rtp_analysis_dialog.h \
219 rtp_stream_dialog.h \
220 sctp_all_assocs_dialog.h \
221 sctp_assoc_analyse_dialog.h \
222 sctp_chunk_statistics_dialog.h \
223 sctp_graph_dialog.h \
224 sctp_graph_arwnd_dialog.h \
225 sctp_graph_byte_dialog.h \
228 service_response_time_dialog.h \
230 simple_statistics_dialog.h \
231 sparkline_delegate.h \
233 stats_tree_dialog.h \
235 tap_parameter_dialog.h \
236 tcp_stream_dialog.h \
237 time_shift_dialog.h \
238 traffic_table_dialog.h \
240 voip_calls_dialog.h \
242 wireshark_application.h \
251 bluetooth_att_server_attributes_dialog.ui \
252 bluetooth_devices_dialog.ui \
253 bluetooth_hci_summary_dialog.ui \
254 capture_file_properties_dialog.ui \
255 capture_interfaces_dialog.ui \
256 capture_preferences_frame.ui \
257 coloring_rules_dialog.ui \
258 column_preferences_frame.ui \
259 column_editor_frame.ui \
260 compiled_filter_output.ui \
261 decode_as_dialog.ui \
262 display_filter_expression_dialog.ui \
263 expert_info_dialog.ui \
264 export_object_dialog.ui \
265 export_pdu_dialog.ui \
266 extcap_options_dialog.ui \
269 filter_expressions_preferences_frame.ui \
270 follow_stream_dialog.ui \
271 font_color_preferences_frame.ui \
272 funnel_string_dialog.ui \
273 funnel_text_dialog.ui \
274 import_text_dialog.ui \
276 layout_preferences_frame.ui \
277 lbm_lbtrm_transport_dialog.ui \
278 lbm_lbtru_transport_dialog.ui \
279 lbm_stream_dialog.ui \
280 lbm_uimflow_dialog.ui \
283 main_window_preferences_frame.ui \
284 manage_interfaces_dialog.ui \
285 module_preferences_scroll_area.ui \
286 packet_format_group_box.ui \
287 packet_range_group_box.ui \
288 packet_comment_dialog.ui \
290 preference_editor_frame.ui \
291 preferences_dialog.ui \
295 protocol_hierarchy_dialog.ui \
296 remote_capture_dialog.ui \
297 remote_settings_dialog.ui \
298 resolved_addresses_dialog.ui \
299 rtp_analysis_dialog.ui \
300 rtp_stream_dialog.ui \
301 sctp_all_assocs_dialog.ui \
302 sctp_assoc_analyse_dialog.ui \
303 sctp_chunk_statistics_dialog.ui \
304 sctp_graph_dialog.ui \
305 sctp_graph_arwnd_dialog.ui \
306 sctp_graph_byte_dialog.ui \
310 tap_parameter_dialog.ui \
311 tcp_stream_dialog.ui \
312 time_shift_dialog.ui \
313 traffic_table_dialog.ui \
315 voip_calls_dialog.ui \
319 # The .moc.cpp files generated from them.
320 # We do *not* include these in the distribution; if you have the Qt SDK
321 # installed, so that you can build Qt-based applications, you have moc
324 MOC_SRC = $(MOC_HDRS:.h=.moc.cpp)
329 # Should QRC_FILES or QRC_SRC depend on QRC_IMAGES?
331 ../../image/about.qrc \
332 ../../image/display_filter.qrc \
333 ../../image/languages/languages.qrc \
334 ../../image/layout.qrc \
335 ../../image/status.qrc \
336 ../../image/toolbar.qrc \
337 ../../image/wsicon.qrc \
342 # wireshark_en should be pluralonly.
356 # Should they be auto-generated ?
357 QM_FILES = $(TS_FILES:.ts=.qm)
360 # The .rcc.cpp files generated from them.
361 # We do *not* include these in the distribution; if you have the Qt SDK
362 # installed, so that you can build Qt-based applications, you have moc
365 QRC_SRC = $(QRC_FILES:.qrc=.rcc.cpp)
369 accordion_frame.cpp \
370 bluetooth_att_server_attributes_dialog.cpp \
371 bluetooth_devices_dialog.cpp \
372 bluetooth_hci_summary_dialog.cpp \
376 capture_file_dialog.cpp \
377 capture_file_properties_dialog.cpp \
378 capture_filter_combo.cpp \
379 capture_filter_edit.cpp \
380 capture_filter_syntax_worker.cpp \
381 capture_info_dialog.cpp \
382 capture_interfaces_dialog.cpp \
383 capture_preferences_frame.cpp \
385 coloring_rules_dialog.cpp \
386 column_preferences_frame.cpp \
387 column_editor_frame.cpp \
388 compiled_filter_output.cpp \
389 conversation_dialog.cpp \
390 decode_as_dialog.cpp \
391 display_filter_combo.cpp \
392 display_filter_edit.cpp \
393 display_filter_expression_dialog.cpp \
395 endpoint_dialog.cpp \
396 expert_info_dialog.cpp \
397 export_dissection_dialog.cpp \
398 export_object_dialog.cpp \
399 export_pdu_dialog.cpp \
400 extcap_argument.cpp \
401 extcap_argument_file.cpp \
402 extcap_options_dialog.cpp \
403 file_set_dialog.cpp \
406 filter_expressions_preferences_frame.cpp \
407 follow_stream_dialog.cpp \
408 follow_stream_text.cpp \
409 font_color_preferences_frame.cpp \
410 funnel_string_dialog.cpp \
411 funnel_text_dialog.cpp \
412 funnel_statistics.cpp \
413 import_text_dialog.cpp \
415 io_graph_dialog.cpp \
417 layout_preferences_frame.cpp \
418 lbm_lbtrm_transport_dialog.cpp \
419 lbm_lbtru_transport_dialog.cpp \
420 lbm_stream_dialog.cpp \
421 lbm_uimflow_dialog.cpp \
422 main_status_bar.cpp \
425 main_window_preferences_frame.cpp \
426 main_window_slots.cpp \
427 manage_interfaces_dialog.cpp \
428 module_preferences_scroll_area.cpp \
429 overlay_scroll_bar.cpp \
430 packet_comment_dialog.cpp \
432 packet_format_group_box.cpp \
434 packet_list_model.cpp \
435 packet_list_record.cpp \
436 packet_range_group_box.cpp \
437 preference_editor_frame.cpp \
438 preferences_dialog.cpp \
443 protocol_hierarchy_dialog.cpp \
444 protocol_preferences_menu.cpp \
447 recent_file_status.cpp \
448 related_packet_delegate.cpp \
449 remote_capture_dialog.cpp \
450 remote_settings_dialog.cpp \
451 resolved_addresses_dialog.cpp \
452 response_time_delay_dialog.cpp \
453 rtp_analysis_dialog.cpp \
454 rtp_stream_dialog.cpp \
455 sctp_all_assocs_dialog.cpp \
456 sctp_assoc_analyse_dialog.cpp \
457 sctp_chunk_statistics_dialog.cpp \
458 sctp_graph_dialog.cpp \
459 sctp_graph_arwnd_dialog.cpp \
460 sctp_graph_byte_dialog.cpp \
462 sequence_diagram.cpp \
463 sequence_dialog.cpp \
464 service_response_time_dialog.cpp \
466 simple_statistics_dialog.cpp \
467 sparkline_delegate.cpp \
469 stats_tree_dialog.cpp \
471 syntax_line_edit.cpp \
472 tap_parameter_dialog.cpp \
473 tcp_stream_dialog.cpp \
474 time_shift_dialog.cpp \
475 traffic_table_dialog.cpp \
477 voip_calls_dialog.cpp \
479 wireshark_application.cpp \
482 WIRESHARK_QT_TAP_SRC = \
483 stats_tree_dialog.cpp
487 packet_list_record.h \