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