2 # Automake file for Wireshark
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 include ./Makefile.am.inc
24 AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
25 # Make sure to keep ACLOCAL_AMFLAGS in Makefile.am and AC_CONFIG_MACRO_DIRS
26 # in configure.ac in sync, otherwise there will be an error running autogen.sh.
27 ACLOCAL_AMFLAGS = -I m4
32 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(COMMONCPPFLAGS)
51 EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype \
52 editcap mergecap dftest randpkt text2pcap dumpcap reordercap \
53 rawshark sharkd fuzzshark
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 enterprises.tsv wka
61 pkgconfigdir = $(libdir)/pkgconfig
62 pkgconfig_DATA = wireshark.pc
65 # Install global profiles in the "profiles" subdirectory
67 profilesdir = $(pkgdatadir)
68 nobase_dist_profiles_DATA = \
69 profiles/Bluetooth/colorfilters \
70 profiles/Bluetooth/preferences \
71 profiles/Classic/colorfilters
74 # Install the Diameter DTD and XML files in the "diameter" subdirectory
77 diameterdir = $(pkgdatadir)/diameter
78 include diameter/Custom.make
79 dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
80 diameter/chargecontrol.xml \
82 diameter/CiscoSystems.xml \
84 diameter/dictionary.dtd \
85 diameter/dictionary.xml \
87 diameter/Ericsson.xml \
88 diameter/etsie2e4.xml \
90 diameter/Juniper.xml \
91 diameter/mobileipv4.xml \
92 diameter/mobileipv6.xml \
95 diameter/Starent.xml \
96 diameter/sunping.xml \
99 diameter/Vodafone.xml \
100 diameter/AlcatelLucent.xml \
102 diameter/NokiaSolutionsAndNetworks.xml \
104 diameter/Huawei.xml \
108 # Install the DTDs directory files in the "dtds" subdirectory
111 dtdsdir = $(pkgdatadir)/dtds
116 dtds/pocsettings.dtd \
123 dtds/xcap-error.dtd \
127 # Install the RADIUS directory files in the "radius" subdirectory
130 radiusdir = $(pkgdatadir)/radius
131 include radius/Custom.make
132 dist_radius_DATA = $(_CUSTOM_radius_dict_) \
133 radius/README.radius_dictionary \
134 radius/custom.includes \
136 radius/dictionary.3com \
137 radius/dictionary.3gpp \
138 radius/dictionary.3gpp2 \
139 radius/dictionary.acc \
140 radius/dictionary.acme \
141 radius/dictionary.actelis \
142 radius/dictionary.aerohive \
143 radius/dictionary.airespace \
144 radius/dictionary.alcatel \
145 radius/dictionary.alcatel-lucent.aaa \
146 radius/dictionary.alcatel.esam \
147 radius/dictionary.alcatel.sr \
148 radius/dictionary.alteon \
149 radius/dictionary.altiga \
150 radius/dictionary.alvarion \
151 radius/dictionary.alvarion.wimax.v2_2 \
152 radius/dictionary.apc \
153 radius/dictionary.aptis \
154 radius/dictionary.arbor \
155 radius/dictionary.aruba \
156 radius/dictionary.ascend \
157 radius/dictionary.asn \
158 radius/dictionary.audiocodes \
159 radius/dictionary.avaya \
160 radius/dictionary.azaire \
161 radius/dictionary.bay \
162 radius/dictionary.bintec \
163 radius/dictionary.bluecoat \
164 radius/dictionary.bristol \
165 radius/dictionary.broadsoft \
166 radius/dictionary.brocade \
167 radius/dictionary.bskyb \
168 radius/dictionary.bt \
169 radius/dictionary.cablelabs \
170 radius/dictionary.cabletron \
171 radius/dictionary.camiant \
172 radius/dictionary.chillispot \
173 radius/dictionary.cisco \
174 radius/dictionary.cisco.asa \
175 radius/dictionary.cisco.bbsm \
176 radius/dictionary.cisco.vpn3000 \
177 radius/dictionary.cisco.vpn5000 \
178 radius/dictionary.citrix \
179 radius/dictionary.clavister \
180 radius/dictionary.cnergee \
181 radius/dictionary.colubris \
182 radius/dictionary.columbia_university \
183 radius/dictionary.compat \
184 radius/dictionary.compatible \
185 radius/dictionary.cosine \
186 radius/dictionary.dante \
187 radius/dictionary.dellemc \
188 radius/dictionary.dhcp \
189 radius/dictionary.digium \
190 radius/dictionary.dlink \
191 radius/dictionary.dragonwave \
192 radius/dictionary.efficientip \
193 radius/dictionary.eltex \
194 radius/dictionary.epygi \
195 radius/dictionary.equallogic \
196 radius/dictionary.ericsson \
197 radius/dictionary.ericsson.ab \
198 radius/dictionary.ericsson.packet.core.networks \
199 radius/dictionary.extreme \
200 radius/dictionary.f5 \
201 radius/dictionary.fdxtended \
202 radius/dictionary.fortinet \
203 radius/dictionary.foundry \
204 radius/dictionary.freedhcp \
205 radius/dictionary.freeradius \
206 radius/dictionary.freeradius.internal \
207 radius/dictionary.freeswitch \
208 radius/dictionary.gandalf \
209 radius/dictionary.garderos \
210 radius/dictionary.gemtek \
211 radius/dictionary.h3c \
212 radius/dictionary.hp \
213 radius/dictionary.huawei \
214 radius/dictionary.iana \
215 radius/dictionary.iea \
216 radius/dictionary.infoblox \
217 radius/dictionary.infonet \
218 radius/dictionary.ipunplugged \
219 radius/dictionary.issanni \
220 radius/dictionary.itk \
221 radius/dictionary.jradius \
222 radius/dictionary.juniper \
223 radius/dictionary.karlnet \
224 radius/dictionary.kineto \
225 radius/dictionary.lancom \
226 radius/dictionary.livingston \
227 radius/dictionary.localweb \
228 radius/dictionary.lucent \
229 radius/dictionary.manzara \
230 radius/dictionary.meinberg \
231 radius/dictionary.merit \
232 radius/dictionary.meru \
233 radius/dictionary.microsemi \
234 radius/dictionary.microsoft \
235 radius/dictionary.mikrotik \
236 radius/dictionary.motorola \
237 radius/dictionary.motorola.wimax \
238 radius/dictionary.navini \
239 radius/dictionary.netscreen \
240 radius/dictionary.networkphysics \
241 radius/dictionary.nexans \
242 radius/dictionary.nokia \
243 radius/dictionary.nokia.conflict \
244 radius/dictionary.nomadix \
245 radius/dictionary.nortel \
246 radius/dictionary.ntua \
247 radius/dictionary.openser \
248 radius/dictionary.packeteer \
249 radius/dictionary.paloalto \
250 radius/dictionary.patton \
251 radius/dictionary.perle \
252 radius/dictionary.propel \
253 radius/dictionary.prosoft \
254 radius/dictionary.proxim \
255 radius/dictionary.purewave \
256 radius/dictionary.quiconnect \
257 radius/dictionary.quintum \
258 radius/dictionary.redcreek \
259 radius/dictionary.rfc2865 \
260 radius/dictionary.rfc2866 \
261 radius/dictionary.rfc2867 \
262 radius/dictionary.rfc2868 \
263 radius/dictionary.rfc2869 \
264 radius/dictionary.rfc3162 \
265 radius/dictionary.rfc3576 \
266 radius/dictionary.rfc3580 \
267 radius/dictionary.rfc4072 \
268 radius/dictionary.rfc4372 \
269 radius/dictionary.rfc4603 \
270 radius/dictionary.rfc4675 \
271 radius/dictionary.rfc4679 \
272 radius/dictionary.rfc4818 \
273 radius/dictionary.rfc4849 \
274 radius/dictionary.rfc5090 \
275 radius/dictionary.rfc5176 \
276 radius/dictionary.rfc5447 \
277 radius/dictionary.rfc5580 \
278 radius/dictionary.rfc5607 \
279 radius/dictionary.rfc5904 \
280 radius/dictionary.rfc6519 \
281 radius/dictionary.rfc6572 \
282 radius/dictionary.rfc6677 \
283 radius/dictionary.rfc6911 \
284 radius/dictionary.rfc6929 \
285 radius/dictionary.rfc6930 \
286 radius/dictionary.rfc7055 \
287 radius/dictionary.rfc7155 \
288 radius/dictionary.rfc7268 \
289 radius/dictionary.rfc7499 \
290 radius/dictionary.rfc7930 \
291 radius/dictionary.riverbed \
292 radius/dictionary.riverstone \
293 radius/dictionary.roaringpenguin \
294 radius/dictionary.ruckus \
295 radius/dictionary.ruggedcom \
296 radius/dictionary.sangoma \
297 radius/dictionary.sg \
298 radius/dictionary.shasta \
299 radius/dictionary.shiva \
300 radius/dictionary.siemens \
301 radius/dictionary.slipstream \
302 radius/dictionary.sofaware \
303 radius/dictionary.sonicwall \
304 radius/dictionary.springtide \
305 radius/dictionary.starent \
306 radius/dictionary.starent.vsa1 \
307 radius/dictionary.surfnet \
308 radius/dictionary.symbol \
309 radius/dictionary.t_systems_nova \
310 radius/dictionary.telebit \
311 radius/dictionary.telkom \
312 radius/dictionary.terena \
313 radius/dictionary.trapeze \
314 radius/dictionary.travelping \
315 radius/dictionary.tropos \
316 radius/dictionary.ukerna \
317 radius/dictionary.unisphere \
318 radius/dictionary.unix \
319 radius/dictionary.usr \
320 radius/dictionary.utstarcom \
321 radius/dictionary.valemount \
322 radius/dictionary.versanet \
323 radius/dictionary.vqp \
324 radius/dictionary.walabi \
325 radius/dictionary.waverider \
326 radius/dictionary.wichorus \
327 radius/dictionary.wimax \
328 radius/dictionary.wimax.alvarion \
329 radius/dictionary.wimax.wichorus \
330 radius/dictionary.wispr \
331 radius/dictionary.xedia \
332 radius/dictionary.xylan \
333 radius/dictionary.yubico \
334 radius/dictionary.zeus \
335 radius/dictionary.zte \
336 radius/dictionary.zyxel
339 # Install the tpncp directory files in the "tpncp" subdirectory
342 tpncpdir = $(pkgdatadir)/tpncp
347 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
350 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
351 dist_wimaxasncp_DATA = \
352 wimaxasncp/dictionary.xml \
353 wimaxasncp/dictionary.dtd
355 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
356 BUILT_HEADER_FILES = \
361 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
363 # Header files generated from source files.
364 GENERATED_HEADER_FILES = \
365 text2pcap-scanner_lex.h \
366 $(BUILT_HEADER_FILES)
368 # C source files generated from source files.
371 # All the generated files.
372 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
374 EXTCAP_COMMON_SRC = \
379 # sources common for wireshark, tshark, and rawshark
382 file_packet_provider.c \
386 # wireshark specifics
387 WIRESHARK_COMMON_SRC = \
388 $(SHARK_COMMON_SRC) \
397 SHARK_COMMON_SRC += $(EXTCAP_COMMON_SRC)
407 # Libraries and plugin flags with which to link wireshark.
409 # GTK_CFLAGS/GTK_LIBS is a strict superset of GLIB_CFLAGS/GLIB_LIBS
410 # (see configure.ac for pkg-config modules used).
412 wireshark_common_ldadd = \
413 capchild/libcapchild.a \
414 caputils/libcaputils.a \
416 ui/libui_generated.a \
417 codecs/libwscodecs.la \
418 wiretap/libwiretap.la \
419 epan/libwireshark.la \
420 wsutil/libwsutil.la \
426 wireshark_SOURCES = $(WIRESHARK_COMMON_SRC) wireshark-qt.cpp
428 wireshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(Qt_CFLAGS)
430 wireshark_LDFLAGS = $(AM_LDFLAGS) $(Qt_LDFLAGS)
434 $(wireshark_common_ldadd) \
439 wireshark_LDADD += $(SPEEXDSP_LIBS)
444 wireshark_gtk_SOURCES = $(WIRESHARK_COMMON_SRC)
446 wireshark_gtk_CPPFLAGS = $(AM_CPPFLAGS) $(GTK_CFLAGS)
448 wireshark_gtk_LDFLAGS = $(AM_LDFLAGS)
450 wireshark_gtk_LDADD = \
452 $(wireshark_common_ldadd) \
457 fuzzshark_SOURCES = \
458 tools/oss-fuzzshark/fuzzshark.c \
459 tools/oss-fuzzshark/StandaloneFuzzTargetMain.c \
462 fuzzshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
464 fuzzshark_LDFLAGS = $(AM_LDFLAGS)
467 wiretap/libwiretap.la \
468 epan/libwireshark.la \
469 wsutil/libwsutil.la \
474 $(SHARK_COMMON_SRC) \
479 tshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
481 tshark_LDFLAGS = $(AM_LDFLAGS)
483 # Libraries and plugin flags with which to link tshark.
485 capchild/libcapchild.a \
486 caputils/libcaputils.a \
489 wiretap/libwiretap.la \
490 epan/libwireshark.la \
491 wsutil/libwsutil.la \
497 $(SHARK_COMMON_SRC) \
501 tfshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
503 tfshark_LDFLAGS = $(AM_LDFLAGS)
505 # Libraries and plugin flags with which to link tfshark.
509 wiretap/libwiretap.la \
510 epan/libwireshark.la \
511 wsutil/libwsutil.la \
517 $(SHARK_COMMON_SRC) \
521 rawshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
523 rawshark_LDFLAGS = $(AM_LDFLAGS)
525 # Libraries and plugin flags with which to link rawshark.
527 caputils/libcaputils.a \
529 wiretap/libwiretap.la \
530 epan/libwireshark.la \
531 wsutil/libwsutil.la \
537 $(SHARK_COMMON_SRC) \
544 sharkd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
547 sharkd_CPPFLAGS += $(SPEEXDSP_CFLAGS)
550 sharkd_LDFLAGS = $(AM_LDFLAGS)
552 # Libraries and plugin flags with which to link sharkd.
556 codecs/libwscodecs.la \
557 wiretap/libwiretap.la \
558 epan/libwireshark.la \
559 wsutil/libwsutil.la \
565 sharkd_LDADD += $(SPEEXDSP_LIBS)
568 text2pcap_SOURCES = \
570 text2pcap-scanner.l \
573 text2pcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
575 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
576 # which is generated (and therefore not always clean).
577 # We could generate text2pcap.o as a library with -Werror but for now it
578 # doesn't seem worth the effort.
579 text2pcap_CFLAGS = $(GENERATED_CFLAGS)
581 # Libraries with which to link text2pcap.
583 writecap/libwritecap.a \
584 wsutil/libwsutil.la \
591 mergecap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
593 # Libraries with which to link mergecap.
596 wiretap/libwiretap.la \
597 wsutil/libwsutil.la \
604 capinfos_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
606 # Libraries with which to link capinfos.
609 wiretap/libwiretap.la \
610 wsutil/libwsutil.la \
618 captype_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
620 # Libraries with which to link captype.
623 wiretap/libwiretap.la \
624 wsutil/libwsutil.la \
631 editcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
633 # Libraries with which to link editcap.
636 wiretap/libwiretap.la \
637 wsutil/libwsutil.la \
641 reordercap_SOURCES = \
645 reordercap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
647 # Libraries with which to link reordercap.
650 wiretap/libwiretap.la \
651 wsutil/libwsutil.la \
658 randpkt_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
660 # Libraries with which to link randpkt.
662 randpkt_core/librandpkt_core.a \
664 wiretap/libwiretap.la \
665 wsutil/libwsutil.la \
673 dftest_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
675 # Libraries and plugin flags with which to link dftest.
678 wiretap/libwiretap.la \
679 wsutil/libwsutil.la \
680 epan/libwireshark.la \
687 capture_stop_conditions.c \
694 dumpcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
696 dumpcap_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS)
698 dumpcap_LDFLAGS = $(AM_LDFLAGS) $(PIE_LDFLAGS)
700 # Libraries with which to link dumpcap.
702 caputils/libcaputils.a \
704 writecap/libwritecap.a \
705 wsutil/libwsutil.la \
711 pkginclude_HEADERS = \
717 ws_compiler_tests.h \
721 # this target needed for distribution only
725 capture_stop_conditions.h \
738 # Build the version string
740 # FORCE is the portable version of .PHONY
744 $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
747 # Build shell scripts by doing variable substitution.
748 # Taken from autoconf 2.13.
750 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
755 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
758 $(PYTHON) $(srcdir)/tools/make-services.py
767 MAINTAINERCLEANFILES = \
783 abi-descriptor.template \
797 macosx-support-lib-patches \
803 text2pcap-scanner.l \
807 wireshark-gtk.desktop \
808 wireshark-mime-package.xml \
809 wireshark.appdata.xml \
813 CMakeListsCustom.txt.example \
816 ConfigureChecks.cmake \
820 if HAVE_DUMPCAP_GROUP
821 chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
824 $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
825 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
828 chmod o-rws $(DESTDIR)$(bindir)/dumpcap
829 chmod +s $(DESTDIR)$(bindir)/dumpcap
836 plugins_subdir = plugins
841 extcap_subdir = extcap
877 @wireshark_SUBDIRS@ \
885 help/faq.txt: $(srcdir)/help/faq.py
886 $(AM_V_GEN)(cd help ; \
889 libtool: $(LIBTOOL_DEPS)
890 $(SHELL) ./config.status --recheck
894 # Install icons and other desktop files for (for use with GNOME, KDE, or
895 # any other freedesktop.org-compliant desktops).
897 # We use $(datadir). If the desktop doesn't look for them there,
898 # the desktop is broken; the latest XDG Base Directory Specification
899 # can be consulted at
901 # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
903 # We neither need nor want any of this if we're not building Wireshark
904 # (that being the only desktop app).
907 if BUILDING_WIRESHARK
908 $(MKDIR_P) $(DESTDIR)$(datadir)/mime/packages
909 $(INSTALL) -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
910 $(MKDIR_P) $(DESTDIR)$(datadir)/appdata
911 $(INSTALL) -m 644 $(srcdir)/wireshark.appdata.xml $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml
912 $(MKDIR_P) $(DESTDIR)$(datadir)/applications
913 $(INSTALL) -m 644 $(srcdir)/wireshark.desktop $(srcdir)/wireshark-gtk.desktop $(DESTDIR)$(datadir)/applications
914 for size in 16 24 32 48 64 128 256; \
916 $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps ; \
917 $(INSTALL) -m 644 $(srcdir)/image/wsicon$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
918 $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes ; \
919 $(INSTALL) -m 644 $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
921 $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps
922 $(INSTALL) -m 644 $(srcdir)/image/wsicon.svg $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
926 if BUILDING_WIRESHARK
927 rm -f $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml
928 rm -f $(DESTDIR)$(datadir)/applications/wireshark.desktop
929 rm -f $(DESTDIR)$(datadir)/applications/wireshark-gtk.desktop
930 rm -f $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
931 for size in 16 24 32 48 64 128 256; \
933 rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
934 rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
936 rm -f $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
939 install-data-hook: update-databases-and-caches-install
940 uninstall-hook: update-databases-and-caches-uninstall
943 # ldconfig may be needed to update a shared library cache.
945 # update-desktop-database and update-mime-database may be needed on
946 # freedesktop.org desktops.
948 # gtk-update-icon-cache may be needed only if we're installing a GTK+
949 # version of Wireshark.
951 # Only ldconfig may be needed if we're not building Wireshark
952 # (that being the only desktop app).
954 update-databases-and-caches-common:
955 @echo "-------------------------------------------------------------------------------"
956 @echo "You may need to run \"ldconfig\" as root"
957 if BUILDING_WIRESHARK
958 @echo "You may need to run \"update-desktop-database $(datadir)/applications\""
959 @echo "You may need to run \"update-mime-database $(datadir)/mime\""
960 @echo "You may need to run \"gtk-update-icon-cache -f -t $(datadir)/icons/hicolor\""
962 @echo "-------------------------------------------------------------------------------"
964 update-databases-and-caches-install: update-databases-and-caches-common
966 update-databases-and-caches-uninstall: update-databases-and-caches-common
969 $(MAKE) -C packaging/rpm
972 cd epan && $(MAKE) $@
975 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
976 -sourcedir=$(srcdir) \
978 $(wireshark_gtk_SOURCES)
979 # $(EXTRA_wireshark_gtk_SOURCES)
981 checkapi: checkapi_local
982 cd wiretap && $(MAKE) checkapi
983 cd codecs && $(MAKE) checkapi
984 cd capchild && $(MAKE) checkapi
985 cd caputils && $(MAKE) checkapi
986 cd ui && $(MAKE) checkapi
987 cd ui/gtk && $(MAKE) checkapi
988 cd ui/cli && $(MAKE) checkapi
989 cd epan && $(MAKE) checkapi
990 cd epan/crypt && $(MAKE) checkapi
991 cd epan/dfilter && $(MAKE) checkapi
992 cd epan/ftypes && $(MAKE) checkapi
993 cd epan/wmem && $(MAKE) checkapi
994 cd epan/wslua && $(MAKE) checkapi
995 cd epan/dissectors && $(MAKE) checkapi
996 cd plugins && $(MAKE) checkapi
997 cd randpkt_core && $(MAKE) checkapi
998 cd writecap && $(MAKE) checkapi
999 cd wsutil && $(MAKE) checkapi
1001 # --external-sources requires 0.4.0 or later.
1003 cd $(top_srcdir) && \
1004 $(SHELLCHECK) --external-sources \
1005 tools/fuzz-test.sh \
1006 tools/randpkt-test.sh \
1008 tools/test-captures.sh \
1009 tools/valgrind-wireshark.sh
1011 wsar_html: doxygen.cfg doxygen_global.cfg FORCE
1014 cd epan && $(MAKE) $@
1015 cd capchild && $(MAKE) $@
1016 cd caputils && $(MAKE) $@
1017 cd randpkt_core && $(MAKE) $@
1019 (umask 022 ; $(DOXYGEN) doxygen.cfg)
1025 zip -rq wsar_html.zip wsar_html
1028 # Update AUTHORS file with entries from git shortlog
1030 cd $(top_srcdir) && $(PERL) tools/generate_authors.pl AUTHORS.src > AUTHORS
1033 printf "git_description=%s\n" "$$(git -C $(top_srcdir) describe --match 'v[1-9]*')" \
1034 > $(top_distdir)/version.conf