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 # Make sure to keep ACLOCAL_AMFLAGS in Makefile.am and AC_CONFIG_MACRO_DIRS
24 # in configure.ac in sync, otherwise there will be an error running autogen.sh.
25 ACLOCAL_AMFLAGS = `./aclocal-flags`
27 if HAVE_WARNINGS_AS_ERRORS
28 AM_CLEAN_CFLAGS = -Werror
47 EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype editcap \
48 mergecap dftest randpkt text2pcap dumpcap reordercap rawshark \
52 # Wireshark configuration files are put in $(pkgdatadir).
54 dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
55 smi_modules ipmap.html pdml2html.xsl
58 # Install global profiles in the "profiles" subdirectory
60 profilesdir = $(pkgdatadir)
61 nobase_dist_profiles_DATA = \
62 profiles/Bluetooth/colorfilters \
63 profiles/Classic/colorfilters
66 # Install the Diameter DTD and XML files in the "diameter" subdirectory
69 diameterdir = $(pkgdatadir)/diameter
70 include diameter/Custom.make
71 dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
72 diameter/chargecontrol.xml \
73 diameter/ChinaTelecom.xml \
76 diameter/dictionary.dtd \
77 diameter/dictionary.xml \
79 diameter/Ericsson.xml \
80 diameter/etsie2e4.xml \
81 diameter/mobileipv4.xml \
82 diameter/mobileipv6.xml \
85 diameter/Starent.xml \
86 diameter/sunping.xml \
89 diameter/Vodafone.xml \
90 diameter/AlcatelLucent.xml \
92 diameter/NokiaSolutionsAndNetworks.xml \
95 diameter/VerizonWireless.xml
98 # Install the DTDs directory files in the "dtds" subdirectory
101 dtdsdir = $(pkgdatadir)/dtds
106 dtds/pocsettings.dtd \
113 dtds/xcap-error.dtd \
117 # Install the RADIUS directory files in the "radius" subdirectory
120 radiusdir = $(pkgdatadir)/radius
121 include radius/Custom.make
122 dist_radius_DATA = $(_CUSTOM_radius_dict_) \
123 radius/README.radius_dictionary \
124 radius/custom.includes \
126 radius/dictionary.3com \
127 radius/dictionary.3gpp \
128 radius/dictionary.3gpp2 \
129 radius/dictionary.acc \
130 radius/dictionary.acme \
131 radius/dictionary.airespace \
132 radius/dictionary.actelis \
133 radius/dictionary.aerohive \
134 radius/dictionary.alcatel \
135 radius/dictionary.alcatel.esam \
136 radius/dictionary.alcatel.sr \
137 radius/dictionary.alcatel-lucent.aaa \
138 radius/dictionary.alteon \
139 radius/dictionary.altiga \
140 radius/dictionary.alvarion \
141 radius/dictionary.alvarion.wimax.v2_2 \
142 radius/dictionary.apc \
143 radius/dictionary.aptis \
144 radius/dictionary.arbor \
145 radius/dictionary.aruba \
146 radius/dictionary.ascend \
147 radius/dictionary.asn \
148 radius/dictionary.audiocodes \
149 radius/dictionary.avaya \
150 radius/dictionary.azaire \
151 radius/dictionary.bay \
152 radius/dictionary.bluecoat \
153 radius/dictionary.bintec \
154 radius/dictionary.broadsoft \
155 radius/dictionary.brocade \
156 radius/dictionary.bskyb \
157 radius/dictionary.bristol \
158 radius/dictionary.bt \
159 radius/dictionary.camiant \
160 radius/dictionary.cablelabs \
161 radius/dictionary.cabletron \
162 radius/dictionary.chillispot \
163 radius/dictionary.cisco \
164 radius/dictionary.cisco.asa \
165 radius/dictionary.cisco.bbsm \
166 radius/dictionary.cisco.vpn3000 \
167 radius/dictionary.cisco.vpn5000 \
168 radius/dictionary.citrix \
169 radius/dictionary.clavister \
170 radius/dictionary.colubris \
171 radius/dictionary.columbia_university \
172 radius/dictionary.compatible \
173 radius/dictionary.compat \
174 radius/dictionary.cosine \
175 radius/dictionary.dante \
176 radius/dictionary.dhcp \
177 radius/dictionary.dlink \
178 radius/dictionary.digium \
179 radius/dictionary.dragonwave \
180 radius/dictionary.efficientip \
181 radius/dictionary.eltex \
182 radius/dictionary.epygi \
183 radius/dictionary.equallogic \
184 radius/dictionary.ericsson \
185 radius/dictionary.ericsson.ab \
186 radius/dictionary.ericsson.packet.core.networks \
187 radius/dictionary.erx \
188 radius/dictionary.extreme \
189 radius/dictionary.f5 \
190 radius/dictionary.fdxtended \
191 radius/dictionary.fortinet \
192 radius/dictionary.foundry \
193 radius/dictionary.freedhcp \
194 radius/dictionary.freeradius \
195 radius/dictionary.freeradius.internal \
196 radius/dictionary.freeswitch \
197 radius/dictionary.gandalf \
198 radius/dictionary.garderos \
199 radius/dictionary.gemtek \
200 radius/dictionary.h3c \
201 radius/dictionary.hp \
202 radius/dictionary.huawei \
203 radius/dictionary.iana \
204 radius/dictionary.iea \
205 radius/dictionary.infoblox \
206 radius/dictionary.infonet \
207 radius/dictionary.ipunplugged \
208 radius/dictionary.issanni \
209 radius/dictionary.itk \
210 radius/dictionary.jradius \
211 radius/dictionary.juniper \
212 radius/dictionary.kineto \
213 radius/dictionary.karlnet \
214 radius/dictionary.lancom \
215 radius/dictionary.livingston \
216 radius/dictionary.localweb \
217 radius/dictionary.lucent \
218 radius/dictionary.manzara \
219 radius/dictionary.meinberg \
220 radius/dictionary.merit \
221 radius/dictionary.meru \
222 radius/dictionary.microsoft \
223 radius/dictionary.mikrotik \
224 radius/dictionary.motorola \
225 radius/dictionary.motorola.wimax \
226 radius/dictionary.navini \
227 radius/dictionary.netscreen \
228 radius/dictionary.networkphysics \
229 radius/dictionary.nexans \
230 radius/dictionary.nokia \
231 radius/dictionary.nokia.conflict \
232 radius/dictionary.nomadix \
233 radius/dictionary.nortel \
234 radius/dictionary.ntua \
235 radius/dictionary.openser \
236 radius/dictionary.packeteer \
237 radius/dictionary.paloalto \
238 radius/dictionary.patton \
239 radius/dictionary.propel \
240 radius/dictionary.prosoft \
241 radius/dictionary.proxim \
242 radius/dictionary.purewave \
243 radius/dictionary.quiconnect \
244 radius/dictionary.quintum \
245 radius/dictionary.redcreek \
246 radius/dictionary.rfc2865 \
247 radius/dictionary.rfc2866 \
248 radius/dictionary.rfc2867 \
249 radius/dictionary.rfc2868 \
250 radius/dictionary.rfc2869 \
251 radius/dictionary.rfc3162 \
252 radius/dictionary.rfc3576 \
253 radius/dictionary.rfc3580 \
254 radius/dictionary.rfc4072 \
255 radius/dictionary.rfc4372 \
256 radius/dictionary.rfc4603 \
257 radius/dictionary.rfc4675 \
258 radius/dictionary.rfc4679 \
259 radius/dictionary.rfc4818 \
260 radius/dictionary.rfc4849 \
261 radius/dictionary.rfc5090 \
262 radius/dictionary.rfc5176 \
263 radius/dictionary.rfc5447 \
264 radius/dictionary.rfc5580 \
265 radius/dictionary.rfc5607 \
266 radius/dictionary.rfc5904 \
267 radius/dictionary.rfc6519 \
268 radius/dictionary.rfc6572 \
269 radius/dictionary.rfc6677 \
270 radius/dictionary.rfc6911 \
271 radius/dictionary.rfc6929 \
272 radius/dictionary.rfc6930 \
273 radius/dictionary.rfc7055 \
274 radius/dictionary.rfc7155 \
275 radius/dictionary.rfc7268 \
276 radius/dictionary.riverbed \
277 radius/dictionary.riverstone \
278 radius/dictionary.ruckus \
279 radius/dictionary.roaringpenguin \
280 radius/dictionary.sg \
281 radius/dictionary.shasta \
282 radius/dictionary.shiva \
283 radius/dictionary.siemens \
284 radius/dictionary.slipstream \
285 radius/dictionary.sofaware \
286 radius/dictionary.sonicwall \
287 radius/dictionary.springtide \
288 radius/dictionary.starent \
289 radius/dictionary.starent.vsa1 \
290 radius/dictionary.surfnet \
291 radius/dictionary.symbol \
292 radius/dictionary.t_systems_nova \
293 radius/dictionary.telebit \
294 radius/dictionary.telkom \
295 radius/dictionary.terena \
296 radius/dictionary.trapeze \
297 radius/dictionary.tropos \
298 radius/dictionary.ukerna \
299 radius/dictionary.unix \
300 radius/dictionary.usr \
301 radius/dictionary.utstarcom \
302 radius/dictionary.valemount \
303 radius/dictionary.versanet \
304 radius/dictionary.vqp \
305 radius/dictionary.walabi \
306 radius/dictionary.waverider \
307 radius/dictionary.wichorus \
308 radius/dictionary.wimax \
309 radius/dictionary.wimax.alvarion \
310 radius/dictionary.wimax.wichorus \
311 radius/dictionary.wispr \
312 radius/dictionary.xedia \
313 radius/dictionary.xylan \
314 radius/dictionary.yubico \
315 radius/dictionary.zeus \
316 radius/dictionary.zte \
317 radius/dictionary.zyxel
320 # Install the tpncp directory files in the "tpncp" subdirectory
323 tpncpdir = $(pkgdatadir)/tpncp
328 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
331 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
332 dist_wimaxasncp_DATA = \
333 wimaxasncp/dictionary.xml \
334 wimaxasncp/dictionary.dtd
337 -include plugins/Custom.make
338 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
339 -dlopen plugins/docsis/docsis.la \
340 -dlopen plugins/ethercat/ethercat.la \
341 -dlopen plugins/gryphon/gryphon.la \
342 -dlopen plugins/irda/irda.la \
343 -dlopen plugins/m2m/m2m.la \
344 -dlopen plugins/mate/mate.la \
345 -dlopen plugins/opcua/opcua.la \
346 -dlopen plugins/profinet/profinet.la \
347 -dlopen plugins/stats_tree/stats_tree.la \
348 -dlopen plugins/unistim/unistim.la \
349 -dlopen plugins/wimax/wimax.la \
350 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
358 include Makefile.common
362 wireshark_gtk_LDFLAGS = -Wl,-static -all-static
365 wireshark_LDFLAGS = -Wl,-static -all-static
369 wireshark_gtk_LDFLAGS = -export-dynamic
372 wireshark_LDFLAGS = -export-dynamic
376 # Libraries and plugin flags with which to link wireshark.
378 # Note that Wireshark, when built with a version of GTK+ that runs
379 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
380 # as those should also be included in @GTK_LIBS@ (as those are also
381 # needed for X applications, and GTK+ applications are X applications
382 # if the version of GTK+ they're built with runs atop X11).
384 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
385 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
386 # Gentoo bug 423743 at
388 # https://bugs.gentoo.org/show_bug.cgi?id=423743
390 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
391 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
392 # It is not actually a superset: gmodule is included in GLIB_LIBS but
393 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
395 # although it's also possible that -lgmodule is in GTK_LIBS but not
396 # GLIB_LIBS (that's the case on my machine right now, for example).
398 wireshark_common_ldadd = \
399 capchild/libcapchild.a \
400 caputils/libcaputils.a \
404 wiretap/libwiretap.la \
405 epan/libwireshark.la \
406 wsutil/libwsutil.la \
413 @APPLICATIONSERVICES_FRAMEWORKS@ \
414 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
415 @COREFOUNDATION_FRAMEWORKS@ \
423 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC) wireshark-qt.cpp
424 wireshark_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
425 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS)
428 $(wireshark_common_ldadd) \
433 wireshark_gtk_SOURCES = $(WIRESHARK_COMMON_SRC)
434 wireshark_gtk_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
435 wireshark_gtk_CFLAGS = $(AM_CLEAN_CFLAGS)
436 wireshark_gtk_LDADD = \
438 $(wireshark_common_ldadd) \
444 tshark_LDFLAGS = -Wl,-static -all-static
446 tshark_LDFLAGS = -export-dynamic
449 # Libraries and plugin flags with which to link tshark.
451 capchild/libcapchild.a \
452 caputils/libcaputils.a \
455 wiretap/libwiretap.la \
456 epan/libwireshark.la \
457 wsutil/libwsutil.la \
467 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
468 @COREFOUNDATION_FRAMEWORKS@ \
473 tshark_CFLAGS = $(AM_CLEAN_CFLAGS)
476 tfshark_LDFLAGS = -Wl,-static -all-static
478 tfshark_LDFLAGS = -export-dynamic
481 # Libraries and plugin flags with which to link tfshark.
485 wiretap/libwiretap.la \
486 epan/libwireshark.la \
487 wsutil/libwsutil.la \
495 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
496 @COREFOUNDATION_FRAMEWORKS@ \
500 tfshark_CFLAGS = $(AM_CLEAN_CFLAGS)
503 rawshark_LDFLAGS = -Wl,-static -all-static
505 rawshark_LDFLAGS = -export-dynamic
508 # Libraries and plugin flags with which to link rawshark.
510 caputils/libcaputils.a \
512 wiretap/libwiretap.la \
513 epan/libwireshark.la \
514 wsutil/libwsutil.la \
524 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
525 @COREFOUNDATION_FRAMEWORKS@ \
530 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS)
532 # Libraries with which to link text2pcap.
534 wsutil/libwsutil.la \
537 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
538 # which is generated (and therefore not always clean).
539 # We could generate text2pcap.o as a library with -Werror but for now it
540 # doesn't seem worth the effort.
541 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
543 # Libraries with which to link mergecap.
545 wiretap/libwiretap.la \
546 wsutil/libwsutil.la \
548 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
550 # Libraries with which to link capinfos.
552 wiretap/libwiretap.la \
553 wsutil/libwsutil.la \
556 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS)
558 # Libraries with which to link captype.
560 wiretap/libwiretap.la \
561 wsutil/libwsutil.la \
563 captype_CFLAGS = $(AM_CLEAN_CFLAGS)
565 # Libraries with which to link editcap.
567 wiretap/libwiretap.la \
568 wsutil/libwsutil.la \
570 editcap_CFLAGS = $(AM_CLEAN_CFLAGS)
572 # Libraries with which to link reordercap.
574 wiretap/libwiretap.la \
575 wsutil/libwsutil.la \
577 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
579 # Libraries with which to link randpkt.
581 wiretap/libwiretap.la \
582 wsutil/libwsutil.la \
590 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
592 # Libraries and plugin flags with which to link dftest.
595 wiretap/libwiretap.la \
596 wsutil/libwsutil.la \
597 epan/libwireshark.la \
611 dftest_CFLAGS = $(AM_CLEAN_CFLAGS)
614 epan/libwireshark.la \
616 wsutil/libwsutil.la \
624 echld_test_DEPENDENCIES = \
628 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
631 # Libraries with which to link dumpcap.
633 caputils/libcaputils.a \
634 wsutil/libwsutil.la \
639 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
640 @COREFOUNDATION_FRAMEWORKS@ \
642 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
643 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
646 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
647 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) \
648 @LUA_INCLUDES@ $(SBC_CFLAGS) -DTOP_SRCDIR=\"$(abs_top_srcdir)\"
651 # Build the version string
653 # FORCE is the portable version of .PHONY
656 AM_V_PERL = $(am__v_PERL_@AM_V@)
657 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
658 am__v_PERL_0 = @echo " PERL " $@;
662 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
665 # Build shell scripts by doing variable substitution.
666 # Taken from autoconf 2.13.
668 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
673 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
676 $(PYTHON) $(srcdir)/tools/make-services.py
684 # We have to remove version.h with "make distclean", as, otherwise,
685 # "make distcheck" fails. We still need to make the tarballs work
686 # even if you do "make distclean" and try to rebuild; that's a work in
689 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
690 # list of files removed by "make distclean"? (It's deliberately
691 # included in that list.)
697 MAINTAINERCLEANFILES = \
726 abi-descriptor.template \
727 aclocal-fallback/libsmi.m4 \
728 aclocal-fallback/libgcrypt.m4 \
729 aclocal-fallback/glib-2.0.m4 \
730 aclocal-fallback/gtk-2.0.m4 \
731 aclocal-fallback/gtk-3.0.m4 \
732 aclocal-fallback/ax_check_compile_flag.m4 \
733 aclocal-fallback/ax_gcc_x86_cpuid.m4 \
734 aclocal-fallback/ax_ext.m4 \
735 aclocal-fallback/ax_gcc_x86_avx_xgetbv.m4 \
746 debian/README.Debian \
747 debian/README.Debian.security \
753 debian/ethereal-common.NEWS \
754 debian/headers-check.c \
755 debian/libwireshark-data.install \
756 debian/libwireshark-dev.install \
757 debian/libwireshark0.install \
758 debian/libwireshark0.symbols \
759 debian/libwiretap-dev.install \
760 debian/libwiretap0.docs \
761 debian/libwiretap0.install \
762 debian/libwiretap0.symbols \
763 debian/libwsutil-dev.install \
764 debian/libwsutil0.install \
765 debian/libwsutil0.symbols \
766 debian/license-text-about-dialog \
767 debian/patches/04_asn2wrs_ply.patch \
768 debian/patches/05_note-README-when-running-as-root.patch \
769 debian/patches/06_release-version.patch \
770 debian/patches/08_wireshark-desktop-menu.patch \
771 debian/patches/09_idl2wrs.patch \
772 debian/patches/16_licence_about_location.patch \
773 debian/patches/series \
774 debian/po/POTFILES.in \
793 debian/po/templates.pot \
797 debian/source/format \
800 debian/tshark.install \
801 debian/tshark.manpages \
802 debian/wireshark-common.config \
803 debian/wireshark-common.install \
804 debian/wireshark-common.manpages \
805 debian/wireshark-common.postinst \
806 debian/wireshark-common.postrm \
807 debian/wireshark-dev.docs \
808 debian/wireshark-dev.install \
809 debian/wireshark-dev.manpages \
810 debian/wireshark-dev.prerm \
811 debian/wireshark-doc.docs \
812 debian/wireshark-gtk.docs \
813 debian/wireshark-gtk.install \
814 debian/wireshark.manpages \
815 debian/wireshark.menu \
816 debian/wireshark-qt.docs \
817 debian/wireshark-qt.install \
838 idl/coseventcomm.idl \
842 idl/parlay/cccs.idl \
844 idl/parlay/common_cc_data.idl \
847 idl/parlay/fw_data.idl \
848 idl/parlay/fw_if.idl \
849 idl/parlay/fw_if_access.idl \
850 idl/parlay/fw_if_app.idl \
851 idl/parlay/fw_if_entop.idl \
852 idl/parlay/fw_if_service.idl \
853 idl/parlay/gcc_data.idl \
854 idl/parlay/gcc_interfaces.idl \
857 idl/parlay/mmccs.idl \
859 idl/parlay/mpcc_data.idl \
860 idl/parlay/mpcc_interfaces.idl \
862 idl/parlay/pam_data.idl \
863 idl/parlay/pam_interfaces.idl \
864 idl/parlay/Parlay.idl \
865 idl/parlay/policy_data.idl \
866 idl/parlay/policy_interfaces.idl \
867 idl/parlay/README.parlay \
868 idl/parlay/termcap.idl \
869 idl/parlay/ui_data.idl \
870 idl/parlay/ui_interfaces.idl \
871 image/capinfos.rc.in \
872 image/captype.rc.in \
873 image/capture_comment.svg \
874 image/capture_comment_add.png \
875 image/capture_comment_disabled.png \
876 image/capture_comment_update.png \
877 image/clist_ascend.xpm \
878 image/clist_descend.xpm \
880 image/dfilter_apply_disabled.png \
881 image/dfilter_apply_hover.png \
882 image/dfilter_apply_normal.png \
883 image/dfilter_apply_pressed.png \
884 image/dfilter_bookmark_disabled.png \
885 image/dfilter_bookmark_hover.png \
886 image/dfilter_bookmark_normal.png \
887 image/dfilter_bookmark_pressed.png \
888 image/dfilter_dropdown.png \
889 image/dfilter_erase_active.png \
890 image/dfilter_erase_normal.png \
891 image/dfilter_erase_selected.png \
892 image/dfilter_refresh_active.png \
893 image/dfilter_refresh_normal.png \
894 image/display_filter.qrc \
895 image/dumpcap.rc.in \
896 image/editcap.rc.in \
897 image/expert_chat.png \
898 image/expert_error.png \
899 image/expert_indicators.svg \
900 image/expert_none.png \
901 image/expert_note.png \
902 image/expert_ok.png \
903 image/expert_warn.png \
904 image/file_dlg_win32.rc \
905 image/hi16-app-wireshark.png \
906 image/hi32-app-wireshark.png \
907 image/hi48-app-wireshark.png \
908 image/languages/de.svg \
909 image/languages/en.svg \
910 image/languages/fr.svg \
911 image/languages/it.svg \
912 image/languages/ja_JP.svg \
913 image/languages/pl.svg \
914 image/languages/zh_CN.svg \
921 image/libwireshark.rc.in \
922 image/libwsutil.rc.in \
923 image/lo16-app-wireshark.png \
924 image/lo32-app-wireshark.png \
925 image/lo48-app-wireshark.png \
926 image/Makefile.nmake \
927 image/mergecap.rc.in \
929 image/nsis-checked.bmp \
930 image/nsis-unchecked.bmp \
931 image/openhand-16.png \
933 image/rawshark.rc.in \
935 image/reordercap.rc.in \
936 image/rubberband-16.png \
938 image/stock_dialog_error_48.xpm \
939 image/stock_dialog_info_48.xpm \
940 image/stock_dialog_question_48.xpm \
941 image/stock_dialog_stop_48.xpm \
942 image/stock_dialog_warning_48.xpm \
943 image/text2pcap.rc.in \
944 image/tfshark.rc.in \
945 image/toolbar/12x12/media-playback-start.png \
946 image/toolbar/12x12/media-playback-start.svg \
947 image/toolbar/12x12/media-playback-start@2x.png \
948 image/toolbar/16x16/edit-find.png \
949 image/toolbar/16x16/edit-find.svg \
950 image/toolbar/16x16/edit-find@2x.png \
951 image/toolbar/16x16/go-first.png \
952 image/toolbar/16x16/go-first.svg \
953 image/toolbar/16x16/go-first@2x.png \
954 image/toolbar/16x16/go-jump.png \
955 image/toolbar/16x16/go-jump.svg \
956 image/toolbar/16x16/go-jump@2x.png \
957 image/toolbar/16x16/go-last.png \
958 image/toolbar/16x16/go-last.svg \
959 image/toolbar/16x16/go-last@2x.png \
960 image/toolbar/16x16/go-next.png \
961 image/toolbar/16x16/go-next.svg \
962 image/toolbar/16x16/go-next@2x.png \
963 image/toolbar/16x16/go-previous.png \
964 image/toolbar/16x16/go-previous.svg \
965 image/toolbar/16x16/go-previous@2x.png \
966 image/toolbar/16x16/x-capture-file-close.png \
967 image/toolbar/16x16/x-capture-file-close.svg \
968 image/toolbar/16x16/x-capture-file-close@2x.png \
969 image/toolbar/16x16/x-capture-file-close@2x.svg \
970 image/toolbar/16x16/x-capture-file-reload.png \
971 image/toolbar/16x16/x-capture-file-reload.svg \
972 image/toolbar/16x16/x-capture-file-reload@2x.png \
973 image/toolbar/16x16/x-capture-file-save.png \
974 image/toolbar/16x16/x-capture-file-save.svg \
975 image/toolbar/16x16/x-capture-file-save@2x.png \
976 image/toolbar/16x16/x-capture-file-save@2x.svg \
977 image/toolbar/16x16/x-capture-options-gear.svg \
978 image/toolbar/16x16/x-capture-options-wrench.svg \
979 image/toolbar/16x16/x-capture-options.png \
980 image/toolbar/16x16/x-capture-options@2x.png \
981 image/toolbar/16x16/x-capture-restart-fin.svg \
982 image/toolbar/16x16/x-capture-restart-triangle1.svg \
983 image/toolbar/16x16/x-capture-restart-triangle2.svg \
984 image/toolbar/16x16/x-capture-restart-turn1.svg \
985 image/toolbar/16x16/x-capture-restart-turn2.svg \
986 image/toolbar/16x16/x-capture-restart.png \
987 image/toolbar/16x16/x-capture-restart@2x.png \
988 image/toolbar/16x16/x-capture-start.on.png \
989 image/toolbar/16x16/x-capture-start.on.svg \
990 image/toolbar/16x16/x-capture-start.on@2x.png \
991 image/toolbar/16x16/x-capture-start.png \
992 image/toolbar/16x16/x-capture-start.svg \
993 image/toolbar/16x16/x-capture-start@2x.png \
994 image/toolbar/16x16/x-capture-stop-red.svg \
995 image/toolbar/16x16/x-capture-stop-white.svg \
996 image/toolbar/16x16/x-capture-stop.png \
997 image/toolbar/16x16/x-capture-stop@2x.png \
998 image/toolbar/16x16/x-colorize-packets.png \
999 image/toolbar/16x16/x-colorize-packets.svg \
1000 image/toolbar/16x16/x-colorize-packets@2x.png \
1001 image/toolbar/16x16/x-resize-columns.png \
1002 image/toolbar/16x16/x-resize-columns.svg \
1003 image/toolbar/16x16/x-resize-columns@2x.png \
1004 image/toolbar/16x16/x-stay-last.png \
1005 image/toolbar/16x16/x-stay-last.svg \
1006 image/toolbar/16x16/x-stay-last@2x.png \
1007 image/toolbar/16x16/zoom-in.png \
1008 image/toolbar/16x16/zoom-in.svg \
1009 image/toolbar/16x16/zoom-in@2x.png \
1010 image/toolbar/16x16/zoom-original.png \
1011 image/toolbar/16x16/zoom-original.svg \
1012 image/toolbar/16x16/zoom-original@2x.png \
1013 image/toolbar/16x16/zoom-out.png \
1014 image/toolbar/16x16/zoom-out.svg \
1015 image/toolbar/16x16/zoom-out@2x.png \
1016 image/toolbar/24x24/edit-find.png \
1017 image/toolbar/24x24/edit-find.svg \
1018 image/toolbar/24x24/edit-find@2x.png \
1019 image/toolbar/24x24/go-first.png \
1020 image/toolbar/24x24/go-first.svg \
1021 image/toolbar/24x24/go-first@2x.png \
1022 image/toolbar/24x24/go-jump.png \
1023 image/toolbar/24x24/go-jump.svg \
1024 image/toolbar/24x24/go-jump@2x.png \
1025 image/toolbar/24x24/go-last.png \
1026 image/toolbar/24x24/go-last.svg \
1027 image/toolbar/24x24/go-last@2x.png \
1028 image/toolbar/24x24/go-next.png \
1029 image/toolbar/24x24/go-next.svg \
1030 image/toolbar/24x24/go-next@2x.png \
1031 image/toolbar/24x24/go-previous.png \
1032 image/toolbar/24x24/go-previous.svg \
1033 image/toolbar/24x24/go-previous@2x.png \
1034 image/toolbar/24x24/x-capture-file-close.png \
1035 image/toolbar/24x24/x-capture-file-close.svg \
1036 image/toolbar/24x24/x-capture-file-close@2x.png \
1037 image/toolbar/24x24/x-capture-file-close@2x.svg \
1038 image/toolbar/24x24/x-capture-file-reload.png \
1039 image/toolbar/24x24/x-capture-file-reload.svg \
1040 image/toolbar/24x24/x-capture-file-reload@2x.png \
1041 image/toolbar/24x24/x-capture-file-save.png \
1042 image/toolbar/24x24/x-capture-file-save.svg \
1043 image/toolbar/24x24/x-capture-file-save@2x.png \
1044 image/toolbar/24x24/x-capture-file-save@2x.svg \
1045 image/toolbar/24x24/x-capture-options-gear.svg \
1046 image/toolbar/24x24/x-capture-options-wrench.svg \
1047 image/toolbar/24x24/x-capture-options.png \
1048 image/toolbar/24x24/x-capture-options@2x.png \
1049 image/toolbar/24x24/x-capture-restart-fin.svg \
1050 image/toolbar/24x24/x-capture-restart-triangle1.svg \
1051 image/toolbar/24x24/x-capture-restart-triangle2.svg \
1052 image/toolbar/24x24/x-capture-restart-turn1.svg \
1053 image/toolbar/24x24/x-capture-restart-turn2.svg \
1054 image/toolbar/24x24/x-capture-restart.png \
1055 image/toolbar/24x24/x-capture-restart@2x.png \
1056 image/toolbar/24x24/x-capture-start.on.png \
1057 image/toolbar/24x24/x-capture-start.on.svg \
1058 image/toolbar/24x24/x-capture-start.on@2x.png \
1059 image/toolbar/24x24/x-capture-start.png \
1060 image/toolbar/24x24/x-capture-start.svg \
1061 image/toolbar/24x24/x-capture-start@2x.png \
1062 image/toolbar/24x24/x-capture-stop-red.svg \
1063 image/toolbar/24x24/x-capture-stop-white.svg \
1064 image/toolbar/24x24/x-capture-stop.png \
1065 image/toolbar/24x24/x-capture-stop@2x.png \
1066 image/toolbar/24x24/x-colorize-packets.png \
1067 image/toolbar/24x24/x-colorize-packets.svg \
1068 image/toolbar/24x24/x-colorize-packets@2x.png \
1069 image/toolbar/24x24/x-resize-columns-motion.svg \
1070 image/toolbar/24x24/x-resize-columns.png \
1071 image/toolbar/24x24/x-resize-columns.svg \
1072 image/toolbar/24x24/x-resize-columns@2x.png \
1073 image/toolbar/24x24/x-stay-last.png \
1074 image/toolbar/24x24/x-stay-last.svg \
1075 image/toolbar/24x24/x-stay-last@2x.png \
1076 image/toolbar/24x24/zoom-in.png \
1077 image/toolbar/24x24/zoom-in.svg \
1078 image/toolbar/24x24/zoom-in@2x.png \
1079 image/toolbar/24x24/zoom-original.png \
1080 image/toolbar/24x24/zoom-original.svg \
1081 image/toolbar/24x24/zoom-original@2x.png \
1082 image/toolbar/24x24/zoom-out.png \
1083 image/toolbar/24x24/zoom-out.svg \
1084 image/toolbar/24x24/zoom-out@2x.png \
1086 image/toolbar/analyze_24.xpm \
1087 image/toolbar/audio_player_24.xpm \
1088 image/toolbar/autoscroll_24.xpm \
1089 image/toolbar/capture_airpcap_16.xpm \
1090 image/toolbar/capture_capture_16.xpm \
1091 image/toolbar/capture_details_16.xpm \
1092 image/toolbar/capture_details_24.xpm \
1093 image/toolbar/capture_ethernet_16.xpm \
1094 image/toolbar/capture_filter_24.xpm \
1095 image/toolbar/capture_interfaces_16.png \
1096 image/toolbar/capture_interfaces_24.png \
1097 image/toolbar/capture_prepare_16.xpm \
1098 image/toolbar/checkbox_16.xpm \
1099 image/toolbar/colorize_24.xpm \
1100 image/toolbar/conversations_16.xpm \
1101 image/toolbar/decode_24.xpm \
1102 image/toolbar/decode_as_16.xpm \
1103 image/toolbar/display_filter_24.xpm \
1104 image/toolbar/endpoints_16.xpm \
1105 image/toolbar/expert_info_16.xpm \
1106 image/toolbar/file_set_list_16.xpm \
1107 image/toolbar/file_set_next_16.xpm \
1108 image/toolbar/file_set_previous_16.xpm \
1109 image/toolbar/flow_graph_16.xpm \
1110 image/toolbar/gnome_emblem_web_16.png \
1111 image/toolbar/gnome_emblem_web_24.png \
1112 image/toolbar/graphs_16.xpm \
1113 image/toolbar/icon_color_0.xpm \
1114 image/toolbar/icon_color_1.xpm \
1115 image/toolbar/icon_color_2.xpm \
1116 image/toolbar/icon_color_3.xpm \
1117 image/toolbar/icon_color_4.xpm \
1118 image/toolbar/icon_color_5.xpm \
1119 image/toolbar/icon_color_6.xpm \
1120 image/toolbar/icon_color_7.xpm \
1121 image/toolbar/icon_color_8.xpm \
1122 image/toolbar/icon_color_9.xpm \
1123 image/toolbar/internet_24.xpm \
1124 image/toolbar/modem_16.png \
1125 image/toolbar/modem_16.xpm \
1126 image/toolbar/network_bluetooth_16.png \
1127 image/toolbar/network_usb.svg \
1128 image/toolbar/network_usb_16.png \
1129 image/toolbar/network_virtual_16.xpm \
1130 image/toolbar/network_wired_16.png \
1131 image/toolbar/network_wireless_16.png \
1132 image/toolbar/pipe_16.png \
1133 image/toolbar/remote_arrow_16.png \
1134 image/toolbar/remote_globe_16.png \
1135 image/toolbar/remote_sat_16.png \
1136 image/toolbar/resize_columns_24.xpm \
1137 image/toolbar/svg-to-png.sh \
1138 image/toolbar/telephone_16.xpm \
1139 image/toolbar/telephony_16.xpm \
1140 image/toolbar/time_24.xpm \
1141 image/toolbar/voip_flow_24.xpm \
1142 image/toolbar/web_support_24.xpm \
1143 image/toolbar/wep_closed_24.xpm \
1144 image/tshark.rc.in \
1145 image/voip_select.xpm \
1146 image/wireshark.exe.manifest.in \
1147 image/wireshark.ico \
1148 image/wireshark.rc.in \
1149 image/wiresharkdoc.ico \
1150 image/wiresharkinst.ico \
1151 image/WiresharkDoc-16.png \
1152 image/WiresharkDoc-24.png \
1153 image/WiresharkDoc-32.png \
1154 image/WiresharkDoc-48.png \
1155 image/WiresharkDoc-64.png \
1156 image/WiresharkDoc-128.png \
1157 image/WiresharkDoc-256.png \
1158 image/wiretap.rc.in \
1161 image/wsicon16.png \
1162 image/wsicon24.png \
1163 image/wsicon32.png \
1164 image/wsicon48.png \
1165 image/wsicon64.png \
1166 image/wsicon128.png \
1167 image/wsicon256.png \
1168 image/wsicon512.png \
1169 image/wsicon1024.png \
1170 image/wsicon-ask.png \
1171 image/wsicon-ask.svg \
1172 image/wsiconcap.svg \
1173 image/wsiconcap16.png \
1174 image/wsiconcap24.png \
1175 image/wsiconcap32.png \
1176 image/wsiconcap48.png \
1177 image/wsiconcap64.png \
1178 image/wsiconcap128.png \
1179 image/wsiconcap256.png \
1180 image/wsiconcap512.png \
1181 image/wsiconcap1024.png \
1182 image/wsiconinst.svg \
1183 image/wsiconinst256.png \
1184 image/wslogo-dev.svg \
1187 image/wssplash_dev.png \
1188 image/wssplash.png \
1191 macosx-support-lib-patches/glib-gconvert.c.patch \
1192 macosx-support-lib-patches/glib-pkgconfig.patch \
1193 macosx-support-lib-patches/gnutls-pkgconfig.patch \
1194 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
1195 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
1196 macosx-support-lib-patches/qt-fix-pc-file \
1197 macosx-support-lib-patches/qt-fix-pc-files \
1205 text2pcap-scanner.l \
1209 wireshark-mime-package.xml \
1214 wsutil/CMakeLists.txt \
1216 wiretap/CMakeLists.txt \
1218 ConfigureChecks.cmake \
1219 cmake/modules/CheckCCompilerFlag.cmake \
1220 cmake/modules/CheckCLinkerFlag.cmake \
1221 cmake/modules/CMakeInstallDirs.cmake \
1222 cmake/modules/COPYING-CMAKE-SCRIPTS \
1223 cmake/modules/FindADNS.cmake \
1224 cmake/modules/FindAIRPCAP.cmake \
1225 cmake/modules/FindASCIIDOC.cmake \
1226 cmake/modules/FindCAP.cmake \
1227 cmake/modules/FindCARES.cmake \
1228 cmake/modules/FindChocolatey.cmake \
1229 cmake/modules/FindDOXYGEN.cmake \
1230 cmake/modules/FindFOP.cmake \
1231 cmake/modules/FindFreetype.cmake \
1232 cmake/modules/FindGCRYPT.cmake \
1233 cmake/modules/FindGEOIP.cmake \
1234 cmake/modules/FindGLIB2.cmake \
1235 cmake/modules/FindGMODULE2.cmake \
1236 cmake/modules/FindGNUTLS.cmake \
1237 cmake/modules/FindGTHREAD2.cmake \
1238 cmake/modules/FindGTK2.cmake \
1239 cmake/modules/FindGTK3.cmake \
1240 cmake/modules/FindHtmlViewer.cmake \
1241 cmake/modules/FindKERBEROS.cmake \
1242 cmake/modules/FindLEX.cmake \
1243 cmake/modules/FindLUA.cmake \
1244 cmake/modules/FindLYNX.cmake \
1245 cmake/modules/FindM.cmake \
1246 cmake/modules/FindNL.cmake \
1247 cmake/modules/FindOS_X_FRAMEWORKS.cmake \
1248 cmake/modules/FindPCAP.cmake \
1249 cmake/modules/FindPOD.cmake \
1250 cmake/modules/FindPORTAUDIO.cmake \
1251 cmake/modules/FindPowerShell.cmake \
1252 cmake/modules/FindSBC.cmake \
1253 cmake/modules/FindSED.cmake \
1254 cmake/modules/FindSETCAP.cmake \
1255 cmake/modules/FindSH.cmake \
1256 cmake/modules/FindSMI.cmake \
1257 cmake/modules/FindWireshark.cmake \
1258 cmake/modules/FindWSWinLibs.cmake \
1259 cmake/modules/FindXMLLINT.cmake \
1260 cmake/modules/FindXSLTPROC.cmake \
1261 cmake/modules/FindYACC.cmake \
1262 cmake/modules/FindYAPP.cmake \
1263 cmake/modules/FindZLIB.cmake \
1264 cmake/modules/gmxTestLargeFiles.cmake \
1265 cmake/modules/hhc.cmake \
1266 cmake/modules/LICENSE.txt \
1267 cmake/modules/LocatePythonModule.cmake \
1268 cmake/modules/readme.txt \
1269 cmake/modules/UseABICheck.cmake \
1270 cmake/modules/UseAsn2Wrs.cmake \
1271 cmake/modules/UseCheckAPI.cmake \
1272 cmake/modules/UseLemon.cmake \
1273 cmake/modules/UseMakeDissectorReg.cmake \
1274 cmake/modules/UseMakeTapReg.cmake \
1275 cmake/modules/UseWinLibs.cmake \
1276 cmake/modules/WiresharkConfig.cmake.in \
1277 cmake/modules/WiresharkConfigVersion.cmake.in \
1278 cmake/modules/WiresharkPlugin.cmake \
1279 cmake/TestFileOffsetBits.c \
1280 cmake/TestLargeFiles.c.cmakein \
1281 cmake/TestWindowsFSeek.c \
1282 ui/win32/Makefile.nmake \
1283 ui/win32/console_win32.c \
1284 ui/win32/console_win32.h \
1285 ui/win32/file_dlg_win32.c \
1286 ui/win32/file_dlg_win32.h \
1287 ui/win32/print_win32.c \
1288 ui/win32/print_win32.h \
1289 ui/win32/settings.ini \
1293 if HAVE_DUMPCAP_GROUP
1294 chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1297 $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
1298 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1301 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1302 chmod +s $(DESTDIR)$(bindir)/dumpcap
1339 @wireshark_SUBDIRS@ \
1344 help/faq.txt: $(srcdir)/help/faq.py
1345 $(AM_V_GEN)(cd help ; \
1348 libtool: $(LIBTOOL_DEPS)
1349 $(SHELL) ./config.status --recheck
1352 # Used by patch-bzip2
1353 # Trim off any extra version information and find the previous micro release.
1354 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1355 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1356 PREV_DIR="wireshark-$(PREV_VERSION)"
1357 PREV_FILE="$(PREV_DIR).tar.bz2"
1358 PREV_URL="https://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1360 patch-bzip2: distdir
1361 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1362 curl --time-cond $(PREV_FILE) --location --output $(PREV_FILE) $(PREV_URL) && \
1363 tar -xjf $(PREV_FILE) && \
1364 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1365 echo "Created patch-bzip2" ; \
1366 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1368 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1370 $(am__remove_distdir)
1373 # Install icons and other desktop files for (for use with GNOME, KDE, or
1374 # any other freedesktop.org-compliant desktops).
1376 # We use $(datadir). If the desktop doesn't look for them there,
1377 # the desktop is broken; the latest XDG Base Directory Specification
1380 # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
1384 # $XDG_DATA_DIRS defines the preference-ordered set of base directories
1385 # to search for data files in addition to the $XDG_DATA_HOME base
1386 # directory. The directories in $XDG_DATA_DIRS should be seperated with a
1389 # If $XDG_DATA_DIRS is either not set or empty, a value equal to
1390 # /usr/local/share/:/usr/share/ should be used.
1394 # if this is configured to install under /usr, that should Just Work,
1395 # unless XDG_DATA_DIRS is set incorrectly or the desktop isn't
1396 # compliant with the latest version of the spec;
1398 # if this installs under the default /usr/share, that should Just Work,
1399 # unless XDG_DATA_DIRS is set incorrectly or the desktop isn't
1400 # compliant with the latest version of the spec;
1402 # if this is configured to install somewhere else, whoever configured
1403 # it should also have made sure that XDG_DATA_DIRS was set correctly
1404 # and, if that doesn't work, the desktop isn't compliant with the
1405 # latest version of the spec.
1407 # We install these as part of the standard installation process, just
1408 # as, for example, Inkscape does with its icons. See bug 10737.
1410 # Do not use the -T flag to the install command, as it's not portable.
1411 # Some versions of install don't support a -T flag at all, and the
1412 # FreeBSD install command has a -T flag that takes an argument and
1413 # that has completely different semantics.
1415 # We neither need nor want any of this on OS X, nor do we want it if
1416 # we're not building Wireshark (that being the only desktop app).
1419 if BUILDING_WIRESHARK
1421 mkdir -p $(DESTDIR)$(datadir)/mime/packages
1422 install -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
1423 mkdir -p $(DESTDIR)$(datadir)/applications
1424 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1425 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)$(datadir)/applications $(srcdir)/wireshark.desktop; \
1427 install -m 644 $(srcdir)/wireshark.desktop $(DESTDIR)$(datadir)/applications/wireshark.desktop; \
1429 for size in 16 24 32 48 64 128 256; \
1431 mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps ; \
1432 install -m 644 $(srcdir)/image/wsicon$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1433 mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes ; \
1434 install -m 644 $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1436 mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps
1437 install -m 644 $(srcdir)/image/wsicon.svg $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
1442 if BUILDING_WIRESHARK
1444 rm -f $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
1445 rm -f $(DESTDIR)$(datadir)/applications/wireshark.desktop
1446 for size in 16 24 32 48 64 128 256; \
1448 rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1449 rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1451 rm -f $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
1455 install-data-hook: update-databases-and-caches-install
1456 uninstall-hook: update-databases-and-caches-uninstall
1459 # XXX - which of this stuff can, and should, we do ourselves?
1461 # If we're "installing" under $(DESTDIR) as part of the process of
1462 # building a package, we probably don't need to, and shouldn't, do
1465 # If we're installing for use, we may need to do some of this; which
1466 # of them do we need to tell where to search, especially if we're
1467 # installing somewhere other than under /usr or /usr/local?
1469 # What if we're installing in the user's home directory?
1471 # What if we're installing under /opt?
1473 # We only need to run ldconfig on systems where it's necessary in order
1474 # to update a shared library cache to know about our shared libraries.
1476 # We only need to run update-desktop-database and update-mime-database
1477 # on freedesktop.org desktops.
1479 # We only need to run gtk-update-icon-cache if we're installing a GTK+
1480 # version of Wireshark.
1482 # We neither need nor want any of this on OS X, nor do we want it if
1483 # we're not building Wireshark (that being the only desktop app).
1485 update-databases-and-caches-common:
1486 if BUILDING_WIRESHARK
1488 @echo "You may need to run \"ldconfig\" as root"
1489 @echo "You may need to run \"update-desktop-database $(datadir)/applications\""
1490 @echo "You may need to run \"update-mime-database $(datadir)/mime\""
1491 @echo "You may need to run \"gtk-update-icon-cache -f -t $(datadir)/icons/hicolor\""
1495 update-databases-and-caches-install: update-databases-and-caches-common
1497 update-databases-and-caches-uninstall: update-databases-and-caches-common
1499 # Used by svr4-package and osx-package
1500 # We load top_stagedir with an absolute path so that libtool doesn't freak.
1501 top_stagedir=$(abs_top_builddir)/packaging/staging
1502 stagedir=$(top_stagedir)/$(PACKAGE).inst
1507 solaris-package: svr4-package
1509 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1510 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1511 rm -rf $(stagedir) ; \
1512 $(MAKE) DESTDIR=$(stagedir) install; \
1513 $(srcdir)/packaging/svr4/mkpkg \
1515 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1519 echo "Error: SVR4 packaging tools not found." ; \
1520 echo "Package build abandoned." ; \
1524 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1526 @if test x$(HAVE_RPM) = xyes ; then \
1527 cd $(rpm_topdir) ; \
1528 mkdir -p BUILD RPMS SOURCES SRPMS; \
1530 ln -sf ../../../$(distdir).tar.bz2 ; \
1532 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
1533 @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
1534 echo "Package successfully built in `pwd`/RPMS." && \
1535 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1537 echo "Error: RPM executable and/or source directory not found." ; \
1541 # XXX - This assumes we're building from the source directory.
1542 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1543 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1544 rm -rf $(stagedir) ; \
1545 $(MAKE) DESTDIR=$(stagedir) install; \
1546 cd $(srcdir)/packaging/macosx ; \
1547 ./osx-app.sh @OSX_APP_FLAGS@ \
1549 --binary-path ../staging/$(PACKAGE).inst$(bindir) ; \
1551 echo "Error: OS X packaging tools not found." ; \
1552 echo "Package build abandoned." ; \
1555 packaging/macosx/COPYING.txt: COPYING
1556 (cd packaging/macosx ; \
1557 $(MAKE) COPYING.txt ;)
1559 osx-package: osx-app packaging/macosx/COPYING.txt
1560 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1561 cd $(srcdir)/packaging/macosx ; \
1562 chmod +x ./osx-dmg.sh ; \
1563 ./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
1566 osx-install: osx-app
1567 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1568 echo "Copying Wireshark.app to /Applications" ; \
1569 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1573 rm -rf $(top_stagedir)
1576 $(MAKE) -C wiretap dumpabi-libwiretap
1577 $(MAKE) -C epan dumpabi-libwireshark
1578 $(MAKE) -C wsutil dumpabi-libwsutil
1581 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
1582 -sourcedir=$(srcdir) \
1584 $(wireshark_gtk_SOURCES)
1585 # $(EXTRA_wireshark_gtk_SOURCES)
1587 checkapi: checkapi_local
1588 cd wiretap && $(MAKE) checkapi
1589 cd codecs && $(MAKE) checkapi
1590 cd capchild && $(MAKE) checkapi
1591 cd caputils && $(MAKE) checkapi
1592 cd ui && $(MAKE) checkapi
1593 cd ui/gtk && $(MAKE) checkapi
1594 ## cd epan && $(MAKE) checkapi
1595 ## cd epan/crypt && $(MAKE) checkapi
1596 cd epan/dfilter && $(MAKE) checkapi
1597 ## cd epan/ftypes && $(MAKE) checkapi
1598 ## cd epan/wslua && $(MAKE) checkapi
1599 cd epan/dissectors && $(MAKE) checkapi
1600 cd plugins && $(MAKE) checkapi
1601 cd wsutil && $(MAKE) checkapi
1603 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1606 cd epan && $(MAKE) $@
1607 cd capchild && $(MAKE) $@
1608 cd caputils && $(MAKE) $@
1610 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1616 zip -rq wsar_html.zip wsar_html