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/capture_start_24.png \
844 image/capture_start_active_24.png \
845 image/capture_stop_24.png \
846 image/clist_ascend.xpm \
847 image/clist_descend.xpm \
849 image/dfilter_apply_disabled.png \
850 image/dfilter_apply_hover.png \
851 image/dfilter_apply_normal.png \
852 image/dfilter_apply_pressed.png \
853 image/dfilter_bookmark_disabled.png \
854 image/dfilter_bookmark_hover.png \
855 image/dfilter_bookmark_normal.png \
856 image/dfilter_bookmark_pressed.png \
857 image/dfilter_dropdown.png \
858 image/dfilter_erase_active.png \
859 image/dfilter_erase_normal.png \
860 image/dfilter_erase_selected.png \
861 image/dfilter_refresh_active.png \
862 image/dfilter_refresh_normal.png \
863 image/display_filter.qrc \
864 image/dumpcap.rc.in \
865 image/editcap.rc.in \
866 image/expert_chat.png \
867 image/expert_error.png \
868 image/expert_indicators.svg \
869 image/expert_none.png \
870 image/expert_note.png \
871 image/expert_ok.png \
872 image/expert_warn.png \
873 image/file_dlg_win32.rc \
874 image/hi16-app-wireshark.png \
875 image/hi32-app-wireshark.png \
876 image/hi48-app-wireshark.png \
883 image/libwireshark.rc.in \
884 image/libwsutil.rc.in \
885 image/lo16-app-wireshark.png \
886 image/lo32-app-wireshark.png \
887 image/lo48-app-wireshark.png \
888 image/Makefile.nmake \
889 image/mergecap.rc.in \
891 image/nsis-checked.bmp \
892 image/nsis-unchecked.bmp \
893 image/openhand-16.png \
895 image/rawshark.rc.in \
897 image/reordercap.rc.in \
898 image/rubberband-16.png \
900 image/stock_dialog_error_48.xpm \
901 image/stock_dialog_info_48.xpm \
902 image/stock_dialog_question_48.xpm \
903 image/stock_dialog_stop_48.xpm \
904 image/stock_dialog_warning_48.xpm \
905 image/text2pcap.rc.in \
906 image/tfshark.rc.in \
908 image/toolbar/analyze_24.xpm \
909 image/toolbar/audio_player_24.xpm \
910 image/toolbar/autoscroll_24.xpm \
911 image/toolbar/capture_airpcap_16.xpm \
912 image/toolbar/capture_capture_16.xpm \
913 image/toolbar/capture_details_16.xpm \
914 image/toolbar/capture_details_24.xpm \
915 image/toolbar/capture_ethernet_16.xpm \
916 image/toolbar/capture_filter_24.xpm \
917 image/toolbar/capture_interfaces_16.png \
918 image/toolbar/capture_interfaces_24.png \
919 image/toolbar/capture_options_16.png \
920 image/toolbar/capture_options_24.png \
921 image/toolbar/capture_prepare_16.xpm \
922 image/toolbar/capture_restart_16.png \
923 image/toolbar/capture_restart_24.png \
924 image/toolbar/capture_start_16.png \
925 image/toolbar/capture_start_24.png \
926 image/toolbar/capture_stop_16.png \
927 image/toolbar/capture_stop_24.png \
928 image/toolbar/checkbox_16.xpm \
929 image/toolbar/colorize_24.xpm \
930 image/toolbar/conversations_16.xpm \
931 image/toolbar/decode_24.xpm \
932 image/toolbar/decode_as_16.xpm \
933 image/toolbar/display_filter_24.xpm \
934 image/toolbar/endpoints_16.xpm \
935 image/toolbar/expert_info_16.xpm \
936 image/toolbar/file_set_list_16.xpm \
937 image/toolbar/file_set_next_16.xpm \
938 image/toolbar/file_set_previous_16.xpm \
939 image/toolbar/flow_graph_16.xpm \
940 image/toolbar/gnome_emblem_web_16.png \
941 image/toolbar/gnome_emblem_web_24.png \
942 image/toolbar/graphs_16.xpm \
943 image/toolbar/icon_color_0.xpm \
944 image/toolbar/icon_color_1.xpm \
945 image/toolbar/icon_color_2.xpm \
946 image/toolbar/icon_color_3.xpm \
947 image/toolbar/icon_color_4.xpm \
948 image/toolbar/icon_color_5.xpm \
949 image/toolbar/icon_color_6.xpm \
950 image/toolbar/icon_color_7.xpm \
951 image/toolbar/icon_color_8.xpm \
952 image/toolbar/icon_color_9.xpm \
953 image/toolbar/internet_24.xpm \
954 image/toolbar/modem_16.png \
955 image/toolbar/modem_16.xpm \
956 image/toolbar/network_bluetooth_16.png \
957 image/toolbar/network_usb.svg \
958 image/toolbar/network_usb_16.png \
959 image/toolbar/network_virtual_16.xpm \
960 image/toolbar/network_wired_16.png \
961 image/toolbar/network_wireless_16.png \
962 image/toolbar/pipe_16.png \
963 image/toolbar/remote_arrow_16.png \
964 image/toolbar/remote_globe_16.png \
965 image/toolbar/remote_sat_16.png \
966 image/toolbar/resize_columns_24.xpm \
967 image/toolbar/telephone_16.xpm \
968 image/toolbar/telephony_16.xpm \
969 image/toolbar/time_24.xpm \
970 image/toolbar/toolbar_wireshark_file_16.png \
971 image/toolbar/toolbar_wireshark_file_24.png \
972 image/toolbar/voip_flow_24.xpm \
973 image/toolbar/web_support_24.xpm \
974 image/toolbar/wep_closed_24.xpm \
976 image/voip_select.xpm \
977 image/wireshark.exe.manifest.in \
978 image/wireshark.ico \
979 image/wireshark.rc.in \
980 image/wiresharkdoc.ico \
981 image/wiresharkinst.ico \
982 image/WiresharkDoc-16.png \
983 image/WiresharkDoc-24.png \
984 image/WiresharkDoc-32.png \
985 image/WiresharkDoc-48.png \
986 image/WiresharkDoc-64.png \
987 image/WiresharkDoc-128.png \
988 image/WiresharkDoc-256.png \
989 image/wiretap.rc.in \
996 image/wsicon128.png \
997 image/wsicon256.png \
998 image/wsicon512.png \
999 image/wsicon1024.png \
1000 image/wsicon-ask.png \
1001 image/wsicon-ask.svg \
1002 image/wsiconcap.svg \
1003 image/wsiconcap256.png \
1004 image/wsiconcap512.png \
1005 image/wsiconcap1024.png \
1006 image/wsiconinst.svg \
1007 image/wsiconinst256.png \
1008 image/wslogo-dev.svg \
1011 image/wssplash_dev.png \
1012 image/wssplash.png \
1015 macosx-support-lib-patches/glib-gconvert.c.patch \
1016 macosx-support-lib-patches/glib-pkgconfig.patch \
1017 macosx-support-lib-patches/gnutls-pkgconfig.patch \
1018 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
1019 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
1020 macosx-support-lib-patches/qt-fix-pc-file \
1021 macosx-support-lib-patches/qt-fix-pc-files \
1029 text2pcap-scanner.l \
1033 wireshark-mime-package.xml \
1038 wsutil/CMakeLists.txt \
1040 wiretap/CMakeLists.txt \
1042 ConfigureChecks.cmake \
1043 cmake/TestFileOffsetBits.c \
1044 cmake/TestLargeFiles.c.cmakein \
1045 cmake/TestWindowsFSeek.c \
1046 cmake/modules/CMakeInstallDirs.cmake \
1047 cmake/modules/COPYING-CMAKE-SCRIPTS \
1048 cmake/modules/CheckCCompilerFlag.cmake \
1049 cmake/modules/CheckCLinkerFlag.cmake \
1050 cmake/modules/FindADNS.cmake \
1051 cmake/modules/FindAIRPCAP.cmake \
1052 cmake/modules/FindASCIIDOC.cmake \
1053 cmake/modules/FindCAP.cmake \
1054 cmake/modules/FindCARES.cmake \
1055 cmake/modules/FindFOP.cmake \
1056 cmake/modules/FindGCRYPT.cmake \
1057 cmake/modules/FindGEOIP.cmake \
1058 cmake/modules/FindChocolatey.cmake \
1059 cmake/modules/FindDOXYGEN.cmake \
1060 cmake/modules/FindFreetype.cmake \
1061 cmake/modules/FindGLIB2.cmake \
1062 cmake/modules/FindGMODULE2.cmake \
1063 cmake/modules/FindGNUTLS.cmake \
1064 cmake/modules/FindGTHREAD2.cmake \
1065 cmake/modules/FindGTK2.cmake \
1066 cmake/modules/FindGTK3.cmake \
1067 cmake/modules/FindHtmlViewer.cmake \
1068 cmake/modules/FindKERBEROS.cmake \
1069 cmake/modules/FindNL.cmake \
1070 cmake/modules/FindLEX.cmake \
1071 cmake/modules/FindLUA.cmake \
1072 cmake/modules/FindLYNX.cmake \
1073 cmake/modules/FindM.cmake \
1074 cmake/modules/FindOS_X_FRAMEWORKS.cmake \
1075 cmake/modules/FindPCAP.cmake \
1076 cmake/modules/FindPOD.cmake \
1077 cmake/modules/FindPORTAUDIO.cmake \
1078 cmake/modules/FindSBC.cmake \
1079 cmake/modules/FindSED.cmake \
1080 cmake/modules/FindSETCAP.cmake \
1081 cmake/modules/FindSH.cmake \
1082 cmake/modules/FindSMI.cmake \
1083 cmake/modules/FindWSWinLibs.cmake \
1084 cmake/modules/FindXMLLINT.cmake \
1085 cmake/modules/FindXSLTPROC.cmake \
1086 cmake/modules/FindYACC.cmake \
1087 cmake/modules/FindYAPP.cmake \
1088 cmake/modules/FindZLIB.cmake \
1089 cmake/modules/LICENSE.txt \
1090 cmake/modules/UseABICheck.cmake \
1091 cmake/modules/UseAsn2Wrs.cmake \
1092 cmake/modules/UseCheckAPI.cmake \
1093 cmake/modules/UseLemon.cmake \
1094 cmake/modules/UseMakeDissectorReg.cmake \
1095 cmake/modules/UseMakeTapReg.cmake \
1096 cmake/modules/UseWinLibs.cmake \
1097 cmake/modules/gmxTestLargeFiles.cmake \
1098 cmake/modules/readme.txt \
1099 ui/win32/Makefile.nmake \
1100 ui/win32/console_win32.c \
1101 ui/win32/console_win32.h \
1102 ui/win32/file_dlg_win32.c \
1103 ui/win32/file_dlg_win32.h \
1104 ui/win32/print_win32.c \
1105 ui/win32/print_win32.h \
1106 ui/win32/settings.ini \
1110 if HAVE_DUMPCAP_GROUP
1111 chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1114 $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
1115 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1118 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1119 chmod +s $(DESTDIR)$(bindir)/dumpcap
1155 @wireshark_SUBDIRS@ \
1160 help/faq.txt: $(srcdir)/help/faq.py
1161 $(AM_V_GEN)(cd help ; \
1164 libtool: $(LIBTOOL_DEPS)
1165 $(SHELL) ./config.status --recheck
1168 # Used by patch-bzip2
1169 # Trim off any extra version information and find the previous micro release.
1170 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1171 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1172 PREV_DIR="wireshark-$(PREV_VERSION)"
1173 PREV_FILE="$(PREV_DIR).tar.bz2"
1174 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1176 patch-bzip2: distdir
1177 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1178 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1179 tar -xjf $(PREV_FILE) && \
1180 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1181 echo "Created patch-bzip2" ; \
1182 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1184 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1186 $(am__remove_distdir)
1188 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1189 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1190 # Yes, that violate's autofoo's principle of relocatability.
1191 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1192 # to install this stuff...
1194 # Do not use the -T flag to the install command, as it's not portable.
1195 # Some versions of install don't support a -T flag at all, and the
1196 # FreeBSD install command has a -T flag that takes an argument and
1197 # that has completely different semantics.
1198 install_desktop_files:
1199 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1200 install -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1201 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1202 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications $(srcdir)/wireshark.desktop; \
1204 install -m 644 $(srcdir)/wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1206 for size in 16 24 32 48 64 128 256; \
1208 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1209 install -m 644 $(srcdir)/image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1210 install -m 644 $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1212 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
1213 install -m 644 image/wsicon.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/wireshark.svg
1214 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1216 # Used by svr4-package and osx-package
1217 # We load top_stagedir with an absolute path so that libtool doesn't freak.
1218 top_stagedir=$(abs_top_builddir)/packaging/staging
1219 stagedir=$(top_stagedir)/$(PACKAGE).inst
1224 solaris-package: svr4-package
1226 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1227 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1228 rm -rf $(stagedir) ; \
1229 $(MAKE) DESTDIR=$(stagedir) install; \
1230 $(srcdir)/packaging/svr4/mkpkg \
1232 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1236 echo "Error: SVR4 packaging tools not found." ; \
1237 echo "Package build abandoned." ; \
1241 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1243 @if test x$(HAVE_RPM) = xyes ; then \
1244 cd $(rpm_topdir) ; \
1245 mkdir -p BUILD RPMS SOURCES SRPMS; \
1247 ln -sf ../../../$(distdir).tar.bz2 ; \
1249 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
1250 @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
1251 echo "Package successfully built in `pwd`/RPMS." && \
1252 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1254 echo "Error: RPM executable and/or source directory not found." ; \
1258 # XXX - This assumes we're building from the source directory.
1259 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1260 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1261 rm -rf $(stagedir) ; \
1262 $(MAKE) DESTDIR=$(stagedir) install; \
1263 cd $(srcdir)/packaging/macosx ; \
1264 ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1266 echo "Error: OS X packaging tools not found." ; \
1267 echo "Package build abandoned." ; \
1270 packaging/macosx/COPYING.txt: COPYING
1271 (cd packaging/macosx ; \
1272 $(MAKE) COPYING.txt ;)
1274 osx-package: osx-app packaging/macosx/COPYING.txt
1275 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1276 cd $(srcdir)/packaging/macosx ; \
1277 chmod +x ./osx-dmg.sh ; \
1278 ./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
1281 osx-install: osx-app
1282 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1283 echo "Copying Wireshark.app to /Applications" ; \
1284 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1288 rm -rf $(top_stagedir)
1291 $(MAKE) -C wiretap dumpabi-libwiretap
1292 $(MAKE) -C epan dumpabi-libwireshark
1293 $(MAKE) -C wsutil dumpabi-libwsutil
1296 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
1297 -sourcedir=$(srcdir) \
1299 $(wireshark_gtk_SOURCES)
1300 # $(EXTRA_wireshark_gtk_SOURCES)
1302 checkapi: checkapi_local
1303 cd wiretap && $(MAKE) checkapi
1304 cd codecs && $(MAKE) checkapi
1305 cd capchild && $(MAKE) checkapi
1306 cd caputils && $(MAKE) checkapi
1307 cd ui && $(MAKE) checkapi
1308 cd ui/gtk && $(MAKE) checkapi
1309 ## cd epan && $(MAKE) checkapi
1310 ## cd epan/crypt && $(MAKE) checkapi
1311 cd epan/dfilter && $(MAKE) checkapi
1312 ## cd epan/ftypes && $(MAKE) checkapi
1313 ## cd epan/wslua && $(MAKE) checkapi
1314 cd epan/dissectors && $(MAKE) checkapi
1315 cd plugins && $(MAKE) checkapi
1316 cd wsutil && $(MAKE) checkapi
1318 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1321 cd epan && $(MAKE) $@
1322 cd capchild && $(MAKE) $@
1323 cd caputils && $(MAKE) $@
1325 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1331 zip -rq wsar_html.zip wsar_html