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`
26 INCLUDES= @LUA_INCLUDES@
29 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
31 py_dissectors_dir = -DPYTHON_DIR=
35 if HAVE_WARNINGS_AS_ERRORS
36 AM_CLEAN_CFLAGS = -Werror
52 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
53 randpkt text2pcap dumpcap reordercap rawshark \
54 wireshark_c wireshark_cxx
57 # Wireshark configuration files are put in $(pkgdatadir).
59 pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
60 smi_modules ipmap.html pdml2html.xsl
63 # Install the Diameter DTD and XML files in the "diameter" subdirectory
66 diameterdir = $(pkgdatadir)/diameter
68 diameter/chargecontrol.xml \
70 diameter/dictionary.dtd \
71 diameter/dictionary.xml \
73 diameter/Ericsson.xml \
74 diameter/etsie2e4.xml \
75 diameter/gqpolicy.xml \
76 diameter/imscxdx.xml \
77 diameter/mobileipv4.xml \
78 diameter/mobileipv6.xml \
81 diameter/sunping.xml \
82 diameter/TGPPGmb.xml \
86 diameter/Vodafone.xml \
87 diameter/AlcatelLucent.xml \
89 diameter/NokiaSiemensNetworks.xml
92 # Install the DTDs directory files in the "dtds" subdirectory
95 dtdsdir = $(pkgdatadir)/dtds
100 dtds/pocsettings.dtd \
107 dtds/xcap-error.dtd \
111 # Install the RADIUS directory files in the "radius" subdirectory
114 radiusdir = $(pkgdatadir)/radius
116 radius/README.radius_dictionary \
118 radius/dictionary.3com \
119 radius/dictionary.3gpp \
120 radius/dictionary.3gpp2 \
121 radius/dictionary.acc \
122 radius/dictionary.acme \
123 radius/dictionary.airespace \
124 radius/dictionary.alcatel \
125 radius/dictionary.alcatel.esam \
126 radius/dictionary.alcatel.sr \
127 radius/dictionary.alcatel-lucent.xylan \
128 radius/dictionary.alteon \
129 radius/dictionary.altiga \
130 radius/dictionary.alvarion \
131 radius/dictionary.apc \
132 radius/dictionary.aptis \
133 radius/dictionary.aruba \
134 radius/dictionary.ascend \
135 radius/dictionary.asn \
136 radius/dictionary.audiocodes \
137 radius/dictionary.avaya \
138 radius/dictionary.azaire \
139 radius/dictionary.bay \
140 radius/dictionary.bintec \
141 radius/dictionary.bristol \
142 radius/dictionary.cablelabs \
143 radius/dictionary.cabletron \
144 radius/dictionary.chillispot \
145 radius/dictionary.cisco \
146 radius/dictionary.cisco.bbsm \
147 radius/dictionary.cisco.vpn3000 \
148 radius/dictionary.cisco.vpn5000 \
149 radius/dictionary.clavister \
150 radius/dictionary.colubris \
151 radius/dictionary.columbia_university \
152 radius/dictionary.compat \
153 radius/dictionary.cosine \
154 radius/dictionary.dhcp \
155 radius/dictionary.digium \
156 radius/dictionary.eltex \
157 radius/dictionary.epygi \
158 radius/dictionary.ericsson \
159 radius/dictionary.erx \
160 radius/dictionary.extreme \
161 radius/dictionary.fortinet \
162 radius/dictionary.foundry \
163 radius/dictionary.freeradius \
164 radius/dictionary.freeradius.internal \
165 radius/dictionary.freeswitch \
166 radius/dictionary.gandalf \
167 radius/dictionary.garderos \
168 radius/dictionary.gemtek \
169 radius/dictionary.h3c \
170 radius/dictionary.hp \
171 radius/dictionary.huawei \
172 radius/dictionary.iea \
173 radius/dictionary.infonet \
174 radius/dictionary.ipunplugged \
175 radius/dictionary.issanni \
176 radius/dictionary.itk \
177 radius/dictionary.jradius \
178 radius/dictionary.juniper \
179 radius/dictionary.karlnet \
180 radius/dictionary.lancom \
181 radius/dictionary.livingston \
182 radius/dictionary.localweb \
183 radius/dictionary.lucent \
184 radius/dictionary.manzara \
185 radius/dictionary.merit \
186 radius/dictionary.microsoft \
187 radius/dictionary.mikrotik \
188 radius/dictionary.motorola \
189 radius/dictionary.motorola.wimax \
190 radius/dictionary.navini \
191 radius/dictionary.netscreen \
192 radius/dictionary.networkphysics \
193 radius/dictionary.nexans \
194 radius/dictionary.nokia \
195 radius/dictionary.nokia.conflict \
196 radius/dictionary.nomadix \
197 radius/dictionary.nortel \
198 radius/dictionary.ntua \
199 radius/dictionary.openser \
200 radius/dictionary.packeteer \
201 radius/dictionary.patton \
202 radius/dictionary.propel \
203 radius/dictionary.prosoft \
204 radius/dictionary.quiconnect \
205 radius/dictionary.quintum \
206 radius/dictionary.redback \
207 radius/dictionary.redcreek \
208 radius/dictionary.rfc2865 \
209 radius/dictionary.rfc2866 \
210 radius/dictionary.rfc2867 \
211 radius/dictionary.rfc2868 \
212 radius/dictionary.rfc2869 \
213 radius/dictionary.rfc3162 \
214 radius/dictionary.rfc3576 \
215 radius/dictionary.rfc3580 \
216 radius/dictionary.rfc4072 \
217 radius/dictionary.rfc4372 \
218 radius/dictionary.rfc4603 \
219 radius/dictionary.rfc4675 \
220 radius/dictionary.rfc4679 \
221 radius/dictionary.rfc4818 \
222 radius/dictionary.rfc4849 \
223 radius/dictionary.rfc5090 \
224 radius/dictionary.rfc5176 \
225 radius/dictionary.rfc5447 \
226 radius/dictionary.rfc5580 \
227 radius/dictionary.rfc5607 \
228 radius/dictionary.rfc5904 \
229 radius/dictionary.rfc6519 \
230 radius/dictionary.rfc6572 \
231 radius/dictionary.riverstone \
232 radius/dictionary.roaringpenguin \
233 radius/dictionary.shasta \
234 radius/dictionary.shiva \
235 radius/dictionary.slipstream \
236 radius/dictionary.sofaware \
237 radius/dictionary.sonicwall \
238 radius/dictionary.springtide \
239 radius/dictionary.starent \
240 radius/dictionary.t_systems_nova \
241 radius/dictionary.telebit \
242 radius/dictionary.telkom \
243 radius/dictionary.trapeze \
244 radius/dictionary.tropos \
245 radius/dictionary.ukerna \
246 radius/dictionary.unix \
247 radius/dictionary.usr \
248 radius/dictionary.utstarcom \
249 radius/dictionary.valemount \
250 radius/dictionary.versanet \
251 radius/dictionary.vqp \
252 radius/dictionary.walabi \
253 radius/dictionary.waverider \
254 radius/dictionary.wichorus \
255 radius/dictionary.wimax \
256 radius/dictionary.wimax.wichorus \
257 radius/dictionary.wispr \
258 radius/dictionary.xedia \
259 radius/dictionary.zyxel
262 # Install the tpncp directory files in the "tpncp" subdirectory
265 tpncpdir = $(pkgdatadir)/tpncp
270 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
273 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
275 wimaxasncp/dictionary.xml \
276 wimaxasncp/dictionary.dtd
279 capture-pcap-util-unix.c \
280 capture_unix_ifnames.c
283 -include plugins/Custom.make
284 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
285 -dlopen plugins/asn1/asn1.la \
286 -dlopen plugins/docsis/docsis.la \
287 -dlopen plugins/ethercat/ethercat.la \
288 -dlopen plugins/gryphon/gryphon.la \
289 -dlopen plugins/irda/irda.la \
290 -dlopen plugins/m2m/m2m.la \
291 -dlopen plugins/mate/mate.la \
292 -dlopen plugins/opcua/opcua.la \
293 -dlopen plugins/profinet/profinet.la \
294 -dlopen plugins/stats_tree/stats_tree.la \
295 -dlopen plugins/unistim/unistim.la \
296 -dlopen plugins/wimax/wimax.la \
297 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
299 WTAP_PLUGIN_SOURCES = \
307 WTAP_PLUGIN_SOURCES =
311 include Makefile.common
314 wireshark_LDFLAGS = -Wl,-static -all-static
316 wireshark_LDFLAGS = -export-dynamic
319 # Libraries and plugin flags with which to link wireshark.
321 # Note that Wireshark, when built with a version of GTK+ that runs
322 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
323 # as those should also be included in @GTK_LIBS@ (as those are also
324 # needed for X applications, and GTK+ applications are X applications
325 # if the version of GTK+ they're built with runs atop X11).
327 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
328 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
329 # Gentoo bug 423743 at
331 # https://bugs.gentoo.org/show_bug.cgi?id=423743
333 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
334 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
335 # It is not actually a superset: gmodule is included in GLIB_LIBS but
336 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
338 # although it's also possible that -lgmodule is in GTK_LIBS but not
339 # GLIB_LIBS (that's the case on my machine right now, for example).
346 wiretap/libwiretap.la \
347 epan/libwireshark.la \
348 wsutil/libwsutil.la \
355 @APPLICATIONSERVICES_FRAMEWORKS@ \
356 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
357 @COREFOUNDATION_FRAMEWORKS@ \
368 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
370 # Ideally we could trigger automatic c++ linking here with
371 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
372 # Unfortunately that check is done by automake and not configure.
373 # We do the following to try to avoid c++ linking for Wireshark at
375 nodist_EXTRA_wireshark_c_SOURCES = dummy.c
376 wireshark_c_SOURCES =
377 wireshark_c_CFLAGS = $(wireshark_CFLAGS)
378 wireshark_c_LDFLAGS = $(wireshark_LDFLAGS)
380 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
381 wireshark_cxx_SOURCES =
382 wireshark_cxx_CFLAGS = $(wireshark_CFLAGS)
383 wireshark_cxx_LDFLAGS = $(wireshark_LDFLAGS)
385 if HAVE_WIRESHARK_CXX
386 wireshark_LINK = $(wireshark_cxx_LINK)
388 wireshark_LINK = $(wireshark_c_LINK)
392 tshark_LDFLAGS = -Wl,-static -all-static
394 tshark_LDFLAGS = -export-dynamic
397 # Libraries and plugin flags with which to link tshark.
401 wiretap/libwiretap.la \
402 epan/libwireshark.la \
403 wsutil/libwsutil.la \
413 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
414 @COREFOUNDATION_FRAMEWORKS@ \
419 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
422 rawshark_LDFLAGS = -Wl,-static -all-static
424 rawshark_LDFLAGS = -export-dynamic
427 # Libraries and plugin flags with which to link rawshark.
430 wiretap/libwiretap.la \
431 epan/libwireshark.la \
432 wsutil/libwsutil.la \
442 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
443 @COREFOUNDATION_FRAMEWORKS@ \
448 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
450 # Libraries with which to link text2pcap.
452 wsutil/libwsutil.la \
454 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
455 # which is generated (and therefore not always clean).
456 # We could generate text2pcap.o as a library with -Werror but for now it
457 # doesn't seem worth the effort.
458 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
460 # Libraries with which to link mergecap.
462 wiretap/libwiretap.la \
463 wsutil/libwsutil.la \
465 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
467 # Libraries with which to link capinfos.
469 wiretap/libwiretap.la \
470 wsutil/libwsutil.la \
473 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
475 # Libraries with which to link editcap.
477 wiretap/libwiretap.la \
478 wsutil/libwsutil.la \
480 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
482 # Libraries with which to link reordercap.
484 wiretap/libwiretap.la \
485 wsutil/libwsutil.la \
487 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
489 # Libraries with which to link randpkt.
491 wiretap/libwiretap.la \
492 wsutil/libwsutil.la \
499 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
501 # Libraries and plugin flags with which to link dftest.
504 wiretap/libwiretap.la \
505 wsutil/libwsutil.la \
506 epan/libwireshark.la \
520 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
522 # Libraries with which to link dumpcap.
524 wsutil/libwsutil.la \
529 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
530 @COREFOUNDATION_FRAMEWORKS@ \
532 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
533 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
536 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
537 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
540 # Build the version string
542 # FORCE is the portable version of .PHONY
546 $(PERL) $(srcdir)/make-version.pl $(srcdir)
549 # Build shell scripts by doing variable substitution.
550 # Taken from autoconf 2.13.
552 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
557 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
559 ps.c: print.ps $(srcdir)/tools/rdps.py
560 $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
563 $(PERL) $(srcdir)/tools/make-services.pl
570 # We have to remove svnversion.h with "make distclean", as, otherwise,
571 # "make distcheck" fails. We still need to make the tarballs work
572 # even if you do "make distclean" and try to rebuild; that's a work in
575 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
576 # list of files removed by "make distclean"? (It's deliberately
577 # included in that list.)
583 MAINTAINERCLEANFILES = \
612 abi-descriptor.template \
613 aclocal-fallback/glib-2.0.m4 \
614 aclocal-fallback/gtk-2.0.m4 \
620 capture_win_ifnames.c \
621 capture_win_ifnames.h \
624 capture_wpcap_packet.c \
625 capture_wpcap_packet.h \
635 debian/headers-check.c \
636 debian/patches/00list \
637 debian/patches/03_preferences.dpatch \
642 debian/README.source \
643 debian/tshark.files \
644 debian/tshark.manpages \
646 debian/wireshark-common.files \
647 debian/wireshark-common.manpages \
648 debian/wireshark-common.shlibs \
649 debian/wireshark-dev.docs \
650 debian/wireshark-dev.files \
651 debian/wireshark-dev.header-files \
652 debian/wireshark-dev.manpages \
653 debian/wireshark-dev.prerm \
654 debian/wireshark-root.desktop \
655 debian/wireshark.desktop \
656 debian/wireshark.files \
657 debian/wireshark.manpages \
658 debian/wireshark.menu \
674 idl/coseventcomm.idl \
678 idl/parlay/cccs.idl \
680 idl/parlay/common_cc_data.idl \
683 idl/parlay/fw_data.idl \
684 idl/parlay/fw_if.idl \
685 idl/parlay/fw_if_access.idl \
686 idl/parlay/fw_if_app.idl \
687 idl/parlay/fw_if_entop.idl \
688 idl/parlay/fw_if_service.idl \
689 idl/parlay/gcc_data.idl \
690 idl/parlay/gcc_interfaces.idl \
693 idl/parlay/mmccs.idl \
695 idl/parlay/mpcc_data.idl \
696 idl/parlay/mpcc_interfaces.idl \
698 idl/parlay/pam_data.idl \
699 idl/parlay/pam_interfaces.idl \
700 idl/parlay/Parlay.idl \
701 idl/parlay/policy_data.idl \
702 idl/parlay/policy_interfaces.idl \
703 idl/parlay/README.parlay \
704 idl/parlay/termcap.idl \
705 idl/parlay/ui_data.idl \
706 idl/parlay/ui_interfaces.idl \
707 image/capinfos.rc.in \
708 image/capture_comment.svg \
709 image/capture_comment_add.png \
710 image/capture_comment_disabled.png \
711 image/capture_comment_update.png \
712 image/capture_start_24.png \
713 image/capture_start_active_24.png \
714 image/capture_stop_24.png \
715 image/clist_ascend.xpm \
716 image/clist_descend.xpm \
718 image/dfilter_apply_hover.png \
719 image/dfilter_apply_normal.png \
720 image/dfilter_apply_pressed.png \
721 image/dfilter_bookmark_hover.png \
722 image/dfilter_bookmark_normal.png \
723 image/dfilter_bookmark_pressed.png \
724 image/dfilter_dropdown.png \
725 image/dfilter_erase_active.png \
726 image/dfilter_erase_normal.png \
727 image/dfilter_erase_selected.png \
728 image/dfilter_refresh_active.png \
729 image/dfilter_refresh_normal.png \
730 image/display_filter.qrc \
731 image/dumpcap.rc.in \
732 image/editcap.rc.in \
733 image/expert_chat.png \
734 image/expert_error.png \
735 image/expert_indicators.svg \
736 image/expert_none.png \
737 image/expert_note.png \
738 image/expert_warn.png \
739 image/file_dlg_win32.rc \
740 image/hi16-app-wireshark.png \
741 image/hi32-app-wireshark.png \
742 image/hi48-app-wireshark.png \
743 image/icon_layout_1.xpm \
744 image/icon_layout_2.xpm \
745 image/icon_layout_3.xpm \
746 image/icon_layout_4.xpm \
747 image/icon_layout_5.xpm \
748 image/icon_layout_6.xpm \
749 image/libwireshark.rc.in \
750 image/libwsutil.rc.in \
751 image/lo16-app-wireshark.png \
752 image/lo32-app-wireshark.png \
753 image/lo48-app-wireshark.png \
755 image/Makefile.nmake \
756 image/mergecap.rc.in \
758 image/nsis-checked.bmp \
759 image/nsis-unchecked.bmp \
761 image/rawshark.rc.in \
763 image/reordercap.rc.in \
765 image/stock_dialog_error_48.xpm \
766 image/stock_dialog_info_48.xpm \
767 image/stock_dialog_question_48.xpm \
768 image/stock_dialog_stop_48.xpm \
769 image/stock_dialog_warning_48.xpm \
770 image/text2pcap.rc.in \
772 image/toolbar/analyze_24.xpm \
773 image/toolbar/audio_player_24.xpm \
774 image/toolbar/autoscroll_24.xpm \
775 image/toolbar/capture_airpcap_16.xpm \
776 image/toolbar/capture_capture_16.xpm \
777 image/toolbar/capture_details_16.xpm \
778 image/toolbar/capture_details_24.xpm \
779 image/toolbar/capture_ethernet_16.xpm \
780 image/toolbar/capture_filter_24.xpm \
781 image/toolbar/capture_interfaces_24.xpm \
782 image/toolbar/capture_options_24.xpm \
783 image/toolbar/capture_prepare_16.xpm \
784 image/toolbar/capture_restart_24.xpm \
785 image/toolbar/capture_start_24.xpm \
786 image/toolbar/capture_stop_24.xpm \
787 image/toolbar/checkbox_16.xpm \
788 image/toolbar/colorize_24.xpm \
789 image/toolbar/conversations_16.xpm \
790 image/toolbar/decode_24.xpm \
791 image/toolbar/decode_as_16.xpm \
792 image/toolbar/display_filter_24.xpm \
793 image/toolbar/endpoints_16.xpm \
794 image/toolbar/expert_info_16.xpm \
795 image/toolbar/file_set_list_16.xpm \
796 image/toolbar/file_set_next_16.xpm \
797 image/toolbar/file_set_previous_16.xpm \
798 image/toolbar/flow_graph_16.xpm \
799 image/toolbar/graphs_16.xpm \
800 image/toolbar/icon_color_0.xpm \
801 image/toolbar/icon_color_1.xpm \
802 image/toolbar/icon_color_2.xpm \
803 image/toolbar/icon_color_3.xpm \
804 image/toolbar/icon_color_4.xpm \
805 image/toolbar/icon_color_5.xpm \
806 image/toolbar/icon_color_6.xpm \
807 image/toolbar/icon_color_7.xpm \
808 image/toolbar/icon_color_8.xpm \
809 image/toolbar/icon_color_9.xpm \
810 image/toolbar/internet_24.xpm \
811 image/toolbar/modem_16.png \
812 image/toolbar/modem_16.xpm \
813 image/toolbar/network_bluetooth_16.png \
814 image/toolbar/network_usb.svg \
815 image/toolbar/network_usb_16.png \
816 image/toolbar/network_virtual_16.xpm \
817 image/toolbar/network_wired_16.png \
818 image/toolbar/network_wireless_16.png \
819 image/toolbar/pipe_16.png \
820 image/toolbar/remote_arrow_16.png \
821 image/toolbar/remote_globe_16.png \
822 image/toolbar/remote_sat_16.png \
823 image/toolbar/resize_columns_24.xpm \
824 image/toolbar/telephone_16.xpm \
825 image/toolbar/telephony_16.xpm \
826 image/toolbar/time_24.xpm \
827 image/toolbar/toolbar_wireshark_file_16.png \
828 image/toolbar/toolbar_wireshark_file_24.png \
829 image/toolbar/voip_flow_24.xpm \
830 image/toolbar/web_support_24.xpm \
831 image/toolbar/wep_closed_24.xpm \
832 image/toolbar/wiki_24.xpm \
835 image/voip_select.xpm \
836 image/wireshark.exe.manifest.in \
837 image/wireshark.ico \
838 image/wireshark.rc.in \
839 image/wiresharkdoc.ico \
840 image/wiresharkinst.ico \
841 image/WiresharkDoc-128.png \
842 image/WiresharkDoc-16.png \
843 image/WiresharkDoc-24.png \
844 image/WiresharkDoc-256.png \
845 image/WiresharkDoc-32.png \
846 image/WiresharkDoc-48.png \
847 image/WiresharkDoc-64.png \
848 image/wiretap.rc.in \
852 image/wsicon256.png \
859 image/wsicon-ask.png \
860 image/wsicon-ask.svg \
861 image/wsiconcap.svg \
862 image/wsiconcap16.xpm \
863 image/wsiconcap256.png \
864 image/wsiconcap32.xpm \
865 image/wsiconcap48.xpm \
866 image/wsiconinst.svg \
867 image/wsiconinst256.png \
868 image/wslogo-dev.svg \
871 image/wssplash-dev.xpm \
875 macosx-support-lib-patches/glib-pkgconfig.patch \
876 macosx-support-lib-patches/gnutls-pkgconfig.patch \
877 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
892 text2pcap-scanner.l \
896 wireshark-mime-package.xml \
900 wsutil/CMakeLists.txt \
902 wiretap/CMakeLists.txt \
904 ConfigureChecks.cmake \
905 cmake/modules/CMakeInstallDirs.cmake \
906 cmake/modules/COPYING-CMAKE-SCRIPTS \
907 cmake/modules/CheckCLinkerFlag.cmake \
908 cmake/modules/FeatureSummary.cmake \
909 cmake/modules/FindADNS.cmake \
910 cmake/modules/FindCAP.cmake \
911 cmake/modules/FindCARES.cmake \
912 cmake/modules/FindFOP.cmake \
913 cmake/modules/FindGCRYPT.cmake \
914 cmake/modules/FindGEOIP.cmake \
915 cmake/modules/FindGLIB2.cmake \
916 cmake/modules/FindGMODULE2.cmake \
917 cmake/modules/FindGNUTLS.cmake \
918 cmake/modules/FindGTHREAD2.cmake \
919 cmake/modules/FindGTK2.cmake \
920 cmake/modules/FindGTK3.cmake \
921 cmake/modules/FindHtmlViewer.cmake \
922 cmake/modules/FindKERBEROS.cmake \
923 cmake/modules/FindNL.cmake \
924 cmake/modules/FindLEX.cmake \
925 cmake/modules/FindLUA.cmake \
926 cmake/modules/FindLYNX.cmake \
927 cmake/modules/FindM.cmake \
928 cmake/modules/FindPCAP.cmake \
929 cmake/modules/FindPOD.cmake \
930 cmake/modules/FindPORTAUDIO.cmake \
931 cmake/modules/FindPYTHON.cmake \
932 cmake/modules/FindSED.cmake \
933 cmake/modules/FindSH.cmake \
934 cmake/modules/FindSMI.cmake \
935 cmake/modules/FindXMLLINT.cmake \
936 cmake/modules/FindXSLTPROC.cmake \
937 cmake/modules/FindYACC.cmake \
938 cmake/modules/FindYAPP.cmake \
939 cmake/modules/FindZLIB.cmake \
940 cmake/modules/LICENSE.txt \
941 cmake/modules/UseLemon.cmake \
942 cmake/modules/UseMakeDissectorReg.cmake \
943 cmake/modules/UseMakeTapReg.cmake \
944 cmake/modules/readme.txt \
945 ui/win32/Makefile.nmake \
946 ui/win32/console_win32.c \
947 ui/win32/console_win32.h \
948 ui/win32/file_dlg_win32.c \
949 ui/win32/file_dlg_win32.h \
950 ui/win32/print_win32.c \
951 ui/win32/print_win32.h \
952 ui/win32/settings.ini \
961 if HAVE_DUMPCAP_GROUP
962 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
965 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
966 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
969 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
970 -chmod +s $(DESTDIR)$(bindir)/dumpcap
975 DIST_SUBDIRS = asn1 codecs doc epan ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
978 SUBDIRS = tools wsutil wiretap epan plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
980 SUBDIRS = tools wsutil wiretap epan packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
983 help/faq.txt: $(srcdir)/help/faq.py
987 libtool: $(LIBTOOL_DEPS)
988 $(SHELL) ./config.status --recheck
991 # Used by patch-bzip2
992 # Trim off any extra version information and find the previous micro release.
993 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
994 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
995 PREV_DIR="wireshark-$(PREV_VERSION)"
996 PREV_FILE="$(PREV_DIR).tar.bz2"
997 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1000 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1001 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1002 tar -xjf $(PREV_FILE) && \
1003 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1004 echo "Created patch-bzip2" ; \
1005 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1007 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1009 $(am__remove_distdir)
1012 # Used by svr4-package and osx-package
1013 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1014 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
1015 stagedir=$(top_stagedir)/$(PACKAGE).inst
1020 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1021 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1022 rm -rf $(stagedir) ; \
1023 $(MAKE) DESTDIR=$(stagedir) install; \
1024 $(srcdir)/packaging/svr4/mkpkg \
1026 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1030 echo "Error: SVR4 packaging tools not found." ; \
1031 echo "Package build abandoned." ; \
1034 solaris-package: svr4-package
1036 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1038 if test x$(HAVE_RPM) = xyes ; then \
1039 cd $(rpm_topdir) ; \
1040 mkdir -p BUILD RPMS SOURCES ; \
1042 ln -s ../../../$(distdir).tar.bz2 ; \
1043 ln -s ../../../wireshark.desktop ; \
1044 ln -s ../../../image/wsicon64.png wireshark.png ; \
1046 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
1047 echo "Package successfully built in `pwd`/RPMS." ; \
1049 echo "Error: RPM executable and/or source directory not found." ; \
1052 # Install some desktop files (for use with GNOME and/or freedesktop.org-compliant desktops?)
1053 install_desktop_files:
1054 mkdir -p $(datarootdir)/{icons/gnome/{16x16,32x32,48x48,256x256}/mimetypes,mime/packages}
1055 install -m 644 -T wireshark-mime-package.xml $(datarootdir)/mime/packages/wireshark.xml
1056 install -m 644 -T wireshark.desktop $(datarootdir)/applications
1057 mkdir -p $(datarootdir)/icons/hicolor/{16x16,32x32,48x48,64x64,256x256}/apps
1058 install -m 644 image/wsicon16.png $(datarootdir)/icons/hicolor/16x16/apps/wireshark.png
1059 install -m 644 image/wsicon32.png $(datarootdir)/icons/hicolor/32x32/apps/wireshark.png
1060 install -m 644 image/wsicon48.png $(datarootdir)/icons/hicolor/48x48/apps/wireshark.png
1061 install -m 644 image/wsicon64.png $(datarootdir)/icons/hicolor/64x64/apps/wireshark.png
1062 install -m 644 image/wsicon256.png $(datarootdir)/icons/hicolor/256x256/apps/wireshark.png
1063 install -m 644 -T image/WiresharkDoc-16.png $(datarootdir)/icons/gnome/16x16/mimetypes/application-wireshark-doc.png
1064 install -m 644 -T image/WiresharkDoc-32.png $(datarootdir)/icons/gnome/32x32/mimetypes/application-wireshark-doc.png
1065 install -m 644 -T image/WiresharkDoc-48.png $(datarootdir)/icons/gnome/48x48/mimetypes/application-wireshark-doc.png
1066 install -m 644 -T image/WiresharkDoc-256.png $(datarootdir)/icons/gnome/256x256/mimetypes/application-wireshark-doc.png
1067 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database $(datarootdir)/mime\""
1070 if test x$(HAVE_RPM) = xyes ; then \
1071 cd $(rpm_topdir) ; \
1072 mkdir -p BUILD SRPMS SOURCES ; \
1074 ln -s ../../../$(distdir).tar.bz2 ; \
1075 ln -s ../../../wireshark.desktop ; \
1076 ln -s ../../../image/wsicon64.png wireshark.png ; \
1078 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
1079 echo "Package successfully built in `pwd`/SRPMS." ; \
1081 echo "Error: RPM executable and/or source directory not found." ; \
1084 debian-package: debian/rules
1085 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1086 dpkg-buildpackage -rfakeroot -us -uc ; \
1088 echo "Error: Debian packaging tools not found." ; \
1089 echo "Package build abandoned." ; \
1092 # XXX - This assumes we're building from the source directory.
1093 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1094 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1095 rm -rf $(stagedir) ; \
1096 $(MAKE) DESTDIR=$(stagedir) install; \
1097 cd $(srcdir)/packaging/macosx ; \
1098 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1100 echo "Error: OS X packaging tools not found." ; \
1101 echo "Package build abandoned." ; \
1104 packaging/macosx/COPYING.txt: COPYING
1105 (cd packaging/macosx ; \
1106 $(MAKE) COPYING.txt ;)
1108 osx-package: osx-app packaging/macosx/COPYING.txt
1109 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1110 cd $(srcdir)/packaging/macosx ; \
1111 chmod +x ./osx-dmg.sh ; \
1115 osx-install: osx-app
1116 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1117 echo "Copying Wireshark.app to /Applications" ; \
1118 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1122 rm -rf $(top_stagedir)
1125 $(MAKE) -C wiretap dumpabi
1126 $(MAKE) -C epan dumpabi
1127 $(MAKE) -C wsutil dumpabi
1130 $(PERL) tools/checkAPIs.pl -build \
1132 $(wireshark_SOURCES)
1133 # $(EXTRA_wireshark_SOURCES)
1135 checkapi: checkapi_local
1136 cd wiretap && $(MAKE) checkapi
1137 cd codecs && $(MAKE) checkapi
1138 cd ui && $(MAKE) checkapi
1139 cd ui/gtk && $(MAKE) checkapi
1140 ## cd epan && $(MAKE) checkapi
1141 ## cd epan/crypt && $(MAKE) checkapi
1142 cd epan/dfilter && $(MAKE) checkapi
1143 ## cd epan/ftypes && $(MAKE) checkapi
1144 ## cd epan/wslua && $(MAKE) checkapi
1145 cd epan/dissectors && $(MAKE) checkapi
1146 cd plugins && $(MAKE) checkapi
1147 cd wsutil && $(MAKE) checkapi