2 # Automake file for Wireshark
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.
24 AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
25 ACLOCAL_AMFLAGS = `./aclocal-flags`
28 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
30 py_dissectors_dir = -DPYTHON_DIR=
34 if HAVE_WARNINGS_AS_ERRORS
35 AM_CLEAN_CFLAGS = -Werror
53 EXTRA_PROGRAMS = wireshark wireshark-qt tshark capinfos captype editcap \
54 mergecap dftest randpkt text2pcap dumpcap reordercap rawshark \
55 wireshark_cxx echld_test
58 # Wireshark configuration files are put in $(pkgdatadir).
60 dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
61 smi_modules ipmap.html pdml2html.xsl
64 # Install global profiles in the "profiles" subdirectory
66 profilesdir = $(pkgdatadir)
67 nobase_dist_profiles_DATA = \
68 profiles/Bluetooth/colorfilters \
69 profiles/Classic/colorfilters
72 # Install the Diameter DTD and XML files in the "diameter" subdirectory
75 diameterdir = $(pkgdatadir)/diameter
76 include diameter/Custom.make
77 dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
78 diameter/chargecontrol.xml \
79 diameter/ChinaTelecom.xml \
82 diameter/dictionary.dtd \
83 diameter/dictionary.xml \
85 diameter/Ericsson.xml \
86 diameter/etsie2e4.xml \
87 diameter/gqpolicy.xml \
88 diameter/imscxdx.xml \
89 diameter/mobileipv4.xml \
90 diameter/mobileipv6.xml \
93 diameter/sunping.xml \
94 diameter/TGPPGmb.xml \
98 diameter/Vodafone.xml \
99 diameter/AlcatelLucent.xml \
101 diameter/NokiaSiemensNetworks.xml \
103 diameter/VerizonWireless.xml
106 # Install the DTDs directory files in the "dtds" subdirectory
109 dtdsdir = $(pkgdatadir)/dtds
114 dtds/pocsettings.dtd \
121 dtds/xcap-error.dtd \
125 # Install the RADIUS directory files in the "radius" subdirectory
128 radiusdir = $(pkgdatadir)/radius
129 include radius/Custom.make
130 dist_radius_DATA = $(_CUSTOM_radius_dict_) \
131 radius/README.radius_dictionary \
132 radius/custom.includes \
134 radius/dictionary.3com \
135 radius/dictionary.3gpp \
136 radius/dictionary.3gpp2 \
137 radius/dictionary.acc \
138 radius/dictionary.acme \
139 radius/dictionary.airespace \
140 radius/dictionary.alcatel \
141 radius/dictionary.alcatel.esam \
142 radius/dictionary.alcatel.sr \
143 radius/dictionary.alcatel-lucent.aaa \
144 radius/dictionary.alcatel-lucent.xylan \
145 radius/dictionary.alteon \
146 radius/dictionary.altiga \
147 radius/dictionary.alvarion \
148 radius/dictionary.apc \
149 radius/dictionary.aptis \
150 radius/dictionary.aruba \
151 radius/dictionary.ascend \
152 radius/dictionary.asn \
153 radius/dictionary.audiocodes \
154 radius/dictionary.avaya \
155 radius/dictionary.azaire \
156 radius/dictionary.bay \
157 radius/dictionary.bintec \
158 radius/dictionary.bristol \
159 radius/dictionary.cablelabs \
160 radius/dictionary.cabletron \
161 radius/dictionary.chillispot \
162 radius/dictionary.cisco \
163 radius/dictionary.cisco.bbsm \
164 radius/dictionary.cisco.vpn3000 \
165 radius/dictionary.cisco.vpn5000 \
166 radius/dictionary.clavister \
167 radius/dictionary.colubris \
168 radius/dictionary.columbia_university \
169 radius/dictionary.compat \
170 radius/dictionary.cosine \
171 radius/dictionary.dhcp \
172 radius/dictionary.digium \
173 radius/dictionary.eltex \
174 radius/dictionary.epygi \
175 radius/dictionary.ericsson \
176 radius/dictionary.erx \
177 radius/dictionary.extreme \
178 radius/dictionary.fortinet \
179 radius/dictionary.foundry \
180 radius/dictionary.freeradius \
181 radius/dictionary.freeradius.internal \
182 radius/dictionary.freeswitch \
183 radius/dictionary.gandalf \
184 radius/dictionary.garderos \
185 radius/dictionary.gemtek \
186 radius/dictionary.h3c \
187 radius/dictionary.hp \
188 radius/dictionary.huawei \
189 radius/dictionary.iea \
190 radius/dictionary.infonet \
191 radius/dictionary.ipunplugged \
192 radius/dictionary.issanni \
193 radius/dictionary.itk \
194 radius/dictionary.jradius \
195 radius/dictionary.juniper \
196 radius/dictionary.karlnet \
197 radius/dictionary.lancom \
198 radius/dictionary.livingston \
199 radius/dictionary.localweb \
200 radius/dictionary.lucent \
201 radius/dictionary.manzara \
202 radius/dictionary.merit \
203 radius/dictionary.microsoft \
204 radius/dictionary.mikrotik \
205 radius/dictionary.motorola \
206 radius/dictionary.motorola.wimax \
207 radius/dictionary.navini \
208 radius/dictionary.netscreen \
209 radius/dictionary.networkphysics \
210 radius/dictionary.nexans \
211 radius/dictionary.nokia \
212 radius/dictionary.nokia.conflict \
213 radius/dictionary.nomadix \
214 radius/dictionary.nortel \
215 radius/dictionary.ntua \
216 radius/dictionary.openser \
217 radius/dictionary.packeteer \
218 radius/dictionary.patton \
219 radius/dictionary.propel \
220 radius/dictionary.prosoft \
221 radius/dictionary.quiconnect \
222 radius/dictionary.quintum \
223 radius/dictionary.redback \
224 radius/dictionary.redcreek \
225 radius/dictionary.rfc2865 \
226 radius/dictionary.rfc2866 \
227 radius/dictionary.rfc2867 \
228 radius/dictionary.rfc2868 \
229 radius/dictionary.rfc2869 \
230 radius/dictionary.rfc3162 \
231 radius/dictionary.rfc3576 \
232 radius/dictionary.rfc3580 \
233 radius/dictionary.rfc4072 \
234 radius/dictionary.rfc4372 \
235 radius/dictionary.rfc4603 \
236 radius/dictionary.rfc4675 \
237 radius/dictionary.rfc4679 \
238 radius/dictionary.rfc4818 \
239 radius/dictionary.rfc4849 \
240 radius/dictionary.rfc5090 \
241 radius/dictionary.rfc5176 \
242 radius/dictionary.rfc5447 \
243 radius/dictionary.rfc5580 \
244 radius/dictionary.rfc5607 \
245 radius/dictionary.rfc5904 \
246 radius/dictionary.rfc6519 \
247 radius/dictionary.rfc6572 \
248 radius/dictionary.riverstone \
249 radius/dictionary.roaringpenguin \
250 radius/dictionary.shasta \
251 radius/dictionary.shiva \
252 radius/dictionary.slipstream \
253 radius/dictionary.sofaware \
254 radius/dictionary.sonicwall \
255 radius/dictionary.springtide \
256 radius/dictionary.starent \
257 radius/dictionary.t_systems_nova \
258 radius/dictionary.telebit \
259 radius/dictionary.telkom \
260 radius/dictionary.trapeze \
261 radius/dictionary.tropos \
262 radius/dictionary.ukerna \
263 radius/dictionary.unix \
264 radius/dictionary.usr \
265 radius/dictionary.utstarcom \
266 radius/dictionary.valemount \
267 radius/dictionary.versanet \
268 radius/dictionary.vqp \
269 radius/dictionary.walabi \
270 radius/dictionary.waverider \
271 radius/dictionary.wichorus \
272 radius/dictionary.wimax \
273 radius/dictionary.wimax.wichorus \
274 radius/dictionary.wispr \
275 radius/dictionary.xedia \
276 radius/dictionary.zyxel
279 # Install the tpncp directory files in the "tpncp" subdirectory
282 tpncpdir = $(pkgdatadir)/tpncp
287 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
290 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
291 dist_wimaxasncp_DATA = \
292 wimaxasncp/dictionary.xml \
293 wimaxasncp/dictionary.dtd
296 capture-pcap-util-unix.c
299 -include plugins/Custom.make
300 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
301 -dlopen plugins/asn1/asn1.la \
302 -dlopen plugins/docsis/docsis.la \
303 -dlopen plugins/ethercat/ethercat.la \
304 -dlopen plugins/gryphon/gryphon.la \
305 -dlopen plugins/irda/irda.la \
306 -dlopen plugins/m2m/m2m.la \
307 -dlopen plugins/mate/mate.la \
308 -dlopen plugins/opcua/opcua.la \
309 -dlopen plugins/profinet/profinet.la \
310 -dlopen plugins/stats_tree/stats_tree.la \
311 -dlopen plugins/unistim/unistim.la \
312 -dlopen plugins/wimax/wimax.la \
313 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
321 include Makefile.common
325 wireshark_LDFLAGS = -Wl,-static -all-static
328 wireshark_qt_LDFLAGS = -Wl,-static -all-static
332 wireshark_LDFLAGS = -export-dynamic
335 wireshark_qt_LDFLAGS = -export-dynamic
339 # Libraries and plugin flags with which to link wireshark.
341 # Note that Wireshark, when built with a version of GTK+ that runs
342 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
343 # as those should also be included in @GTK_LIBS@ (as those are also
344 # needed for X applications, and GTK+ applications are X applications
345 # if the version of GTK+ they're built with runs atop X11).
347 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
348 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
349 # Gentoo bug 423743 at
351 # https://bugs.gentoo.org/show_bug.cgi?id=423743
353 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
354 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
355 # It is not actually a superset: gmodule is included in GLIB_LIBS but
356 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
358 # although it's also possible that -lgmodule is in GTK_LIBS but not
359 # GLIB_LIBS (that's the case on my machine right now, for example).
365 wiretap/libwiretap.la \
366 epan/libwireshark.la \
367 wsutil/libwsutil.la \
374 @APPLICATIONSERVICES_FRAMEWORKS@ \
375 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
376 @COREFOUNDATION_FRAMEWORKS@ \
386 wireshark_qt_SOURCES = $(WIRESHARK_COMMON_SRC)
387 wireshark_qt_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
388 wireshark_qt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
389 wireshark_qt_LDADD = \
395 # XXX - this makes wireshark_qt_LDFLAGS not work; we should figure out
396 # another way to get wireshark-qt linked as a C++ program, perhaps by
397 # having a top-level wireshark-qt.cpp file that contains main() and
398 # hthat calls the UI code from ui/qt.
400 wireshark_qt_LINK = $(CXXLINK)
404 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC)
405 wireshark_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
406 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
413 # Ideally we could trigger automatic c++ linking here with
414 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
415 # Unfortunately that check is done by automake and not configure.
416 # We do the following to try to avoid using c++ to link Wireshark at
418 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
419 wireshark_cxx_SOURCES =
422 tshark_LDFLAGS = -Wl,-static -all-static
424 tshark_LDFLAGS = -export-dynamic
427 # Libraries and plugin flags with which to link tshark.
431 wiretap/libwiretap.la \
432 epan/libwireshark.la \
433 wsutil/libwsutil.la \
443 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
444 @COREFOUNDATION_FRAMEWORKS@ \
449 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
452 rawshark_LDFLAGS = -Wl,-static -all-static
454 rawshark_LDFLAGS = -export-dynamic
457 # Libraries and plugin flags with which to link rawshark.
460 wiretap/libwiretap.la \
461 epan/libwireshark.la \
462 wsutil/libwsutil.la \
472 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
473 @COREFOUNDATION_FRAMEWORKS@ \
478 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
480 # Libraries with which to link text2pcap.
482 wsutil/libwsutil.la \
484 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
485 # which is generated (and therefore not always clean).
486 # We could generate text2pcap.o as a library with -Werror but for now it
487 # doesn't seem worth the effort.
488 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
490 # Libraries with which to link mergecap.
492 wiretap/libwiretap.la \
493 wsutil/libwsutil.la \
495 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
497 # Libraries with which to link capinfos.
499 wiretap/libwiretap.la \
500 wsutil/libwsutil.la \
503 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
505 # Libraries with which to link captype.
507 wiretap/libwiretap.la \
508 wsutil/libwsutil.la \
510 captype_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
512 # Libraries with which to link editcap.
514 wiretap/libwiretap.la \
515 wsutil/libwsutil.la \
517 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
519 # Libraries with which to link reordercap.
521 wiretap/libwiretap.la \
522 wsutil/libwsutil.la \
524 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
526 # Libraries with which to link randpkt.
528 wiretap/libwiretap.la \
529 wsutil/libwsutil.la \
536 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
538 # Libraries and plugin flags with which to link dftest.
541 wiretap/libwiretap.la \
542 wsutil/libwsutil.la \
543 epan/libwireshark.la \
557 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
560 epan/libwireshark.la \
562 wsutil/libwsutil.la \
570 echld_test_DEPENDENCIES = \
574 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
577 # Libraries with which to link dumpcap.
579 wsutil/libwsutil.la \
584 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
585 @COREFOUNDATION_FRAMEWORKS@ \
587 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
588 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
591 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
592 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS) \
593 @LUA_INCLUDES@ -DTOP_SRCDIR=\"$(abs_top_srcdir)\"
596 # Build the version string
598 # FORCE is the portable version of .PHONY
601 AM_V_PERL = $(am__v_PERL_@AM_V@)
602 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
603 am__v_PERL_0 = @echo " PERL " $@;
607 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
610 # Build shell scripts by doing variable substitution.
611 # Taken from autoconf 2.13.
613 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
618 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
621 $(PYTHON) $(srcdir)/tools/make-services.py
629 # We have to remove svnversion.h with "make distclean", as, otherwise,
630 # "make distcheck" fails. We still need to make the tarballs work
631 # even if you do "make distclean" and try to rebuild; that's a work in
634 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
635 # list of files removed by "make distclean"? (It's deliberately
636 # included in that list.)
642 MAINTAINERCLEANFILES = \
671 abi-descriptor.template \
672 aclocal-fallback/libsmi.m4 \
673 aclocal-fallback/libgcrypt.m4 \
674 aclocal-fallback/glib-2.0.m4 \
675 aclocal-fallback/gtk-2.0.m4 \
676 aclocal-fallback/gtk-3.0.m4 \
683 capture_win_ifnames.c \
684 capture_win_ifnames.h \
687 capture_wpcap_packet.c \
688 capture_wpcap_packet.h \
698 debian/headers-check.c \
699 debian/patches/00list \
704 debian/README.source \
705 debian/tshark.files \
706 debian/tshark.manpages \
708 debian/wireshark-common.files \
709 debian/wireshark-common.manpages \
710 debian/wireshark-common.shlibs \
711 debian/wireshark-dev.docs \
712 debian/wireshark-dev.files \
713 debian/wireshark-dev.header-files \
714 debian/wireshark-dev.manpages \
715 debian/wireshark-dev.prerm \
716 debian/wireshark-root.desktop \
717 debian/wireshark.desktop \
718 debian/wireshark.files \
719 debian/wireshark.manpages \
720 debian/wireshark.menu \
737 idl/coseventcomm.idl \
741 idl/parlay/cccs.idl \
743 idl/parlay/common_cc_data.idl \
746 idl/parlay/fw_data.idl \
747 idl/parlay/fw_if.idl \
748 idl/parlay/fw_if_access.idl \
749 idl/parlay/fw_if_app.idl \
750 idl/parlay/fw_if_entop.idl \
751 idl/parlay/fw_if_service.idl \
752 idl/parlay/gcc_data.idl \
753 idl/parlay/gcc_interfaces.idl \
756 idl/parlay/mmccs.idl \
758 idl/parlay/mpcc_data.idl \
759 idl/parlay/mpcc_interfaces.idl \
761 idl/parlay/pam_data.idl \
762 idl/parlay/pam_interfaces.idl \
763 idl/parlay/Parlay.idl \
764 idl/parlay/policy_data.idl \
765 idl/parlay/policy_interfaces.idl \
766 idl/parlay/README.parlay \
767 idl/parlay/termcap.idl \
768 idl/parlay/ui_data.idl \
769 idl/parlay/ui_interfaces.idl \
770 image/capinfos.rc.in \
771 image/captype.rc.in \
772 image/capture_comment.svg \
773 image/capture_comment_add.png \
774 image/capture_comment_disabled.png \
775 image/capture_comment_update.png \
776 image/capture_start_24.png \
777 image/capture_start_active_24.png \
778 image/capture_stop_24.png \
779 image/clist_ascend.xpm \
780 image/clist_descend.xpm \
782 image/dfilter_apply_disabled.png \
783 image/dfilter_apply_hover.png \
784 image/dfilter_apply_normal.png \
785 image/dfilter_apply_pressed.png \
786 image/dfilter_bookmark_disabled.png \
787 image/dfilter_bookmark_hover.png \
788 image/dfilter_bookmark_normal.png \
789 image/dfilter_bookmark_pressed.png \
790 image/dfilter_dropdown.png \
791 image/dfilter_erase_active.png \
792 image/dfilter_erase_normal.png \
793 image/dfilter_erase_selected.png \
794 image/dfilter_refresh_active.png \
795 image/dfilter_refresh_normal.png \
796 image/display_filter.qrc \
797 image/dumpcap.rc.in \
798 image/editcap.rc.in \
799 image/expert_chat.png \
800 image/expert_error.png \
801 image/expert_indicators.svg \
802 image/expert_none.png \
803 image/expert_note.png \
804 image/expert_warn.png \
805 image/file_dlg_win32.rc \
806 image/hi16-app-wireshark.png \
807 image/hi32-app-wireshark.png \
808 image/hi48-app-wireshark.png \
815 image/libwireshark.rc.in \
816 image/libwsutil.rc.in \
817 image/lo16-app-wireshark.png \
818 image/lo32-app-wireshark.png \
819 image/lo48-app-wireshark.png \
820 image/Makefile.nmake \
821 image/mergecap.rc.in \
823 image/nsis-checked.bmp \
824 image/nsis-unchecked.bmp \
825 image/openhand-16.png \
827 image/rawshark.rc.in \
829 image/reordercap.rc.in \
830 image/rubberband-16.png \
832 image/stock_dialog_error_48.xpm \
833 image/stock_dialog_info_48.xpm \
834 image/stock_dialog_question_48.xpm \
835 image/stock_dialog_stop_48.xpm \
836 image/stock_dialog_warning_48.xpm \
837 image/text2pcap.rc.in \
839 image/toolbar/analyze_24.xpm \
840 image/toolbar/audio_player_24.xpm \
841 image/toolbar/autoscroll_24.xpm \
842 image/toolbar/capture_airpcap_16.xpm \
843 image/toolbar/capture_capture_16.xpm \
844 image/toolbar/capture_details_16.xpm \
845 image/toolbar/capture_details_24.xpm \
846 image/toolbar/capture_ethernet_16.xpm \
847 image/toolbar/capture_filter_24.xpm \
848 image/toolbar/capture_interfaces_16.png \
849 image/toolbar/capture_interfaces_24.png \
850 image/toolbar/capture_options_16.png \
851 image/toolbar/capture_options_24.png \
852 image/toolbar/capture_prepare_16.xpm \
853 image/toolbar/capture_restart_16.png \
854 image/toolbar/capture_restart_24.png \
855 image/toolbar/capture_start_16.png \
856 image/toolbar/capture_start_24.png \
857 image/toolbar/capture_stop_16.png \
858 image/toolbar/capture_stop_24.png \
859 image/toolbar/checkbox_16.xpm \
860 image/toolbar/colorize_24.xpm \
861 image/toolbar/conversations_16.xpm \
862 image/toolbar/decode_24.xpm \
863 image/toolbar/decode_as_16.xpm \
864 image/toolbar/display_filter_24.xpm \
865 image/toolbar/endpoints_16.xpm \
866 image/toolbar/expert_info_16.xpm \
867 image/toolbar/file_set_list_16.xpm \
868 image/toolbar/file_set_next_16.xpm \
869 image/toolbar/file_set_previous_16.xpm \
870 image/toolbar/flow_graph_16.xpm \
871 image/toolbar/gnome_emblem_web_16.png \
872 image/toolbar/gnome_emblem_web_24.png \
873 image/toolbar/graphs_16.xpm \
874 image/toolbar/icon_color_0.xpm \
875 image/toolbar/icon_color_1.xpm \
876 image/toolbar/icon_color_2.xpm \
877 image/toolbar/icon_color_3.xpm \
878 image/toolbar/icon_color_4.xpm \
879 image/toolbar/icon_color_5.xpm \
880 image/toolbar/icon_color_6.xpm \
881 image/toolbar/icon_color_7.xpm \
882 image/toolbar/icon_color_8.xpm \
883 image/toolbar/icon_color_9.xpm \
884 image/toolbar/internet_24.xpm \
885 image/toolbar/modem_16.png \
886 image/toolbar/modem_16.xpm \
887 image/toolbar/network_bluetooth_16.png \
888 image/toolbar/network_usb.svg \
889 image/toolbar/network_usb_16.png \
890 image/toolbar/network_virtual_16.xpm \
891 image/toolbar/network_wired_16.png \
892 image/toolbar/network_wireless_16.png \
893 image/toolbar/pipe_16.png \
894 image/toolbar/remote_arrow_16.png \
895 image/toolbar/remote_globe_16.png \
896 image/toolbar/remote_sat_16.png \
897 image/toolbar/resize_columns_24.xpm \
898 image/toolbar/telephone_16.xpm \
899 image/toolbar/telephony_16.xpm \
900 image/toolbar/time_24.xpm \
901 image/toolbar/toolbar_wireshark_file_16.png \
902 image/toolbar/toolbar_wireshark_file_24.png \
903 image/toolbar/voip_flow_24.xpm \
904 image/toolbar/web_support_24.xpm \
905 image/toolbar/wep_closed_24.xpm \
908 image/voip_select.xpm \
909 image/wireshark.exe.manifest.in \
910 image/wireshark.ico \
911 image/wireshark.rc.in \
912 image/wiresharkdoc.ico \
913 image/wiresharkinst.ico \
914 image/WiresharkDoc-16.png \
915 image/WiresharkDoc-24.png \
916 image/WiresharkDoc-32.png \
917 image/WiresharkDoc-48.png \
918 image/WiresharkDoc-64.png \
919 image/WiresharkDoc-128.png \
920 image/WiresharkDoc-256.png \
921 image/wiretap.rc.in \
928 image/wsicon128.png \
929 image/wsicon256.png \
930 image/wsicon512.png \
931 image/wsicon1024.png \
932 image/wsicon-ask.png \
933 image/wsicon-ask.svg \
934 image/wsiconcap.svg \
935 image/wsiconcap256.png \
936 image/wsiconcap512.png \
937 image/wsiconcap1024.png \
938 image/wsiconinst.svg \
939 image/wsiconinst256.png \
940 image/wslogo-dev.svg \
943 image/wssplash_dev.png \
947 macosx-support-lib-patches/glib-gconvert.c.patch \
948 macosx-support-lib-patches/glib-pkgconfig.patch \
949 macosx-support-lib-patches/gnutls-pkgconfig.patch \
950 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
951 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
959 text2pcap-scanner.l \
963 wireshark-mime-package.xml \
967 wsutil/CMakeLists.txt \
969 wiretap/CMakeLists.txt \
971 ConfigureChecks.cmake \
972 cmake/modules/CMakeInstallDirs.cmake \
973 cmake/modules/COPYING-CMAKE-SCRIPTS \
974 cmake/modules/CheckCLinkerFlag.cmake \
975 cmake/modules/FeatureSummary.cmake \
976 cmake/modules/FindADNS.cmake \
977 cmake/modules/FindCAP.cmake \
978 cmake/modules/FindCARES.cmake \
979 cmake/modules/FindFOP.cmake \
980 cmake/modules/FindGCRYPT.cmake \
981 cmake/modules/FindGEOIP.cmake \
982 cmake/modules/FindGLIB2.cmake \
983 cmake/modules/FindGMODULE2.cmake \
984 cmake/modules/FindGNUTLS.cmake \
985 cmake/modules/FindGTHREAD2.cmake \
986 cmake/modules/FindGTK2.cmake \
987 cmake/modules/FindGTK3.cmake \
988 cmake/modules/FindHtmlViewer.cmake \
989 cmake/modules/FindKERBEROS.cmake \
990 cmake/modules/FindNL.cmake \
991 cmake/modules/FindLEX.cmake \
992 cmake/modules/FindLUA.cmake \
993 cmake/modules/FindLYNX.cmake \
994 cmake/modules/FindM.cmake \
995 cmake/modules/FindPCAP.cmake \
996 cmake/modules/FindPOD.cmake \
997 cmake/modules/FindPORTAUDIO.cmake \
998 cmake/modules/FindSED.cmake \
999 cmake/modules/FindSH.cmake \
1000 cmake/modules/FindSMI.cmake \
1001 cmake/modules/FindXMLLINT.cmake \
1002 cmake/modules/FindXSLTPROC.cmake \
1003 cmake/modules/FindYACC.cmake \
1004 cmake/modules/FindYAPP.cmake \
1005 cmake/modules/FindZLIB.cmake \
1006 cmake/modules/LICENSE.txt \
1007 cmake/modules/UseLemon.cmake \
1008 cmake/modules/UseMakeDissectorReg.cmake \
1009 cmake/modules/UseMakeTapReg.cmake \
1010 cmake/modules/readme.txt \
1011 ui/win32/Makefile.nmake \
1012 ui/win32/console_win32.c \
1013 ui/win32/console_win32.h \
1014 ui/win32/file_dlg_win32.c \
1015 ui/win32/file_dlg_win32.h \
1016 ui/win32/print_win32.c \
1017 ui/win32/print_win32.h \
1018 ui/win32/settings.ini \
1027 if HAVE_DUMPCAP_GROUP
1028 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1031 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
1032 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1035 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1036 -chmod +s $(DESTDIR)$(bindir)/dumpcap
1041 DIST_SUBDIRS = asn1 codecs doc epan echld ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
1044 SUBDIRS = tools wsutil wiretap epan @echld_dir@ plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1046 SUBDIRS = tools wsutil wiretap epan @echld_dir@ packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1049 help/faq.txt: $(srcdir)/help/faq.py
1050 $(AM_V_GEN)(cd help ; \
1053 libtool: $(LIBTOOL_DEPS)
1054 $(SHELL) ./config.status --recheck
1057 # Used by patch-bzip2
1058 # Trim off any extra version information and find the previous micro release.
1059 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1060 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1061 PREV_DIR="wireshark-$(PREV_VERSION)"
1062 PREV_FILE="$(PREV_DIR).tar.bz2"
1063 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1065 patch-bzip2: distdir
1066 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1067 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1068 tar -xjf $(PREV_FILE) && \
1069 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1070 echo "Created patch-bzip2" ; \
1071 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1073 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1075 $(am__remove_distdir)
1077 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1078 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1079 # Yes, that violate's autofoo's principle of relocatability.
1080 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1081 # to install this stuff...
1082 install_desktop_files:
1083 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1084 install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1085 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1086 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications wireshark.desktop; \
1088 install -m 644 -T wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1090 for size in 16 24 32 48 64 128 256; \
1092 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1093 install -m 644 image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1094 install -m 644 -T image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1096 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1098 # Used by svr4-package and osx-package
1099 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1100 top_stagedir=`cd $(top_builddir) && pwd`/packaging/staging
1101 stagedir=$(top_stagedir)/$(PACKAGE).inst
1106 solaris-package: svr4-package
1108 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1109 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1110 rm -rf $(stagedir) ; \
1111 $(MAKE) DESTDIR=$(stagedir) install; \
1112 $(srcdir)/packaging/svr4/mkpkg \
1114 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1118 echo "Error: SVR4 packaging tools not found." ; \
1119 echo "Package build abandoned." ; \
1123 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1125 @if test x$(HAVE_RPM) = xyes ; then \
1126 cd $(rpm_topdir) ; \
1127 mkdir -p BUILD RPMS SOURCES SRPMS; \
1129 ln -sf ../../../$(distdir).tar.bz2 ; \
1131 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
1132 @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
1133 echo "Package successfully built in `pwd`/RPMS." && \
1134 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1136 echo "Error: RPM executable and/or source directory not found." ; \
1140 debian-package: debian/rules
1141 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1142 dpkg-buildpackage -rfakeroot -us -uc ; \
1144 echo "Error: Debian packaging tools not found." ; \
1145 echo "Package build abandoned." ; \
1148 # XXX - This assumes we're building from the source directory.
1149 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1150 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1151 rm -rf $(stagedir) ; \
1152 $(MAKE) DESTDIR=$(stagedir) install; \
1153 cd $(srcdir)/packaging/macosx ; \
1154 ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1156 echo "Error: OS X packaging tools not found." ; \
1157 echo "Package build abandoned." ; \
1160 packaging/macosx/COPYING.txt: COPYING
1161 (cd packaging/macosx ; \
1162 $(MAKE) COPYING.txt ;)
1164 osx-package: osx-app packaging/macosx/COPYING.txt
1165 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1166 cd $(srcdir)/packaging/macosx ; \
1167 chmod +x ./osx-dmg.sh ; \
1168 ./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
1171 osx-install: osx-app
1172 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1173 echo "Copying Wireshark.app to /Applications" ; \
1174 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1178 rm -rf $(top_stagedir)
1181 $(MAKE) -C wiretap dumpabi-libwiretap
1182 $(MAKE) -C epan dumpabi-libwireshark
1183 $(MAKE) -C wsutil dumpabi-libwsutil
1186 $(PERL) tools/checkAPIs.pl -build \
1188 $(wireshark_SOURCES)
1189 # $(EXTRA_wireshark_SOURCES)
1191 checkapi: checkapi_local
1192 cd wiretap && $(MAKE) checkapi
1193 cd codecs && $(MAKE) checkapi
1194 cd ui && $(MAKE) checkapi
1195 cd ui/gtk && $(MAKE) checkapi
1196 ## cd epan && $(MAKE) checkapi
1197 ## cd epan/crypt && $(MAKE) checkapi
1198 cd epan/dfilter && $(MAKE) checkapi
1199 ## cd epan/ftypes && $(MAKE) checkapi
1200 ## cd epan/wslua && $(MAKE) checkapi
1201 cd epan/dissectors && $(MAKE) checkapi
1202 cd plugins && $(MAKE) checkapi
1203 cd wsutil && $(MAKE) checkapi
1205 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1208 cd epan && $(MAKE) $@
1210 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1216 zip -rq wsar_html.zip wsar_html