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