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
56 # Wireshark configuration files are put in $(pkgdatadir).
58 pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
59 smi_modules ipmap.html pdml2html.xsl
62 # Install the Diameter DTD and XML files in the "diameter" subdirectory
65 diameterdir = $(pkgdatadir)/diameter
67 diameter/chargecontrol.xml \
69 diameter/dictionary.dtd \
70 diameter/dictionary.xml \
72 diameter/Ericsson.xml \
73 diameter/etsie2e4.xml \
74 diameter/gqpolicy.xml \
75 diameter/imscxdx.xml \
76 diameter/mobileipv4.xml \
77 diameter/mobileipv6.xml \
80 diameter/sunping.xml \
81 diameter/TGPPGmb.xml \
85 diameter/Vodafone.xml \
86 diameter/AlcatelLucent.xml
89 # Install the DTDs directory files in the "dtds" subdirectory
92 dtdsdir = $(pkgdatadir)/dtds
97 dtds/pocsettings.dtd \
104 dtds/xcap-error.dtd \
108 # Install the RADIUS directory files in the "radius" subdirectory
111 radiusdir = $(pkgdatadir)/radius
113 radius/README.radius_dictionary \
115 radius/dictionary.3com \
116 radius/dictionary.3gpp \
117 radius/dictionary.3gpp2 \
118 radius/dictionary.acc \
119 radius/dictionary.acme \
120 radius/dictionary.airespace \
121 radius/dictionary.alcatel \
122 radius/dictionary.alcatel.esam \
123 radius/dictionary.alcatel.sr \
124 radius/dictionary.alcatel-lucent.xylan \
125 radius/dictionary.alteon \
126 radius/dictionary.altiga \
127 radius/dictionary.alvarion \
128 radius/dictionary.apc \
129 radius/dictionary.aptis \
130 radius/dictionary.aruba \
131 radius/dictionary.ascend \
132 radius/dictionary.asn \
133 radius/dictionary.audiocodes \
134 radius/dictionary.avaya \
135 radius/dictionary.azaire \
136 radius/dictionary.bay \
137 radius/dictionary.bintec \
138 radius/dictionary.bristol \
139 radius/dictionary.cablelabs \
140 radius/dictionary.cabletron \
141 radius/dictionary.chillispot \
142 radius/dictionary.cisco \
143 radius/dictionary.cisco.bbsm \
144 radius/dictionary.cisco.vpn3000 \
145 radius/dictionary.cisco.vpn5000 \
146 radius/dictionary.clavister \
147 radius/dictionary.colubris \
148 radius/dictionary.columbia_university \
149 radius/dictionary.compat \
150 radius/dictionary.cosine \
151 radius/dictionary.dhcp \
152 radius/dictionary.digium \
153 radius/dictionary.eltex \
154 radius/dictionary.epygi \
155 radius/dictionary.ericsson \
156 radius/dictionary.erx \
157 radius/dictionary.extreme \
158 radius/dictionary.fortinet \
159 radius/dictionary.foundry \
160 radius/dictionary.freeradius \
161 radius/dictionary.freeradius.internal \
162 radius/dictionary.freeswitch \
163 radius/dictionary.gandalf \
164 radius/dictionary.garderos \
165 radius/dictionary.gemtek \
166 radius/dictionary.h3c \
167 radius/dictionary.hp \
168 radius/dictionary.huawei \
169 radius/dictionary.iea \
170 radius/dictionary.infonet \
171 radius/dictionary.ipunplugged \
172 radius/dictionary.issanni \
173 radius/dictionary.itk \
174 radius/dictionary.jradius \
175 radius/dictionary.juniper \
176 radius/dictionary.karlnet \
177 radius/dictionary.lancom \
178 radius/dictionary.livingston \
179 radius/dictionary.localweb \
180 radius/dictionary.lucent \
181 radius/dictionary.manzara \
182 radius/dictionary.merit \
183 radius/dictionary.microsoft \
184 radius/dictionary.mikrotik \
185 radius/dictionary.motorola \
186 radius/dictionary.motorola.wimax \
187 radius/dictionary.navini \
188 radius/dictionary.netscreen \
189 radius/dictionary.networkphysics \
190 radius/dictionary.nexans \
191 radius/dictionary.nokia \
192 radius/dictionary.nokia.conflict \
193 radius/dictionary.nomadix \
194 radius/dictionary.nortel \
195 radius/dictionary.ntua \
196 radius/dictionary.openser \
197 radius/dictionary.packeteer \
198 radius/dictionary.patton \
199 radius/dictionary.propel \
200 radius/dictionary.prosoft \
201 radius/dictionary.quiconnect \
202 radius/dictionary.quintum \
203 radius/dictionary.redback \
204 radius/dictionary.redcreek \
205 radius/dictionary.rfc2865 \
206 radius/dictionary.rfc2866 \
207 radius/dictionary.rfc2867 \
208 radius/dictionary.rfc2868 \
209 radius/dictionary.rfc2869 \
210 radius/dictionary.rfc3162 \
211 radius/dictionary.rfc3576 \
212 radius/dictionary.rfc3580 \
213 radius/dictionary.rfc4072 \
214 radius/dictionary.rfc4372 \
215 radius/dictionary.rfc4603 \
216 radius/dictionary.rfc4675 \
217 radius/dictionary.rfc4679 \
218 radius/dictionary.rfc4818 \
219 radius/dictionary.rfc4849 \
220 radius/dictionary.rfc5090 \
221 radius/dictionary.rfc5176 \
222 radius/dictionary.rfc5580 \
223 radius/dictionary.rfc5607 \
224 radius/dictionary.rfc5904 \
225 radius/dictionary.riverstone \
226 radius/dictionary.roaringpenguin \
227 radius/dictionary.shasta \
228 radius/dictionary.shiva \
229 radius/dictionary.slipstream \
230 radius/dictionary.sofaware \
231 radius/dictionary.sonicwall \
232 radius/dictionary.springtide \
233 radius/dictionary.starent \
234 radius/dictionary.t_systems_nova \
235 radius/dictionary.telebit \
236 radius/dictionary.telkom \
237 radius/dictionary.trapeze \
238 radius/dictionary.tropos \
239 radius/dictionary.ukerna \
240 radius/dictionary.unix \
241 radius/dictionary.usr \
242 radius/dictionary.utstarcom \
243 radius/dictionary.valemount \
244 radius/dictionary.versanet \
245 radius/dictionary.vqp \
246 radius/dictionary.walabi \
247 radius/dictionary.waverider \
248 radius/dictionary.wichorus \
249 radius/dictionary.wimax \
250 radius/dictionary.wimax.wichorus \
251 radius/dictionary.wispr \
252 radius/dictionary.xedia \
253 radius/dictionary.zyxel
256 # Install the tpncp directory files in the "tpncp" subdirectory
259 tpncpdir = $(pkgdatadir)/tpncp
264 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
267 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
269 wimaxasncp/dictionary.xml \
270 wimaxasncp/dictionary.dtd
272 PLATFORM_SRC = capture-pcap-util-unix.c
275 -include plugins/Custom.make
276 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
277 -dlopen plugins/asn1/asn1.la \
278 -dlopen plugins/docsis/docsis.la \
279 -dlopen plugins/ethercat/ethercat.la \
280 -dlopen plugins/gryphon/gryphon.la \
281 -dlopen plugins/irda/irda.la \
282 -dlopen plugins/m2m/m2m.la \
283 -dlopen plugins/mate/mate.la \
284 -dlopen plugins/opcua/opcua.la \
285 -dlopen plugins/profinet/profinet.la \
286 -dlopen plugins/stats_tree/stats_tree.la \
287 -dlopen plugins/unistim/unistim.la \
288 -dlopen plugins/wimax/wimax.la \
289 -dlopen plugins/wimaxmacphy/wimaxmacphy.la
291 WTAP_PLUGIN_SOURCES = \
299 WTAP_PLUGIN_SOURCES =
303 include Makefile.common
306 wireshark_LDFLAGS = -Wl,-static -all-static
308 wireshark_LDFLAGS = -export-dynamic
311 # Libraries and plugin flags with which to link wireshark.
313 # Note that Wireshark, when built with a version of GTK+ that runs
314 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
315 # as those should also be included in @GTK_LIBS@ (as those are also
316 # needed for X applications, and GTK+ applications are X applications
317 # if the version of GTK+ they're built with runs atop X11).
319 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
320 # the necessary GLib libraries are included in @GTK_LIBS@. To quote
321 # Gentoo bug 423743 at
323 # https://bugs.gentoo.org/show_bug.cgi?id=423743
325 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
326 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
327 # It is not actually a superset: gmodule is included in GLIB_LIBS but
328 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
330 # although it's also possible that -lgmodule is in GTK_LIBS but not
331 # GLIB_LIBS (that's the case on my machine right now, for example).
338 wiretap/libwiretap.la \
339 epan/libwireshark.la \
340 wsutil/libwsutil.la \
347 @LAUNCHSERVICES_FRAMEWORKS@ \
348 @CORESERVICES_FRAMEWORKS@ \
358 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
361 tshark_LDFLAGS = -Wl,-static -all-static
363 tshark_LDFLAGS = -export-dynamic
366 # Libraries and plugin flags with which to link tshark.
370 wiretap/libwiretap.la \
371 epan/libwireshark.la \
372 wsutil/libwsutil.la \
382 @CORESERVICES_FRAMEWORKS@ \
387 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
390 rawshark_LDFLAGS = -Wl,-static -all-static
392 rawshark_LDFLAGS = -export-dynamic
395 # Libraries and plugin flags with which to link rawshark.
398 wiretap/libwiretap.la \
399 epan/libwireshark.la \
400 wsutil/libwsutil.la \
410 @CORESERVICES_FRAMEWORKS@ \
415 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
417 # Libraries with which to link text2pcap.
419 wiretap/libwiretap.la \
420 wsutil/libwsutil.la \
422 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
423 # which is generated (and therefore not always clean).
424 # We could generate text2pcap.o as a library with -Werror but for now it
425 # doesn't seem worth the effort.
426 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
428 # Libraries with which to link mergecap.
430 wiretap/libwiretap.la \
431 wsutil/libwsutil.la \
433 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
435 # Libraries with which to link capinfos.
437 wiretap/libwiretap.la \
438 wsutil/libwsutil.la \
441 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
443 # Libraries with which to link editcap.
445 wiretap/libwiretap.la \
446 wsutil/libwsutil.la \
448 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
450 # Libraries with which to link reordercap.
452 wiretap/libwiretap.la \
453 wsutil/libwsutil.la \
455 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
457 # Libraries with which to link randpkt.
459 wiretap/libwiretap.la \
460 wsutil/libwsutil.la \
467 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
469 # Libraries and plugin flags with which to link dftest.
472 wiretap/libwiretap.la \
473 wsutil/libwsutil.la \
474 epan/libwireshark.la \
488 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
490 # Libraries with which to link dumpcap.
492 wsutil/libwsutil.la \
497 @CORESERVICES_FRAMEWORKS@ \
499 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS)
502 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
503 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
506 # Build the version string
508 # FORCE is the portable version of .PHONY
512 $(PERL) $(srcdir)/make-version.pl $(srcdir)
515 # Build shell scripts by doing variable substitution.
516 # Taken from autoconf 2.13.
518 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
523 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
525 ps.c: print.ps $(srcdir)/tools/rdps.py
526 $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
529 $(PERL) $(srcdir)/tools/make-services.pl
536 # We have to remove svnversion.h with "make distclean", as, otherwise,
537 # "make distcheck" fails. We still need to make the tarballs work
538 # even if you do "make distclean" and try to rebuild; that's a work in
541 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
542 # list of files removed by "make distclean"? (It's deliberately
543 # included in that list.)
549 MAINTAINERCLEANFILES = \
578 abi-descriptor.template \
579 aclocal-fallback/glib-2.0.m4 \
580 aclocal-fallback/gtk-2.0.m4 \
588 capture_wpcap_packet.c \
589 capture_wpcap_packet.h \
599 debian/headers-check.c \
600 debian/patches/00list \
601 debian/patches/03_preferences.dpatch \
606 debian/README.source \
607 debian/tshark.files \
608 debian/tshark.manpages \
610 debian/wireshark-common.files \
611 debian/wireshark-common.manpages \
612 debian/wireshark-common.shlibs \
613 debian/wireshark-dev.docs \
614 debian/wireshark-dev.files \
615 debian/wireshark-dev.header-files \
616 debian/wireshark-dev.manpages \
617 debian/wireshark-dev.prerm \
618 debian/wireshark-root.desktop \
619 debian/wireshark.desktop \
620 debian/wireshark.files \
621 debian/wireshark.manpages \
622 debian/wireshark.menu \
638 idl/coseventcomm.idl \
642 idl/parlay/cccs.idl \
644 idl/parlay/common_cc_data.idl \
647 idl/parlay/fw_data.idl \
648 idl/parlay/fw_if.idl \
649 idl/parlay/fw_if_access.idl \
650 idl/parlay/fw_if_app.idl \
651 idl/parlay/fw_if_entop.idl \
652 idl/parlay/fw_if_service.idl \
653 idl/parlay/gcc_data.idl \
654 idl/parlay/gcc_interfaces.idl \
657 idl/parlay/mmccs.idl \
659 idl/parlay/mpcc_data.idl \
660 idl/parlay/mpcc_interfaces.idl \
662 idl/parlay/pam_data.idl \
663 idl/parlay/pam_interfaces.idl \
664 idl/parlay/Parlay.idl \
665 idl/parlay/policy_data.idl \
666 idl/parlay/policy_interfaces.idl \
667 idl/parlay/README.parlay \
668 idl/parlay/termcap.idl \
669 idl/parlay/ui_data.idl \
670 idl/parlay/ui_interfaces.idl \
671 image/capinfos.rc.in \
672 image/capture_comment.svg \
673 image/capture_comment_add.png \
674 image/capture_comment_disabled.png \
675 image/capture_comment_update.png \
676 image/capture_start_24.png \
677 image/capture_start_active_24.png \
678 image/capture_stop_24.png \
679 image/clist_ascend.xpm \
680 image/clist_descend.xpm \
681 image/dfilter_apply_hover.png \
682 image/dfilter_apply_normal.png \
683 image/dfilter_apply_pressed.png \
684 image/dfilter_bookmark_hover.png \
685 image/dfilter_bookmark_normal.png \
686 image/dfilter_bookmark_pressed.png \
687 image/dfilter_dropdown.png \
688 image/dfilter_erase_active.png \
689 image/dfilter_erase_normal.png \
690 image/dfilter_erase_selected.png \
691 image/dfilter_refresh_active.png \
692 image/dfilter_refresh_normal.png \
693 image/display_filter.qrc \
694 image/dumpcap.rc.in \
695 image/editcap.rc.in \
696 image/expert_chat.png \
697 image/expert_error.png \
698 image/expert_indicators.svg \
699 image/expert_none.png \
700 image/expert_note.png \
701 image/expert_warn.png \
702 image/file_dlg_win32.rc \
703 image/hi16-app-wireshark.png \
704 image/hi32-app-wireshark.png \
705 image/hi48-app-wireshark.png \
706 image/icon_layout_1.xpm \
707 image/icon_layout_2.xpm \
708 image/icon_layout_3.xpm \
709 image/icon_layout_4.xpm \
710 image/icon_layout_5.xpm \
711 image/icon_layout_6.xpm \
712 image/libwireshark.rc.in \
713 image/libwsutil.rc.in \
714 image/lo16-app-wireshark.png \
715 image/lo32-app-wireshark.png \
716 image/lo48-app-wireshark.png \
718 image/Makefile.nmake \
719 image/mergecap.rc.in \
720 image/nsis-checked.bmp \
721 image/nsis-unchecked.bmp \
722 image/rawshark.rc.in \
724 image/reordercap.rc.in \
726 image/stock_dialog_error_48.xpm \
727 image/stock_dialog_info_48.xpm \
728 image/stock_dialog_question_48.xpm \
729 image/stock_dialog_stop_48.xpm \
730 image/stock_dialog_warning_48.xpm \
731 image/text2pcap.rc.in \
733 image/toolbar/analyze_24.xpm \
734 image/toolbar/audio_player_24.xpm \
735 image/toolbar/autoscroll_24.xpm \
736 image/toolbar/capture_airpcap_16.xpm \
737 image/toolbar/capture_capture_16.xpm \
738 image/toolbar/capture_details_16.xpm \
739 image/toolbar/capture_details_24.xpm \
740 image/toolbar/capture_ethernet_16.xpm \
741 image/toolbar/capture_filter_24.xpm \
742 image/toolbar/capture_interfaces_24.xpm \
743 image/toolbar/capture_options_24.xpm \
744 image/toolbar/capture_prepare_16.xpm \
745 image/toolbar/capture_restart_24.xpm \
746 image/toolbar/capture_start_24.xpm \
747 image/toolbar/capture_stop_24.xpm \
748 image/toolbar/checkbox_16.xpm \
749 image/toolbar/colorize_24.xpm \
750 image/toolbar/conversations_16.xpm \
751 image/toolbar/decode_24.xpm \
752 image/toolbar/decode_as_16.xpm \
753 image/toolbar/display_filter_24.xpm \
754 image/toolbar/endpoints_16.xpm \
755 image/toolbar/expert_info_16.xpm \
756 image/toolbar/file_set_list_16.xpm \
757 image/toolbar/file_set_next_16.xpm \
758 image/toolbar/file_set_previous_16.xpm \
759 image/toolbar/flow_graph_16.xpm \
760 image/toolbar/graphs_16.xpm \
761 image/toolbar/icon_color_0.xpm \
762 image/toolbar/icon_color_1.xpm \
763 image/toolbar/icon_color_2.xpm \
764 image/toolbar/icon_color_3.xpm \
765 image/toolbar/icon_color_4.xpm \
766 image/toolbar/icon_color_5.xpm \
767 image/toolbar/icon_color_6.xpm \
768 image/toolbar/icon_color_7.xpm \
769 image/toolbar/icon_color_8.xpm \
770 image/toolbar/icon_color_9.xpm \
771 image/toolbar/internet_24.xpm \
772 image/toolbar/modem_16.png \
773 image/toolbar/modem_16.xpm \
774 image/toolbar/network_bluetooth_16.png \
775 image/toolbar/network_usb.svg \
776 image/toolbar/network_usb_16.png \
777 image/toolbar/network_virtual_16.xpm \
778 image/toolbar/network_wired_16.png \
779 image/toolbar/network_wireless_16.png \
780 image/toolbar/pipe_16.png \
781 image/toolbar/remote_arrow_16.png \
782 image/toolbar/remote_globe_16.png \
783 image/toolbar/remote_sat_16.png \
784 image/toolbar/resize_columns_24.xpm \
785 image/toolbar/telephone_16.xpm \
786 image/toolbar/telephony_16.xpm \
787 image/toolbar/time_24.xpm \
788 image/toolbar/voip_flow_24.xpm \
789 image/toolbar/web_support_24.xpm \
790 image/toolbar/wep_closed_24.xpm \
791 image/toolbar/wiki_24.xpm \
794 image/voip_select.xpm \
795 image/wireshark.exe.manifest.in \
796 image/wireshark.ico \
797 image/wireshark.rc.in \
798 image/wiresharkdoc.ico \
799 image/wiresharkinst.ico \
800 image/WiresharkDoc-128.png \
801 image/WiresharkDoc-16.png \
802 image/WiresharkDoc-24.png \
803 image/WiresharkDoc-256.png \
804 image/WiresharkDoc-32.png \
805 image/WiresharkDoc-48.png \
806 image/WiresharkDoc-64.png \
807 image/WiresharkDoc_24.xpm \
808 image/wiretap.rc.in \
812 image/wsicon256.png \
819 image/wsiconcap.svg \
820 image/wsiconcap16.xpm \
821 image/wsiconcap256.png \
822 image/wsiconcap32.xpm \
823 image/wsiconcap48.xpm \
824 image/wsiconinst.svg \
825 image/wsiconinst256.png \
826 image/wslogo-dev.svg \
829 image/wssplash-dev.xpm \
833 macosx-support-lib-patches/glib-pkgconfig.patch \
834 macosx-support-lib-patches/gnutls-pkgconfig.patch \
835 macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
851 text2pcap-scanner.l \
859 wsutil/CMakeLists.txt \
861 wiretap/CMakeLists.txt \
863 ConfigureChecks.cmake \
864 cmake/modules/CMakeInstallDirs.cmake \
865 cmake/modules/COPYING-CMAKE-SCRIPTS \
866 cmake/modules/CheckCLinkerFlag.cmake \
867 cmake/modules/FeatureSummary.cmake \
868 cmake/modules/FindADNS.cmake \
869 cmake/modules/FindCAP.cmake \
870 cmake/modules/FindCARES.cmake \
871 cmake/modules/FindFOP.cmake \
872 cmake/modules/FindGCRYPT.cmake \
873 cmake/modules/FindGEOIP.cmake \
874 cmake/modules/FindGLIB2.cmake \
875 cmake/modules/FindGMODULE2.cmake \
876 cmake/modules/FindGNUTLS.cmake \
877 cmake/modules/FindGTHREAD2.cmake \
878 cmake/modules/FindGTK2.cmake \
879 cmake/modules/FindGTK3.cmake \
880 cmake/modules/FindHtmlViewer.cmake \
881 cmake/modules/FindKERBEROS.cmake \
882 cmake/modules/FindNL.cmake \
883 cmake/modules/FindLEX.cmake \
884 cmake/modules/FindLUA.cmake \
885 cmake/modules/FindLYNX.cmake \
886 cmake/modules/FindM.cmake \
887 cmake/modules/FindPCAP.cmake \
888 cmake/modules/FindPOD.cmake \
889 cmake/modules/FindPORTAUDIO.cmake \
890 cmake/modules/FindPYTHON.cmake \
891 cmake/modules/FindSED.cmake \
892 cmake/modules/FindSH.cmake \
893 cmake/modules/FindSMI.cmake \
894 cmake/modules/FindXMLLINT.cmake \
895 cmake/modules/FindXSLTPROC.cmake \
896 cmake/modules/FindYACC.cmake \
897 cmake/modules/FindYAPP.cmake \
898 cmake/modules/FindZLIB.cmake \
899 cmake/modules/LICENSE.txt \
900 cmake/modules/UseLemon.cmake \
901 cmake/modules/UseMakeDissectorReg.cmake \
902 cmake/modules/UseMakeTapReg.cmake \
903 cmake/modules/readme.txt \
904 ui/win32/Makefile.nmake \
905 ui/win32/file_dlg_win32.c \
906 ui/win32/file_dlg_win32.h \
907 ui/win32/print_win32.c \
908 ui/win32/print_win32.h \
917 if HAVE_DUMPCAP_GROUP
918 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
921 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
922 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
925 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
926 -chmod +s $(DESTDIR)$(bindir)/dumpcap
931 DIST_SUBDIRS = asn1 codecs doc epan ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
934 SUBDIRS = tools wsutil wiretap epan plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
936 SUBDIRS = tools wsutil wiretap epan packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
939 help/faq.txt: $(srcdir)/help/faq.py
943 libtool: $(LIBTOOL_DEPS)
944 $(SHELL) ./config.status --recheck
946 # Used by svr4-package and osx-package
947 # We load top_stagedir with an explicit path so that libtool doesn't freak.
948 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
949 stagedir=$(top_stagedir)/$(PACKAGE).inst
954 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
955 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
956 rm -rf $(stagedir) ; \
957 $(MAKE) DESTDIR=$(stagedir) install; \
958 $(srcdir)/packaging/svr4/mkpkg \
960 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
964 echo "Error: SVR4 packaging tools not found." ; \
965 echo "Package build abandoned." ; \
968 solaris-package: svr4-package
970 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
972 if test x$(HAVE_RPM) = xyes ; then \
974 mkdir -p BUILD RPMS SOURCES ; \
976 ln -s ../../../$(distdir).tar.bz2 ; \
977 ln -s ../../../wireshark.desktop ; \
978 ln -s ../../../image/wsicon64.png wireshark.png ; \
980 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
981 echo "Package successfully built in `pwd`/RPMS." ; \
983 echo "Error: RPM executable and/or source directory not found." ; \
986 if test x$(HAVE_RPM) = xyes ; then \
988 mkdir -p BUILD SRPMS SOURCES ; \
990 ln -s ../../../$(distdir).tar.bz2 ; \
991 ln -s ../../../wireshark.desktop ; \
992 ln -s ../../../image/wsicon64.png wireshark.png ; \
994 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
995 echo "Package successfully built in `pwd`/SRPMS." ; \
997 echo "Error: RPM executable and/or source directory not found." ; \
1000 debian-package: debian/rules
1001 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1002 dpkg-buildpackage -rfakeroot -us -uc ; \
1004 echo "Error: Debian packaging tools not found." ; \
1005 echo "Package build abandoned." ; \
1008 # XXX - This assumes we're building from the source directory.
1009 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1010 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1011 rm -rf $(stagedir) ; \
1012 $(MAKE) DESTDIR=$(stagedir) install; \
1013 cd $(srcdir)/packaging/macosx ; \
1014 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1016 echo "Error: OS X packaging tools not found." ; \
1017 echo "Package build abandoned." ; \
1020 packaging/macosx/COPYING.txt: COPYING
1021 (cd packaging/macosx ; \
1022 $(MAKE) COPYING.txt ;)
1024 osx-package: osx-app packaging/macosx/COPYING.txt
1025 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1026 cd $(srcdir)/packaging/macosx ; \
1027 chmod +x ./osx-dmg.sh ; \
1031 osx-install: osx-app
1032 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1033 echo "Copying Wireshark.app to /Applications" ; \
1034 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
1038 rm -rf $(top_stagedir)
1041 $(MAKE) -C wiretap dumpabi
1042 $(MAKE) -C epan dumpabi
1043 $(MAKE) -C wsutil dumpabi
1046 $(PERL) tools/checkAPIs.pl -build \
1048 $(wireshark_SOURCES)
1049 # $(EXTRA_wireshark_SOURCES)
1051 checkapi: checkapi_local
1052 cd wiretap && $(MAKE) checkapi
1053 cd codecs && $(MAKE) checkapi
1054 cd ui && $(MAKE) checkapi
1055 cd ui/gtk && $(MAKE) checkapi
1056 ## cd epan && $(MAKE) checkapi
1057 ## cd epan/crypt && $(MAKE) checkapi
1058 cd epan/dfilter && $(MAKE) checkapi
1059 ## cd epan/ftypes && $(MAKE) checkapi
1060 ## cd epan/wslua && $(MAKE) checkapi
1061 cd epan/dissectors && $(MAKE) checkapi
1062 cd plugins && $(MAKE) checkapi
1063 cd wsutil && $(MAKE) checkapi