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