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