2 # Automake file for Wireshark
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 ACLOCAL_AMFLAGS = `./aclocal-flags`
27 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
29 py_dissectors_dir = -DPYTHON_DIR=
33 if HAVE_WARNINGS_AS_ERRORS
34 AM_CLEAN_CFLAGS = -Werror
52 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
53 randpkt text2pcap dumpcap reordercap rawshark wireshark_cxx echld_test
58 # Wireshark configuration files are put in $(pkgdatadir).
60 pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
61 smi_modules ipmap.html pdml2html.xsl
64 # Install global profiles in the "profiles" subdirectory
66 profilesdir = $(pkgdatadir)
67 nobase_profiles_DATA = \
68 profiles/Bluetooth/colorfilters \
69 profiles/Classic/colorfilters
72 # Install the Diameter DTD and XML files in the "diameter" subdirectory
75 diameterdir = $(pkgdatadir)/diameter
77 diameter/chargecontrol.xml \
78 diameter/ChinaTelecom.xml \
80 diameter/dictionary.dtd \
81 diameter/dictionary.xml \
83 diameter/Ericsson.xml \
84 diameter/etsie2e4.xml \
85 diameter/gqpolicy.xml \
86 diameter/imscxdx.xml \
87 diameter/mobileipv4.xml \
88 diameter/mobileipv6.xml \
91 diameter/sunping.xml \
92 diameter/TGPPGmb.xml \
96 diameter/Vodafone.xml \
97 diameter/AlcatelLucent.xml \
99 diameter/NokiaSiemensNetworks.xml \
103 # Install the DTDs directory files in the "dtds" subdirectory
106 dtdsdir = $(pkgdatadir)/dtds
111 dtds/pocsettings.dtd \
118 dtds/xcap-error.dtd \
122 # Install the RADIUS directory files in the "radius" subdirectory
125 radiusdir = $(pkgdatadir)/radius
126 -include radius/Custom.make
127 radius_DATA = $(_CUSTOM_radius_dict_) \
128 radius/README.radius_dictionary \
129 radius/custom.includes \
131 radius/dictionary.3com \
132 radius/dictionary.3gpp \
133 radius/dictionary.3gpp2 \
134 radius/dictionary.acc \
135 radius/dictionary.acme \
136 radius/dictionary.airespace \
137 radius/dictionary.alcatel \
138 radius/dictionary.alcatel.esam \
139 radius/dictionary.alcatel.sr \
140 radius/dictionary.alcatel-lucent.xylan \
141 radius/dictionary.alteon \
142 radius/dictionary.altiga \
143 radius/dictionary.alvarion \
144 radius/dictionary.apc \
145 radius/dictionary.aptis \
146 radius/dictionary.aruba \
147 radius/dictionary.ascend \
148 radius/dictionary.asn \
149 radius/dictionary.audiocodes \
150 radius/dictionary.avaya \
151 radius/dictionary.azaire \
152 radius/dictionary.bay \
153 radius/dictionary.bintec \
154 radius/dictionary.bristol \
155 radius/dictionary.cablelabs \
156 radius/dictionary.cabletron \
157 radius/dictionary.chillispot \
158 radius/dictionary.cisco \
159 radius/dictionary.cisco.bbsm \
160 radius/dictionary.cisco.vpn3000 \
161 radius/dictionary.cisco.vpn5000 \
162 radius/dictionary.clavister \
163 radius/dictionary.colubris \
164 radius/dictionary.columbia_university \
165 radius/dictionary.compat \
166 radius/dictionary.cosine \
167 radius/dictionary.dhcp \
168 radius/dictionary.digium \
169 radius/dictionary.eltex \
170 radius/dictionary.epygi \
171 radius/dictionary.ericsson \
172 radius/dictionary.erx \
173 radius/dictionary.extreme \
174 radius/dictionary.fortinet \
175 radius/dictionary.foundry \
176 radius/dictionary.freeradius \
177 radius/dictionary.freeradius.internal \
178 radius/dictionary.freeswitch \
179 radius/dictionary.gandalf \
180 radius/dictionary.garderos \
181 radius/dictionary.gemtek \
182 radius/dictionary.h3c \
183 radius/dictionary.hp \
184 radius/dictionary.huawei \
185 radius/dictionary.iea \
186 radius/dictionary.infonet \
187 radius/dictionary.ipunplugged \
188 radius/dictionary.issanni \
189 radius/dictionary.itk \
190 radius/dictionary.jradius \
191 radius/dictionary.juniper \
192 radius/dictionary.karlnet \
193 radius/dictionary.lancom \
194 radius/dictionary.livingston \
195 radius/dictionary.localweb \
196 radius/dictionary.lucent \
197 radius/dictionary.manzara \
198 radius/dictionary.merit \
199 radius/dictionary.microsoft \
200 radius/dictionary.mikrotik \
201 radius/dictionary.motorola \
202 radius/dictionary.motorola.wimax \
203 radius/dictionary.navini \
204 radius/dictionary.netscreen \
205 radius/dictionary.networkphysics \
206 radius/dictionary.nexans \
207 radius/dictionary.nokia \
208 radius/dictionary.nokia.conflict \
209 radius/dictionary.nomadix \
210 radius/dictionary.nortel \
211 radius/dictionary.ntua \
212 radius/dictionary.openser \
213 radius/dictionary.packeteer \
214 radius/dictionary.patton \
215 radius/dictionary.propel \
216 radius/dictionary.prosoft \
217 radius/dictionary.quiconnect \
218 radius/dictionary.quintum \
219 radius/dictionary.redback \
220 radius/dictionary.redcreek \
221 radius/dictionary.rfc2865 \
222 radius/dictionary.rfc2866 \
223 radius/dictionary.rfc2867 \
224 radius/dictionary.rfc2868 \
225 radius/dictionary.rfc2869 \
226 radius/dictionary.rfc3162 \
227 radius/dictionary.rfc3576 \
228 radius/dictionary.rfc3580 \
229 radius/dictionary.rfc4072 \
230 radius/dictionary.rfc4372 \
231 radius/dictionary.rfc4603 \
232 radius/dictionary.rfc4675 \
233 radius/dictionary.rfc4679 \
234 radius/dictionary.rfc4818 \
235 radius/dictionary.rfc4849 \
236 radius/dictionary.rfc5090 \
237 radius/dictionary.rfc5176 \
238 radius/dictionary.rfc5447 \
239 radius/dictionary.rfc5580 \
240 radius/dictionary.rfc5607 \
241 radius/dictionary.rfc5904 \
242 radius/dictionary.rfc6519 \
243 radius/dictionary.rfc6572 \
244 radius/dictionary.riverstone \
245 radius/dictionary.roaringpenguin \
246 radius/dictionary.shasta \
247 radius/dictionary.shiva \
248 radius/dictionary.slipstream \
249 radius/dictionary.sofaware \
250 radius/dictionary.sonicwall \
251 radius/dictionary.springtide \
252 radius/dictionary.starent \
253 radius/dictionary.t_systems_nova \
254 radius/dictionary.telebit \
255 radius/dictionary.telkom \
256 radius/dictionary.trapeze \
257 radius/dictionary.tropos \
258 radius/dictionary.ukerna \
259 radius/dictionary.unix \
260 radius/dictionary.usr \
261 radius/dictionary.utstarcom \
262 radius/dictionary.valemount \
263 radius/dictionary.versanet \
264 radius/dictionary.vqp \
265 radius/dictionary.walabi \
266 radius/dictionary.waverider \
267 radius/dictionary.wichorus \
268 radius/dictionary.wimax \
269 radius/dictionary.wimax.wichorus \
270 radius/dictionary.wispr \
271 radius/dictionary.xedia \
272 radius/dictionary.zyxel
275 # Install the tpncp directory files in the "tpncp" subdirectory
278 tpncpdir = $(pkgdatadir)/tpncp
283 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
286 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
288 wimaxasncp/dictionary.xml \
289 wimaxasncp/dictionary.dtd
292 capture-pcap-util-unix.c
295 -include plugins/Custom.make
296 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
297 -dlopen plugins/asn1/asn1.la \
298 -dlopen plugins/docsis/docsis.la \
299 -dlopen plugins/ethercat/ethercat.la \
300 -dlopen plugins/gryphon/gryphon.la \
301 -dlopen plugins/irda/irda.la \
302 -dlopen plugins/m2m/m2m.la \
303 -dlopen plugins/mate/mate.la \
304 -dlopen plugins/opcua/opcua.la \
305 -dlopen plugins/profinet/profinet.la \
306 -dlopen plugins/stats_tree/stats_tree.la \
307 -dlopen plugins/unistim/unistim.la \
308 -dlopen plugins/wimax/wimax.la \
309 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
311 WTAP_PLUGIN_SOURCES = \
319 WTAP_PLUGIN_SOURCES =
323 include Makefile.common
326 wireshark_LDFLAGS = -Wl,-static -all-static
328 wireshark_LDFLAGS = -export-dynamic
331 # Libraries and plugin flags with which to link wireshark.
333 # Note that Wireshark, when built with a version of GTK+ that runs
334 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
335 # as those should also be included in @GTK_LIBS@ (as those are also
336 # needed for X applications, and GTK+ applications are X applications
337 # if the version of GTK+ they're built with runs atop X11).
339 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
340 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
341 # Gentoo bug 423743 at
343 # https://bugs.gentoo.org/show_bug.cgi?id=423743
345 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
346 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
347 # It is not actually a superset: gmodule is included in GLIB_LIBS but
348 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
350 # although it's also possible that -lgmodule is in GTK_LIBS but not
351 # GLIB_LIBS (that's the case on my machine right now, for example).
354 wireshark_ui_ldadd = ui/qt/libqtui.a
356 wireshark_ui_ldadd = ui/gtk/libgtkui.a
360 $(wireshark_ui_ldadd) \
364 wiretap/libwiretap.la \
365 epan/libwireshark.la \
366 wsutil/libwsutil.la \
373 @APPLICATIONSERVICES_FRAMEWORKS@ \
374 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
375 @COREFOUNDATION_FRAMEWORKS@ \
386 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
388 # Ideally we could trigger automatic c++ linking here with
389 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
390 # Unfortunately that check is done by automake and not configure.
391 # We do the following to try to avoid using c++ to link Wireshark at
393 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
394 wireshark_cxx_SOURCES =
396 if HAVE_WIRESHARK_CXX
397 wireshark_LINK = $(CXXLINK)
399 wireshark_LINK = $(LINK)
403 tshark_LDFLAGS = -Wl,-static -all-static
405 tshark_LDFLAGS = -export-dynamic
408 # Libraries and plugin flags with which to link tshark.
412 wiretap/libwiretap.la \
413 epan/libwireshark.la \
414 wsutil/libwsutil.la \
424 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
425 @COREFOUNDATION_FRAMEWORKS@ \
430 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
433 rawshark_LDFLAGS = -Wl,-static -all-static
435 rawshark_LDFLAGS = -export-dynamic
438 # Libraries and plugin flags with which to link rawshark.
441 wiretap/libwiretap.la \
442 epan/libwireshark.la \
443 wsutil/libwsutil.la \
453 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
454 @COREFOUNDATION_FRAMEWORKS@ \
459 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
461 # Libraries with which to link text2pcap.
463 wsutil/libwsutil.la \
465 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
466 # which is generated (and therefore not always clean).
467 # We could generate text2pcap.o as a library with -Werror but for now it
468 # doesn't seem worth the effort.
469 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
471 # Libraries with which to link mergecap.
473 wiretap/libwiretap.la \
474 wsutil/libwsutil.la \
476 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
478 # Libraries with which to link capinfos.
480 wiretap/libwiretap.la \
481 wsutil/libwsutil.la \
484 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
486 # Libraries with which to link editcap.
488 wiretap/libwiretap.la \
489 wsutil/libwsutil.la \
491 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
493 # Libraries with which to link reordercap.
495 wiretap/libwiretap.la \
496 wsutil/libwsutil.la \
498 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
500 # Libraries with which to link randpkt.
502 wiretap/libwiretap.la \
503 wsutil/libwsutil.la \
510 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
512 # Libraries and plugin flags with which to link dftest.
515 wiretap/libwiretap.la \
516 wsutil/libwsutil.la \
517 epan/libwireshark.la \
531 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
534 epan/libwireshark.la \
536 wsutil/libwsutil.la \
544 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
547 # Libraries with which to link dumpcap.
549 wsutil/libwsutil.la \
554 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
555 @COREFOUNDATION_FRAMEWORKS@ \
557 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
558 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
561 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
562 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS) \
566 # Build the version string
568 # FORCE is the portable version of .PHONY
571 AM_V_PERL = $(am__v_PERL_@AM_V@)
572 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
573 am__v_PERL_0 = @echo " PERL " $@;
577 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
580 # Build shell scripts by doing variable substitution.
581 # Taken from autoconf 2.13.
583 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
588 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
590 ps.c: print.ps $(srcdir)/tools/rdps.py
591 $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
594 $(PERL) $(srcdir)/tools/make-services.pl
602 # We have to remove svnversion.h with "make distclean", as, otherwise,
603 # "make distcheck" fails. We still need to make the tarballs work
604 # even if you do "make distclean" and try to rebuild; that's a work in
607 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
608 # list of files removed by "make distclean"? (It's deliberately
609 # included in that list.)
615 MAINTAINERCLEANFILES = \
644 abi-descriptor.template \
645 aclocal-fallback/libsmi.m4 \
646 aclocal-fallback/libgcrypt.m4 \
647 aclocal-fallback/glib-2.0.m4 \
648 aclocal-fallback/gtk-2.0.m4 \
649 aclocal-fallback/gtk-3.0.m4 \
650 aclocal-fallback/qt.m4 \
656 capture_win_ifnames.c \
657 capture_win_ifnames.h \
660 capture_wpcap_packet.c \
661 capture_wpcap_packet.h \
671 debian/headers-check.c \
672 debian/patches/00list \
673 debian/patches/03_preferences.dpatch \
678 debian/README.source \
679 debian/tshark.files \
680 debian/tshark.manpages \
682 debian/wireshark-common.files \
683 debian/wireshark-common.manpages \
684 debian/wireshark-common.shlibs \
685 debian/wireshark-dev.docs \
686 debian/wireshark-dev.files \
687 debian/wireshark-dev.header-files \
688 debian/wireshark-dev.manpages \
689 debian/wireshark-dev.prerm \
690 debian/wireshark-root.desktop \
691 debian/wireshark.desktop \
692 debian/wireshark.files \
693 debian/wireshark.manpages \
694 debian/wireshark.menu \
711 idl/coseventcomm.idl \
715 idl/parlay/cccs.idl \
717 idl/parlay/common_cc_data.idl \
720 idl/parlay/fw_data.idl \
721 idl/parlay/fw_if.idl \
722 idl/parlay/fw_if_access.idl \
723 idl/parlay/fw_if_app.idl \
724 idl/parlay/fw_if_entop.idl \
725 idl/parlay/fw_if_service.idl \
726 idl/parlay/gcc_data.idl \
727 idl/parlay/gcc_interfaces.idl \
730 idl/parlay/mmccs.idl \
732 idl/parlay/mpcc_data.idl \
733 idl/parlay/mpcc_interfaces.idl \
735 idl/parlay/pam_data.idl \
736 idl/parlay/pam_interfaces.idl \
737 idl/parlay/Parlay.idl \
738 idl/parlay/policy_data.idl \
739 idl/parlay/policy_interfaces.idl \
740 idl/parlay/README.parlay \
741 idl/parlay/termcap.idl \
742 idl/parlay/ui_data.idl \
743 idl/parlay/ui_interfaces.idl \
744 image/capinfos.rc.in \
745 image/capture_comment.svg \
746 image/capture_comment_add.png \
747 image/capture_comment_disabled.png \
748 image/capture_comment_update.png \
749 image/capture_start_24.png \
750 image/capture_start_active_24.png \
751 image/capture_stop_24.png \
752 image/clist_ascend.xpm \
753 image/clist_descend.xpm \
755 image/dfilter_apply_disabled.png \
756 image/dfilter_apply_hover.png \
757 image/dfilter_apply_normal.png \
758 image/dfilter_apply_pressed.png \
759 image/dfilter_bookmark_disabled.png \
760 image/dfilter_bookmark_hover.png \
761 image/dfilter_bookmark_normal.png \
762 image/dfilter_bookmark_pressed.png \
763 image/dfilter_dropdown.png \
764 image/dfilter_erase_active.png \
765 image/dfilter_erase_normal.png \
766 image/dfilter_erase_selected.png \
767 image/dfilter_refresh_active.png \
768 image/dfilter_refresh_normal.png \
769 image/display_filter.qrc \
770 image/dumpcap.rc.in \
771 image/editcap.rc.in \
772 image/expert_chat.png \
773 image/expert_error.png \
774 image/expert_indicators.svg \
775 image/expert_none.png \
776 image/expert_note.png \
777 image/expert_warn.png \
778 image/file_dlg_win32.rc \
779 image/hi16-app-wireshark.png \
780 image/hi32-app-wireshark.png \
781 image/hi48-app-wireshark.png \
788 image/libwireshark.rc.in \
789 image/libwsutil.rc.in \
790 image/lo16-app-wireshark.png \
791 image/lo32-app-wireshark.png \
792 image/lo48-app-wireshark.png \
793 image/Makefile.nmake \
794 image/mergecap.rc.in \
796 image/nsis-checked.bmp \
797 image/nsis-unchecked.bmp \
799 image/rawshark.rc.in \
801 image/reordercap.rc.in \
803 image/stock_dialog_error_48.xpm \
804 image/stock_dialog_info_48.xpm \
805 image/stock_dialog_question_48.xpm \
806 image/stock_dialog_stop_48.xpm \
807 image/stock_dialog_warning_48.xpm \
808 image/text2pcap.rc.in \
810 image/toolbar/analyze_24.xpm \
811 image/toolbar/audio_player_24.xpm \
812 image/toolbar/autoscroll_24.xpm \
813 image/toolbar/capture_airpcap_16.xpm \
814 image/toolbar/capture_capture_16.xpm \
815 image/toolbar/capture_details_16.xpm \
816 image/toolbar/capture_details_24.xpm \
817 image/toolbar/capture_ethernet_16.xpm \
818 image/toolbar/capture_filter_24.xpm \
819 image/toolbar/capture_interfaces_16.png \
820 image/toolbar/capture_interfaces_24.png \
821 image/toolbar/capture_options_16.png \
822 image/toolbar/capture_options_24.png \
823 image/toolbar/capture_prepare_16.xpm \
824 image/toolbar/capture_restart_16.png \
825 image/toolbar/capture_restart_24.png \
826 image/toolbar/capture_start_16.png \
827 image/toolbar/capture_start_24.png \
828 image/toolbar/capture_stop_16.png \
829 image/toolbar/capture_stop_24.png \
830 image/toolbar/checkbox_16.xpm \
831 image/toolbar/colorize_24.xpm \
832 image/toolbar/conversations_16.xpm \
833 image/toolbar/decode_24.xpm \
834 image/toolbar/decode_as_16.xpm \
835 image/toolbar/display_filter_24.xpm \
836 image/toolbar/endpoints_16.xpm \
837 image/toolbar/expert_info_16.xpm \
838 image/toolbar/file_set_list_16.xpm \
839 image/toolbar/file_set_next_16.xpm \
840 image/toolbar/file_set_previous_16.xpm \
841 image/toolbar/flow_graph_16.xpm \
842 image/toolbar/gnome_emblem_web_16.png \
843 image/toolbar/gnome_emblem_web_24.png \
844 image/toolbar/graphs_16.xpm \
845 image/toolbar/icon_color_0.xpm \
846 image/toolbar/icon_color_1.xpm \
847 image/toolbar/icon_color_2.xpm \
848 image/toolbar/icon_color_3.xpm \
849 image/toolbar/icon_color_4.xpm \
850 image/toolbar/icon_color_5.xpm \
851 image/toolbar/icon_color_6.xpm \
852 image/toolbar/icon_color_7.xpm \
853 image/toolbar/icon_color_8.xpm \
854 image/toolbar/icon_color_9.xpm \
855 image/toolbar/internet_24.xpm \
856 image/toolbar/modem_16.png \
857 image/toolbar/modem_16.xpm \
858 image/toolbar/network_bluetooth_16.png \
859 image/toolbar/network_usb.svg \
860 image/toolbar/network_usb_16.png \
861 image/toolbar/network_virtual_16.xpm \
862 image/toolbar/network_wired_16.png \
863 image/toolbar/network_wireless_16.png \
864 image/toolbar/pipe_16.png \
865 image/toolbar/remote_arrow_16.png \
866 image/toolbar/remote_globe_16.png \
867 image/toolbar/remote_sat_16.png \
868 image/toolbar/resize_columns_24.xpm \
869 image/toolbar/telephone_16.xpm \
870 image/toolbar/telephony_16.xpm \
871 image/toolbar/time_24.xpm \
872 image/toolbar/toolbar_wireshark_file_16.png \
873 image/toolbar/toolbar_wireshark_file_24.png \
874 image/toolbar/voip_flow_24.xpm \
875 image/toolbar/web_support_24.xpm \
876 image/toolbar/wep_closed_24.xpm \
879 image/voip_select.xpm \
880 image/wireshark.exe.manifest.in \
881 image/wireshark.ico \
882 image/wireshark.rc.in \
883 image/wiresharkdoc.ico \
884 image/wiresharkinst.ico \
885 image/WiresharkDoc-16.png \
886 image/WiresharkDoc-24.png \
887 image/WiresharkDoc-32.png \
888 image/WiresharkDoc-48.png \
889 image/WiresharkDoc-64.png \
890 image/WiresharkDoc-128.png \
891 image/WiresharkDoc-256.png \
892 image/wiretap.rc.in \
899 image/wsicon128.png \
900 image/wsicon256.png \
901 image/wsicon512.png \
902 image/wsicon1024.png \
903 image/wsicon-ask.png \
904 image/wsicon-ask.svg \
905 image/wsiconcap.svg \
906 image/wsiconcap256.png \
907 image/wsiconcap512.png \
908 image/wsiconcap1024.png \
909 image/wsiconinst.svg \
910 image/wsiconinst256.png \
911 image/wslogo-dev.svg \
914 image/wssplash_dev.png \
918 macosx-support-lib-patches/glib-pkgconfig.patch \
919 macosx-support-lib-patches/gnutls-pkgconfig.patch \
920 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
929 $(nobase_profiles_DATA) \
936 text2pcap-scanner.l \
940 wireshark-mime-package.xml \
944 wsutil/CMakeLists.txt \
946 wiretap/CMakeLists.txt \
948 ConfigureChecks.cmake \
949 cmake/modules/CMakeInstallDirs.cmake \
950 cmake/modules/COPYING-CMAKE-SCRIPTS \
951 cmake/modules/CheckCLinkerFlag.cmake \
952 cmake/modules/FeatureSummary.cmake \
953 cmake/modules/FindADNS.cmake \
954 cmake/modules/FindCAP.cmake \
955 cmake/modules/FindCARES.cmake \
956 cmake/modules/FindFOP.cmake \
957 cmake/modules/FindGCRYPT.cmake \
958 cmake/modules/FindGEOIP.cmake \
959 cmake/modules/FindGLIB2.cmake \
960 cmake/modules/FindGMODULE2.cmake \
961 cmake/modules/FindGNUTLS.cmake \
962 cmake/modules/FindGTHREAD2.cmake \
963 cmake/modules/FindGTK2.cmake \
964 cmake/modules/FindGTK3.cmake \
965 cmake/modules/FindHtmlViewer.cmake \
966 cmake/modules/FindKERBEROS.cmake \
967 cmake/modules/FindNL.cmake \
968 cmake/modules/FindLEX.cmake \
969 cmake/modules/FindLUA.cmake \
970 cmake/modules/FindLYNX.cmake \
971 cmake/modules/FindM.cmake \
972 cmake/modules/FindPCAP.cmake \
973 cmake/modules/FindPOD.cmake \
974 cmake/modules/FindPORTAUDIO.cmake \
975 cmake/modules/FindSED.cmake \
976 cmake/modules/FindSH.cmake \
977 cmake/modules/FindSMI.cmake \
978 cmake/modules/FindXMLLINT.cmake \
979 cmake/modules/FindXSLTPROC.cmake \
980 cmake/modules/FindYACC.cmake \
981 cmake/modules/FindYAPP.cmake \
982 cmake/modules/FindZLIB.cmake \
983 cmake/modules/LICENSE.txt \
984 cmake/modules/UseLemon.cmake \
985 cmake/modules/UseMakeDissectorReg.cmake \
986 cmake/modules/UseMakeTapReg.cmake \
987 cmake/modules/readme.txt \
988 ui/win32/Makefile.nmake \
989 ui/win32/console_win32.c \
990 ui/win32/console_win32.h \
991 ui/win32/file_dlg_win32.c \
992 ui/win32/file_dlg_win32.h \
993 ui/win32/print_win32.c \
994 ui/win32/print_win32.h \
995 ui/win32/settings.ini \
1004 if HAVE_DUMPCAP_GROUP
1005 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1008 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
1009 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1012 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1013 -chmod +s $(DESTDIR)$(bindir)/dumpcap
1018 DIST_SUBDIRS = asn1 codecs doc epan echld ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
1021 SDIRS = tools wsutil wiretap epan plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1023 SDIRS = tools wsutil wiretap epan packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1027 SUBDIRS = echld $(SDIRS)
1032 help/faq.txt: $(srcdir)/help/faq.py
1033 $(AM_V_GEN)(cd help ; \
1036 libtool: $(LIBTOOL_DEPS)
1037 $(SHELL) ./config.status --recheck
1040 # Used by patch-bzip2
1041 # Trim off any extra version information and find the previous micro release.
1042 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1043 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1044 PREV_DIR="wireshark-$(PREV_VERSION)"
1045 PREV_FILE="$(PREV_DIR).tar.bz2"
1046 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1048 patch-bzip2: distdir
1049 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1050 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1051 tar -xjf $(PREV_FILE) && \
1052 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1053 echo "Created patch-bzip2" ; \
1054 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1056 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1058 $(am__remove_distdir)
1060 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1061 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1062 # Yes, that violate's autofoo's principle of relocatability.
1063 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1064 # to install this stuff...
1065 install_desktop_files:
1066 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1067 install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1068 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1069 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications wireshark.desktop; \
1071 install -m 644 -T wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1073 for size in 16 24 32 48 64 128 256; \
1075 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1076 install -m 644 image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1077 install -m 644 -T image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1079 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1081 # Used by svr4-package and osx-package
1082 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1083 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
1084 stagedir=$(top_stagedir)/$(PACKAGE).inst
1089 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1090 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1091 rm -rf $(stagedir) ; \
1092 $(MAKE) DESTDIR=$(stagedir) install; \
1093 $(srcdir)/packaging/svr4/mkpkg \
1095 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1099 echo "Error: SVR4 packaging tools not found." ; \
1100 echo "Package build abandoned." ; \
1103 solaris-package: svr4-package
1105 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1107 @if test x$(HAVE_RPM) = xyes ; then \
1108 cd $(rpm_topdir) ; \
1109 mkdir -p BUILD RPMS SOURCES SRPMS; \
1111 ln -sf ../../../$(distdir).tar.bz2 ; \
1113 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" --clean -ba SPECS/wireshark.spec && \
1114 echo "Package successfully built in `pwd`/RPMS." && \
1115 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1117 echo "Error: RPM executable and/or source directory not found." ; \
1121 debian-package: debian/rules
1122 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1123 dpkg-buildpackage -rfakeroot -us -uc ; \
1125 echo "Error: Debian packaging tools not found." ; \
1126 echo "Package build abandoned." ; \
1129 # XXX - This assumes we're building from the source directory.
1130 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1131 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1132 rm -rf $(stagedir) ; \
1133 $(MAKE) DESTDIR=$(stagedir) install; \
1134 cd $(srcdir)/packaging/macosx ; \
1135 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1137 echo "Error: OS X packaging tools not found." ; \
1138 echo "Package build abandoned." ; \
1141 packaging/macosx/COPYING.txt: COPYING
1142 (cd packaging/macosx ; \
1143 $(MAKE) COPYING.txt ;)
1145 osx-package: osx-app packaging/macosx/COPYING.txt
1146 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1147 cd $(srcdir)/packaging/macosx ; \
1148 chmod +x ./osx-dmg.sh ; \
1152 osx-install: osx-app
1153 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1154 echo "Copying Wireshark.app to /Applications" ; \
1155 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1159 rm -rf $(top_stagedir)
1162 $(MAKE) -C wiretap dumpabi-libwiretap
1163 $(MAKE) -C epan dumpabi-libwireshark
1164 $(MAKE) -C wsutil dumpabi-libwsutil
1167 $(PERL) tools/checkAPIs.pl -build \
1169 $(wireshark_SOURCES)
1170 # $(EXTRA_wireshark_SOURCES)
1172 checkapi: checkapi_local
1173 cd wiretap && $(MAKE) checkapi
1174 cd codecs && $(MAKE) checkapi
1175 cd ui && $(MAKE) checkapi
1176 cd ui/gtk && $(MAKE) checkapi
1177 ## cd epan && $(MAKE) checkapi
1178 ## cd epan/crypt && $(MAKE) checkapi
1179 cd epan/dfilter && $(MAKE) checkapi
1180 ## cd epan/ftypes && $(MAKE) checkapi
1181 ## cd epan/wslua && $(MAKE) checkapi
1182 cd epan/dissectors && $(MAKE) checkapi
1183 cd plugins && $(MAKE) checkapi
1184 cd wsutil && $(MAKE) checkapi
1186 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1189 cd epan && $(MAKE) $@
1191 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1197 zip -rq wsar_html.zip wsar_html