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
51 EXTRA_PROGRAMS = wireshark wireshark-qt tshark capinfos editcap mergecap \
52 dftest randpkt text2pcap dumpcap reordercap rawshark wireshark_cxx \
56 # Wireshark configuration files are put in $(pkgdatadir).
58 dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
59 smi_modules ipmap.html pdml2html.xsl
62 # Install global profiles in the "profiles" subdirectory
64 profilesdir = $(pkgdatadir)
65 nobase_dist_profiles_DATA = \
66 profiles/Bluetooth/colorfilters \
67 profiles/Classic/colorfilters
70 # Install the Diameter DTD and XML files in the "diameter" subdirectory
73 diameterdir = $(pkgdatadir)/diameter
74 dist_diameter_DATA = \
75 diameter/chargecontrol.xml \
76 diameter/ChinaTelecom.xml \
79 diameter/dictionary.dtd \
80 diameter/dictionary.xml \
82 diameter/Ericsson.xml \
83 diameter/etsie2e4.xml \
84 diameter/gqpolicy.xml \
85 diameter/imscxdx.xml \
86 diameter/mobileipv4.xml \
87 diameter/mobileipv6.xml \
90 diameter/sunping.xml \
91 diameter/TGPPGmb.xml \
95 diameter/Vodafone.xml \
96 diameter/AlcatelLucent.xml \
98 diameter/NokiaSiemensNetworks.xml \
100 diameter/VerizonWireless.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 dist_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
287 dist_wimaxasncp_DATA = \
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 = \
318 WTAP_PLUGIN_SOURCES =
322 include Makefile.common
326 wireshark_LDFLAGS = -Wl,-static -all-static
329 wireshark_qt_LDFLAGS = -Wl,-static -all-static
333 wireshark_LDFLAGS = -export-dynamic
336 wireshark_qt_LDFLAGS = -export-dynamic
340 # Libraries and plugin flags with which to link wireshark.
342 # Note that Wireshark, when built with a version of GTK+ that runs
343 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
344 # as those should also be included in @GTK_LIBS@ (as those are also
345 # needed for X applications, and GTK+ applications are X applications
346 # if the version of GTK+ they're built with runs atop X11).
348 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
349 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
350 # Gentoo bug 423743 at
352 # https://bugs.gentoo.org/show_bug.cgi?id=423743
354 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
355 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
356 # It is not actually a superset: gmodule is included in GLIB_LIBS but
357 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
359 # although it's also possible that -lgmodule is in GTK_LIBS but not
360 # GLIB_LIBS (that's the case on my machine right now, for example).
366 wiretap/libwiretap.la \
367 epan/libwireshark.la \
368 wsutil/libwsutil.la \
375 @APPLICATIONSERVICES_FRAMEWORKS@ \
376 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
377 @COREFOUNDATION_FRAMEWORKS@ \
387 wireshark_qt_SOURCES = $(WIRESHARK_COMMON_SRC)
388 wireshark_qt_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
389 wireshark_qt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
390 wireshark_qt_LDADD = ui/qt/libqtui.a $(wireshark_ldadd) @Qt_LIBS@
392 # XXX - this makes wireshark_qt_LDFLAGS not work; we should figure out
393 # another way to get wireshark-qt linked as a C++ program, perhaps by
394 # having a top-level wireshark-qt.cpp file that contains main() and
395 # hthat calls the UI code from ui/qt.
397 wireshark_qt_LINK = $(CXXLINK)
401 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC)
402 wireshark_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
403 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
404 wireshark_LDADD = ui/gtk/libgtkui.a $(wireshark_ldadd) @GTK_LIBS@
407 # Ideally we could trigger automatic c++ linking here with
408 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
409 # Unfortunately that check is done by automake and not configure.
410 # We do the following to try to avoid using c++ to link Wireshark at
412 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
413 wireshark_cxx_SOURCES =
416 tshark_LDFLAGS = -Wl,-static -all-static
418 tshark_LDFLAGS = -export-dynamic
421 # Libraries and plugin flags with which to link tshark.
425 wiretap/libwiretap.la \
426 epan/libwireshark.la \
427 wsutil/libwsutil.la \
437 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
438 @COREFOUNDATION_FRAMEWORKS@ \
443 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
446 rawshark_LDFLAGS = -Wl,-static -all-static
448 rawshark_LDFLAGS = -export-dynamic
451 # Libraries and plugin flags with which to link rawshark.
454 wiretap/libwiretap.la \
455 epan/libwireshark.la \
456 wsutil/libwsutil.la \
466 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
467 @COREFOUNDATION_FRAMEWORKS@ \
472 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
474 # Libraries with which to link text2pcap.
476 wsutil/libwsutil.la \
478 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
479 # which is generated (and therefore not always clean).
480 # We could generate text2pcap.o as a library with -Werror but for now it
481 # doesn't seem worth the effort.
482 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
484 # Libraries with which to link mergecap.
486 wiretap/libwiretap.la \
487 wsutil/libwsutil.la \
489 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
491 # Libraries with which to link capinfos.
493 wiretap/libwiretap.la \
494 wsutil/libwsutil.la \
497 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
499 # Libraries with which to link editcap.
501 wiretap/libwiretap.la \
502 wsutil/libwsutil.la \
504 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
506 # Libraries with which to link reordercap.
508 wiretap/libwiretap.la \
509 wsutil/libwsutil.la \
511 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
513 # Libraries with which to link randpkt.
515 wiretap/libwiretap.la \
516 wsutil/libwsutil.la \
523 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
525 # Libraries and plugin flags with which to link dftest.
528 wiretap/libwiretap.la \
529 wsutil/libwsutil.la \
530 epan/libwireshark.la \
544 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
547 epan/libwireshark.la \
549 wsutil/libwsutil.la \
557 echld_test_DEPENDENCIES = \
561 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
564 # Libraries with which to link dumpcap.
566 wsutil/libwsutil.la \
571 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
572 @COREFOUNDATION_FRAMEWORKS@ \
574 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
575 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
578 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
579 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS) \
583 # Build the version string
585 # FORCE is the portable version of .PHONY
588 AM_V_PERL = $(am__v_PERL_@AM_V@)
589 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
590 am__v_PERL_0 = @echo " PERL " $@;
594 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
597 # Build shell scripts by doing variable substitution.
598 # Taken from autoconf 2.13.
600 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
605 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
608 $(PYTHON) $(srcdir)/tools/make-services.py
616 # We have to remove svnversion.h with "make distclean", as, otherwise,
617 # "make distcheck" fails. We still need to make the tarballs work
618 # even if you do "make distclean" and try to rebuild; that's a work in
621 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
622 # list of files removed by "make distclean"? (It's deliberately
623 # included in that list.)
629 MAINTAINERCLEANFILES = \
658 abi-descriptor.template \
659 aclocal-fallback/libsmi.m4 \
660 aclocal-fallback/libgcrypt.m4 \
661 aclocal-fallback/glib-2.0.m4 \
662 aclocal-fallback/gtk-2.0.m4 \
663 aclocal-fallback/gtk-3.0.m4 \
669 capture_win_ifnames.c \
670 capture_win_ifnames.h \
673 capture_wpcap_packet.c \
674 capture_wpcap_packet.h \
684 debian/headers-check.c \
685 debian/patches/00list \
690 debian/README.source \
691 debian/tshark.files \
692 debian/tshark.manpages \
694 debian/wireshark-common.files \
695 debian/wireshark-common.manpages \
696 debian/wireshark-common.shlibs \
697 debian/wireshark-dev.docs \
698 debian/wireshark-dev.files \
699 debian/wireshark-dev.header-files \
700 debian/wireshark-dev.manpages \
701 debian/wireshark-dev.prerm \
702 debian/wireshark-root.desktop \
703 debian/wireshark.desktop \
704 debian/wireshark.files \
705 debian/wireshark.manpages \
706 debian/wireshark.menu \
724 idl/coseventcomm.idl \
728 idl/parlay/cccs.idl \
730 idl/parlay/common_cc_data.idl \
733 idl/parlay/fw_data.idl \
734 idl/parlay/fw_if.idl \
735 idl/parlay/fw_if_access.idl \
736 idl/parlay/fw_if_app.idl \
737 idl/parlay/fw_if_entop.idl \
738 idl/parlay/fw_if_service.idl \
739 idl/parlay/gcc_data.idl \
740 idl/parlay/gcc_interfaces.idl \
743 idl/parlay/mmccs.idl \
745 idl/parlay/mpcc_data.idl \
746 idl/parlay/mpcc_interfaces.idl \
748 idl/parlay/pam_data.idl \
749 idl/parlay/pam_interfaces.idl \
750 idl/parlay/Parlay.idl \
751 idl/parlay/policy_data.idl \
752 idl/parlay/policy_interfaces.idl \
753 idl/parlay/README.parlay \
754 idl/parlay/termcap.idl \
755 idl/parlay/ui_data.idl \
756 idl/parlay/ui_interfaces.idl \
757 image/capinfos.rc.in \
758 image/capture_comment.svg \
759 image/capture_comment_add.png \
760 image/capture_comment_disabled.png \
761 image/capture_comment_update.png \
762 image/capture_start_24.png \
763 image/capture_start_active_24.png \
764 image/capture_stop_24.png \
765 image/clist_ascend.xpm \
766 image/clist_descend.xpm \
768 image/dfilter_apply_disabled.png \
769 image/dfilter_apply_hover.png \
770 image/dfilter_apply_normal.png \
771 image/dfilter_apply_pressed.png \
772 image/dfilter_bookmark_disabled.png \
773 image/dfilter_bookmark_hover.png \
774 image/dfilter_bookmark_normal.png \
775 image/dfilter_bookmark_pressed.png \
776 image/dfilter_dropdown.png \
777 image/dfilter_erase_active.png \
778 image/dfilter_erase_normal.png \
779 image/dfilter_erase_selected.png \
780 image/dfilter_refresh_active.png \
781 image/dfilter_refresh_normal.png \
782 image/display_filter.qrc \
783 image/dumpcap.rc.in \
784 image/editcap.rc.in \
785 image/expert_chat.png \
786 image/expert_error.png \
787 image/expert_indicators.svg \
788 image/expert_none.png \
789 image/expert_note.png \
790 image/expert_warn.png \
791 image/file_dlg_win32.rc \
792 image/hi16-app-wireshark.png \
793 image/hi32-app-wireshark.png \
794 image/hi48-app-wireshark.png \
801 image/libwireshark.rc.in \
802 image/libwsutil.rc.in \
803 image/lo16-app-wireshark.png \
804 image/lo32-app-wireshark.png \
805 image/lo48-app-wireshark.png \
806 image/Makefile.nmake \
807 image/mergecap.rc.in \
809 image/nsis-checked.bmp \
810 image/nsis-unchecked.bmp \
812 image/rawshark.rc.in \
814 image/reordercap.rc.in \
816 image/stock_dialog_error_48.xpm \
817 image/stock_dialog_info_48.xpm \
818 image/stock_dialog_question_48.xpm \
819 image/stock_dialog_stop_48.xpm \
820 image/stock_dialog_warning_48.xpm \
821 image/text2pcap.rc.in \
823 image/toolbar/analyze_24.xpm \
824 image/toolbar/audio_player_24.xpm \
825 image/toolbar/autoscroll_24.xpm \
826 image/toolbar/capture_airpcap_16.xpm \
827 image/toolbar/capture_capture_16.xpm \
828 image/toolbar/capture_details_16.xpm \
829 image/toolbar/capture_details_24.xpm \
830 image/toolbar/capture_ethernet_16.xpm \
831 image/toolbar/capture_filter_24.xpm \
832 image/toolbar/capture_interfaces_16.png \
833 image/toolbar/capture_interfaces_24.png \
834 image/toolbar/capture_options_16.png \
835 image/toolbar/capture_options_24.png \
836 image/toolbar/capture_prepare_16.xpm \
837 image/toolbar/capture_restart_16.png \
838 image/toolbar/capture_restart_24.png \
839 image/toolbar/capture_start_16.png \
840 image/toolbar/capture_start_24.png \
841 image/toolbar/capture_stop_16.png \
842 image/toolbar/capture_stop_24.png \
843 image/toolbar/checkbox_16.xpm \
844 image/toolbar/colorize_24.xpm \
845 image/toolbar/conversations_16.xpm \
846 image/toolbar/decode_24.xpm \
847 image/toolbar/decode_as_16.xpm \
848 image/toolbar/display_filter_24.xpm \
849 image/toolbar/endpoints_16.xpm \
850 image/toolbar/expert_info_16.xpm \
851 image/toolbar/file_set_list_16.xpm \
852 image/toolbar/file_set_next_16.xpm \
853 image/toolbar/file_set_previous_16.xpm \
854 image/toolbar/flow_graph_16.xpm \
855 image/toolbar/gnome_emblem_web_16.png \
856 image/toolbar/gnome_emblem_web_24.png \
857 image/toolbar/graphs_16.xpm \
858 image/toolbar/icon_color_0.xpm \
859 image/toolbar/icon_color_1.xpm \
860 image/toolbar/icon_color_2.xpm \
861 image/toolbar/icon_color_3.xpm \
862 image/toolbar/icon_color_4.xpm \
863 image/toolbar/icon_color_5.xpm \
864 image/toolbar/icon_color_6.xpm \
865 image/toolbar/icon_color_7.xpm \
866 image/toolbar/icon_color_8.xpm \
867 image/toolbar/icon_color_9.xpm \
868 image/toolbar/internet_24.xpm \
869 image/toolbar/modem_16.png \
870 image/toolbar/modem_16.xpm \
871 image/toolbar/network_bluetooth_16.png \
872 image/toolbar/network_usb.svg \
873 image/toolbar/network_usb_16.png \
874 image/toolbar/network_virtual_16.xpm \
875 image/toolbar/network_wired_16.png \
876 image/toolbar/network_wireless_16.png \
877 image/toolbar/pipe_16.png \
878 image/toolbar/remote_arrow_16.png \
879 image/toolbar/remote_globe_16.png \
880 image/toolbar/remote_sat_16.png \
881 image/toolbar/resize_columns_24.xpm \
882 image/toolbar/telephone_16.xpm \
883 image/toolbar/telephony_16.xpm \
884 image/toolbar/time_24.xpm \
885 image/toolbar/toolbar_wireshark_file_16.png \
886 image/toolbar/toolbar_wireshark_file_24.png \
887 image/toolbar/voip_flow_24.xpm \
888 image/toolbar/web_support_24.xpm \
889 image/toolbar/wep_closed_24.xpm \
892 image/voip_select.xpm \
893 image/wireshark.exe.manifest.in \
894 image/wireshark.ico \
895 image/wireshark.rc.in \
896 image/wiresharkdoc.ico \
897 image/wiresharkinst.ico \
898 image/WiresharkDoc-16.png \
899 image/WiresharkDoc-24.png \
900 image/WiresharkDoc-32.png \
901 image/WiresharkDoc-48.png \
902 image/WiresharkDoc-64.png \
903 image/WiresharkDoc-128.png \
904 image/WiresharkDoc-256.png \
905 image/wiretap.rc.in \
912 image/wsicon128.png \
913 image/wsicon256.png \
914 image/wsicon512.png \
915 image/wsicon1024.png \
916 image/wsicon-ask.png \
917 image/wsicon-ask.svg \
918 image/wsiconcap.svg \
919 image/wsiconcap256.png \
920 image/wsiconcap512.png \
921 image/wsiconcap1024.png \
922 image/wsiconinst.svg \
923 image/wsiconinst256.png \
924 image/wslogo-dev.svg \
927 image/wssplash_dev.png \
931 macosx-support-lib-patches/glib-gconvert.c.patch \
932 macosx-support-lib-patches/glib-pkgconfig.patch \
933 macosx-support-lib-patches/gnutls-pkgconfig.patch \
934 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
935 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
943 text2pcap-scanner.l \
947 wireshark-mime-package.xml \
951 wsutil/CMakeLists.txt \
953 wiretap/CMakeLists.txt \
955 ConfigureChecks.cmake \
956 cmake/modules/CMakeInstallDirs.cmake \
957 cmake/modules/COPYING-CMAKE-SCRIPTS \
958 cmake/modules/CheckCLinkerFlag.cmake \
959 cmake/modules/FeatureSummary.cmake \
960 cmake/modules/FindADNS.cmake \
961 cmake/modules/FindCAP.cmake \
962 cmake/modules/FindCARES.cmake \
963 cmake/modules/FindFOP.cmake \
964 cmake/modules/FindGCRYPT.cmake \
965 cmake/modules/FindGEOIP.cmake \
966 cmake/modules/FindGLIB2.cmake \
967 cmake/modules/FindGMODULE2.cmake \
968 cmake/modules/FindGNUTLS.cmake \
969 cmake/modules/FindGTHREAD2.cmake \
970 cmake/modules/FindGTK2.cmake \
971 cmake/modules/FindGTK3.cmake \
972 cmake/modules/FindHtmlViewer.cmake \
973 cmake/modules/FindKERBEROS.cmake \
974 cmake/modules/FindNL.cmake \
975 cmake/modules/FindLEX.cmake \
976 cmake/modules/FindLUA.cmake \
977 cmake/modules/FindLYNX.cmake \
978 cmake/modules/FindM.cmake \
979 cmake/modules/FindPCAP.cmake \
980 cmake/modules/FindPOD.cmake \
981 cmake/modules/FindPORTAUDIO.cmake \
982 cmake/modules/FindSED.cmake \
983 cmake/modules/FindSH.cmake \
984 cmake/modules/FindSMI.cmake \
985 cmake/modules/FindXMLLINT.cmake \
986 cmake/modules/FindXSLTPROC.cmake \
987 cmake/modules/FindYACC.cmake \
988 cmake/modules/FindYAPP.cmake \
989 cmake/modules/FindZLIB.cmake \
990 cmake/modules/LICENSE.txt \
991 cmake/modules/UseLemon.cmake \
992 cmake/modules/UseMakeDissectorReg.cmake \
993 cmake/modules/UseMakeTapReg.cmake \
994 cmake/modules/readme.txt \
995 ui/win32/Makefile.nmake \
996 ui/win32/console_win32.c \
997 ui/win32/console_win32.h \
998 ui/win32/file_dlg_win32.c \
999 ui/win32/file_dlg_win32.h \
1000 ui/win32/print_win32.c \
1001 ui/win32/print_win32.h \
1002 ui/win32/settings.ini \
1011 if HAVE_DUMPCAP_GROUP
1012 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1015 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
1016 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1019 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1020 -chmod +s $(DESTDIR)$(bindir)/dumpcap
1025 DIST_SUBDIRS = asn1 codecs doc epan echld ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
1028 SUBDIRS = tools wsutil wiretap epan @echld_dir@ plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1030 SUBDIRS = tools wsutil wiretap epan @echld_dir@ packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1033 help/faq.txt: $(srcdir)/help/faq.py
1034 $(AM_V_GEN)(cd help ; \
1037 libtool: $(LIBTOOL_DEPS)
1038 $(SHELL) ./config.status --recheck
1041 # Used by patch-bzip2
1042 # Trim off any extra version information and find the previous micro release.
1043 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1044 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1045 PREV_DIR="wireshark-$(PREV_VERSION)"
1046 PREV_FILE="$(PREV_DIR).tar.bz2"
1047 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1049 patch-bzip2: distdir
1050 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1051 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1052 tar -xjf $(PREV_FILE) && \
1053 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1054 echo "Created patch-bzip2" ; \
1055 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1057 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1059 $(am__remove_distdir)
1061 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1062 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1063 # Yes, that violate's autofoo's principle of relocatability.
1064 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1065 # to install this stuff...
1066 install_desktop_files:
1067 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1068 install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1069 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1070 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications wireshark.desktop; \
1072 install -m 644 -T wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1074 for size in 16 24 32 48 64 128 256; \
1076 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1077 install -m 644 image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1078 install -m 644 -T image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1080 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1082 # Used by svr4-package and osx-package
1083 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1084 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
1085 stagedir=$(top_stagedir)/$(PACKAGE).inst
1090 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1091 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1092 rm -rf $(stagedir) ; \
1093 $(MAKE) DESTDIR=$(stagedir) install; \
1094 $(srcdir)/packaging/svr4/mkpkg \
1096 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1100 echo "Error: SVR4 packaging tools not found." ; \
1101 echo "Package build abandoned." ; \
1104 solaris-package: svr4-package
1106 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1108 @if test x$(HAVE_RPM) = xyes ; then \
1109 cd $(rpm_topdir) ; \
1110 mkdir -p BUILD RPMS SOURCES SRPMS; \
1112 ln -sf ../../../$(distdir).tar.bz2 ; \
1114 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" --clean -ba SPECS/wireshark.spec && \
1115 echo "Package successfully built in `pwd`/RPMS." && \
1116 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1118 echo "Error: RPM executable and/or source directory not found." ; \
1122 debian-package: debian/rules
1123 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1124 dpkg-buildpackage -rfakeroot -us -uc ; \
1126 echo "Error: Debian packaging tools not found." ; \
1127 echo "Package build abandoned." ; \
1130 # XXX - This assumes we're building from the source directory.
1131 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1132 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1133 rm -rf $(stagedir) ; \
1134 $(MAKE) DESTDIR=$(stagedir) install; \
1135 cd $(srcdir)/packaging/macosx ; \
1136 ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1138 echo "Error: OS X packaging tools not found." ; \
1139 echo "Package build abandoned." ; \
1142 packaging/macosx/COPYING.txt: COPYING
1143 (cd packaging/macosx ; \
1144 $(MAKE) COPYING.txt ;)
1146 osx-package: osx-app packaging/macosx/COPYING.txt
1147 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1148 cd $(srcdir)/packaging/macosx ; \
1149 chmod +x ./osx-dmg.sh ; \
1153 osx-install: osx-app
1154 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1155 echo "Copying Wireshark.app to /Applications" ; \
1156 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1160 rm -rf $(top_stagedir)
1163 $(MAKE) -C wiretap dumpabi-libwiretap
1164 $(MAKE) -C epan dumpabi-libwireshark
1165 $(MAKE) -C wsutil dumpabi-libwsutil
1168 $(PERL) tools/checkAPIs.pl -build \
1170 $(wireshark_SOURCES)
1171 # $(EXTRA_wireshark_SOURCES)
1173 checkapi: checkapi_local
1174 cd wiretap && $(MAKE) checkapi
1175 cd codecs && $(MAKE) checkapi
1176 cd ui && $(MAKE) checkapi
1177 cd ui/gtk && $(MAKE) checkapi
1178 ## cd epan && $(MAKE) checkapi
1179 ## cd epan/crypt && $(MAKE) checkapi
1180 cd epan/dfilter && $(MAKE) checkapi
1181 ## cd epan/ftypes && $(MAKE) checkapi
1182 ## cd epan/wslua && $(MAKE) checkapi
1183 cd epan/dissectors && $(MAKE) checkapi
1184 cd plugins && $(MAKE) checkapi
1185 cd wsutil && $(MAKE) checkapi
1187 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1190 cd epan && $(MAKE) $@
1192 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1198 zip -rq wsar_html.zip wsar_html