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