Use DESTDIR when installing desktop files.
[metze/wireshark/wip.git] / Makefile.am
1 # Makefile.am
2 # Automake file for Wireshark
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
9 #
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.
14 #
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.
19 #
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.
23
24 ACLOCAL_AMFLAGS = `./aclocal-flags`
25
26 INCLUDES= @LUA_INCLUDES@
27
28 if HAVE_LIBPY
29 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
30 else
31 py_dissectors_dir = -DPYTHON_DIR=
32 endif
33
34
35 if HAVE_WARNINGS_AS_ERRORS
36 AM_CLEAN_CFLAGS = -Werror
37 endif
38
39 bin_PROGRAMS = \
40         @wireshark_bin@ \
41         @tshark_bin@    \
42         @text2pcap_bin@ \
43         @mergecap_bin@  \
44         @capinfos_bin@  \
45         @editcap_bin@   \
46         @randpkt_bin@   \
47         @dftest_bin@    \
48         @dumpcap_bin@   \
49         @reordercap_bin@        \
50         @rawshark_bin@
51
52 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
53         randpkt text2pcap dumpcap reordercap rawshark wireshark_cxx
54
55 #
56 # Wireshark configuration files are put in $(pkgdatadir).
57 #
58 pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
59         smi_modules ipmap.html pdml2html.xsl
60
61 #
62 # Install the Diameter DTD and XML files in the "diameter" subdirectory
63 # of that directory.
64 #
65 diameterdir = $(pkgdatadir)/diameter
66 diameter_DATA = \
67         diameter/chargecontrol.xml \
68         diameter/Cisco.xml \
69         diameter/dictionary.dtd \
70         diameter/dictionary.xml \
71         diameter/eap.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 \
78         diameter/nasreq.xml \
79         diameter/sip.xml \
80         diameter/sunping.xml \
81         diameter/TGPPGmb.xml \
82         diameter/TGPPRx.xml \
83         diameter/TGPPS9.xml \
84         diameter/TGPPSh.xml     \
85         diameter/Vodafone.xml \
86         diameter/AlcatelLucent.xml \
87         diameter/Nokia.xml \
88         diameter/NokiaSiemensNetworks.xml \
89         diameter/SKT.xml
90
91 #
92 # Install the DTDs directory files in the "dtds" subdirectory
93 # of that directory
94 #
95 dtdsdir = $(pkgdatadir)/dtds
96 dtds_DATA = \
97         dtds/dc.dtd \
98         dtds/itunes.dtd \
99         dtds/mscml.dtd \
100         dtds/pocsettings.dtd \
101         dtds/presence.dtd \
102         dtds/reginfo.dtd \
103         dtds/rlmi.dtd \
104         dtds/rss.dtd \
105         dtds/smil.dtd \
106         dtds/xcap-caps.dtd \
107         dtds/xcap-error.dtd \
108         dtds/watcherinfo.dtd
109
110 #
111 # Install the RADIUS directory files in the "radius" subdirectory
112 # of that directory.
113 #
114 radiusdir = $(pkgdatadir)/radius
115 -include radius/Custom.make
116 radius_DATA = $(_CUSTOM_radius_dict_) \
117         radius/README.radius_dictionary  \
118         radius/custom.includes  \
119         radius/dictionary  \
120         radius/dictionary.3com  \
121         radius/dictionary.3gpp  \
122         radius/dictionary.3gpp2  \
123         radius/dictionary.acc  \
124         radius/dictionary.acme \
125         radius/dictionary.airespace \
126         radius/dictionary.alcatel  \
127         radius/dictionary.alcatel.esam \
128         radius/dictionary.alcatel.sr \
129         radius/dictionary.alcatel-lucent.xylan \
130         radius/dictionary.alteon  \
131         radius/dictionary.altiga  \
132         radius/dictionary.alvarion \
133         radius/dictionary.apc \
134         radius/dictionary.aptis  \
135         radius/dictionary.aruba  \
136         radius/dictionary.ascend  \
137         radius/dictionary.asn \
138         radius/dictionary.audiocodes \
139         radius/dictionary.avaya \
140         radius/dictionary.azaire \
141         radius/dictionary.bay  \
142         radius/dictionary.bintec  \
143         radius/dictionary.bristol  \
144         radius/dictionary.cablelabs  \
145         radius/dictionary.cabletron  \
146         radius/dictionary.chillispot \
147         radius/dictionary.cisco  \
148         radius/dictionary.cisco.bbsm  \
149         radius/dictionary.cisco.vpn3000  \
150         radius/dictionary.cisco.vpn5000  \
151         radius/dictionary.clavister \
152         radius/dictionary.colubris  \
153         radius/dictionary.columbia_university  \
154         radius/dictionary.compat  \
155         radius/dictionary.cosine  \
156         radius/dictionary.dhcp \
157         radius/dictionary.digium \
158         radius/dictionary.eltex \
159         radius/dictionary.epygi \
160         radius/dictionary.ericsson  \
161         radius/dictionary.erx  \
162         radius/dictionary.extreme  \
163         radius/dictionary.fortinet \
164         radius/dictionary.foundry  \
165         radius/dictionary.freeradius  \
166         radius/dictionary.freeradius.internal  \
167         radius/dictionary.freeswitch \
168         radius/dictionary.gandalf  \
169         radius/dictionary.garderos  \
170         radius/dictionary.gemtek  \
171         radius/dictionary.h3c \
172         radius/dictionary.hp \
173         radius/dictionary.huawei \
174         radius/dictionary.iea \
175         radius/dictionary.infonet \
176         radius/dictionary.ipunplugged \
177         radius/dictionary.issanni \
178         radius/dictionary.itk  \
179         radius/dictionary.jradius \
180         radius/dictionary.juniper  \
181         radius/dictionary.karlnet  \
182         radius/dictionary.lancom \
183         radius/dictionary.livingston  \
184         radius/dictionary.localweb  \
185         radius/dictionary.lucent \
186         radius/dictionary.manzara \
187         radius/dictionary.merit  \
188         radius/dictionary.microsoft  \
189         radius/dictionary.mikrotik  \
190         radius/dictionary.motorola \
191         radius/dictionary.motorola.wimax \
192         radius/dictionary.navini  \
193         radius/dictionary.netscreen  \
194         radius/dictionary.networkphysics \
195         radius/dictionary.nexans \
196         radius/dictionary.nokia  \
197         radius/dictionary.nokia.conflict \
198         radius/dictionary.nomadix  \
199         radius/dictionary.nortel \
200         radius/dictionary.ntua \
201         radius/dictionary.openser \
202         radius/dictionary.packeteer \
203         radius/dictionary.patton \
204         radius/dictionary.propel  \
205         radius/dictionary.prosoft \
206         radius/dictionary.quiconnect \
207         radius/dictionary.quintum  \
208         radius/dictionary.redback  \
209         radius/dictionary.redcreek  \
210         radius/dictionary.rfc2865 \
211         radius/dictionary.rfc2866 \
212         radius/dictionary.rfc2867 \
213         radius/dictionary.rfc2868 \
214         radius/dictionary.rfc2869 \
215         radius/dictionary.rfc3162 \
216         radius/dictionary.rfc3576 \
217         radius/dictionary.rfc3580 \
218         radius/dictionary.rfc4072 \
219         radius/dictionary.rfc4372 \
220         radius/dictionary.rfc4603 \
221         radius/dictionary.rfc4675 \
222         radius/dictionary.rfc4679 \
223         radius/dictionary.rfc4818 \
224         radius/dictionary.rfc4849 \
225         radius/dictionary.rfc5090 \
226         radius/dictionary.rfc5176 \
227         radius/dictionary.rfc5447 \
228         radius/dictionary.rfc5580 \
229         radius/dictionary.rfc5607 \
230         radius/dictionary.rfc5904 \
231         radius/dictionary.rfc6519 \
232         radius/dictionary.rfc6572 \
233         radius/dictionary.riverstone \
234         radius/dictionary.roaringpenguin \
235         radius/dictionary.shasta  \
236         radius/dictionary.shiva  \
237         radius/dictionary.slipstream \
238         radius/dictionary.sofaware \
239         radius/dictionary.sonicwall  \
240         radius/dictionary.springtide  \
241         radius/dictionary.starent  \
242         radius/dictionary.t_systems_nova  \
243         radius/dictionary.telebit  \
244         radius/dictionary.telkom \
245         radius/dictionary.trapeze  \
246         radius/dictionary.tropos \
247         radius/dictionary.ukerna  \
248         radius/dictionary.unix  \
249         radius/dictionary.usr  \
250         radius/dictionary.utstarcom \
251         radius/dictionary.valemount  \
252         radius/dictionary.versanet  \
253         radius/dictionary.vqp \
254         radius/dictionary.walabi \
255         radius/dictionary.waverider \
256         radius/dictionary.wichorus \
257         radius/dictionary.wimax  \
258         radius/dictionary.wimax.wichorus \
259         radius/dictionary.wispr  \
260         radius/dictionary.xedia \
261         radius/dictionary.zyxel
262
263 #
264 # Install the tpncp directory files in the "tpncp" subdirectory
265 # of that directory
266 #
267 tpncpdir = $(pkgdatadir)/tpncp
268 tpncp_DATA = \
269         tpncp/tpncp.dat
270
271 #
272 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
273 # of that directory
274 #
275 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
276 wimaxasncp_DATA = \
277         wimaxasncp/dictionary.xml \
278         wimaxasncp/dictionary.dtd
279
280 PLATFORM_SRC = \
281         capture-pcap-util-unix.c \
282         capture_unix_ifnames.c
283
284 if HAVE_PLUGINS
285 -include plugins/Custom.make
286 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
287         -dlopen plugins/asn1/asn1.la \
288         -dlopen plugins/docsis/docsis.la \
289         -dlopen plugins/ethercat/ethercat.la \
290         -dlopen plugins/gryphon/gryphon.la \
291         -dlopen plugins/irda/irda.la \
292         -dlopen plugins/m2m/m2m.la \
293         -dlopen plugins/mate/mate.la \
294         -dlopen plugins/opcua/opcua.la \
295         -dlopen plugins/profinet/profinet.la \
296         -dlopen plugins/stats_tree/stats_tree.la \
297         -dlopen plugins/unistim/unistim.la \
298         -dlopen plugins/wimax/wimax.la \
299         -dlopen plugins/wimaxmacphy/wimaxmacphy.la
300
301 WTAP_PLUGIN_SOURCES = \
302        epan/plugins.c \
303        epan/report_err.c \
304        epan/filesystem.c
305
306 else            # HAVE_PLUGINS
307
308 plugin_ldadd =
309 WTAP_PLUGIN_SOURCES =
310
311 endif           # HAVE_PLUGINS
312
313 include Makefile.common
314
315 if ENABLE_STATIC
316 wireshark_LDFLAGS = -Wl,-static -all-static
317 else
318 wireshark_LDFLAGS = -export-dynamic
319 endif
320
321 # Libraries and plugin flags with which to link wireshark.
322 #
323 # Note that Wireshark, when built with a version of GTK+ that runs
324 # atop X11, doesn't have to be linked with @SOCKET_LIBS@ or @NSL_LIBS@,
325 # as those should also be included in @GTK_LIBS@ (as those are also
326 # needed for X applications, and GTK+ applications are X applications
327 # if the version of GTK+ they're built with runs atop X11).
328 #
329 # However, it *does* have to be linked with @GLIB_LIBS@; not all of
330 # the necessary GLib libraries are included in @GTK_LIBS@.  To quote
331 # Gentoo bug 423743 at
332 #
333 #       https://bugs.gentoo.org/show_bug.cgi?id=423743
334 #
335 # "The Makefile.am claims including GLIB_LIBS when linking wireshark is
336 # unnecessary, because wireshark links to GTK_LIBS which is a superset.
337 # It is not actually a superset: gmodule is included in GLIB_LIBS but
338 # not in GTK_LIBS (unless accidentally on older glibs/gtks)."
339 #
340 # although it's also possible that -lgmodule is in GTK_LIBS but not
341 # GLIB_LIBS (that's the case on my machine right now, for example).
342 #
343 if HAVE_Qt
344 wireshark_ui_ldadd = ui/qt/libqtui.a
345 else
346 wireshark_ui_ldadd = ui/gtk/libgtkui.a
347 endif
348
349 wireshark_LDADD = \
350         $(wireshark_ui_ldadd)           \
351         ui/libui.a                      \
352         ui/libui_dirty.a                \
353         codecs/libcodec.a               \
354         wiretap/libwiretap.la           \
355         epan/libwireshark.la            \
356         wsutil/libwsutil.la             \
357         @SSL_LIBS@                      \
358         $(plugin_ldadd)                 \
359         @PCAP_LIBS@                     \
360         @C_ARES_LIBS@                   \
361         @ADNS_LIBS@                     \
362         @KRB5_LIBS@                     \
363         @APPLICATIONSERVICES_FRAMEWORKS@        \
364         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
365         @COREFOUNDATION_FRAMEWORKS@     \
366         @PY_LIBS@                       \
367         @LIBGCRYPT_LIBS@                \
368         @LIBGNUTLS_LIBS@                \
369         @LIBSMI_LDFLAGS@                \
370         @PORTAUDIO_LIBS@                \
371         @GTK_LIBS@                      \
372         @Qt_LIBS@                       \
373         @QtWidgets_LIBS@                \
374         @QtPrintSupport_LIBS@           \
375         @GLIB_LIBS@                     \
376         -lm
377
378 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
379
380 # Ideally we could trigger automatic c++ linking here with
381 #   nodist_EXTRA_wireshark_SOURCES = dummy.cpp
382 # Unfortunately that check is done by automake and not configure.
383 # We do the following to try to avoid using c++ to link Wireshark at
384 # all times.
385 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
386 wireshark_cxx_SOURCES =
387
388 if HAVE_WIRESHARK_CXX
389 wireshark_LINK = $(CXXLINK)
390 else
391 wireshark_LINK = $(LINK)
392 endif
393
394 if ENABLE_STATIC
395 tshark_LDFLAGS = -Wl,-static -all-static
396 else
397 tshark_LDFLAGS = -export-dynamic
398 endif
399
400 # Libraries and plugin flags with which to link tshark.
401 tshark_LDADD = \
402         ui/cli/libcliui.a               \
403         ui/libui.a                      \
404         wiretap/libwiretap.la           \
405         epan/libwireshark.la            \
406         wsutil/libwsutil.la             \
407         @SSL_LIBS@                      \
408         $(plugin_ldadd)                 \
409         @GLIB_LIBS@ -lm                 \
410         @PCAP_LIBS@                     \
411         @SOCKET_LIBS@                   \
412         @NSL_LIBS@                      \
413         @C_ARES_LIBS@                   \
414         @ADNS_LIBS@                     \
415         @KRB5_LIBS@                     \
416         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
417         @COREFOUNDATION_FRAMEWORKS@     \
418         @PY_LIBS@                       \
419         @LIBGCRYPT_LIBS@                \
420         @LIBGNUTLS_LIBS@                \
421         @LIBSMI_LDFLAGS@
422 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
423
424 if ENABLE_STATIC
425 rawshark_LDFLAGS = -Wl,-static -all-static
426 else
427 rawshark_LDFLAGS = -export-dynamic
428 endif
429
430 # Libraries and plugin flags with which to link rawshark.
431 rawshark_LDADD = \
432         ui/libui.a                      \
433         wiretap/libwiretap.la           \
434         epan/libwireshark.la            \
435         wsutil/libwsutil.la             \
436         @SSL_LIBS@                      \
437         $(plugin_ldadd)                 \
438         @GLIB_LIBS@ -lm                 \
439         @PCAP_LIBS@                     \
440         @SOCKET_LIBS@                   \
441         @NSL_LIBS@                      \
442         @C_ARES_LIBS@                   \
443         @ADNS_LIBS@                     \
444         @KRB5_LIBS@                     \
445         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
446         @COREFOUNDATION_FRAMEWORKS@     \
447         @PY_LIBS@                       \
448         @LIBGCRYPT_LIBS@                \
449         @LIBGNUTLS_LIBS@                \
450         @LIBSMI_LDFLAGS@
451 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
452
453 # Libraries with which to link text2pcap.
454 text2pcap_LDADD = \
455         wsutil/libwsutil.la             \
456         @GLIB_LIBS@ -lm
457 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
458 # which is generated (and therefore not always clean).
459 # We could generate text2pcap.o as a library with -Werror but for now it
460 # doesn't seem worth the effort.
461 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
462
463 # Libraries with which to link mergecap.
464 mergecap_LDADD = \
465         wiretap/libwiretap.la           \
466         wsutil/libwsutil.la             \
467         @GLIB_LIBS@
468 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
469
470 # Libraries with which to link capinfos.
471 capinfos_LDADD = \
472         wiretap/libwiretap.la           \
473         wsutil/libwsutil.la             \
474         @GLIB_LIBS@                     \
475         @LIBGCRYPT_LIBS@
476 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
477
478 # Libraries with which to link editcap.
479 editcap_LDADD = \
480         wiretap/libwiretap.la           \
481         wsutil/libwsutil.la             \
482         @GLIB_LIBS@
483 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
484
485 # Libraries with which to link reordercap.
486 reordercap_LDADD = \
487         wiretap/libwiretap.la           \
488         wsutil/libwsutil.la             \
489         @GLIB_LIBS@
490 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
491
492 # Libraries with which to link randpkt.
493 randpkt_LDADD = \
494         wiretap/libwiretap.la           \
495         wsutil/libwsutil.la             \
496         @GLIB_LIBS@ -lm                 \
497         @PCAP_LIBS@                     \
498         @SOCKET_LIBS@                   \
499         @NSL_LIBS@                      \
500         @C_ARES_LIBS@                   \
501         @ADNS_LIBS@
502 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
503
504 # Libraries and plugin flags with which to link dftest.
505 dftest_LDADD = \
506         ui/libui.a                      \
507         wiretap/libwiretap.la           \
508         wsutil/libwsutil.la             \
509         epan/libwireshark.la            \
510         @SSL_LIBS@                      \
511         $(plugin_ldadd)                 \
512         @GLIB_LIBS@ -lm                 \
513         @PCAP_LIBS@                     \
514         @SOCKET_LIBS@                   \
515         @NSL_LIBS@                      \
516         @C_ARES_LIBS@                   \
517         @ADNS_LIBS@                     \
518         @KRB5_LIBS@                     \
519         @PY_LIBS@                       \
520         @LIBGCRYPT_LIBS@                \
521         @LIBGNUTLS_LIBS@                \
522         @LIBSMI_LDFLAGS@
523 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
524
525 # Libraries with which to link dumpcap.
526 dumpcap_LDADD = \
527         wsutil/libwsutil.la             \
528         @GLIB_LIBS@                     \
529         @PCAP_LIBS@                     \
530         @SOCKET_LIBS@                   \
531         @NSL_LIBS@                      \
532         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
533         @COREFOUNDATION_FRAMEWORKS@     \
534         @LIBCAP_LIBS@
535 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
536 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
537
538 # Common headers
539 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
540         $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
541
542 #
543 # Build the version string
544 #
545 # FORCE is the portable version of .PHONY
546 FORCE:
547
548 AM_V_PERL = $(am__v_PERL_@AM_V@)
549 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
550 am__v_PERL_0 = @echo "  PERL    " $@;
551 am__v_PERL_1 = 
552
553 svnversion.h: FORCE
554         $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
555
556 #
557 # Build shell scripts by doing variable substitution.
558 # Taken from autoconf 2.13.
559 #
560 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
561
562 SUFFIXES = .sh
563 .sh:
564         rm -f $@ $@.tmp
565         $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
566
567 ps.c: print.ps $(srcdir)/tools/rdps.py
568         $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
569
570 services:
571         $(PERL) $(srcdir)/tools/make-services.pl
572
573 CLEANFILES =            \
574         *~              \
575         vgcore.*
576
577 #
578 # We have to remove svnversion.h with "make distclean", as, otherwise,
579 # "make distcheck" fails.  We still need to make the tarballs work
580 # even if you do "make distclean" and try to rebuild; that's a work in
581 # progress.
582 #
583 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
584 # list of files removed by "make distclean"?  (It's deliberately
585 # included in that list.)
586 #
587 DISTCLEANFILES = \
588         ps.c                    \
589         svnversion.h
590
591 MAINTAINERCLEANFILES =          \
592         $(GENERATED_FILES)      \
593         Makefile.in             \
594         aclocal.m4              \
595         compile                 \
596         config.h.in             \
597         configure               \
598         depcomp                 \
599         install-sh              \
600         ltmain.sh               \
601         missing                 \
602         ylwrap
603
604 EXTRA_DIST = \
605         INSTALL.configure       \
606         Makefile.am.inc         \
607         Makefile.common         \
608         Makefile.nmake          \
609         Makefile.nmake.inc      \
610         README.aix              \
611         README.bsd              \
612         README.DECT             \
613         README.hpux             \
614         README.irix             \
615         README.linux            \
616         README.macos            \
617         README.tru64            \
618         README.vmware           \
619         README.windows          \
620         abi-descriptor.template \
621         aclocal-fallback/glib-2.0.m4 \
622         aclocal-fallback/gtk-2.0.m4 \
623         aclocal-flags           \
624         adns_dll.dep            \
625         adns_dll.rc             \
626         autogen.sh              \
627         capinfos.c              \
628         capture_win_ifnames.c   \
629         capture_win_ifnames.h   \
630         capture-wpcap.c         \
631         capture-wpcap.h         \
632         capture_wpcap_packet.c  \
633         capture_wpcap_packet.h  \
634         cfilters                \
635         colorfilters            \
636         config.h.win32          \
637         config.nmake            \
638         debian/changelog        \
639         debian/compat           \
640         debian/control          \
641         debian/copyright        \
642         debian/dirs             \
643         debian/headers-check.c  \
644         debian/patches/00list   \
645         debian/patches/03_preferences.dpatch \
646         debian/postinst         \
647         debian/pycompat         \
648         debian/pyversions       \
649         debian/rules            \
650         debian/README.source    \
651         debian/tshark.files     \
652         debian/tshark.manpages  \
653         debian/watch            \
654         debian/wireshark-common.files \
655         debian/wireshark-common.manpages \
656         debian/wireshark-common.shlibs \
657         debian/wireshark-dev.docs \
658         debian/wireshark-dev.files \
659         debian/wireshark-dev.header-files \
660         debian/wireshark-dev.manpages \
661         debian/wireshark-dev.prerm \
662         debian/wireshark-root.desktop \
663         debian/wireshark.desktop \
664         debian/wireshark.files \
665         debian/wireshark.manpages \
666         debian/wireshark.menu   \
667         debian-setup.sh         \
668         dfilters                \
669         doxygen.cfg.in          \
670         dumpcap.c       \
671         editcap.c               \
672         fix/FIX.xml             \
673         fix/FIX40.xml           \
674         fix/FIX41.xml           \
675         fix/FIX42.xml           \
676         fix/FIX43.xml           \
677         fix/FIX44.xml           \
678         fix/README              \
679         fix/Values.xsl          \
680         fix/hfDecl.xsl          \
681         fix/hfField.xsl         \
682         fix/hfList.xsl          \
683         idl/coseventcomm.idl    \
684         idl/cosnaming.idl       \
685         idl/tango.idl   \
686         idl/parlay/am.idl       \
687         idl/parlay/cccs.idl     \
688         idl/parlay/cm.idl       \
689         idl/parlay/common_cc_data.idl   \
690         idl/parlay/cs.idl       \
691         idl/parlay/dsc.idl      \
692         idl/parlay/fw_data.idl  \
693         idl/parlay/fw_if.idl    \
694         idl/parlay/fw_if_access.idl     \
695         idl/parlay/fw_if_app.idl        \
696         idl/parlay/fw_if_entop.idl      \
697         idl/parlay/fw_if_service.idl    \
698         idl/parlay/gcc_data.idl \
699         idl/parlay/gcc_interfaces.idl   \
700         idl/parlay/gms.idl      \
701         idl/parlay/mm.idl       \
702         idl/parlay/mmccs.idl    \
703         idl/parlay/mmm.idl      \
704         idl/parlay/mpcc_data.idl        \
705         idl/parlay/mpcc_interfaces.idl  \
706         idl/parlay/osa.idl      \
707         idl/parlay/pam_data.idl \
708         idl/parlay/pam_interfaces.idl   \
709         idl/parlay/Parlay.idl   \
710         idl/parlay/policy_data.idl      \
711         idl/parlay/policy_interfaces.idl        \
712         idl/parlay/README.parlay        \
713         idl/parlay/termcap.idl  \
714         idl/parlay/ui_data.idl  \
715         idl/parlay/ui_interfaces.idl    \
716         image/capinfos.rc.in    \
717         image/capture_comment.svg       \
718         image/capture_comment_add.png   \
719         image/capture_comment_disabled.png      \
720         image/capture_comment_update.png        \
721         image/capture_start_24.png              \
722         image/capture_start_active_24.png       \
723         image/capture_stop_24.png               \
724         image/clist_ascend.xpm                  \
725         image/clist_descend.xpm                 \
726         image/copy-8.png                        \
727         image/dfilter_apply_hover.png           \
728         image/dfilter_apply_normal.png          \
729         image/dfilter_apply_pressed.png         \
730         image/dfilter_bookmark_hover.png        \
731         image/dfilter_bookmark_normal.png       \
732         image/dfilter_bookmark_pressed.png      \
733         image/dfilter_dropdown.png              \
734         image/dfilter_erase_active.png          \
735         image/dfilter_erase_normal.png          \
736         image/dfilter_erase_selected.png        \
737         image/dfilter_refresh_active.png        \
738         image/dfilter_refresh_normal.png        \
739         image/display_filter.qrc                \
740         image/dumpcap.rc.in     \
741         image/editcap.rc.in     \
742         image/expert_chat.png   \
743         image/expert_error.png  \
744         image/expert_indicators.svg     \
745         image/expert_none.png   \
746         image/expert_note.png   \
747         image/expert_warn.png   \
748         image/file_dlg_win32.rc \
749         image/hi16-app-wireshark.png    \
750         image/hi32-app-wireshark.png    \
751         image/hi48-app-wireshark.png    \
752         image/layout_1.png              \
753         image/layout_2.png              \
754         image/layout_3.png              \
755         image/layout_4.png              \
756         image/layout_5.png              \
757         image/layout_6.png              \
758         image/libwireshark.rc.in        \
759         image/libwsutil.rc.in           \
760         image/lo16-app-wireshark.png    \
761         image/lo32-app-wireshark.png    \
762         image/lo48-app-wireshark.png    \
763         image/make-icons                        \
764         image/Makefile.nmake                    \
765         image/mergecap.rc.in                    \
766         image/minus-8.png                       \
767         image/nsis-checked.bmp                  \
768         image/nsis-unchecked.bmp                \
769         image/plus-8.png                        \
770         image/rawshark.rc.in                    \
771         image/README.image                      \
772         image/reordercap.rc.in                  \
773         image/status.qrc                        \
774         image/stock_dialog_error_48.xpm         \
775         image/stock_dialog_info_48.xpm          \
776         image/stock_dialog_question_48.xpm      \
777         image/stock_dialog_stop_48.xpm          \
778         image/stock_dialog_warning_48.xpm       \
779         image/text2pcap.rc.in                   \
780         image/toolbar.qrc                       \
781         image/toolbar/analyze_24.xpm            \
782         image/toolbar/audio_player_24.xpm       \
783         image/toolbar/autoscroll_24.xpm         \
784         image/toolbar/capture_airpcap_16.xpm    \
785         image/toolbar/capture_capture_16.xpm    \
786         image/toolbar/capture_details_16.xpm    \
787         image/toolbar/capture_details_24.xpm    \
788         image/toolbar/capture_ethernet_16.xpm   \
789         image/toolbar/capture_filter_24.xpm     \
790         image/toolbar/capture_interfaces_24.xpm \
791         image/toolbar/capture_options_24.xpm    \
792         image/toolbar/capture_prepare_16.xpm    \
793         image/toolbar/capture_restart_24.xpm    \
794         image/toolbar/capture_start_24.xpm      \
795         image/toolbar/capture_stop_24.xpm       \
796         image/toolbar/checkbox_16.xpm           \
797         image/toolbar/colorize_24.xpm           \
798         image/toolbar/conversations_16.xpm      \
799         image/toolbar/decode_24.xpm             \
800         image/toolbar/decode_as_16.xpm          \
801         image/toolbar/display_filter_24.xpm     \
802         image/toolbar/endpoints_16.xpm          \
803         image/toolbar/expert_info_16.xpm        \
804         image/toolbar/file_set_list_16.xpm      \
805         image/toolbar/file_set_next_16.xpm      \
806         image/toolbar/file_set_previous_16.xpm  \
807         image/toolbar/flow_graph_16.xpm \
808         image/toolbar/graphs_16.xpm     \
809         image/toolbar/icon_color_0.xpm  \
810         image/toolbar/icon_color_1.xpm  \
811         image/toolbar/icon_color_2.xpm  \
812         image/toolbar/icon_color_3.xpm  \
813         image/toolbar/icon_color_4.xpm  \
814         image/toolbar/icon_color_5.xpm  \
815         image/toolbar/icon_color_6.xpm  \
816         image/toolbar/icon_color_7.xpm  \
817         image/toolbar/icon_color_8.xpm  \
818         image/toolbar/icon_color_9.xpm  \
819         image/toolbar/internet_24.xpm   \
820         image/toolbar/modem_16.png      \
821         image/toolbar/modem_16.xpm      \
822         image/toolbar/network_bluetooth_16.png  \
823         image/toolbar/network_usb.svg           \
824         image/toolbar/network_usb_16.png        \
825         image/toolbar/network_virtual_16.xpm    \
826         image/toolbar/network_wired_16.png      \
827         image/toolbar/network_wireless_16.png   \
828         image/toolbar/pipe_16.png       \
829         image/toolbar/remote_arrow_16.png       \
830         image/toolbar/remote_globe_16.png       \
831         image/toolbar/remote_sat_16.png \
832         image/toolbar/resize_columns_24.xpm     \
833         image/toolbar/telephone_16.xpm  \
834         image/toolbar/telephony_16.xpm  \
835         image/toolbar/time_24.xpm       \
836         image/toolbar/toolbar_wireshark_file_16.png     \
837         image/toolbar/toolbar_wireshark_file_24.png     \
838         image/toolbar/voip_flow_24.xpm  \
839         image/toolbar/web_support_24.xpm        \
840         image/toolbar/wep_closed_24.xpm \
841         image/toolbar/wiki_24.xpm       \
842         image/tshark.rc.in      \
843         image/voip_bg.xpm       \
844         image/voip_select.xpm   \
845         image/wireshark.exe.manifest.in \
846         image/wireshark.ico     \
847         image/wireshark.rc.in   \
848         image/wiresharkdoc.ico  \
849         image/wiresharkinst.ico \
850         image/WiresharkDoc-128.png      \
851         image/WiresharkDoc-16.png       \
852         image/WiresharkDoc-24.png       \
853         image/WiresharkDoc-256.png      \
854         image/WiresharkDoc-32.png       \
855         image/WiresharkDoc-48.png       \
856         image/WiresharkDoc-64.png       \
857         image/wiretap.rc.in     \
858         image/wsicon.svg        \
859         image/wsicon16.png      \
860         image/wsicon16.xpm      \
861         image/wsicon256.png     \
862         image/wsicon32.png      \
863         image/wsicon32.xpm      \
864         image/wsicon48.png      \
865         image/wsicon48.xpm      \
866         image/wsicon64.png      \
867         image/wsicon64.xpm      \
868         image/wsicon-ask.png    \
869         image/wsicon-ask.svg    \
870         image/wsiconcap.svg     \
871         image/wsiconcap16.xpm   \
872         image/wsiconcap256.png  \
873         image/wsiconcap32.xpm   \
874         image/wsiconcap48.xpm   \
875         image/wsiconinst.svg    \
876         image/wsiconinst256.png \
877         image/wslogo-dev.svg    \
878         image/wslogo.eps        \
879         image/wslogo.svg        \
880         image/wssplash-dev.xpm  \
881         image/wssplash.xpm      \
882         ipmap.html              \
883         macosx-setup.sh         \
884         macosx-support-lib-patches/glib-pkgconfig.patch \
885         macosx-support-lib-patches/gnutls-pkgconfig.patch \
886         macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
887         make-version.pl         \
888         manuf                   \
889         manuf.tmpl              \
890         mergecap.c              \
891         pdml2html.xsl           \
892         print.ps                \
893         $(diameter_DATA)        \
894         $(dtds_DATA)            \
895         $(radius_DATA)          \
896         $(tpncp_DATA)           \
897         $(ui_DATA)              \
898         $(wimaxasncp_DATA)      \
899         reordercap.c            \
900         smi_modules             \
901         text2pcap-scanner.l     \
902         text2pcap.h             \
903         services                \
904         wireshark.desktop       \
905         wireshark-mime-package.xml \
906         wka.tmpl                \
907         CMakeLists.txt          \
908         cmakeconfig.h.in        \
909         wsutil/CMakeLists.txt   \
910         CMakeOptions.txt        \
911         wiretap/CMakeLists.txt  \
912         README.cmake            \
913         ConfigureChecks.cmake   \
914         cmake/modules/CMakeInstallDirs.cmake    \
915         cmake/modules/COPYING-CMAKE-SCRIPTS     \
916         cmake/modules/CheckCLinkerFlag.cmake    \
917         cmake/modules/FeatureSummary.cmake      \
918         cmake/modules/FindADNS.cmake            \
919         cmake/modules/FindCAP.cmake             \
920         cmake/modules/FindCARES.cmake           \
921         cmake/modules/FindFOP.cmake             \
922         cmake/modules/FindGCRYPT.cmake          \
923         cmake/modules/FindGEOIP.cmake           \
924         cmake/modules/FindGLIB2.cmake           \
925         cmake/modules/FindGMODULE2.cmake        \
926         cmake/modules/FindGNUTLS.cmake          \
927         cmake/modules/FindGTHREAD2.cmake        \
928         cmake/modules/FindGTK2.cmake            \
929         cmake/modules/FindGTK3.cmake            \
930         cmake/modules/FindHtmlViewer.cmake      \
931         cmake/modules/FindKERBEROS.cmake        \
932         cmake/modules/FindNL.cmake              \
933         cmake/modules/FindLEX.cmake             \
934         cmake/modules/FindLUA.cmake             \
935         cmake/modules/FindLYNX.cmake            \
936         cmake/modules/FindM.cmake               \
937         cmake/modules/FindPCAP.cmake            \
938         cmake/modules/FindPOD.cmake             \
939         cmake/modules/FindPORTAUDIO.cmake       \
940         cmake/modules/FindPYTHON.cmake          \
941         cmake/modules/FindSED.cmake             \
942         cmake/modules/FindSH.cmake              \
943         cmake/modules/FindSMI.cmake             \
944         cmake/modules/FindXMLLINT.cmake         \
945         cmake/modules/FindXSLTPROC.cmake        \
946         cmake/modules/FindYACC.cmake            \
947         cmake/modules/FindYAPP.cmake            \
948         cmake/modules/FindZLIB.cmake            \
949         cmake/modules/LICENSE.txt               \
950         cmake/modules/UseLemon.cmake            \
951         cmake/modules/UseMakeDissectorReg.cmake \
952         cmake/modules/UseMakeTapReg.cmake       \
953         cmake/modules/readme.txt                \
954         ui/win32/Makefile.nmake                 \
955         ui/win32/console_win32.c                \
956         ui/win32/console_win32.h                \
957         ui/win32/file_dlg_win32.c               \
958         ui/win32/file_dlg_win32.h               \
959         ui/win32/print_win32.c                  \
960         ui/win32/print_win32.h                  \
961         ui/win32/settings.ini                   \
962         CPackConfig.txt                         \
963         all.vcproj                              \
964         dumpcap.vcproj                          \
965         packaging.vcproj                        \
966         tshark.vcproj                           \
967         wireshark.vcproj
968
969 install-exec-hook:
970 if HAVE_DUMPCAP_GROUP
971         -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
972 endif
973 if SETCAP_INSTALL
974         -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
975         -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
976 else
977 if SETUID_INSTALL
978         -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
979         -chmod +s $(DESTDIR)$(bindir)/dumpcap
980 endif
981 endif
982
983
984 DIST_SUBDIRS = asn1 codecs doc epan ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
985
986 if HAVE_PLUGINS
987 SUBDIRS = tools wsutil wiretap epan plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
988 else
989 SUBDIRS = tools wsutil wiretap epan packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
990 endif
991
992 help/faq.txt: $(srcdir)/help/faq.py
993         $(AM_V_GEN)(cd help ; \
994         $(MAKE) faq.txt ;)
995
996 libtool: $(LIBTOOL_DEPS)
997         $(SHELL) ./config.status --recheck
998
999
1000 # Used by patch-bzip2
1001 # Trim off any extra version information and find the previous micro release.
1002 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1003 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1004 PREV_DIR="wireshark-$(PREV_VERSION)"
1005 PREV_FILE="$(PREV_DIR).tar.bz2"
1006 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1007
1008 patch-bzip2: distdir
1009         if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1010                 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1011                 tar -xjf $(PREV_FILE) && \
1012                 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1013                 echo "Created patch-bzip2" ; \
1014                 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1015         else \
1016                 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1017         fi
1018         $(am__remove_distdir)
1019
1020
1021 # Used by svr4-package and osx-package
1022 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1023 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
1024 stagedir=$(top_stagedir)/$(PACKAGE).inst
1025
1026 host_cpu=@host_cpu@
1027 host_os=@host_os@
1028
1029 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1030         @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1031                 rm -rf $(stagedir) ; \
1032                 $(MAKE) DESTDIR=$(stagedir) install; \
1033                 $(srcdir)/packaging/svr4/mkpkg \
1034                         $(PACKAGE) \
1035                         $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1036                         $(prefix) \
1037                         $(top_stagedir) ; \
1038         else \
1039                 echo "Error: SVR4 packaging tools not found." ; \
1040                 echo "Package build abandoned." ; \
1041         fi
1042
1043 solaris-package: svr4-package
1044
1045 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1046 rpm-package: dist
1047         if test x$(HAVE_RPM) = xyes ; then \
1048                 cd $(rpm_topdir) ; \
1049                 mkdir -p BUILD RPMS SOURCES ; \
1050                 cd SOURCES ; \
1051                 ln -s ../../../$(distdir).tar.bz2 ; \
1052                 ln -s ../../../wireshark.desktop ; \
1053                 ln -s ../../../image/wsicon64.png wireshark.png ; \
1054                 cd .. ; \
1055                 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
1056                         echo "Package successfully built in `pwd`/RPMS." ; \
1057         else \
1058                 echo "Error: RPM executable and/or source directory not found." ; \
1059         fi
1060
1061 # Install some desktop files (for use with GNOME and/or freedesktop.org-compliant desktops?)
1062 install_desktop_files:
1063         mkdir -p $(DESTDIR)/$(datarootdir)/{icons/gnome/{16x16,32x32,48x48,256x256}/mimetypes,mime/packages}
1064         install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/$(datarootdir)/mime/packages/wireshark.xml
1065         install -m 644 -T wireshark.desktop $(DESTDIR)/$(datarootdir)/applications/wireshark.desktop
1066         mkdir -p $(DESTDIR)/$(datarootdir)/icons/hicolor/{16x16,32x32,48x48,64x64,256x256}/apps
1067         install -m 644 image/wsicon16.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/16x16/apps/wireshark.png
1068         install -m 644 image/wsicon32.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/32x32/apps/wireshark.png
1069         install -m 644 image/wsicon48.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/48x48/apps/wireshark.png
1070         install -m 644 image/wsicon64.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/64x64/apps/wireshark.png
1071         install -m 644 image/wsicon256.png $(DESTDIR)/$(datarootdir)/icons/hicolor/256x256/apps/wireshark.png
1072         install -m 644 -T image/WiresharkDoc-16.png  $(DESTDIR)/$(datarootdir)/icons/gnome/16x16/mimetypes/application-wireshark-doc.png
1073         install -m 644 -T image/WiresharkDoc-32.png  $(DESTDIR)/$(datarootdir)/icons/gnome/32x32/mimetypes/application-wireshark-doc.png
1074         install -m 644 -T image/WiresharkDoc-48.png  $(DESTDIR)/$(datarootdir)/icons/gnome/48x48/mimetypes/application-wireshark-doc.png
1075         install -m 644 -T image/WiresharkDoc-256.png $(DESTDIR)/$(datarootdir)/icons/gnome/256x256/mimetypes/application-wireshark-doc.png
1076         @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database $(datarootdir)/mime\""
1077
1078 srpm-package: dist
1079         if test x$(HAVE_RPM) = xyes ; then \
1080                 cd $(rpm_topdir) ; \
1081                 mkdir -p BUILD SRPMS SOURCES ; \
1082                 cd SOURCES ; \
1083                 ln -s ../../../$(distdir).tar.bz2 ; \
1084                 ln -s ../../../wireshark.desktop ; \
1085                 ln -s ../../../image/wsicon64.png wireshark.png ; \
1086                 cd .. ; \
1087                 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
1088                         echo "Package successfully built in `pwd`/SRPMS." ; \
1089         else \
1090                 echo "Error: RPM executable and/or source directory not found." ; \
1091         fi
1092
1093 debian-package: debian/rules
1094         @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1095                 dpkg-buildpackage -rfakeroot -us -uc ; \
1096         else \
1097                 echo "Error: Debian packaging tools not found." ; \
1098                 echo "Package build abandoned." ; \
1099         fi
1100
1101 # XXX - This assumes we're building from the source directory.
1102 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1103         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1104                 rm -rf $(stagedir) ; \
1105                 $(MAKE) DESTDIR=$(stagedir) install; \
1106                 cd $(srcdir)/packaging/macosx ;  \
1107                 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1108         else \
1109                 echo "Error: OS X packaging tools not found." ; \
1110                 echo "Package build abandoned." ; \
1111         fi
1112
1113 packaging/macosx/COPYING.txt: COPYING
1114         (cd packaging/macosx ; \
1115         $(MAKE) COPYING.txt ;)
1116
1117 osx-package: osx-app packaging/macosx/COPYING.txt
1118         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1119                 cd $(srcdir)/packaging/macosx ;  \
1120                 chmod +x ./osx-dmg.sh ; \
1121                 ./osx-dmg.sh ; \
1122         fi
1123
1124 osx-install: osx-app
1125         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1126                 echo "Copying Wireshark.app to /Applications" ; \
1127                 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ;  \
1128         fi
1129
1130 clean-local:
1131         rm -rf $(top_stagedir)
1132
1133 dumpabi:
1134         $(MAKE) -C wiretap dumpabi
1135         $(MAKE) -C epan dumpabi
1136         $(MAKE) -C wsutil dumpabi
1137
1138 checkapi_local:
1139         $(PERL) tools/checkAPIs.pl -build \
1140         $(TSHARK_TAP_SRC) \
1141         $(wireshark_SOURCES)
1142 #       $(EXTRA_wireshark_SOURCES)
1143
1144 checkapi: checkapi_local
1145         cd wiretap && $(MAKE) checkapi
1146         cd codecs && $(MAKE) checkapi
1147         cd ui && $(MAKE) checkapi
1148         cd ui/gtk && $(MAKE) checkapi
1149 ##      cd epan && $(MAKE) checkapi
1150 ##      cd epan/crypt && $(MAKE) checkapi
1151         cd epan/dfilter && $(MAKE) checkapi
1152 ##      cd epan/ftypes && $(MAKE) checkapi
1153 ##      cd epan/wslua && $(MAKE) checkapi
1154         cd epan/dissectors && $(MAKE) checkapi
1155         cd plugins && $(MAKE) checkapi
1156         cd wsutil && $(MAKE) checkapi