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 AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
25 ACLOCAL_AMFLAGS = `./aclocal-flags`
28 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
30 py_dissectors_dir = -DPYTHON_DIR=
34 if HAVE_WARNINGS_AS_ERRORS
35 AM_CLEAN_CFLAGS = -Werror
54 EXTRA_PROGRAMS = wireshark wireshark-qt tshark tfshark capinfos captype editcap \
55 mergecap dftest randpkt text2pcap dumpcap reordercap rawshark \
56 wireshark_cxx echld_test
59 # Wireshark configuration files are put in $(pkgdatadir).
61 dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
62 smi_modules ipmap.html pdml2html.xsl
65 # Install global profiles in the "profiles" subdirectory
67 profilesdir = $(pkgdatadir)
68 nobase_dist_profiles_DATA = \
69 profiles/Bluetooth/colorfilters \
70 profiles/Classic/colorfilters
73 # Install the Diameter DTD and XML files in the "diameter" subdirectory
76 diameterdir = $(pkgdatadir)/diameter
77 include diameter/Custom.make
78 dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
79 diameter/chargecontrol.xml \
80 diameter/ChinaTelecom.xml \
83 diameter/dictionary.dtd \
84 diameter/dictionary.xml \
86 diameter/Ericsson.xml \
87 diameter/etsie2e4.xml \
88 diameter/gqpolicy.xml \
89 diameter/imscxdx.xml \
90 diameter/mobileipv4.xml \
91 diameter/mobileipv6.xml \
94 diameter/sunping.xml \
95 diameter/TGPPGmb.xml \
99 diameter/Vodafone.xml \
100 diameter/AlcatelLucent.xml \
102 diameter/NokiaSiemensNetworks.xml \
104 diameter/VerizonWireless.xml
107 # Install the DTDs directory files in the "dtds" subdirectory
110 dtdsdir = $(pkgdatadir)/dtds
115 dtds/pocsettings.dtd \
122 dtds/xcap-error.dtd \
126 # Install the RADIUS directory files in the "radius" subdirectory
129 radiusdir = $(pkgdatadir)/radius
130 include radius/Custom.make
131 dist_radius_DATA = $(_CUSTOM_radius_dict_) \
132 radius/README.radius_dictionary \
133 radius/custom.includes \
135 radius/dictionary.3com \
136 radius/dictionary.3gpp \
137 radius/dictionary.3gpp2 \
138 radius/dictionary.acc \
139 radius/dictionary.acme \
140 radius/dictionary.airespace \
141 radius/dictionary.alcatel \
142 radius/dictionary.alcatel.esam \
143 radius/dictionary.alcatel.sr \
144 radius/dictionary.alcatel-lucent.aaa \
145 radius/dictionary.alcatel-lucent.xylan \
146 radius/dictionary.alteon \
147 radius/dictionary.altiga \
148 radius/dictionary.alvarion \
149 radius/dictionary.apc \
150 radius/dictionary.aptis \
151 radius/dictionary.aruba \
152 radius/dictionary.ascend \
153 radius/dictionary.asn \
154 radius/dictionary.audiocodes \
155 radius/dictionary.avaya \
156 radius/dictionary.azaire \
157 radius/dictionary.bay \
158 radius/dictionary.bintec \
159 radius/dictionary.bristol \
160 radius/dictionary.cablelabs \
161 radius/dictionary.cabletron \
162 radius/dictionary.chillispot \
163 radius/dictionary.cisco \
164 radius/dictionary.cisco.bbsm \
165 radius/dictionary.cisco.vpn3000 \
166 radius/dictionary.cisco.vpn5000 \
167 radius/dictionary.clavister \
168 radius/dictionary.colubris \
169 radius/dictionary.columbia_university \
170 radius/dictionary.compat \
171 radius/dictionary.cosine \
172 radius/dictionary.dhcp \
173 radius/dictionary.digium \
174 radius/dictionary.eltex \
175 radius/dictionary.epygi \
176 radius/dictionary.ericsson \
177 radius/dictionary.erx \
178 radius/dictionary.extreme \
179 radius/dictionary.fortinet \
180 radius/dictionary.foundry \
181 radius/dictionary.freeradius \
182 radius/dictionary.freeradius.internal \
183 radius/dictionary.freeswitch \
184 radius/dictionary.gandalf \
185 radius/dictionary.garderos \
186 radius/dictionary.gemtek \
187 radius/dictionary.h3c \
188 radius/dictionary.hp \
189 radius/dictionary.huawei \
190 radius/dictionary.iea \
191 radius/dictionary.infonet \
192 radius/dictionary.ipunplugged \
193 radius/dictionary.issanni \
194 radius/dictionary.itk \
195 radius/dictionary.jradius \
196 radius/dictionary.juniper \
197 radius/dictionary.karlnet \
198 radius/dictionary.lancom \
199 radius/dictionary.livingston \
200 radius/dictionary.localweb \
201 radius/dictionary.lucent \
202 radius/dictionary.manzara \
203 radius/dictionary.merit \
204 radius/dictionary.microsoft \
205 radius/dictionary.mikrotik \
206 radius/dictionary.motorola \
207 radius/dictionary.motorola.wimax \
208 radius/dictionary.navini \
209 radius/dictionary.netscreen \
210 radius/dictionary.networkphysics \
211 radius/dictionary.nexans \
212 radius/dictionary.nokia \
213 radius/dictionary.nokia.conflict \
214 radius/dictionary.nomadix \
215 radius/dictionary.nortel \
216 radius/dictionary.ntua \
217 radius/dictionary.openser \
218 radius/dictionary.packeteer \
219 radius/dictionary.patton \
220 radius/dictionary.propel \
221 radius/dictionary.prosoft \
222 radius/dictionary.quiconnect \
223 radius/dictionary.quintum \
224 radius/dictionary.redback \
225 radius/dictionary.redcreek \
226 radius/dictionary.rfc2865 \
227 radius/dictionary.rfc2866 \
228 radius/dictionary.rfc2867 \
229 radius/dictionary.rfc2868 \
230 radius/dictionary.rfc2869 \
231 radius/dictionary.rfc3162 \
232 radius/dictionary.rfc3576 \
233 radius/dictionary.rfc3580 \
234 radius/dictionary.rfc4072 \
235 radius/dictionary.rfc4372 \
236 radius/dictionary.rfc4603 \
237 radius/dictionary.rfc4675 \
238 radius/dictionary.rfc4679 \
239 radius/dictionary.rfc4818 \
240 radius/dictionary.rfc4849 \
241 radius/dictionary.rfc5090 \
242 radius/dictionary.rfc5176 \
243 radius/dictionary.rfc5447 \
244 radius/dictionary.rfc5580 \
245 radius/dictionary.rfc5607 \
246 radius/dictionary.rfc5904 \
247 radius/dictionary.rfc6519 \
248 radius/dictionary.rfc6572 \
249 radius/dictionary.riverstone \
250 radius/dictionary.roaringpenguin \
251 radius/dictionary.shasta \
252 radius/dictionary.shiva \
253 radius/dictionary.slipstream \
254 radius/dictionary.sofaware \
255 radius/dictionary.sonicwall \
256 radius/dictionary.springtide \
257 radius/dictionary.starent \
258 radius/dictionary.t_systems_nova \
259 radius/dictionary.telebit \
260 radius/dictionary.telkom \
261 radius/dictionary.trapeze \
262 radius/dictionary.tropos \
263 radius/dictionary.ukerna \
264 radius/dictionary.unix \
265 radius/dictionary.usr \
266 radius/dictionary.utstarcom \
267 radius/dictionary.valemount \
268 radius/dictionary.versanet \
269 radius/dictionary.vqp \
270 radius/dictionary.walabi \
271 radius/dictionary.waverider \
272 radius/dictionary.wichorus \
273 radius/dictionary.wimax \
274 radius/dictionary.wimax.wichorus \
275 radius/dictionary.wispr \
276 radius/dictionary.xedia \
277 radius/dictionary.zyxel
280 # Install the tpncp directory files in the "tpncp" subdirectory
283 tpncpdir = $(pkgdatadir)/tpncp
288 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
291 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
292 dist_wimaxasncp_DATA = \
293 wimaxasncp/dictionary.xml \
294 wimaxasncp/dictionary.dtd
296 PLATFORM_PCAP_SRC = \
297 capture-pcap-util-unix.c
300 -include plugins/Custom.make
301 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
302 -dlopen plugins/docsis/docsis.la \
303 -dlopen plugins/ethercat/ethercat.la \
304 -dlopen plugins/gryphon/gryphon.la \
305 -dlopen plugins/irda/irda.la \
306 -dlopen plugins/m2m/m2m.la \
307 -dlopen plugins/mate/mate.la \
308 -dlopen plugins/opcua/opcua.la \
309 -dlopen plugins/profinet/profinet.la \
310 -dlopen plugins/stats_tree/stats_tree.la \
311 -dlopen plugins/unistim/unistim.la \
312 -dlopen plugins/wimax/wimax.la \
313 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
321 include Makefile.common
325 wireshark_LDFLAGS = -Wl,-static -all-static
328 wireshark_qt_LDFLAGS = -Wl,-static -all-static
332 wireshark_LDFLAGS = -export-dynamic
335 wireshark_qt_LDFLAGS = -export-dynamic
339 # Libraries and plugin flags with which to link wireshark.
341 # Note that Wireshark, when built with a version of GTK+ that runs
342 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
343 # as those should also be included in @GTK_LIBS@ (as those are also
344 # needed for X applications, and GTK+ applications are X applications
345 # if the version of GTK+ they're built with runs atop X11).
347 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
348 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
349 # Gentoo bug 423743 at
351 # https://bugs.gentoo.org/show_bug.cgi?id=423743
353 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
354 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
355 # It is not actually a superset: gmodule is included in GLIB_LIBS but
356 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
358 # although it's also possible that -lgmodule is in GTK_LIBS but not
359 # GLIB_LIBS (that's the case on my machine right now, for example).
365 filetap/libfiletap.la \
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 = \
396 # XXX - this makes wireshark_qt_LDFLAGS not work; we should figure out
397 # another way to get wireshark-qt linked as a C++ program, perhaps by
398 # having a top-level wireshark-qt.cpp file that contains main() and
399 # hthat calls the UI code from ui/qt.
401 wireshark_qt_LINK = $(CXXLINK)
405 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC)
406 wireshark_INCLUDES = $(WIRESHARK_COMMON_INCLUDES)
407 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
414 # Ideally we could trigger automatic c++ linking here with
415 # nodist_EXTRA_wireshark_SOURCES = dummy.cpp
416 # Unfortunately that check is done by automake and not configure.
417 # We do the following to try to avoid using c++ to link Wireshark at
419 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
420 wireshark_cxx_SOURCES =
423 tshark_LDFLAGS = -Wl,-static -all-static
425 tshark_LDFLAGS = -export-dynamic
428 # Libraries and plugin flags with which to link tshark.
432 wiretap/libwiretap.la \
433 epan/libwireshark.la \
434 wsutil/libwsutil.la \
444 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
445 @COREFOUNDATION_FRAMEWORKS@ \
450 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
453 tfshark_LDFLAGS = -Wl,-static -all-static
455 tfshark_LDFLAGS = -export-dynamic
458 # Libraries and plugin flags with which to link tfshark.
462 filetap/libfiletap.la \
463 wiretap/libwiretap.la \
464 epan/libwireshark.la \
465 wsutil/libwsutil.la \
473 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
474 @COREFOUNDATION_FRAMEWORKS@ \
478 tfshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
481 rawshark_LDFLAGS = -Wl,-static -all-static
483 rawshark_LDFLAGS = -export-dynamic
486 # Libraries and plugin flags with which to link rawshark.
489 wiretap/libwiretap.la \
490 epan/libwireshark.la \
491 wsutil/libwsutil.la \
501 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
502 @COREFOUNDATION_FRAMEWORKS@ \
507 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
509 # Libraries with which to link text2pcap.
511 wsutil/libwsutil.la \
513 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
514 # which is generated (and therefore not always clean).
515 # We could generate text2pcap.o as a library with -Werror but for now it
516 # doesn't seem worth the effort.
517 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
519 # Libraries with which to link mergecap.
521 wiretap/libwiretap.la \
522 wsutil/libwsutil.la \
524 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
526 # Libraries with which to link capinfos.
528 wiretap/libwiretap.la \
529 wsutil/libwsutil.la \
532 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
534 # Libraries with which to link captype.
536 wiretap/libwiretap.la \
537 wsutil/libwsutil.la \
539 captype_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
541 # Libraries with which to link editcap.
543 wiretap/libwiretap.la \
544 wsutil/libwsutil.la \
546 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
548 # Libraries with which to link reordercap.
550 wiretap/libwiretap.la \
551 wsutil/libwsutil.la \
553 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
555 # Libraries with which to link randpkt.
557 wiretap/libwiretap.la \
558 wsutil/libwsutil.la \
565 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
567 # Libraries and plugin flags with which to link dftest.
570 wiretap/libwiretap.la \
571 wsutil/libwsutil.la \
572 epan/libwireshark.la \
586 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
589 epan/libwireshark.la \
591 wsutil/libwsutil.la \
599 echld_test_DEPENDENCIES = \
603 echld_test_CFLAGS = $(AM_CLEAN_CFLAGS)
606 # Libraries with which to link dumpcap.
608 wsutil/libwsutil.la \
613 @SYSTEMCONFIGURATION_FRAMEWORKS@ \
614 @COREFOUNDATION_FRAMEWORKS@ \
616 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
617 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
620 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
621 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS) \
622 @LUA_INCLUDES@ -DTOP_SRCDIR=\"$(abs_top_srcdir)\"
625 # Build the version string
627 # FORCE is the portable version of .PHONY
630 AM_V_PERL = $(am__v_PERL_@AM_V@)
631 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
632 am__v_PERL_0 = @echo " PERL " $@;
636 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
639 # Build shell scripts by doing variable substitution.
640 # Taken from autoconf 2.13.
642 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
647 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
650 $(PYTHON) $(srcdir)/tools/make-services.py
658 # We have to remove svnversion.h with "make distclean", as, otherwise,
659 # "make distcheck" fails. We still need to make the tarballs work
660 # even if you do "make distclean" and try to rebuild; that's a work in
663 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
664 # list of files removed by "make distclean"? (It's deliberately
665 # included in that list.)
671 MAINTAINERCLEANFILES = \
700 abi-descriptor.template \
701 aclocal-fallback/libsmi.m4 \
702 aclocal-fallback/libgcrypt.m4 \
703 aclocal-fallback/glib-2.0.m4 \
704 aclocal-fallback/gtk-2.0.m4 \
705 aclocal-fallback/gtk-3.0.m4 \
712 capture_win_ifnames.c \
713 capture_win_ifnames.h \
716 capture_wpcap_packet.c \
717 capture_wpcap_packet.h \
727 debian/headers-check.c \
728 debian/patches/00list \
733 debian/README.source \
734 debian/tshark.files \
735 debian/tshark.manpages \
737 debian/wireshark-common.files \
738 debian/wireshark-common.manpages \
739 debian/wireshark-common.shlibs \
740 debian/wireshark-dev.docs \
741 debian/wireshark-dev.files \
742 debian/wireshark-dev.header-files \
743 debian/wireshark-dev.manpages \
744 debian/wireshark-dev.prerm \
745 debian/wireshark-root.desktop \
746 debian/wireshark.desktop \
747 debian/wireshark.files \
748 debian/wireshark.manpages \
749 debian/wireshark.menu \
755 filetap/CMakeLists.txt \
767 idl/coseventcomm.idl \
771 idl/parlay/cccs.idl \
773 idl/parlay/common_cc_data.idl \
776 idl/parlay/fw_data.idl \
777 idl/parlay/fw_if.idl \
778 idl/parlay/fw_if_access.idl \
779 idl/parlay/fw_if_app.idl \
780 idl/parlay/fw_if_entop.idl \
781 idl/parlay/fw_if_service.idl \
782 idl/parlay/gcc_data.idl \
783 idl/parlay/gcc_interfaces.idl \
786 idl/parlay/mmccs.idl \
788 idl/parlay/mpcc_data.idl \
789 idl/parlay/mpcc_interfaces.idl \
791 idl/parlay/pam_data.idl \
792 idl/parlay/pam_interfaces.idl \
793 idl/parlay/Parlay.idl \
794 idl/parlay/policy_data.idl \
795 idl/parlay/policy_interfaces.idl \
796 idl/parlay/README.parlay \
797 idl/parlay/termcap.idl \
798 idl/parlay/ui_data.idl \
799 idl/parlay/ui_interfaces.idl \
800 image/capinfos.rc.in \
801 image/captype.rc.in \
802 image/capture_comment.svg \
803 image/capture_comment_add.png \
804 image/capture_comment_disabled.png \
805 image/capture_comment_update.png \
806 image/capture_start_24.png \
807 image/capture_start_active_24.png \
808 image/capture_stop_24.png \
809 image/clist_ascend.xpm \
810 image/clist_descend.xpm \
812 image/dfilter_apply_disabled.png \
813 image/dfilter_apply_hover.png \
814 image/dfilter_apply_normal.png \
815 image/dfilter_apply_pressed.png \
816 image/dfilter_bookmark_disabled.png \
817 image/dfilter_bookmark_hover.png \
818 image/dfilter_bookmark_normal.png \
819 image/dfilter_bookmark_pressed.png \
820 image/dfilter_dropdown.png \
821 image/dfilter_erase_active.png \
822 image/dfilter_erase_normal.png \
823 image/dfilter_erase_selected.png \
824 image/dfilter_refresh_active.png \
825 image/dfilter_refresh_normal.png \
826 image/display_filter.qrc \
827 image/dumpcap.rc.in \
828 image/editcap.rc.in \
829 image/expert_chat.png \
830 image/expert_error.png \
831 image/expert_indicators.svg \
832 image/expert_none.png \
833 image/expert_note.png \
834 image/expert_warn.png \
835 image/file_dlg_win32.rc \
836 image/filetap.rc.in \
837 image/hi16-app-wireshark.png \
838 image/hi32-app-wireshark.png \
839 image/hi48-app-wireshark.png \
846 image/libwireshark.rc.in \
847 image/libwsutil.rc.in \
848 image/lo16-app-wireshark.png \
849 image/lo32-app-wireshark.png \
850 image/lo48-app-wireshark.png \
851 image/Makefile.nmake \
852 image/mergecap.rc.in \
854 image/nsis-checked.bmp \
855 image/nsis-unchecked.bmp \
856 image/openhand-16.png \
858 image/rawshark.rc.in \
860 image/reordercap.rc.in \
861 image/rubberband-16.png \
863 image/stock_dialog_error_48.xpm \
864 image/stock_dialog_info_48.xpm \
865 image/stock_dialog_question_48.xpm \
866 image/stock_dialog_stop_48.xpm \
867 image/stock_dialog_warning_48.xpm \
868 image/text2pcap.rc.in \
870 image/toolbar/analyze_24.xpm \
871 image/toolbar/audio_player_24.xpm \
872 image/toolbar/autoscroll_24.xpm \
873 image/toolbar/capture_airpcap_16.xpm \
874 image/toolbar/capture_capture_16.xpm \
875 image/toolbar/capture_details_16.xpm \
876 image/toolbar/capture_details_24.xpm \
877 image/toolbar/capture_ethernet_16.xpm \
878 image/toolbar/capture_filter_24.xpm \
879 image/toolbar/capture_interfaces_16.png \
880 image/toolbar/capture_interfaces_24.png \
881 image/toolbar/capture_options_16.png \
882 image/toolbar/capture_options_24.png \
883 image/toolbar/capture_prepare_16.xpm \
884 image/toolbar/capture_restart_16.png \
885 image/toolbar/capture_restart_24.png \
886 image/toolbar/capture_start_16.png \
887 image/toolbar/capture_start_24.png \
888 image/toolbar/capture_stop_16.png \
889 image/toolbar/capture_stop_24.png \
890 image/toolbar/checkbox_16.xpm \
891 image/toolbar/colorize_24.xpm \
892 image/toolbar/conversations_16.xpm \
893 image/toolbar/decode_24.xpm \
894 image/toolbar/decode_as_16.xpm \
895 image/toolbar/display_filter_24.xpm \
896 image/toolbar/endpoints_16.xpm \
897 image/toolbar/expert_info_16.xpm \
898 image/toolbar/file_set_list_16.xpm \
899 image/toolbar/file_set_next_16.xpm \
900 image/toolbar/file_set_previous_16.xpm \
901 image/toolbar/flow_graph_16.xpm \
902 image/toolbar/gnome_emblem_web_16.png \
903 image/toolbar/gnome_emblem_web_24.png \
904 image/toolbar/graphs_16.xpm \
905 image/toolbar/icon_color_0.xpm \
906 image/toolbar/icon_color_1.xpm \
907 image/toolbar/icon_color_2.xpm \
908 image/toolbar/icon_color_3.xpm \
909 image/toolbar/icon_color_4.xpm \
910 image/toolbar/icon_color_5.xpm \
911 image/toolbar/icon_color_6.xpm \
912 image/toolbar/icon_color_7.xpm \
913 image/toolbar/icon_color_8.xpm \
914 image/toolbar/icon_color_9.xpm \
915 image/toolbar/internet_24.xpm \
916 image/toolbar/modem_16.png \
917 image/toolbar/modem_16.xpm \
918 image/toolbar/network_bluetooth_16.png \
919 image/toolbar/network_usb.svg \
920 image/toolbar/network_usb_16.png \
921 image/toolbar/network_virtual_16.xpm \
922 image/toolbar/network_wired_16.png \
923 image/toolbar/network_wireless_16.png \
924 image/toolbar/pipe_16.png \
925 image/toolbar/remote_arrow_16.png \
926 image/toolbar/remote_globe_16.png \
927 image/toolbar/remote_sat_16.png \
928 image/toolbar/resize_columns_24.xpm \
929 image/toolbar/telephone_16.xpm \
930 image/toolbar/telephony_16.xpm \
931 image/toolbar/time_24.xpm \
932 image/toolbar/toolbar_wireshark_file_16.png \
933 image/toolbar/toolbar_wireshark_file_24.png \
934 image/toolbar/voip_flow_24.xpm \
935 image/toolbar/web_support_24.xpm \
936 image/toolbar/wep_closed_24.xpm \
939 image/voip_select.xpm \
940 image/wireshark.exe.manifest.in \
941 image/wireshark.ico \
942 image/wireshark.rc.in \
943 image/wiresharkdoc.ico \
944 image/wiresharkinst.ico \
945 image/WiresharkDoc-16.png \
946 image/WiresharkDoc-24.png \
947 image/WiresharkDoc-32.png \
948 image/WiresharkDoc-48.png \
949 image/WiresharkDoc-64.png \
950 image/WiresharkDoc-128.png \
951 image/WiresharkDoc-256.png \
952 image/wiretap.rc.in \
959 image/wsicon128.png \
960 image/wsicon256.png \
961 image/wsicon512.png \
962 image/wsicon1024.png \
963 image/wsicon-ask.png \
964 image/wsicon-ask.svg \
965 image/wsiconcap.svg \
966 image/wsiconcap256.png \
967 image/wsiconcap512.png \
968 image/wsiconcap1024.png \
969 image/wsiconinst.svg \
970 image/wsiconinst256.png \
971 image/wslogo-dev.svg \
974 image/wssplash_dev.png \
978 macosx-support-lib-patches/glib-gconvert.c.patch \
979 macosx-support-lib-patches/glib-pkgconfig.patch \
980 macosx-support-lib-patches/gnutls-pkgconfig.patch \
981 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
982 macosx-support-lib-patches/portaudio-pa_mac_core.c.patch \
990 text2pcap-scanner.l \
994 wireshark-mime-package.xml \
998 wsutil/CMakeLists.txt \
1000 wiretap/CMakeLists.txt \
1002 ConfigureChecks.cmake \
1003 cmake/modules/CMakeInstallDirs.cmake \
1004 cmake/modules/COPYING-CMAKE-SCRIPTS \
1005 cmake/modules/CheckCLinkerFlag.cmake \
1006 cmake/modules/FeatureSummary.cmake \
1007 cmake/modules/FindADNS.cmake \
1008 cmake/modules/FindCAP.cmake \
1009 cmake/modules/FindCARES.cmake \
1010 cmake/modules/FindFOP.cmake \
1011 cmake/modules/FindGCRYPT.cmake \
1012 cmake/modules/FindGEOIP.cmake \
1013 cmake/modules/FindGLIB2.cmake \
1014 cmake/modules/FindGMODULE2.cmake \
1015 cmake/modules/FindGNUTLS.cmake \
1016 cmake/modules/FindGTHREAD2.cmake \
1017 cmake/modules/FindGTK2.cmake \
1018 cmake/modules/FindGTK3.cmake \
1019 cmake/modules/FindHtmlViewer.cmake \
1020 cmake/modules/FindKERBEROS.cmake \
1021 cmake/modules/FindNL.cmake \
1022 cmake/modules/FindLEX.cmake \
1023 cmake/modules/FindLUA.cmake \
1024 cmake/modules/FindLYNX.cmake \
1025 cmake/modules/FindM.cmake \
1026 cmake/modules/FindPCAP.cmake \
1027 cmake/modules/FindPOD.cmake \
1028 cmake/modules/FindPORTAUDIO.cmake \
1029 cmake/modules/FindSED.cmake \
1030 cmake/modules/FindSH.cmake \
1031 cmake/modules/FindSMI.cmake \
1032 cmake/modules/FindXMLLINT.cmake \
1033 cmake/modules/FindXSLTPROC.cmake \
1034 cmake/modules/FindYACC.cmake \
1035 cmake/modules/FindYAPP.cmake \
1036 cmake/modules/FindZLIB.cmake \
1037 cmake/modules/LICENSE.txt \
1038 cmake/modules/UseLemon.cmake \
1039 cmake/modules/UseMakeDissectorReg.cmake \
1040 cmake/modules/UseMakeTapReg.cmake \
1041 cmake/modules/readme.txt \
1042 ui/win32/Makefile.nmake \
1043 ui/win32/console_win32.c \
1044 ui/win32/console_win32.h \
1045 ui/win32/file_dlg_win32.c \
1046 ui/win32/file_dlg_win32.h \
1047 ui/win32/print_win32.c \
1048 ui/win32/print_win32.h \
1049 ui/win32/settings.ini \
1058 if HAVE_DUMPCAP_GROUP
1059 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
1062 -$(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
1063 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1066 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
1067 -chmod +s $(DESTDIR)$(bindir)/dumpcap
1072 DIST_SUBDIRS = asn1 codecs doc epan echld filetap ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
1075 SUBDIRS = tools wsutil wiretap filetap epan @echld_dir@ plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1077 SUBDIRS = tools wsutil wiretap filetap epan @echld_dir@ packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
1080 help/faq.txt: $(srcdir)/help/faq.py
1081 $(AM_V_GEN)(cd help ; \
1084 libtool: $(LIBTOOL_DEPS)
1085 $(SHELL) ./config.status --recheck
1088 # Used by patch-bzip2
1089 # Trim off any extra version information and find the previous micro release.
1090 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1091 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1092 PREV_DIR="wireshark-$(PREV_VERSION)"
1093 PREV_FILE="$(PREV_DIR).tar.bz2"
1094 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1096 patch-bzip2: distdir
1097 if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1098 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1099 tar -xjf $(PREV_FILE) && \
1100 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1101 echo "Created patch-bzip2" ; \
1102 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1104 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1106 $(am__remove_distdir)
1108 # Install some desktop files (for use with GNOME, KDE, or any other freedesktop.org-compliant desktops)
1109 # No, these do not go into $(datarootdir): the desktop won't look for them there.
1110 # Yes, that violate's autofoo's principle of relocatability.
1111 # What we (probably) should do is check `pkg-config --variable=prefix gtk+-2.0` to know where
1112 # to install this stuff...
1113 install_desktop_files:
1114 mkdir -p $(DESTDIR)/usr/share/{mime/packages,applications}
1115 install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/usr/share/mime/packages/wireshark.xml
1116 if test x$(DESKTOP_FILE_INSTALL) != x ; then \
1117 $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)/usr/share/applications wireshark.desktop; \
1119 install -m 644 -T wireshark.desktop $(DESTDIR)/usr/share/applications/wireshark.desktop; \
1121 for size in 16 24 32 48 64 128 256; \
1123 mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/{apps,mimetypes} ; \
1124 install -m 644 image/wsicon$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
1125 install -m 644 -T image/WiresharkDoc-$${size}.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
1127 @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database /usr/share/mime\""
1129 # Used by svr4-package and osx-package
1130 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1131 top_stagedir=`cd $(top_builddir) && pwd`/packaging/staging
1132 stagedir=$(top_stagedir)/$(PACKAGE).inst
1137 solaris-package: svr4-package
1139 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1140 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1141 rm -rf $(stagedir) ; \
1142 $(MAKE) DESTDIR=$(stagedir) install; \
1143 $(srcdir)/packaging/svr4/mkpkg \
1145 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1149 echo "Error: SVR4 packaging tools not found." ; \
1150 echo "Package build abandoned." ; \
1154 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1156 @if test x$(HAVE_RPM) = xyes ; then \
1157 cd $(rpm_topdir) ; \
1158 mkdir -p BUILD RPMS SOURCES SRPMS; \
1160 ln -sf ../../../$(distdir).tar.bz2 ; \
1162 rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
1163 @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
1164 echo "Package successfully built in `pwd`/RPMS." && \
1165 rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
1167 echo "Error: RPM executable and/or source directory not found." ; \
1171 debian-package: debian/rules
1172 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1173 dpkg-buildpackage -rfakeroot -us -uc ; \
1175 echo "Error: Debian packaging tools not found." ; \
1176 echo "Package build abandoned." ; \
1179 # XXX - This assumes we're building from the source directory.
1180 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1181 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1182 rm -rf $(stagedir) ; \
1183 $(MAKE) DESTDIR=$(stagedir) install; \
1184 cd $(srcdir)/packaging/macosx ; \
1185 ./osx-app.sh @OSX_APP_FLAGS@ -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1187 echo "Error: OS X packaging tools not found." ; \
1188 echo "Package build abandoned." ; \
1191 packaging/macosx/COPYING.txt: COPYING
1192 (cd packaging/macosx ; \
1193 $(MAKE) COPYING.txt ;)
1195 osx-package: osx-app packaging/macosx/COPYING.txt
1196 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1197 cd $(srcdir)/packaging/macosx ; \
1198 chmod +x ./osx-dmg.sh ; \
1199 ./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
1202 osx-install: osx-app
1203 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1204 echo "Copying Wireshark.app to /Applications" ; \
1205 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1209 rm -rf $(top_stagedir)
1212 $(MAKE) -C filetap dumpabi-libfiletap
1213 $(MAKE) -C wiretap dumpabi-libwiretap
1214 $(MAKE) -C epan dumpabi-libwireshark
1215 $(MAKE) -C wsutil dumpabi-libwsutil
1218 $(PERL) tools/checkAPIs.pl -build \
1220 $(wireshark_SOURCES)
1221 # $(EXTRA_wireshark_SOURCES)
1223 checkapi: checkapi_local
1224 cd wiretap && $(MAKE) checkapi
1225 cd filetap && $(MAKE) checkapi
1226 cd codecs && $(MAKE) checkapi
1227 cd ui && $(MAKE) checkapi
1228 cd ui/gtk && $(MAKE) checkapi
1229 ## cd epan && $(MAKE) checkapi
1230 ## cd epan/crypt && $(MAKE) checkapi
1231 cd epan/dfilter && $(MAKE) checkapi
1232 ## cd epan/ftypes && $(MAKE) checkapi
1233 ## cd epan/wslua && $(MAKE) checkapi
1234 cd epan/dissectors && $(MAKE) checkapi
1235 cd plugins && $(MAKE) checkapi
1236 cd wsutil && $(MAKE) checkapi
1238 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1241 cd epan && $(MAKE) $@
1243 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1249 zip -rq wsar_html.zip wsar_html