2 # Automake file for Wireshark
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
23 ACLOCAL_AMFLAGS = `./aclocal-flags`
25 if HAVE_WARNINGS_AS_ERRORS
26 AM_CLEAN_CFLAGS = -Werror
45 EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype editcap \
46 mergecap dftest randpkt text2pcap dumpcap reordercap rawshark \
47 wireshark_cxx echld_test
50 # Wireshark configuration files are put in $(pkgdatadir).
52 dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
53 smi_modules ipmap.html pdml2html.xsl
56 # Install global profiles in the "profiles" subdirectory
58 profilesdir = $(pkgdatadir)
59 nobase_dist_profiles_DATA = \
60 profiles/Bluetooth/colorfilters \
61 profiles/Classic/colorfilters
64 # Install the Diameter DTD and XML files in the "diameter" subdirectory
67 diameterdir = $(pkgdatadir)/diameter
68 include diameter/Custom.make
69 dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
70 diameter/chargecontrol.xml \
71 diameter/ChinaTelecom.xml \
74 diameter/dictionary.dtd \
75 diameter/dictionary.xml \
77 diameter/Ericsson.xml \
78 diameter/etsie2e4.xml \
79 diameter/mobileipv4.xml \
80 diameter/mobileipv6.xml \
83 diameter/Starent.xml \
84 diameter/sunping.xml \
87 diameter/Vodafone.xml \
88 diameter/AlcatelLucent.xml \
90 diameter/NokiaSiemensNetworks.xml \
93 diameter/VerizonWireless.xml
96 # Install the DTDs directory files in the "dtds" subdirectory
99 dtdsdir = $(pkgdatadir)/dtds
104 dtds/pocsettings.dtd \
111 dtds/xcap-error.dtd \
115 # Install the RADIUS directory files in the "radius" subdirectory
118 radiusdir = $(pkgdatadir)/radius
119 include radius/Custom.make
120 dist_radius_DATA = $(_CUSTOM_radius_dict_) \
121 radius/README.radius_dictionary \
122 radius/custom.includes \
124 radius/dictionary.3com \
125 radius/dictionary.3gpp \
126 radius/dictionary.3gpp2 \
127 radius/dictionary.acc \
128 radius/dictionary.acme \
129 radius/dictionary.airespace \
130 radius/dictionary.alcatel \
131 radius/dictionary.alcatel.esam \
132 radius/dictionary.alcatel.sr \
133 radius/dictionary.alcatel-lucent.aaa \
134 radius/dictionary.alcatel-lucent.xylan \
135 radius/dictionary.alteon \
136 radius/dictionary.altiga \
137 radius/dictionary.alvarion \
138 radius/dictionary.apc \
139 radius/dictionary.aptis \
140 radius/dictionary.aruba \
141 radius/dictionary.ascend \
142 radius/dictionary.asn \
143 radius/dictionary.audiocodes \
144 radius/dictionary.avaya \
145 radius/dictionary.azaire \
146 radius/dictionary.bay \
147 radius/dictionary.bintec \
148 radius/dictionary.bristol \
149 radius/dictionary.cablelabs \
150 radius/dictionary.cabletron \
151 radius/dictionary.chillispot \
152 radius/dictionary.cisco \
153 radius/dictionary.cisco.bbsm \
154 radius/dictionary.cisco.vpn3000 \
155 radius/dictionary.cisco.vpn5000 \
156 radius/dictionary.clavister \
157 radius/dictionary.colubris \
158 radius/dictionary.columbia_university \
159 radius/dictionary.compat \
160 radius/dictionary.cosine \
161 radius/dictionary.dhcp \
162 radius/dictionary.digium \
163 radius/dictionary.eltex \
164 radius/dictionary.epygi \
165 radius/dictionary.ericsson \
166 radius/dictionary.erx \
167 radius/dictionary.extreme \
168 radius/dictionary.fortinet \
169 radius/dictionary.foundry \
170 radius/dictionary.freeradius \
171 radius/dictionary.freeradius.internal \
172 radius/dictionary.freeswitch \
173 radius/dictionary.gandalf \
174 radius/dictionary.garderos \
175 radius/dictionary.gemtek \
176 radius/dictionary.h3c \
177 radius/dictionary.hp \
178 radius/dictionary.huawei \
179 radius/dictionary.iea \
180 radius/dictionary.infonet \
181 radius/dictionary.ipunplugged \
182 radius/dictionary.issanni \
183 radius/dictionary.itk \
184 radius/dictionary.jradius \
185 radius/dictionary.juniper \
186 radius/dictionary.karlnet \
187 radius/dictionary.lancom \
188 radius/dictionary.livingston \
189 radius/dictionary.localweb \
190 radius/dictionary.lucent \
191 radius/dictionary.manzara \
192 radius/dictionary.merit \
193 radius/dictionary.microsoft \
194 radius/dictionary.mikrotik \
195 radius/dictionary.motorola \
196 radius/dictionary.motorola.wimax \
197 radius/dictionary.navini \
198 radius/dictionary.netscreen \
199 radius/dictionary.networkphysics \
200 radius/dictionary.nexans \
201 radius/dictionary.nokia \
202 radius/dictionary.nokia.conflict \
203 radius/dictionary.nomadix \
204 radius/dictionary.nortel \
205 radius/dictionary.ntua \
206 radius/dictionary.openser \
207 radius/dictionary.packeteer \
208 radius/dictionary.patton \
209 radius/dictionary.propel \
210 radius/dictionary.prosoft \
211 radius/dictionary.quiconnect \
212 radius/dictionary.quintum \
213 radius/dictionary.redback \
214 radius/dictionary.redcreek \
215 radius/dictionary.rfc2865 \
216 radius/dictionary.rfc2866 \
217 radius/dictionary.rfc2867 \
218 radius/dictionary.rfc2868 \
219 radius/dictionary.rfc2869 \
220 radius/dictionary.rfc3162 \
221 radius/dictionary.rfc3576 \
222 radius/dictionary.rfc3580 \
223 radius/dictionary.rfc4072 \
224 radius/dictionary.rfc4372 \
225 radius/dictionary.rfc4603 \
226 radius/dictionary.rfc4675 \
227 radius/dictionary.rfc4679 \
228 radius/dictionary.rfc4818 \
229 radius/dictionary.rfc4849 \
230 radius/dictionary.rfc5090 \
231 radius/dictionary.rfc5176 \
232 radius/dictionary.rfc5447 \
233 radius/dictionary.rfc5580 \
234 radius/dictionary.rfc5607 \
235 radius/dictionary.rfc5904 \
236 radius/dictionary.rfc6519 \
237 radius/dictionary.rfc6572 \
238 radius/dictionary.riverstone \
239 radius/dictionary.roaringpenguin \
240 radius/dictionary.shasta \
241 radius/dictionary.shiva \
242 radius/dictionary.slipstream \
243 radius/dictionary.sofaware \
244 radius/dictionary.sonicwall \
245 radius/dictionary.springtide \
246 radius/dictionary.starent \
247 radius/dictionary.t_systems_nova \
248 radius/dictionary.telebit \
249 radius/dictionary.telkom \
250 radius/dictionary.trapeze \
251 radius/dictionary.tropos \
252 radius/dictionary.ukerna \
253 radius/dictionary.unix \
254 radius/dictionary.usr \
255 radius/dictionary.utstarcom \
256 radius/dictionary.valemount \
257 radius/dictionary.versanet \
258 radius/dictionary.vqp \
259 radius/dictionary.walabi \
260 radius/dictionary.waverider \
261 radius/dictionary.wichorus \
262 radius/dictionary.wimax \
263 radius/dictionary.wimax.wichorus \
264 radius/dictionary.wispr \
265 radius/dictionary.xedia \
266 radius/dictionary.zyxel
269 # Install the tpncp directory files in the "tpncp" subdirectory
272 tpncpdir = $(pkgdatadir)/tpncp
277 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
280 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
281 dist_wimaxasncp_DATA = \
282 wimaxasncp/dictionary.xml \
283 wimaxasncp/dictionary.dtd
286 -include plugins/Custom.make
287 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
288 -dlopen plugins/docsis/docsis.la \
289 -dlopen plugins/ethercat/ethercat.la \
290 -dlopen plugins/gryphon/gryphon.la \
291 -dlopen plugins/irda/irda.la \
292 -dlopen plugins/m2m/m2m.la \
293 -dlopen plugins/mate/mate.la \
294 -dlopen plugins/opcua/opcua.la \
295 -dlopen plugins/profinet/profinet.la \
296 -dlopen plugins/stats_tree/stats_tree.la \
297 -dlopen plugins/unistim/unistim.la \
298 -dlopen plugins/wimax/wimax.la \
299 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
307 include Makefile.common
311 wireshark_gtk_LDFLAGS = -Wl,-static -all-static
314 wireshark_LDFLAGS = -Wl,-static -all-static
318 wireshark_gtk_LDFLAGS = -export-dynamic
321 wireshark_LDFLAGS = -export-dynamic
325 # Libraries and plugin flags with which to link wireshark.
327 # Note that Wireshark, when built with a version of GTK+ that runs
328 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
329 # as those should also be included in @GTK_LIBS@ (as those are also
330 # needed for X applications, and GTK+ applications are X applications
331 # if the version of GTK+ they're built with runs atop X11).
333 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
334 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
335 # Gentoo bug 423743 at
337 # https://bugs.gentoo.org/show_bug.cgi?id=423743
339 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
340 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
341 # It is not actually a superset: gmodule is included in GLIB_LIBS but
342 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
344 # although it's also possible that -lgmodule is in GTK_LIBS but not
345 # GLIB_LIBS (that's the case on my machine right now, for example).
347 wireshark_common_ldadd = \
348 capchild/libcapchild.a \
349 caputils/libcaputils.a \
353 wiretap/libwiretap.la \
354 epan/libwireshark.la \
355 wsutil/libwsutil.la \
362 @APPLICATIONSERVICES_FRAMEWORKS@ \
363 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
364 @COREFOUNDATION_FRAMEWORKS@ \
372 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC)
373 wireshark_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
374 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS)
377 $(wireshark_common_ldadd) \
381 # XXX - this makes wireshark_LDFLAGS not work; we should figure out
382 # another way to get wireshark linked as a C++ program, perhaps by
383 # having a top-level wireshark-qt.cpp file that contains main() and
384 # that calls the UI code from ui/qt.
386 wireshark_LINK = $(CXXLINK)
390 wireshark_gtk_SOURCES = $(WIRESHARK_COMMON_SRC)
391 wireshark_gtk_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
392 wireshark_gtk_CFLAGS = $(AM_CLEAN_CFLAGS)
393 wireshark_gtk_LDADD = \
395 $(wireshark_common_ldadd) \
400 # Ideally we could trigger automatic c++ linking here with
401 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
402 # Unfortunately that check is done by automake and not configure.
403 # We do the following to try to avoid using c++ to link Wireshark at
405 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
406 wireshark_cxx_SOURCES =
409 tshark_LDFLAGS = -Wl,-static -all-static
411 tshark_LDFLAGS = -export-dynamic
414 # Libraries and plugin flags with which to link tshark.
416 capchild/libcapchild.a \
417 caputils/libcaputils.a \
420 wiretap/libwiretap.la \
421 epan/libwireshark.la \
422 wsutil/libwsutil.la \
432 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
433 @COREFOUNDATION_FRAMEWORKS@ \
438 tshark_CFLAGS = $(AM_CLEAN_CFLAGS)
441 tfshark_LDFLAGS = -Wl,-static -all-static
443 tfshark_LDFLAGS = -export-dynamic
446 # Libraries and plugin flags with which to link tfshark.
450 wiretap/libwiretap.la \
451 epan/libwireshark.la \
452 wsutil/libwsutil.la \
460 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
461 @COREFOUNDATION_FRAMEWORKS@ \
465 tfshark_CFLAGS = $(AM_CLEAN_CFLAGS)
468 rawshark_LDFLAGS = -Wl,-static -all-static
470 rawshark_LDFLAGS = -export-dynamic
473 # Libraries and plugin flags with which to link rawshark.
475 caputils/libcaputils.a \
477 wiretap/libwiretap.la \
478 epan/libwireshark.la \
479 wsutil/libwsutil.la \
489 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
490 @COREFOUNDATION_FRAMEWORKS@ \
495 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS)
497 # Libraries with which to link text2pcap.
499 wsutil/libwsutil.la \
502 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
503 # which is generated (and therefore not always clean).
504 # We could generate text2pcap.o as a library with -Werror but for now it
505 # doesn't seem worth the effort.
506 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
508 # Libraries with which to link mergecap.
510 wiretap/libwiretap.la \
511 wsutil/libwsutil.la \
513 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
515 # Libraries with which to link capinfos.
517 wiretap/libwiretap.la \
518 wsutil/libwsutil.la \
521 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS)
523 # Libraries with which to link captype.
525 wiretap/libwiretap.la \
526 wsutil/libwsutil.la \
528 captype_CFLAGS = $(AM_CLEAN_CFLAGS)
530 # Libraries with which to link editcap.
532 wiretap/libwiretap.la \
533 wsutil/libwsutil.la \
535 editcap_CFLAGS = $(AM_CLEAN_CFLAGS)
537 # Libraries with which to link reordercap.
539 wiretap/libwiretap.la \
540 wsutil/libwsutil.la \
542 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
544 # Libraries with which to link randpkt.
546 wiretap/libwiretap.la \
547 wsutil/libwsutil.la \
555 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
557 # Libraries and plugin flags with which to link dftest.
560 wiretap/libwiretap.la \
561 wsutil/libwsutil.la \
562 epan/libwireshark.la \
576 dftest_CFLAGS = $(AM_CLEAN_CFLAGS)
579 epan/libwireshark.la \
581 wsutil/libwsutil.la \
590 echld_test_DEPENDENCIES = \
594 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
597 # Libraries with which to link dumpcap.
599 caputils/libcaputils.a \
600 wsutil/libwsutil.la \
605 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
606 @COREFOUNDATION_FRAMEWORKS@ \
608 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
609 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
612 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
613 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) \
614 @LUA_INCLUDES@ -DTOP_SRCDIR=\"$(abs_top_srcdir)\"
617 # Build the version string
619 # FORCE is the portable version of .PHONY
622 AM_V_PERL = $(am__v_PERL_@AM_V@)
623 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
624 am__v_PERL_0 = @echo " PERL " $@;
628 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
631 # Build shell scripts by doing variable substitution.
632 # Taken from autoconf 2.13.
634 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
639 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
642 $(PYTHON) $(srcdir)/tools/make-services.py
650 # We have to remove version.h with "make distclean", as, otherwise,
651 # "make distcheck" fails. We still need to make the tarballs work
652 # even if you do "make distclean" and try to rebuild; that's a work in
655 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
656 # list of files removed by "make distclean"? (It's deliberately
657 # included in that list.)
663 MAINTAINERCLEANFILES = \
691 abi-descriptor.template \
692 aclocal-fallback/libsmi.m4 \
693 aclocal-fallback/libgcrypt.m4 \
694 aclocal-fallback/glib-2.0.m4 \
695 aclocal-fallback/gtk-2.0.m4 \
696 aclocal-fallback/gtk-3.0.m4 \
697 aclocal-fallback/ax_check_compile_flag.m4 \
698 aclocal-fallback/ax_gcc_x86_cpuid.m4 \
699 aclocal-fallback/ax_ext.m4 \
700 aclocal-fallback/ax_gcc_x86_avx_xgetbv.m4 \
711 debian/README.Debian \
712 debian/README.Debian.security \
718 debian/ethereal-common.NEWS \
719 debian/headers-check.c \
720 debian/libwireshark-data.install \
721 debian/libwireshark-dev.install \
722 debian/libwireshark0.install \
723 debian/libwireshark0.symbols \
724 debian/libwiretap-dev.install \
725 debian/libwiretap0.docs \
726 debian/libwiretap0.install \
727 debian/libwiretap0.symbols \
728 debian/libwsutil-dev.install \
729 debian/libwsutil0.install \
730 debian/libwsutil0.symbols \
731 debian/license-text-about-dialog \
732 debian/patches/01_Disable-building-documentation-in-PDF-and-release-no.patch \
733 debian/patches/04_asn2wrs_ply.patch \
734 debian/patches/05_note-README-when-running-as-root.patch \
735 debian/patches/06_release-version.patch \
736 debian/patches/08_wireshark-desktop-menu.patch \
737 debian/patches/09_idl2wrs.patch \
738 debian/patches/16_licence_about_location.patch \
739 debian/patches/series \
740 debian/po/POTFILES.in \
759 debian/po/templates.pot \
763 debian/source/format \
766 debian/tshark.install \
767 debian/tshark.manpages \
768 debian/wireshark-common.config \
769 debian/wireshark-common.install \
770 debian/wireshark-common.manpages \
771 debian/wireshark-common.postinst \
772 debian/wireshark-common.postrm \
773 debian/wireshark-dev.docs \
774 debian/wireshark-dev.install \
775 debian/wireshark-dev.manpages \
776 debian/wireshark-dev.prerm \
777 debian/wireshark-doc.docs \
778 debian/wireshark-gtk.docs \
779 debian/wireshark-gtk.install \
780 debian/wireshark.manpages \
781 debian/wireshark.menu \
782 debian/wireshark-qt.docs \
783 debian/wireshark-qt.install \
804 idl/coseventcomm.idl \
808 idl/parlay/cccs.idl \
810 idl/parlay/common_cc_data.idl \
813 idl/parlay/fw_data.idl \
814 idl/parlay/fw_if.idl \
815 idl/parlay/fw_if_access.idl \
816 idl/parlay/fw_if_app.idl \
817 idl/parlay/fw_if_entop.idl \
818 idl/parlay/fw_if_service.idl \
819 idl/parlay/gcc_data.idl \
820 idl/parlay/gcc_interfaces.idl \
823 idl/parlay/mmccs.idl \
825 idl/parlay/mpcc_data.idl \
826 idl/parlay/mpcc_interfaces.idl \
828 idl/parlay/pam_data.idl \
829 idl/parlay/pam_interfaces.idl \
830 idl/parlay/Parlay.idl \
831 idl/parlay/policy_data.idl \
832 idl/parlay/policy_interfaces.idl \
833 idl/parlay/README.parlay \
834 idl/parlay/termcap.idl \
835 idl/parlay/ui_data.idl \
836 idl/parlay/ui_interfaces.idl \
837 image/capinfos.rc.in \
838 image/captype.rc.in \
839 image/capture_comment.svg \
840 image/capture_comment_add.png \
841 image/capture_comment_disabled.png \
842 image/capture_comment_update.png \
843 image/clist_ascend.xpm \
844 image/clist_descend.xpm \
846 image/dfilter_apply_disabled.png \
847 image/dfilter_apply_hover.png \
848 image/dfilter_apply_normal.png \
849 image/dfilter_apply_pressed.png \
850 image/dfilter_bookmark_disabled.png \
851 image/dfilter_bookmark_hover.png \
852 image/dfilter_bookmark_normal.png \
853 image/dfilter_bookmark_pressed.png \
854 image/dfilter_dropdown.png \
855 image/dfilter_erase_active.png \
856 image/dfilter_erase_normal.png \
857 image/dfilter_erase_selected.png \
858 image/dfilter_refresh_active.png \
859 image/dfilter_refresh_normal.png \
860 image/display_filter.qrc \
861 image/dumpcap.rc.in \
862 image/editcap.rc.in \
863 image/expert_chat.png \
864 image/expert_error.png \
865 image/expert_indicators.svg \
866 image/expert_none.png \
867 image/expert_note.png \
868 image/expert_ok.png \
869 image/expert_warn.png \
870 image/file_dlg_win32.rc \
871 image/hi16-app-wireshark.png \
872 image/hi32-app-wireshark.png \
873 image/hi48-app-wireshark.png \
880 image/libwireshark.rc.in \
881 image/libwsutil.rc.in \
882 image/lo16-app-wireshark.png \
883 image/lo32-app-wireshark.png \
884 image/lo48-app-wireshark.png \
885 image/Makefile.nmake \
886 image/mergecap.rc.in \
888 image/nsis-checked.bmp \
889 image/nsis-unchecked.bmp \
890 image/openhand-16.png \
892 image/rawshark.rc.in \
894 image/reordercap.rc.in \
895 image/rubberband-16.png \
897 image/stock_dialog_error_48.xpm \
898 image/stock_dialog_info_48.xpm \
899 image/stock_dialog_question_48.xpm \
900 image/stock_dialog_stop_48.xpm \
901 image/stock_dialog_warning_48.xpm \
902 image/text2pcap.rc.in \
903 image/tfshark.rc.in \
904 image/toolbar/16x16/edit-find.png \
905 image/toolbar/16x16/edit-find.svg \
906 image/toolbar/16x16/go-first.png \
907 image/toolbar/16x16/go-first.svg \
908 image/toolbar/16x16/go-jump.png \
909 image/toolbar/16x16/go-jump.svg \
910 image/toolbar/16x16/go-last.png \
911 image/toolbar/16x16/go-last.svg \
912 image/toolbar/16x16/go-next.png \
913 image/toolbar/16x16/go-next.svg \
914 image/toolbar/16x16/go-previous.png \
915 image/toolbar/16x16/go-previous.svg \
916 image/toolbar/16x16/x-capture-file-close.png \
917 image/toolbar/16x16/x-capture-file-close.svg \
918 image/toolbar/16x16/x-capture-file-reload.png \
919 image/toolbar/16x16/x-capture-file-reload.svg \
920 image/toolbar/16x16/x-capture-file-save.png \
921 image/toolbar/16x16/x-capture-options-gear.svg \
922 image/toolbar/16x16/x-capture-options-wrench.svg \
923 image/toolbar/16x16/x-capture-options.png \
924 image/toolbar/16x16/x-capture-restart-fin.svg \
925 image/toolbar/16x16/x-capture-restart-triangle1.svg \
926 image/toolbar/16x16/x-capture-restart-triangle2.svg \
927 image/toolbar/16x16/x-capture-restart-turn1.svg \
928 image/toolbar/16x16/x-capture-restart-turn2.svg \
929 image/toolbar/16x16/x-capture-restart.png \
930 image/toolbar/16x16/x-capture-start.on.png \
931 image/toolbar/16x16/x-capture-start.on.svg \
932 image/toolbar/16x16/x-capture-start.png \
933 image/toolbar/16x16/x-capture-start.svg \
934 image/toolbar/16x16/x-capture-stop-red.svg \
935 image/toolbar/16x16/x-capture-stop-white.svg \
936 image/toolbar/16x16/x-capture-stop.png \
937 image/toolbar/16x16/x-colorize-packets.png \
938 image/toolbar/16x16/x-colorize-packets.svg \
939 image/toolbar/16x16/x-resize-columns.png \
940 image/toolbar/16x16/x-resize-columns.svg \
941 image/toolbar/16x16/x-stay-last.png \
942 image/toolbar/16x16/x-stay-last.svg \
943 image/toolbar/16x16/zoom-in.png \
944 image/toolbar/16x16/zoom-in.svg \
945 image/toolbar/16x16/zoom-original.png \
946 image/toolbar/16x16/zoom-original.svg \
947 image/toolbar/16x16/zoom-out.png \
948 image/toolbar/16x16/zoom-out.svg \
949 image/toolbar/24x24/edit-find.png \
950 image/toolbar/24x24/edit-find.svg \
951 image/toolbar/24x24/go-first.png \
952 image/toolbar/24x24/go-first.svg \
953 image/toolbar/24x24/go-jump.png \
954 image/toolbar/24x24/go-jump.svg \
955 image/toolbar/24x24/go-last.png \
956 image/toolbar/24x24/go-last.svg \
957 image/toolbar/24x24/go-next.png \
958 image/toolbar/24x24/go-next.svg \
959 image/toolbar/24x24/go-previous.png \
960 image/toolbar/24x24/go-previous.svg \
961 image/toolbar/24x24/x-capture-file-close.png \
962 image/toolbar/24x24/x-capture-file-close.svg \
963 image/toolbar/24x24/x-capture-file-reload.png \
964 image/toolbar/24x24/x-capture-file-reload.svg \
965 image/toolbar/24x24/x-capture-file-save.png \
966 image/toolbar/24x24/x-capture-options-gear.svg \
967 image/toolbar/24x24/x-capture-options-wrench.svg \
968 image/toolbar/24x24/x-capture-options.png \
969 image/toolbar/24x24/x-capture-restart-fin.svg \
970 image/toolbar/24x24/x-capture-restart-triangle1.svg \
971 image/toolbar/24x24/x-capture-restart-triangle2.svg \
972 image/toolbar/24x24/x-capture-restart-turn1.svg \
973 image/toolbar/24x24/x-capture-restart-turn2.svg \
974 image/toolbar/24x24/x-capture-restart.png \
975 image/toolbar/24x24/x-capture-start.on.png \
976 image/toolbar/24x24/x-capture-start.on.svg \
977 image/toolbar/24x24/x-capture-start.png \
978 image/toolbar/24x24/x-capture-start.svg \
979 image/toolbar/24x24/x-capture-stop-red.svg \
980 image/toolbar/24x24/x-capture-stop-white.svg \
981 image/toolbar/24x24/x-capture-stop.png \
982 image/toolbar/24x24/x-colorize-packets.png \
983 image/toolbar/24x24/x-colorize-packets.svg \
984 image/toolbar/24x24/x-resize-columns.png \
985 image/toolbar/24x24/x-resize-columns.svg \
986 image/toolbar/24x24/x-stay-last.png \
987 image/toolbar/24x24/x-stay-last.svg \
988 image/toolbar/24x24/zoom-in.png \
989 image/toolbar/24x24/zoom-in.svg \
990 image/toolbar/24x24/zoom-original.png \
991 image/toolbar/24x24/zoom-original.svg \
992 image/toolbar/24x24/zoom-out.png \
993 image/toolbar/24x24/zoom-out.svg \
995 image/toolbar/analyze_24.xpm \
996 image/toolbar/audio_player_24.xpm \
997 image/toolbar/autoscroll_24.xpm \
998 image/toolbar/capture_airpcap_16.xpm \
999 image/toolbar/capture_capture_16.xpm \
1000 image/toolbar/capture_details_16.xpm \
1001 image/toolbar/capture_details_24.xpm \
1002 image/toolbar/capture_ethernet_16.xpm \
1003 image/toolbar/capture_filter_24.xpm \
1004 image/toolbar/capture_interfaces_16.png \
1005 image/toolbar/capture_interfaces_24.png \
1006 image/toolbar/capture_prepare_16.xpm \
1007 image/toolbar/checkbox_16.xpm \
1008 image/toolbar/colorize_24.xpm \
1009 image/toolbar/conversations_16.xpm \
1010 image/toolbar/decode_24.xpm \
1011 image/toolbar/decode_as_16.xpm \
1012 image/toolbar/display_filter_24.xpm \
1013 image/toolbar/endpoints_16.xpm \
1014 image/toolbar/expert_info_16.xpm \
1015 image/toolbar/file_set_list_16.xpm \
1016 image/toolbar/file_set_next_16.xpm \
1017 image/toolbar/file_set_previous_16.xpm \
1018 image/toolbar/flow_graph_16.xpm \
1019 image/toolbar/gnome_emblem_web_16.png \
1020 image/toolbar/gnome_emblem_web_24.png \
1021 image/toolbar/graphs_16.xpm \
1022 image/toolbar/icon_color_0.xpm \
1023 image/toolbar/icon_color_1.xpm \
1024 image/toolbar/icon_color_2.xpm \
1025 image/toolbar/icon_color_3.xpm \
1026 image/toolbar/icon_color_4.xpm \
1027 image/toolbar/icon_color_5.xpm \
1028 image/toolbar/icon_color_6.xpm \
1029 image/toolbar/icon_color_7.xpm \
1030 image/toolbar/icon_color_8.xpm \
1031 image/toolbar/icon_color_9.xpm \
1032 image/toolbar/internet_24.xpm \
1033 image/toolbar/modem_16.png \
1034 image/toolbar/modem_16.xpm \
1035 image/toolbar/network_bluetooth_16.png \
1036 image/toolbar/network_usb.svg \
1037 image/toolbar/network_usb_16.png \
1038 image/toolbar/network_virtual_16.xpm \
1039 image/toolbar/network_wired_16.png \
1040 image/toolbar/network_wireless_16.png \
1041 image/toolbar/pipe_16.png \
1042 image/toolbar/remote_arrow_16.png \
1043 image/toolbar/remote_globe_16.png \
1044 image/toolbar/remote_sat_16.png \
1045 image/toolbar/resize_columns_24.xpm \
1046 image/toolbar/telephone_16.xpm \
1047 image/toolbar/telephony_16.xpm \
1048 image/toolbar/time_24.xpm \
1049 image/toolbar/voip_flow_24.xpm \
1050 image/toolbar/web_support_24.xpm \
1051 image/toolbar/wep_closed_24.xpm \
1052 image/tshark.rc.in \
1053 image/voip_select.xpm \
1054 image/wireshark.exe.manifest.in \
1055 image/wireshark.ico \
1056 image/wireshark.rc.in \
1057 image/wiresharkdoc.ico \
1058 image/wiresharkinst.ico \
1059 image/WiresharkDoc-16.png \
1060 image/WiresharkDoc-24.png \
1061 image/WiresharkDoc-32.png \
1062 image/WiresharkDoc-48.png \
1063 image/WiresharkDoc-64.png \
1064 image/WiresharkDoc-128.png \
1065 image/WiresharkDoc-256.png \
1066 image/wiretap.rc.in \
1069 image/wsicon16.png \
1070 image/wsicon24.png \
1071 image/wsicon32.png \
1072 image/wsicon48.png \
1073 image/wsicon64.png \
1074 image/wsicon128.png \
1075 image/wsicon256.png \
1076 image/wsicon512.png \
1077 image/wsicon1024.png \
1078 image/wsicon-ask.png \
1079 image/wsicon-ask.svg \
1080 image/wsiconcap.svg \
1081 image/wsiconcap16.png \
1082 image/wsiconcap24.png \
1083 image/wsiconcap32.png \
1084 image/wsiconcap48.png \
1085 image/wsiconcap64.png \
1086 image/wsiconcap128.png \
1087 image/wsiconcap256.png \
1088 image/wsiconcap512.png \
1089 image/wsiconcap1024.png \
1090 image/wsiconinst.svg \
1091 image/wsiconinst256.png \
1092 image/wslogo-dev.svg \
1095 image/wssplash_dev.png \
1096 image/wssplash.png \
1099 macosx-support-lib-patches/glib-gconvert.c.patch \
1100 macosx-support-lib-patches/glib-pkgconfig.patch \
1101 macosx-support-lib-patches/gnutls-pkgconfig.patch \
1102 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
1103 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
1104 macosx-support-lib-patches/qt-fix-pc-file \
1105 macosx-support-lib-patches/qt-fix-pc-files \
1113 text2pcap-scanner.l \
1117 wireshark-mime-package.xml \
1122 wsutil/CMakeLists.txt \
1124 wiretap/CMakeLists.txt \
1126 ConfigureChecks.cmake \
1127 cmake/TestFileOffsetBits.c \
1128 cmake/TestLargeFiles.c.cmakein \
1129 cmake/TestWindowsFSeek.c \
1130 cmake/modules/CMakeInstallDirs.cmake \
1131 cmake/modules/COPYING-CMAKE-SCRIPTS \
1132 cmake/modules/CheckCCompilerFlag.cmake \
1133 cmake/modules/CheckCLinkerFlag.cmake \
1134 cmake/modules/FindADNS.cmake \
1135 cmake/modules/FindAIRPCAP.cmake \
1136 cmake/modules/FindASCIIDOC.cmake \
1137 cmake/modules/FindCAP.cmake \
1138 cmake/modules/FindCARES.cmake \
1139 cmake/modules/FindFOP.cmake \
1140 cmake/modules/FindGCRYPT.cmake \
1141 cmake/modules/FindGEOIP.cmake \
1142 cmake/modules/FindChocolatey.cmake \
1143 cmake/modules/FindDOXYGEN.cmake \
1144 cmake/modules/FindFreetype.cmake \
1145 cmake/modules/FindGLIB2.cmake \
1146 cmake/modules/FindGMODULE2.cmake \
1147 cmake/modules/FindGNUTLS.cmake \
1148 cmake/modules/FindGTHREAD2.cmake \
1149 cmake/modules/FindGTK2.cmake \
1150 cmake/modules/FindGTK3.cmake \
1151 cmake/modules/FindHtmlViewer.cmake \
1152 cmake/modules/FindKERBEROS.cmake \
1153 cmake/modules/FindNL.cmake \
1154 cmake/modules/FindLEX.cmake \
1155 cmake/modules/FindLUA.cmake \
1156 cmake/modules/FindLYNX.cmake \
1157 cmake/modules/FindM.cmake \
1158 cmake/modules/FindOS_X_FRAMEWORKS.cmake \
1159 cmake/modules/FindPCAP.cmake \
1160 cmake/modules/FindPOD.cmake \
1161 cmake/modules/FindPORTAUDIO.cmake \
1162 cmake/modules/FindSBC.cmake \
1163 cmake/modules/FindSED.cmake \
1164 cmake/modules/FindSETCAP.cmake \
1165 cmake/modules/FindSH.cmake \
1166 cmake/modules/FindSMI.cmake \
1167 cmake/modules/FindWSWinLibs.cmake \
1168 cmake/modules/FindXMLLINT.cmake \
1169 cmake/modules/FindXSLTPROC.cmake \
1170 cmake/modules/FindYACC.cmake \
1171 cmake/modules/FindYAPP.cmake \
1172 cmake/modules/FindZLIB.cmake \
1173 cmake/modules/LICENSE.txt \
1174 cmake/modules/UseABICheck.cmake \
1175 cmake/modules/UseAsn2Wrs.cmake \
1176 cmake/modules/UseCheckAPI.cmake \
1177 cmake/modules/UseLemon.cmake \
1178 cmake/modules/UseMakeDissectorReg.cmake \
1179 cmake/modules/UseMakeTapReg.cmake \
1180 cmake/modules/UseWinLibs.cmake \
1181 cmake/modules/gmxTestLargeFiles.cmake \
1182 cmake/modules/readme.txt \
1183 ui/win32/Makefile.nmake \
1184 ui/win32/console_win32.c \
1185 ui/win32/console_win32.h \
1186 ui/win32/file_dlg_win32.c \
1187 ui/win32/file_dlg_win32.h \
1188 ui/win32/print_win32.c \
1189 ui/win32/print_win32.h \
1190 ui/win32/settings.ini \
1194 if HAVE_DUMPCAP_GROUP
1195 chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1198 $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
1199 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1202 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1203 chmod +s $(DESTDIR)$(bindir)/dumpcap
1240 @wireshark_SUBDIRS@ \
1245 help/faq.txt: $(srcdir)/help/faq.py
1246 $(AM_V_GEN)(cd help ; \
1249 libtool: $(LIBTOOL_DEPS)
1250 $(SHELL) ./config.status --recheck
1253 # Used by patch-bzip2
1254 # Trim off any extra version information and find the previous micro release.
1255 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1256 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1257 PREV_DIR="wireshark-$(PREV_VERSION)"
1258 PREV_FILE="$(PREV_DIR).tar.bz2"
1259 PREV_URL="https://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1261 patch-bzip2: distdir
1262 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1263 curl --time-cond $(PREV_FILE) --location --output $(PREV_FILE) $(PREV_URL) && \
1264 tar -xjf $(PREV_FILE) && \
1265 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1266 echo "Created patch-bzip2" ; \
1267 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1269 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1271 $(am__remove_distdir)
1273 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1274 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1275 # Yes, that violate's autofoo's principle of relocatability.
1276 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1277 # to install this stuff...
1279 # Do not use the -T flag to the install command, as it's not portable.
1280 # Some versions of install don't support a -T flag at all, and the
1281 # FreeBSD install command has a -T flag that takes an argument and
1282 # that has completely different semantics.
1283 install_desktop_files:
1284 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1285 install -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1286 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1287 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications $(srcdir)/wireshark.desktop; \
1289 install -m 644 $(srcdir)/wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1291 for size in 16 24 32 48 64 128 256; \
1293 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1294 install -m 644 $(srcdir)/image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1295 install -m 644 $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1297 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
1298 install -m 644 image/wsicon.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/wireshark.svg
1299 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1301 # Used by svr4-package and osx-package
1302 # We load top_stagedir with an absolute path so that libtool doesn't freak.
1303 top_stagedir=$(abs_top_builddir)/packaging/staging
1304 stagedir=$(top_stagedir)/$(PACKAGE).inst
1309 solaris-package: svr4-package
1311 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1312 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1313 rm -rf $(stagedir) ; \
1314 $(MAKE) DESTDIR=$(stagedir) install; \
1315 $(srcdir)/packaging/svr4/mkpkg \
1317 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1321 echo "Error: SVR4 packaging tools not found." ; \
1322 echo "Package build abandoned." ; \
1326 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1328 @if test x$(HAVE_RPM) = xyes ; then \
1329 cd $(rpm_topdir) ; \
1330 mkdir -p BUILD RPMS SOURCES SRPMS; \
1332 ln -sf ../../../$(distdir).tar.bz2 ; \
1334 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
1335 @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
1336 echo "Package successfully built in `pwd`/RPMS." && \
1337 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1339 echo "Error: RPM executable and/or source directory not found." ; \
1343 # XXX - This assumes we're building from the source directory.
1344 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1345 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1346 rm -rf $(stagedir) ; \
1347 $(MAKE) DESTDIR=$(stagedir) install; \
1348 cd $(srcdir)/packaging/macosx ; \
1349 ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1351 echo "Error: OS X packaging tools not found." ; \
1352 echo "Package build abandoned." ; \
1355 packaging/macosx/COPYING.txt: COPYING
1356 (cd packaging/macosx ; \
1357 $(MAKE) COPYING.txt ;)
1359 osx-package: osx-app packaging/macosx/COPYING.txt
1360 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1361 cd $(srcdir)/packaging/macosx ; \
1362 chmod +x ./osx-dmg.sh ; \
1363 ./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
1366 osx-install: osx-app
1367 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1368 echo "Copying Wireshark.app to /Applications" ; \
1369 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1373 rm -rf $(top_stagedir)
1376 $(MAKE) -C wiretap dumpabi-libwiretap
1377 $(MAKE) -C epan dumpabi-libwireshark
1378 $(MAKE) -C wsutil dumpabi-libwsutil
1381 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
1382 -sourcedir=$(srcdir) \
1384 $(wireshark_gtk_SOURCES)
1385 # $(EXTRA_wireshark_gtk_SOURCES)
1387 checkapi: checkapi_local
1388 cd wiretap && $(MAKE) checkapi
1389 cd codecs && $(MAKE) checkapi
1390 cd capchild && $(MAKE) checkapi
1391 cd caputils && $(MAKE) checkapi
1392 cd ui && $(MAKE) checkapi
1393 cd ui/gtk && $(MAKE) checkapi
1394 ## cd epan && $(MAKE) checkapi
1395 ## cd epan/crypt && $(MAKE) checkapi
1396 cd epan/dfilter && $(MAKE) checkapi
1397 ## cd epan/ftypes && $(MAKE) checkapi
1398 ## cd epan/wslua && $(MAKE) checkapi
1399 cd epan/dissectors && $(MAKE) checkapi
1400 cd plugins && $(MAKE) checkapi
1401 cd wsutil && $(MAKE) checkapi
1403 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1406 cd epan && $(MAKE) $@
1407 cd capchild && $(MAKE) $@
1408 cd caputils && $(MAKE) $@
1410 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1416 zip -rq wsar_html.zip wsar_html