Add dumpabi targets to CMake builds
[jelmer/wireshark.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         @GLIB_LIBS@                     \
374         -lm
375
376 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
377
378 # Ideally we could trigger automatic c++ linking here with
379 #   nodist_EXTRA_wireshark_SOURCES = dummy.cpp
380 # Unfortunately that check is done by automake and not configure.
381 # We do the following to try to avoid using c++ to link Wireshark at
382 # all times.
383 nodist_EXTRA_wireshark_cxx_SOURCES = dummy.cpp
384 wireshark_cxx_SOURCES =
385
386 if HAVE_WIRESHARK_CXX
387 wireshark_LINK = $(CXXLINK)
388 else
389 wireshark_LINK = $(LINK)
390 endif
391
392 if ENABLE_STATIC
393 tshark_LDFLAGS = -Wl,-static -all-static
394 else
395 tshark_LDFLAGS = -export-dynamic
396 endif
397
398 # Libraries and plugin flags with which to link tshark.
399 tshark_LDADD = \
400         ui/cli/libcliui.a               \
401         ui/libui.a                      \
402         wiretap/libwiretap.la           \
403         epan/libwireshark.la            \
404         wsutil/libwsutil.la             \
405         @SSL_LIBS@                      \
406         $(plugin_ldadd)                 \
407         @GLIB_LIBS@ -lm                 \
408         @PCAP_LIBS@                     \
409         @SOCKET_LIBS@                   \
410         @NSL_LIBS@                      \
411         @C_ARES_LIBS@                   \
412         @ADNS_LIBS@                     \
413         @KRB5_LIBS@                     \
414         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
415         @COREFOUNDATION_FRAMEWORKS@     \
416         @PY_LIBS@                       \
417         @LIBGCRYPT_LIBS@                \
418         @LIBGNUTLS_LIBS@                \
419         @LIBSMI_LDFLAGS@
420 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
421
422 if ENABLE_STATIC
423 rawshark_LDFLAGS = -Wl,-static -all-static
424 else
425 rawshark_LDFLAGS = -export-dynamic
426 endif
427
428 # Libraries and plugin flags with which to link rawshark.
429 rawshark_LDADD = \
430         ui/libui.a                      \
431         wiretap/libwiretap.la           \
432         epan/libwireshark.la            \
433         wsutil/libwsutil.la             \
434         @SSL_LIBS@                      \
435         $(plugin_ldadd)                 \
436         @GLIB_LIBS@ -lm                 \
437         @PCAP_LIBS@                     \
438         @SOCKET_LIBS@                   \
439         @NSL_LIBS@                      \
440         @C_ARES_LIBS@                   \
441         @ADNS_LIBS@                     \
442         @KRB5_LIBS@                     \
443         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
444         @COREFOUNDATION_FRAMEWORKS@     \
445         @PY_LIBS@                       \
446         @LIBGCRYPT_LIBS@                \
447         @LIBGNUTLS_LIBS@                \
448         @LIBSMI_LDFLAGS@
449 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
450
451 # Libraries with which to link text2pcap.
452 text2pcap_LDADD = \
453         wsutil/libwsutil.la             \
454         @GLIB_LIBS@ -lm
455 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
456 # which is generated (and therefore not always clean).
457 # We could generate text2pcap.o as a library with -Werror but for now it
458 # doesn't seem worth the effort.
459 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
460
461 # Libraries with which to link mergecap.
462 mergecap_LDADD = \
463         wiretap/libwiretap.la           \
464         wsutil/libwsutil.la             \
465         @GLIB_LIBS@
466 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
467
468 # Libraries with which to link capinfos.
469 capinfos_LDADD = \
470         wiretap/libwiretap.la           \
471         wsutil/libwsutil.la             \
472         @GLIB_LIBS@                     \
473         @LIBGCRYPT_LIBS@
474 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
475
476 # Libraries with which to link editcap.
477 editcap_LDADD = \
478         wiretap/libwiretap.la           \
479         wsutil/libwsutil.la             \
480         @GLIB_LIBS@
481 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
482
483 # Libraries with which to link reordercap.
484 reordercap_LDADD = \
485         wiretap/libwiretap.la           \
486         wsutil/libwsutil.la             \
487         @GLIB_LIBS@
488 reordercap_CFLAGS = $(AM_CLEAN_CFLAGS)
489
490 # Libraries with which to link randpkt.
491 randpkt_LDADD = \
492         wiretap/libwiretap.la           \
493         wsutil/libwsutil.la             \
494         @GLIB_LIBS@ -lm                 \
495         @PCAP_LIBS@                     \
496         @SOCKET_LIBS@                   \
497         @NSL_LIBS@                      \
498         @C_ARES_LIBS@                   \
499         @ADNS_LIBS@
500 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
501
502 # Libraries and plugin flags with which to link dftest.
503 dftest_LDADD = \
504         ui/libui.a                      \
505         wiretap/libwiretap.la           \
506         wsutil/libwsutil.la             \
507         epan/libwireshark.la            \
508         @SSL_LIBS@                      \
509         $(plugin_ldadd)                 \
510         @GLIB_LIBS@ -lm                 \
511         @PCAP_LIBS@                     \
512         @SOCKET_LIBS@                   \
513         @NSL_LIBS@                      \
514         @C_ARES_LIBS@                   \
515         @ADNS_LIBS@                     \
516         @KRB5_LIBS@                     \
517         @PY_LIBS@                       \
518         @LIBGCRYPT_LIBS@                \
519         @LIBGNUTLS_LIBS@                \
520         @LIBSMI_LDFLAGS@
521 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
522
523 # Libraries with which to link dumpcap.
524 dumpcap_LDADD = \
525         wsutil/libwsutil.la             \
526         @GLIB_LIBS@                     \
527         @PCAP_LIBS@                     \
528         @SOCKET_LIBS@                   \
529         @NSL_LIBS@                      \
530         @SYSTEMCONFIGURATION_FRAMEWORKS@        \
531         @COREFOUNDATION_FRAMEWORKS@     \
532         @LIBCAP_LIBS@
533 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(PIE_CFLAGS)
534 dumpcap_LDFLAGS = $(PIE_LDFLAGS)
535
536 # Common headers
537 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
538         $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
539
540 #
541 # Build the version string
542 #
543 # FORCE is the portable version of .PHONY
544 FORCE:
545
546 AM_V_PERL = $(am__v_PERL_@AM_V@)
547 am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@)
548 am__v_PERL_0 = @echo "  PERL    " $@;
549 am__v_PERL_1 =
550
551 svnversion.h: FORCE
552         $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
553
554 #
555 # Build shell scripts by doing variable substitution.
556 # Taken from autoconf 2.13.
557 #
558 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
559
560 SUFFIXES = .sh
561 .sh:
562         rm -f $@ $@.tmp
563         $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
564
565 ps.c: print.ps $(srcdir)/tools/rdps.py
566         $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
567
568 services:
569         $(PERL) $(srcdir)/tools/make-services.pl
570
571 CLEANFILES =            \
572         *~              \
573         vgcore.*
574
575 #
576 # We have to remove svnversion.h with "make distclean", as, otherwise,
577 # "make distcheck" fails.  We still need to make the tarballs work
578 # even if you do "make distclean" and try to rebuild; that's a work in
579 # progress.
580 #
581 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
582 # list of files removed by "make distclean"?  (It's deliberately
583 # included in that list.)
584 #
585 DISTCLEANFILES = \
586         ps.c                    \
587         svnversion.h
588
589 MAINTAINERCLEANFILES =          \
590         $(GENERATED_FILES)      \
591         Makefile.in             \
592         aclocal.m4              \
593         compile                 \
594         config.h.in             \
595         configure               \
596         depcomp                 \
597         install-sh              \
598         ltmain.sh               \
599         missing                 \
600         ylwrap
601
602 EXTRA_DIST = \
603         INSTALL.configure       \
604         Makefile.am.inc         \
605         Makefile.common         \
606         Makefile.nmake          \
607         Makefile.nmake.inc      \
608         README.aix              \
609         README.bsd              \
610         README.DECT             \
611         README.hpux             \
612         README.irix             \
613         README.linux            \
614         README.macos            \
615         README.tru64            \
616         README.vmware           \
617         README.windows          \
618         abi-descriptor.template \
619         aclocal-fallback/libsmi.m4 \
620         aclocal-fallback/libgcrypt.m4 \
621         aclocal-fallback/glib-2.0.m4 \
622         aclocal-fallback/gtk-2.0.m4 \
623         aclocal-fallback/gtk-3.0.m4 \
624         aclocal-fallback/qt.m4 \
625         aclocal-flags           \
626         adns_dll.dep            \
627         adns_dll.rc             \
628         autogen.sh              \
629         capinfos.c              \
630         capture_win_ifnames.c   \
631         capture_win_ifnames.h   \
632         capture-wpcap.c         \
633         capture-wpcap.h         \
634         capture_wpcap_packet.c  \
635         capture_wpcap_packet.h  \
636         cfilters                \
637         colorfilters            \
638         config.h.win32          \
639         config.nmake            \
640         debian/changelog        \
641         debian/compat           \
642         debian/control          \
643         debian/copyright        \
644         debian/dirs             \
645         debian/headers-check.c  \
646         debian/patches/00list   \
647         debian/patches/03_preferences.dpatch \
648         debian/postinst         \
649         debian/pycompat         \
650         debian/pyversions       \
651         debian/rules            \
652         debian/README.source    \
653         debian/tshark.files     \
654         debian/tshark.manpages  \
655         debian/watch            \
656         debian/wireshark-common.files \
657         debian/wireshark-common.manpages \
658         debian/wireshark-common.shlibs \
659         debian/wireshark-dev.docs \
660         debian/wireshark-dev.files \
661         debian/wireshark-dev.header-files \
662         debian/wireshark-dev.manpages \
663         debian/wireshark-dev.prerm \
664         debian/wireshark-root.desktop \
665         debian/wireshark.desktop \
666         debian/wireshark.files \
667         debian/wireshark.manpages \
668         debian/wireshark.menu   \
669         debian-setup.sh         \
670         dfilters                \
671         doxygen.cfg.in          \
672         dumpcap.c       \
673         editcap.c               \
674         fix/FIX.xml             \
675         fix/FIX40.xml           \
676         fix/FIX41.xml           \
677         fix/FIX42.xml           \
678         fix/FIX43.xml           \
679         fix/FIX44.xml           \
680         fix/README              \
681         fix/Values.xsl          \
682         fix/hfDecl.xsl          \
683         fix/hfField.xsl         \
684         fix/hfList.xsl          \
685         idl/coseventcomm.idl    \
686         idl/cosnaming.idl       \
687         idl/tango.idl   \
688         idl/parlay/am.idl       \
689         idl/parlay/cccs.idl     \
690         idl/parlay/cm.idl       \
691         idl/parlay/common_cc_data.idl   \
692         idl/parlay/cs.idl       \
693         idl/parlay/dsc.idl      \
694         idl/parlay/fw_data.idl  \
695         idl/parlay/fw_if.idl    \
696         idl/parlay/fw_if_access.idl     \
697         idl/parlay/fw_if_app.idl        \
698         idl/parlay/fw_if_entop.idl      \
699         idl/parlay/fw_if_service.idl    \
700         idl/parlay/gcc_data.idl \
701         idl/parlay/gcc_interfaces.idl   \
702         idl/parlay/gms.idl      \
703         idl/parlay/mm.idl       \
704         idl/parlay/mmccs.idl    \
705         idl/parlay/mmm.idl      \
706         idl/parlay/mpcc_data.idl        \
707         idl/parlay/mpcc_interfaces.idl  \
708         idl/parlay/osa.idl      \
709         idl/parlay/pam_data.idl \
710         idl/parlay/pam_interfaces.idl   \
711         idl/parlay/Parlay.idl   \
712         idl/parlay/policy_data.idl      \
713         idl/parlay/policy_interfaces.idl        \
714         idl/parlay/README.parlay        \
715         idl/parlay/termcap.idl  \
716         idl/parlay/ui_data.idl  \
717         idl/parlay/ui_interfaces.idl    \
718         image/capinfos.rc.in    \
719         image/capture_comment.svg       \
720         image/capture_comment_add.png   \
721         image/capture_comment_disabled.png      \
722         image/capture_comment_update.png        \
723         image/capture_start_24.png              \
724         image/capture_start_active_24.png       \
725         image/capture_stop_24.png               \
726         image/clist_ascend.xpm                  \
727         image/clist_descend.xpm                 \
728         image/copy-8.png                        \
729         image/dfilter_apply_disabled.png        \
730         image/dfilter_apply_hover.png           \
731         image/dfilter_apply_normal.png          \
732         image/dfilter_apply_pressed.png         \
733         image/dfilter_bookmark_disabled.png     \
734         image/dfilter_bookmark_hover.png        \
735         image/dfilter_bookmark_normal.png       \
736         image/dfilter_bookmark_pressed.png      \
737         image/dfilter_dropdown.png              \
738         image/dfilter_erase_active.png          \
739         image/dfilter_erase_normal.png          \
740         image/dfilter_erase_selected.png        \
741         image/dfilter_refresh_active.png        \
742         image/dfilter_refresh_normal.png        \
743         image/display_filter.qrc                \
744         image/dumpcap.rc.in     \
745         image/editcap.rc.in     \
746         image/expert_chat.png   \
747         image/expert_error.png  \
748         image/expert_indicators.svg     \
749         image/expert_none.png   \
750         image/expert_note.png   \
751         image/expert_warn.png   \
752         image/file_dlg_win32.rc \
753         image/hi16-app-wireshark.png    \
754         image/hi32-app-wireshark.png    \
755         image/hi48-app-wireshark.png    \
756         image/layout_1.png              \
757         image/layout_2.png              \
758         image/layout_3.png              \
759         image/layout_4.png              \
760         image/layout_5.png              \
761         image/layout_6.png              \
762         image/libwireshark.rc.in        \
763         image/libwsutil.rc.in           \
764         image/lo16-app-wireshark.png    \
765         image/lo32-app-wireshark.png    \
766         image/lo48-app-wireshark.png    \
767         image/make-icons                        \
768         image/Makefile.nmake                    \
769         image/mergecap.rc.in                    \
770         image/minus-8.png                       \
771         image/nsis-checked.bmp                  \
772         image/nsis-unchecked.bmp                \
773         image/plus-8.png                        \
774         image/rawshark.rc.in                    \
775         image/README.image                      \
776         image/reordercap.rc.in                  \
777         image/status.qrc                        \
778         image/stock_dialog_error_48.xpm         \
779         image/stock_dialog_info_48.xpm          \
780         image/stock_dialog_question_48.xpm      \
781         image/stock_dialog_stop_48.xpm          \
782         image/stock_dialog_warning_48.xpm       \
783         image/text2pcap.rc.in                   \
784         image/toolbar.qrc                       \
785         image/toolbar/analyze_24.xpm            \
786         image/toolbar/audio_player_24.xpm       \
787         image/toolbar/autoscroll_24.xpm         \
788         image/toolbar/capture_airpcap_16.xpm    \
789         image/toolbar/capture_capture_16.xpm    \
790         image/toolbar/capture_details_16.xpm    \
791         image/toolbar/capture_details_24.xpm    \
792         image/toolbar/capture_ethernet_16.xpm   \
793         image/toolbar/capture_filter_24.xpm     \
794         image/toolbar/capture_interfaces_24.xpm \
795         image/toolbar/capture_options_24.xpm    \
796         image/toolbar/capture_prepare_16.xpm    \
797         image/toolbar/capture_restart_24.xpm    \
798         image/toolbar/capture_start_24.xpm      \
799         image/toolbar/capture_stop_24.xpm       \
800         image/toolbar/checkbox_16.xpm           \
801         image/toolbar/colorize_24.xpm           \
802         image/toolbar/conversations_16.xpm      \
803         image/toolbar/decode_24.xpm             \
804         image/toolbar/decode_as_16.xpm          \
805         image/toolbar/display_filter_24.xpm     \
806         image/toolbar/endpoints_16.xpm          \
807         image/toolbar/expert_info_16.xpm        \
808         image/toolbar/file_set_list_16.xpm      \
809         image/toolbar/file_set_next_16.xpm      \
810         image/toolbar/file_set_previous_16.xpm  \
811         image/toolbar/flow_graph_16.xpm \
812         image/toolbar/graphs_16.xpm     \
813         image/toolbar/icon_color_0.xpm  \
814         image/toolbar/icon_color_1.xpm  \
815         image/toolbar/icon_color_2.xpm  \
816         image/toolbar/icon_color_3.xpm  \
817         image/toolbar/icon_color_4.xpm  \
818         image/toolbar/icon_color_5.xpm  \
819         image/toolbar/icon_color_6.xpm  \
820         image/toolbar/icon_color_7.xpm  \
821         image/toolbar/icon_color_8.xpm  \
822         image/toolbar/icon_color_9.xpm  \
823         image/toolbar/internet_24.xpm   \
824         image/toolbar/modem_16.png      \
825         image/toolbar/modem_16.xpm      \
826         image/toolbar/network_bluetooth_16.png  \
827         image/toolbar/network_usb.svg           \
828         image/toolbar/network_usb_16.png        \
829         image/toolbar/network_virtual_16.xpm    \
830         image/toolbar/network_wired_16.png      \
831         image/toolbar/network_wireless_16.png   \
832         image/toolbar/pipe_16.png       \
833         image/toolbar/remote_arrow_16.png       \
834         image/toolbar/remote_globe_16.png       \
835         image/toolbar/remote_sat_16.png \
836         image/toolbar/resize_columns_24.xpm     \
837         image/toolbar/telephone_16.xpm  \
838         image/toolbar/telephony_16.xpm  \
839         image/toolbar/time_24.xpm       \
840         image/toolbar/toolbar_wireshark_file_16.png     \
841         image/toolbar/toolbar_wireshark_file_24.png     \
842         image/toolbar/voip_flow_24.xpm  \
843         image/toolbar/web_support_24.xpm        \
844         image/toolbar/wep_closed_24.xpm \
845         image/toolbar/wiki_24.xpm       \
846         image/tshark.rc.in      \
847         image/voip_bg.xpm       \
848         image/voip_select.xpm   \
849         image/wireshark.exe.manifest.in \
850         image/wireshark.ico     \
851         image/wireshark.rc.in   \
852         image/wiresharkdoc.ico  \
853         image/wiresharkinst.ico \
854         image/WiresharkDoc-128.png      \
855         image/WiresharkDoc-16.png       \
856         image/WiresharkDoc-24.png       \
857         image/WiresharkDoc-256.png      \
858         image/WiresharkDoc-32.png       \
859         image/WiresharkDoc-48.png       \
860         image/WiresharkDoc-64.png       \
861         image/wiretap.rc.in     \
862         image/wsicon.svg        \
863         image/wsicon16.png      \
864         image/wsicon16.xpm      \
865         image/wsicon256.png     \
866         image/wsicon32.png      \
867         image/wsicon32.xpm      \
868         image/wsicon48.png      \
869         image/wsicon48.xpm      \
870         image/wsicon64.png      \
871         image/wsicon64.xpm      \
872         image/wsicon-ask.png    \
873         image/wsicon-ask.svg    \
874         image/wsiconcap.svg     \
875         image/wsiconcap16.xpm   \
876         image/wsiconcap256.png  \
877         image/wsiconcap32.xpm   \
878         image/wsiconcap48.xpm   \
879         image/wsiconinst.svg    \
880         image/wsiconinst256.png \
881         image/wslogo-dev.svg    \
882         image/wslogo.eps        \
883         image/wslogo.svg        \
884         image/wssplash-dev.xpm  \
885         image/wssplash.xpm      \
886         ipmap.html              \
887         macosx-setup.sh         \
888         macosx-support-lib-patches/glib-pkgconfig.patch \
889         macosx-support-lib-patches/gnutls-pkgconfig.patch \
890         macosx-support-lib-patches/portaudio-pa_mac_core.h.patch \
891         make-version.pl         \
892         manuf                   \
893         manuf.tmpl              \
894         mergecap.c              \
895         pdml2html.xsl           \
896         print.ps                \
897         $(diameter_DATA)        \
898         $(dtds_DATA)            \
899         $(radius_DATA)          \
900         $(tpncp_DATA)           \
901         $(ui_DATA)              \
902         $(wimaxasncp_DATA)      \
903         reordercap.c            \
904         smi_modules             \
905         text2pcap-scanner.l     \
906         text2pcap.h             \
907         services                \
908         wireshark.desktop       \
909         wireshark-mime-package.xml \
910         wka.tmpl                \
911         CMakeLists.txt          \
912         cmakeconfig.h.in        \
913         wsutil/CMakeLists.txt   \
914         CMakeOptions.txt        \
915         wiretap/CMakeLists.txt  \
916         README.cmake            \
917         ConfigureChecks.cmake   \
918         cmake/modules/CMakeInstallDirs.cmake    \
919         cmake/modules/COPYING-CMAKE-SCRIPTS     \
920         cmake/modules/CheckCLinkerFlag.cmake    \
921         cmake/modules/FeatureSummary.cmake      \
922         cmake/modules/FindADNS.cmake            \
923         cmake/modules/FindCAP.cmake             \
924         cmake/modules/FindCARES.cmake           \
925         cmake/modules/FindFOP.cmake             \
926         cmake/modules/FindGCRYPT.cmake          \
927         cmake/modules/FindGEOIP.cmake           \
928         cmake/modules/FindGLIB2.cmake           \
929         cmake/modules/FindGMODULE2.cmake        \
930         cmake/modules/FindGNUTLS.cmake          \
931         cmake/modules/FindGTHREAD2.cmake        \
932         cmake/modules/FindGTK2.cmake            \
933         cmake/modules/FindGTK3.cmake            \
934         cmake/modules/FindHtmlViewer.cmake      \
935         cmake/modules/FindKERBEROS.cmake        \
936         cmake/modules/FindNL.cmake              \
937         cmake/modules/FindLEX.cmake             \
938         cmake/modules/FindLUA.cmake             \
939         cmake/modules/FindLYNX.cmake            \
940         cmake/modules/FindM.cmake               \
941         cmake/modules/FindPCAP.cmake            \
942         cmake/modules/FindPOD.cmake             \
943         cmake/modules/FindPORTAUDIO.cmake       \
944         cmake/modules/FindPYTHON.cmake          \
945         cmake/modules/FindSED.cmake             \
946         cmake/modules/FindSH.cmake              \
947         cmake/modules/FindSMI.cmake             \
948         cmake/modules/FindXMLLINT.cmake         \
949         cmake/modules/FindXSLTPROC.cmake        \
950         cmake/modules/FindYACC.cmake            \
951         cmake/modules/FindYAPP.cmake            \
952         cmake/modules/FindZLIB.cmake            \
953         cmake/modules/LICENSE.txt               \
954         cmake/modules/UseLemon.cmake            \
955         cmake/modules/UseMakeDissectorReg.cmake \
956         cmake/modules/UseMakeTapReg.cmake       \
957         cmake/modules/readme.txt                \
958         ui/win32/Makefile.nmake                 \
959         ui/win32/console_win32.c                \
960         ui/win32/console_win32.h                \
961         ui/win32/file_dlg_win32.c               \
962         ui/win32/file_dlg_win32.h               \
963         ui/win32/print_win32.c                  \
964         ui/win32/print_win32.h                  \
965         ui/win32/settings.ini                   \
966         CPackConfig.txt                         \
967         all.vcproj                              \
968         dumpcap.vcproj                          \
969         packaging.vcproj                        \
970         tshark.vcproj                           \
971         wireshark.vcproj
972
973 install-exec-hook:
974 if HAVE_DUMPCAP_GROUP
975         -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
976 endif
977 if SETCAP_INSTALL
978         -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
979         -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
980 else
981 if SETUID_INSTALL
982         -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
983         -chmod +s $(DESTDIR)$(bindir)/dumpcap
984 endif
985 endif
986
987
988 DIST_SUBDIRS = asn1 codecs doc epan ui ui/cli ui/gtk ui/qt help packaging plugins tools wiretap wsutil docbook
989
990 if HAVE_PLUGINS
991 SUBDIRS = tools wsutil wiretap epan plugins packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
992 else
993 SUBDIRS = tools wsutil wiretap epan packaging help ui @wireshark_SUBDIRS@ ui/cli . doc
994 endif
995
996 help/faq.txt: $(srcdir)/help/faq.py
997         $(AM_V_GEN)(cd help ; \
998         $(MAKE) faq.txt ;)
999
1000 libtool: $(LIBTOOL_DEPS)
1001         $(SHELL) ./config.status --recheck
1002
1003
1004 # Used by patch-bzip2
1005 # Trim off any extra version information and find the previous micro release.
1006 BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1007 PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
1008 PREV_DIR="wireshark-$(PREV_VERSION)"
1009 PREV_FILE="$(PREV_DIR).tar.bz2"
1010 PREV_URL="http://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
1011
1012 patch-bzip2: distdir
1013         if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
1014                 curl -z $(PREV_FILE) -o $(PREV_FILE) $(PREV_URL) && \
1015                 tar -xjf $(PREV_FILE) && \
1016                 diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
1017                 echo "Created patch-bzip2" ; \
1018                 rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
1019         else \
1020                 echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
1021         fi
1022         $(am__remove_distdir)
1023
1024
1025 # Used by svr4-package and osx-package
1026 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1027 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
1028 stagedir=$(top_stagedir)/$(PACKAGE).inst
1029
1030 host_cpu=@host_cpu@
1031 host_os=@host_os@
1032
1033 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
1034         @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1035                 rm -rf $(stagedir) ; \
1036                 $(MAKE) DESTDIR=$(stagedir) install; \
1037                 $(srcdir)/packaging/svr4/mkpkg \
1038                         $(PACKAGE) \
1039                         $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1040                         $(prefix) \
1041                         $(top_stagedir) ; \
1042         else \
1043                 echo "Error: SVR4 packaging tools not found." ; \
1044                 echo "Package build abandoned." ; \
1045         fi
1046
1047 solaris-package: svr4-package
1048
1049 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
1050 rpm-package: dist
1051         if test x$(HAVE_RPM) = xyes ; then \
1052                 cd $(rpm_topdir) ; \
1053                 mkdir -p BUILD RPMS SOURCES SRPMS; \
1054                 cd SOURCES ; \
1055                 ln -s ../../../$(distdir).tar.bz2 ; \
1056                 cd .. ; \
1057                 rpmbuild --define "_topdir `cd . && pwd`" --clean -ba SPECS/wireshark.spec && \
1058                         echo "Package successfully built in `pwd`/RPMS." ; \
1059                 rm -f SOURCES/$(distdir).tar.bz2; \
1060         else \
1061                 echo "Error: RPM executable and/or source directory not found." ; \
1062                 false; \
1063         fi
1064
1065 # Install some desktop files (for use with GNOME and/or freedesktop.org-compliant desktops?)
1066 install_desktop_files:
1067         mkdir -p $(DESTDIR)/$(datarootdir)/{icons/gnome/{16x16,32x32,48x48,256x256}/mimetypes,mime/packages,applications}
1068         install -m 644 -T wireshark-mime-package.xml $(DESTDIR)/$(datarootdir)/mime/packages/wireshark.xml
1069         install -m 644 -T wireshark.desktop $(DESTDIR)/$(datarootdir)/applications/wireshark.desktop
1070         mkdir -p $(DESTDIR)/$(datarootdir)/icons/hicolor/{16x16,32x32,48x48,64x64,256x256}/apps
1071         install -m 644 image/wsicon16.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/16x16/apps/wireshark.png
1072         install -m 644 image/wsicon32.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/32x32/apps/wireshark.png
1073         install -m 644 image/wsicon48.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/48x48/apps/wireshark.png
1074         install -m 644 image/wsicon64.png  $(DESTDIR)/$(datarootdir)/icons/hicolor/64x64/apps/wireshark.png
1075         install -m 644 image/wsicon256.png $(DESTDIR)/$(datarootdir)/icons/hicolor/256x256/apps/wireshark.png
1076         install -m 644 -T image/WiresharkDoc-16.png  $(DESTDIR)/$(datarootdir)/icons/gnome/16x16/mimetypes/application-wireshark-doc.png
1077         install -m 644 -T image/WiresharkDoc-32.png  $(DESTDIR)/$(datarootdir)/icons/gnome/32x32/mimetypes/application-wireshark-doc.png
1078         install -m 644 -T image/WiresharkDoc-48.png  $(DESTDIR)/$(datarootdir)/icons/gnome/48x48/mimetypes/application-wireshark-doc.png
1079         install -m 644 -T image/WiresharkDoc-256.png $(DESTDIR)/$(datarootdir)/icons/gnome/256x256/mimetypes/application-wireshark-doc.png
1080         @echo "Don't forget to run \"update-desktop-database\" and \"update-mime-database $(datarootdir)/mime\""
1081
1082 srpm-package: dist
1083         if test x$(HAVE_RPM) = xyes ; then \
1084                 cd $(rpm_topdir) ; \
1085                 mkdir -p BUILD SRPMS SOURCES ; \
1086                 cd SOURCES ; \
1087                 ln -s ../../../$(distdir).tar.bz2 ; \
1088                 ln -s ../../../wireshark.desktop ; \
1089                 ln -s ../../../image/wsicon64.png wireshark.png ; \
1090                 cd .. ; \
1091                 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
1092                         echo "Package successfully built in `pwd`/SRPMS." ; \
1093         else \
1094                 echo "Error: RPM executable and/or source directory not found." ; \
1095         fi
1096
1097 debian-package: debian/rules
1098         @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
1099                 dpkg-buildpackage -rfakeroot -us -uc ; \
1100         else \
1101                 echo "Error: Debian packaging tools not found." ; \
1102                 echo "Package build abandoned." ; \
1103         fi
1104
1105 # XXX - This assumes we're building from the source directory.
1106 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
1107         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1108                 rm -rf $(stagedir) ; \
1109                 $(MAKE) DESTDIR=$(stagedir) install; \
1110                 cd $(srcdir)/packaging/macosx ;  \
1111                 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
1112         else \
1113                 echo "Error: OS X packaging tools not found." ; \
1114                 echo "Package build abandoned." ; \
1115         fi
1116
1117 packaging/macosx/COPYING.txt: COPYING
1118         (cd packaging/macosx ; \
1119         $(MAKE) COPYING.txt ;)
1120
1121 osx-package: osx-app packaging/macosx/COPYING.txt
1122         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1123                 cd $(srcdir)/packaging/macosx ;  \
1124                 chmod +x ./osx-dmg.sh ; \
1125                 ./osx-dmg.sh ; \
1126         fi
1127
1128 osx-install: osx-app
1129         @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1130                 echo "Copying Wireshark.app to /Applications" ; \
1131                 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ;  \
1132         fi
1133
1134 clean-local:
1135         rm -rf $(top_stagedir)
1136
1137 dumpabi:
1138         $(MAKE) -C wiretap dumpabi-libwiretap
1139         $(MAKE) -C epan dumpabi-libwireshark
1140         $(MAKE) -C wsutil dumpabi-libwsutil
1141
1142 checkapi_local:
1143         $(PERL) tools/checkAPIs.pl -build \
1144         $(TSHARK_TAP_SRC) \
1145         $(wireshark_SOURCES)
1146 #       $(EXTRA_wireshark_SOURCES)
1147
1148 checkapi: checkapi_local
1149         cd wiretap && $(MAKE) checkapi
1150         cd codecs && $(MAKE) checkapi
1151         cd ui && $(MAKE) checkapi
1152         cd ui/gtk && $(MAKE) checkapi
1153 ##      cd epan && $(MAKE) checkapi
1154 ##      cd epan/crypt && $(MAKE) checkapi
1155         cd epan/dfilter && $(MAKE) checkapi
1156 ##      cd epan/ftypes && $(MAKE) checkapi
1157 ##      cd epan/wslua && $(MAKE) checkapi
1158         cd epan/dissectors && $(MAKE) checkapi
1159         cd plugins && $(MAKE) checkapi
1160         cd wsutil && $(MAKE) checkapi