2 # Automake file for Wireshark
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 ACLOCAL_AMFLAGS = `./aclocal-flags`
26 INCLUDES= @LUA_INCLUDES@
30 # This is a hideous hack.
32 # Automake needs to know into which sections to install various man
33 # pages; if the names in "man_MANS" have suffixes, it can infer the
34 # sections from the name (e.g., "hello.1" goes in section 1), but if
35 # they don't have suffixes, it can't tell what sections to put them, and
36 # it just gives up and doesn't create any rules to install them (and it
37 # gives up silently, so you have no clue what's wrong).
39 # Therefore, we can't just set "man_MANS" to a list of variables to be
40 # filled in by the configure script, as those variables don't have man
41 # page section numbers.
43 # It turns out (although this is not documented anywhere I could find
44 # in the automake Info file) that if you define, instead, variables with
45 # names like "man{section}_MANS", automake will infer that the names in
46 # those variables are the names of man pages to be installed in section
49 # So, as all our man pages go in section 1, we define "man1_MANS" to
50 # contain all the man page.
52 # *However*, if "man_MANS" isn't defined at all, automake concludes that
53 # there are no man pages, the fact that, say, "man1_MANS" is defined
54 # nonwithstanding! (I suspect this is the result of a mistaken attempt
55 # to get people to fix their automake files not to use "MANS"; if "MANS"
56 # is defined, it prints a warning and sets the exit status, but doesn't
57 # exit, and then it just gives up if "man_MANS" isn't defined,
58 # presumably on the theory that the only reason it wouldn't be defined
59 # is because the automake file uses the obsolete "MANS" variable instead
60 # of the shiny new "man_MANS" variable.)
62 # So we also define "man_MANS", but don't define it as anything;
63 # automake will arrange that the Makefile define it as the union of all
64 # the "man{section}_MANS" variables.
77 bin_SCRIPTS = @idl2wrs_bin@
89 man4_MANS = @wiresharkfilter_man@
92 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
93 randpkt text2pcap dumpcap rawshark
94 EXTRA_SCRIPTS = idl2wrs
96 idl2wrs: tools/idl2wrs.sh Makefile
97 cp tools/idl2wrs.sh idl2wrs
101 # Wireshark configuration files are put in $(pkgdatadir).
103 pkgdata_DATA = AUTHORS-SHORT COPYING manuf services wireshark.html \
104 tshark.html wireshark-filter.html capinfos.html editcap.html \
105 idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
106 rawshark.html ws.css cfilters colorfilters dfilters smi_modules
109 # Install the Diameter DTD and XML files in the "diameter" subdirectory
112 diameterdir = $(pkgdatadir)/diameter
114 diameter/chargecontrol.xml \
115 diameter/dictionary.dtd \
116 diameter/dictionary.xml \
117 diameter/Ericsson.xml \
118 diameter/etsie2e4.xml \
119 diameter/gqpolicy.xml \
120 diameter/imscxdx.xml \
121 diameter/mobileipv4.xml \
122 diameter/nasreq.xml \
124 diameter/sunping.xml \
125 diameter/TGPPGmb.xml \
129 # Install the DTDs directory files in the "dtds" subdirectory
132 dtdsdir = $(pkgdatadir)/dtds
137 dtds/pocsettings.dtd \
144 dtds/xcap-error.dtd \
148 # Install the RADIUS directory files in the "radius" subdirectory
151 radiusdir = $(pkgdatadir)/radius
154 radius/dictionary.3com \
155 radius/dictionary.3gpp \
156 radius/dictionary.3gpp2 \
157 radius/dictionary.acc \
158 radius/dictionary.alcatel \
159 radius/dictionary.alteon \
160 radius/dictionary.altiga \
161 radius/dictionary.aptis \
162 radius/dictionary.ascend \
163 radius/dictionary.bay \
164 radius/dictionary.bintec \
165 radius/dictionary.bristol \
166 radius/dictionary.cablelabs \
167 radius/dictionary.cabletron \
168 radius/dictionary.cisco \
169 radius/dictionary.cisco.bbsm \
170 radius/dictionary.cisco.vpn3000 \
171 radius/dictionary.cisco.vpn5000 \
172 radius/dictionary.colubris \
173 radius/dictionary.columbia_university \
174 radius/dictionary.compat \
175 radius/dictionary.cosine \
176 radius/dictionary.ericsson \
177 radius/dictionary.erx \
178 radius/dictionary.extreme \
179 radius/dictionary.foundry \
180 radius/dictionary.freeradius \
181 radius/dictionary.gandalf \
182 radius/dictionary.garderos \
183 radius/dictionary.gemtek \
184 radius/dictionary.itk \
185 radius/dictionary.juniper \
186 radius/dictionary.karlnet \
187 radius/dictionary.livingston \
188 radius/dictionary.localweb \
189 radius/dictionary.merit \
190 radius/dictionary.microsoft \
191 radius/dictionary.mikrotik \
192 radius/dictionary.navini \
193 radius/dictionary.netscreen \
194 radius/dictionary.nokia \
195 radius/dictionary.nomadix \
196 radius/dictionary.propel \
197 radius/dictionary.quintum \
198 radius/dictionary.redback \
199 radius/dictionary.redcreek \
200 radius/dictionary.shasta \
201 radius/dictionary.shiva \
202 radius/dictionary.sonicwall \
203 radius/dictionary.springtide \
204 radius/dictionary.t_systems_nova \
205 radius/dictionary.telebit \
206 radius/dictionary.trapeze \
207 radius/dictionary.tunnel \
208 radius/dictionary.unisphere \
209 radius/dictionary.unix \
210 radius/dictionary.usr \
211 radius/dictionary.valemount \
212 radius/dictionary.versanet \
213 radius/dictionary.wispr \
214 radius/dictionary.xedia
217 # Install the tpncp directory files in the "tpncp" subdirectory
220 tpncpdir = $(pkgdatadir)/tpncp
226 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
229 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
231 wimaxasncp/dictionary.xml \
232 wimaxasncp/dictionary.dtd
234 PLATFORM_SRC = capture-pcap-util-unix.c
239 -dlopen plugins/agentx/agentx.la \
240 -dlopen plugins/artnet/artnet.la \
241 -dlopen plugins/asn1/asn1.la \
242 -dlopen plugins/ciscosm/ciscosm.la \
243 -dlopen plugins/docsis/docsis.la \
244 -dlopen plugins/enttec/enttec.la \
245 -dlopen plugins/ethercat/ethercat.la \
246 -dlopen plugins/giop/cosnaming.la \
247 -dlopen plugins/giop/coseventcomm.la \
248 -dlopen plugins/gryphon/gryphon.la \
249 -dlopen plugins/infiniband/infiniband.la \
250 -dlopen plugins/irda/irda.la \
251 -dlopen plugins/lwres/lwres.la \
252 -dlopen plugins/m2m/m2m.la \
253 -dlopen plugins/mate/mate.la \
254 -dlopen plugins/opcua/opcua.la \
255 -dlopen plugins/opsi/opsi.la \
256 -dlopen plugins/pcli/pcli.la \
257 -dlopen plugins/profinet/profinet.la \
258 -dlopen plugins/rlm/rlm.la \
259 -dlopen plugins/rtnet/rtnet.la \
260 -dlopen plugins/rudp/rudp.la \
261 -dlopen plugins/sbus/sbus.la \
262 -dlopen plugins/sercosiii/sercosiii.la \
263 -dlopen plugins/stats_tree/stats_tree.la \
264 -dlopen plugins/unistim/unistim.la \
265 -dlopen plugins/v5ua/v5ua.la \
266 -dlopen plugins/wimax/wimax.la
268 WTAP_PLUGIN_SOURCES = \
276 WTAP_PLUGIN_SOURCES =
280 include Makefile.common
282 # Optional objects that I know how to build. These will be
283 # linked into the wireshark executable.
284 # They will also be linked into the tshark executable; if this
285 # list ever grows to include something that can't be linked with
286 # tshark, or if tshark needs something that wireshark doesn't,
287 # we should probably split this into stuff needed both
288 # by wireshark and tshark and stuff needed only by one or the
290 wireshark_optional_objects = @GETOPT_O@ @STRERROR_O@ \
291 @STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
294 wireshark_LDFLAGS = -Wl,-static -all-static
296 wireshark_LDFLAGS = -export-dynamic
299 # Libraries and plugin flags with which to link wireshark.
301 # Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
302 # they are included in @GTK_LIBS@, and doesn't have to be linked with
303 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
304 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
305 # applications are X applications).
307 $(wireshark_optional_objects) \
310 wiretap/libwiretap.la \
311 epan/libwireshark.la \
312 wsutil/libwsutil.la \
318 @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@ \
325 wireshark_DEPENDENCIES = \
330 tshark_LDFLAGS = -Wl,-static -all-static
332 tshark_LDFLAGS = -export-dynamic
335 # Libraries and plugin flags with which to link tshark.
337 $(wireshark_optional_objects) \
338 wiretap/libwiretap.la \
339 epan/libwireshark.la \
340 wsutil/libwsutil.la \
347 @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
354 tshark_DEPENDENCIES = \
359 rawshark_LDFLAGS = -Wl,-static -all-static
361 rawshark_LDFLAGS = -export-dynamic
364 # Libraries and plugin flags with which to link tshark.
366 $(wireshark_optional_objects) \
367 wiretap/libwiretap.la \
368 epan/libwireshark.la \
369 wsutil/libwsutil.la \
376 @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
383 rawshark_DEPENDENCIES = \
387 # Optional objects that I know how to build, and that are needed by
389 text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
391 # Libraries with which to link text2pcap.
393 $(text2pcap_optional_objects) \
394 wiretap/libwiretap.la \
395 wsutil/libwsutil.la \
398 # Libraries with which to link mergecap.
400 wiretap/libwiretap.la \
401 wsutil/libwsutil.la \
404 # Libraries with which to link capinfos.
406 wiretap/libwiretap.la \
407 wsutil/libwsutil.la \
410 # Libraries with which to link editcap.
412 wiretap/libwiretap.la \
413 wsutil/libwsutil.la \
416 # Libraries with which to link randpkt.
418 wiretap/libwiretap.la \
419 wsutil/libwsutil.la \
421 @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
423 # Libraries and plugin flags with which to link dftest.
425 $(wireshark_optional_objects) \
426 wiretap/libwiretap.la \
427 wsutil/libwsutil.la \
428 epan/libwireshark.la \
433 @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
439 # Libraries with which to link dumpcap.
441 wiretap/libwiretap.la \
442 wsutil/libwsutil.la \
445 @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @FRAMEWORKS@ \
449 dumpcap_DEPENDENCIES = \
453 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
454 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS)
457 # Build the version string
459 # FORCE is the portable version of .PHONY
463 LANG=C $(PERL) $(srcdir)/make-version.pl $(srcdir)
466 # Build the short version of the authors file for the about dialog
468 AUTHORS-SHORT: AUTHORS make-authors-short.pl
469 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl < $(srcdir)/AUTHORS > AUTHORS-SHORT
472 # Build the short version of the authors file with formatting codes for the
475 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
476 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
479 # Build shell scripts by doing variable substitution.
480 # Taken from autoconf 2.13.
482 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
487 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
490 # Build "tshark-tap-register.c", which contains a function
491 # "register_all_tap_listeners()"
492 # that calls the register routines for all tshark tap listeners.
494 # We do this by grepping through sources.
496 # Formatting conventions: The name of the tap_listener_register_*
497 # routines must start in column zero, or must be preceded only by
498 # "void " starting in column zero, and must not be inside #if.
500 # The first argument is the directory in which the source files live.
501 # All subsequent arguments are the files to scan.
503 tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/make-tapreg-dotc
504 @echo Making tshark-tap-register.c
505 @$(srcdir)/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
508 ./rdps $(srcdir)/print.ps ps.c
511 $(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
514 # XXX - "svnversion.h" is distributed in the release tarball; should
515 # we be deleting it with "make clean", or should we only do that with
516 # "make maintainer-clean"?
526 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
527 # list of files removed by "make distclean"? (It's deliberately
528 # included in that list.)
532 AUTHORS-SHORT-FORMAT \
536 MAINTAINERCLEANFILES = \
563 aclocal-fallback/glib-2.0.m4 \
564 aclocal-fallback/glib.m4 \
565 aclocal-fallback/gtk-2.0.m4 \
566 aclocal-fallback/gtk.m4 \
567 aclocal-fallback/iconv.m4 \
575 capture_wpcap_packet.c \
576 capture_wpcap_packet.h \
586 debian/headers-check.c \
587 debian/patches/00list \
588 debian/patches/03_preferences.dpatch \
593 debian/tshark.files \
594 debian/tshark.manpages \
596 debian/wireshark-common.files \
597 debian/wireshark-common.manpages \
598 debian/wireshark-common.shlibs \
599 debian/wireshark-dev.docs \
600 debian/wireshark-dev.files \
601 debian/wireshark-dev.header-files \
602 debian/wireshark-dev.manpages \
603 debian/wireshark-dev.prerm \
604 debian/wireshark-root.desktop \
605 debian/wireshark.desktop \
606 debian/wireshark.files \
607 debian/wireshark.manpages \
608 debian/wireshark.menu \
612 doc/README.binarytrees \
615 doc/README.developer \
616 doc/README.display_filter \
619 doc/README.packaging \
621 doc/README.regression \
622 doc/README.request_response_tracking \
623 doc/README.stats_tree \
625 doc/README.xml-output \
635 doc/sgml.doc.template \
638 doc/wireshark-filter.pod.template \
640 docbook/Makefile.auto.am \
645 example_snmp_users_file \
647 image/capinfos.rc.in \
648 image/clist_ascend.xpm \
649 image/clist_descend.xpm \
651 image/dumpcap.rc.in \
652 image/editcap.rc.in \
653 image/expert_chat.xpm \
654 image/expert_error.xpm \
655 image/expert_none.xpm \
656 image/expert_note.xpm \
657 image/expert_warn.xpm \
658 image/file_dlg_win32.rc \
659 image/hi16-app-wireshark.png \
660 image/hi32-app-wireshark.png \
661 image/hi48-app-wireshark.png \
662 image/icon_layout_1.xpm \
663 image/icon_layout_2.xpm \
664 image/icon_layout_3.xpm \
665 image/icon_layout_4.xpm \
666 image/icon_layout_5.xpm \
667 image/icon_layout_6.xpm \
668 image/libwireshark.rc.in \
669 image/lo16-app-wireshark.png \
670 image/lo32-app-wireshark.png \
671 image/lo48-app-wireshark.png \
672 image/Makefile.nmake \
673 image/mergecap.rc.in \
674 image/nsis-checked.bmp \
675 image/nsis-unchecked.bmp \
676 image/rawshark.rc.in \
678 image/stock_dialog_error_48.xpm \
679 image/stock_dialog_info_48.xpm \
680 image/stock_dialog_question_48.xpm \
681 image/stock_dialog_stop_48.xpm \
682 image/stock_dialog_warning_48.xpm \
683 image/text2pcap.rc.in \
684 image/toolbar/autoscroll_24.xpm \
685 image/toolbar/capture_airpcap_16.xpm \
686 image/toolbar/capture_capture_16.xpm \
687 image/toolbar/capture_details_16.xpm \
688 image/toolbar/capture_details_24.xpm \
689 image/toolbar/capture_ethernet_16.xpm \
690 image/toolbar/capture_filter_24.xpm \
691 image/toolbar/capture_interfaces_24.xpm \
692 image/toolbar/capture_options_24.xpm \
693 image/toolbar/capture_prepare_16.xpm \
694 image/toolbar/capture_restart_24.xpm \
695 image/toolbar/capture_start_24.xpm \
696 image/toolbar/capture_stop_24.xpm \
697 image/toolbar/checkbox_16.xpm \
698 image/toolbar/colorize_24.xpm \
699 image/toolbar/conversations_16.xpm \
700 image/toolbar/decode_as_16.xpm \
701 image/toolbar/display_filter_24.xpm \
702 image/toolbar/endpoints_16.xpm \
703 image/toolbar/expert_info_16.xpm \
704 image/toolbar/file_set_list_16.xpm \
705 image/toolbar/file_set_next_16.xpm \
706 image/toolbar/file_set_previous_16.xpm \
707 image/toolbar/flow_graph_16.xpm \
708 image/toolbar/graphs_16.xpm \
709 image/toolbar/icon_color_0.xpm \
710 image/toolbar/icon_color_1.xpm \
711 image/toolbar/icon_color_2.xpm \
712 image/toolbar/icon_color_3.xpm \
713 image/toolbar/icon_color_4.xpm \
714 image/toolbar/icon_color_5.xpm \
715 image/toolbar/icon_color_6.xpm \
716 image/toolbar/icon_color_7.xpm \
717 image/toolbar/icon_color_8.xpm \
718 image/toolbar/icon_color_9.xpm \
719 image/toolbar/internet_24.xpm \
720 image/toolbar/resize_columns_24.xpm \
721 image/toolbar/telephony_16.xpm \
722 image/toolbar/time_24.xpm \
723 image/toolbar/web_support_24.xpm \
724 image/toolbar/wep_closed_24.xpm \
725 image/toolbar/wiki_24.xpm \
728 image/wiresharkdoc.ico \
729 image/wireshark.exe.manifest.in \
730 image/wireshark.ico \
731 image/wiresharkinst.ico \
732 image/wireshark.rc.in \
733 image/wiretap.rc.in \
736 image/wsicon256.png \
743 image/wsiconcap16.xpm \
744 image/wsiconcap256.png \
745 image/wsiconcap32.xpm \
746 image/wsiconcap48.xpm \
747 image/wsiconcap.svg \
748 image/wsicondoc256.png \
749 image/wsicondoc.svg \
750 image/wsiconinst256.png \
751 image/wsiconinst.svg \
756 image/wssplash-dev.xpm \
757 make-authors-format.pl \
758 make-authors-short.pl \
775 text2pcap-scanner.l \
778 packaging/makefile.nmake \
779 packaging/ws-manifest.pl \
780 packaging/portableapps/win32/Installer.nsi \
781 packaging/portableapps/win32/WiresharkPortable.ini \
782 packaging/portableapps/win32/WiresharkPortable.nsi \
783 packaging/portableapps/win32/appinfo.tmpl \
784 packaging/portableapps/win32/makefile.nmake \
785 packaging/portableapps/win32/makenmake.pl \
786 packaging/portableapps/win32/readme.txt \
787 packaging/u3/win32/README.txt \
788 packaging/u3/win32/makefile.nmake \
789 packaging/u3/win32/makenmake.pl \
790 packaging/u3/win32/manifest.tmpl \
791 packaging/u3/win32/u3util.c \
792 packaging/u3/win32/wireshark.bat \
793 packaging/u3/tools/README.txt \
794 packaging/u3/tools/makefile.nmake \
795 packaging/u3/tools/sysdep.c \
796 packaging/u3/tools/sysdep.h \
797 packaging/u3/tools/utest.c \
798 packaging/u3/tools/uuid.c \
799 packaging/u3/tools/uuid.h \
801 tools/idl2wrs.sh.in \
802 tools/setuid-root.pl.in \
807 -chmod +s $(DESTDIR)$(bindir)/dumpcap
812 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil
815 SUBDIRS = tools wsutil wiretap doc epan plugins packaging help @wireshark_SUBDIRS@
817 SUBDIRS = tools wsutil wiretap doc epan packaging help @wireshark_SUBDIRS@
820 wireshark.1: doc/wireshark.pod AUTHORS-SHORT-FORMAT
822 $(MAKE) ../wireshark.1 )
824 tshark.1: doc/tshark.pod
826 $(MAKE) ../tshark.1 )
828 wireshark-filter.4: tshark doc/wireshark-filter.pod.template
830 $(MAKE) ../wireshark-filter.4 )
832 capinfos.1: doc/capinfos.pod
834 $(MAKE) ../capinfos.1 )
836 editcap.1: doc/editcap.pod
838 $(MAKE) ../editcap.1 )
840 idl2wrs.1: doc/idl2wrs.pod
842 $(MAKE) ../idl2wrs.1 )
844 mergecap.1: doc/mergecap.pod
846 $(MAKE) ../mergecap.1 )
848 text2pcap.1: doc/text2pcap.pod
850 $(MAKE) ../text2pcap.1 )
852 dumpcap.1: doc/dumpcap.pod
854 $(MAKE) ../dumpcap.1 )
856 rawshark.1: doc/rawshark.pod
858 $(MAKE) ../rawshark.1 )
860 ws.css: $(srcdir)/docbook/ws.css
861 cp $(srcdir)/docbook/ws.css .
863 wireshark.html: doc/wireshark.pod AUTHORS-SHORT-FORMAT ws.css
865 $(MAKE) ../wireshark.html )
867 tshark.html: doc/tshark.pod ws.css
869 $(MAKE) ../tshark.html )
871 wireshark-filter.html: tshark doc/wireshark-filter.pod.template ws.css
873 $(MAKE) ../wireshark-filter.html )
875 capinfos.html: doc/capinfos.pod ws.css
877 $(MAKE) ../capinfos.html )
879 editcap.html: doc/editcap.pod ws.css
881 $(MAKE) ../editcap.html )
883 idl2wrs.html: doc/idl2wrs.pod ws.css
885 $(MAKE) ../idl2wrs.html )
887 mergecap.html: doc/mergecap.pod ws.css
889 $(MAKE) ../mergecap.html )
891 text2pcap.html: doc/text2pcap.pod ws.css
893 $(MAKE) ../text2pcap.html )
895 dumpcap.html: doc/dumpcap.pod ws.css
897 $(MAKE) ../dumpcap.html )
899 rawshark.html: doc/rawshark.pod ws.css
901 $(MAKE) ../rawshark.html )
903 libtool: $(LIBTOOL_DEPS)
904 $(SHELL) ./config.status --recheck
906 # Used by svr4-package and osx-package
907 # We load top_stagedir with an explicit path so that libtool doesn't freak.
908 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
909 stagedir=$(top_stagedir)/$(PACKAGE).inst
914 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
915 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
916 rm -rf $(stagedir) ; \
917 $(MAKE) DESTDIR=$(stagedir) install; \
918 $(srcdir)/packaging/svr4/mkpkg \
920 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
924 echo "Error: SVR4 packaging tools not found." ; \
925 echo "Package build abandoned." ; \
928 solaris-package: svr4-package
930 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
932 if test x$(HAVE_RPM) = xyes ; then \
934 mkdir -p BUILD RPMS SOURCES ; \
936 ln -s ../../../$(distdir).tar.gz ; \
937 ln -s ../../../wireshark.desktop ; \
938 ln -s ../../../image/wsicon64.png wireshark.png ; \
940 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
941 echo "Package successfully built in `pwd`/RPMS." ; \
943 echo "Error: RPM executable and/or source directory not found." ; \
946 if test x$(HAVE_RPM) = xyes ; then \
948 mkdir -p BUILD SRPMS SOURCES ; \
950 ln -s ../../../$(distdir).tar.gz ; \
951 ln -s ../../../wireshark.desktop ; \
952 ln -s ../../../image/wsicon64.png wireshark.png ; \
954 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
955 echo "Package successfully built in `pwd`/SRPMS." ; \
957 echo "Error: RPM executable and/or source directory not found." ; \
960 debian-package: debian/rules
961 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
962 dpkg-buildpackage -rfakeroot -us -uc ; \
964 echo "Error: Debian packaging tools not found." ; \
965 echo "Package build abandoned." ; \
968 # XXX - This assumes we're building from the source directory.
969 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
970 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
971 rm -rf $(stagedir) ; \
972 $(MAKE) DESTDIR=$(stagedir) install; \
973 cd $(srcdir)/packaging/macosx ; \
974 ./osx-app.sh -bp ../staging/$(PACKAGE).inst/$(bindir) ; \
976 echo "Error: OS X packaging tools not found." ; \
977 echo "Package build abandoned." ; \
981 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
982 cd $(srcdir)/packaging/macosx ; \
987 rm -rf $(top_stagedir)
990 $(PERL) tools/checkAPIs.pl \
992 # $(wireshark_SOURCES)
993 # $(EXTRA_wireshark_SOURCES)
995 checkapi: checkapi_local
996 cd wiretap && $(MAKE) checkapi
997 cd ../codecs && $(MAKE) checkapi
998 ## cd ../gtk && $(MAKE) checkapi
999 ## cd ../epan && $(MAKE) checkapi
1000 ## cd ../epan/crypt && $(MAKE) checkapi
1001 cd ../dfilter && $(MAKE) checkapi
1002 ## cd ../ftypes && $(MAKE) checkapi
1003 ## cd ../wslua && $(MAKE) checkapi
1004 cd ../dissectors && $(MAKE) checkapi
1005 cd ../../plugins && $(MAKE) checkapi
1006 cd ../wsutil && $(MAKE) checkapi