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@
28 if HAVE_WARNINGS_AS_ERRORS
29 AM_CLEAN_CFLAGS = -Werror
33 # This is a hideous hack.
35 # Automake needs to know into which sections to install various man
36 # pages; if the names in "man_MANS" have suffixes, it can infer the
37 # sections from the name (e.g., "hello.1" goes in section 1), but if
38 # they don't have suffixes, it can't tell what sections to put them, and
39 # it just gives up and doesn't create any rules to install them (and it
40 # gives up silently, so you have no clue what's wrong).
42 # Therefore, we can't just set "man_MANS" to a list of variables to be
43 # filled in by the configure script, as those variables don't have man
44 # page section numbers.
46 # It turns out (although this is not documented anywhere I could find
47 # in the automake Info file) that if you define, instead, variables with
48 # names like "man{section}_MANS", automake will infer that the names in
49 # those variables are the names of man pages to be installed in section
52 # So, as all our man pages go in section 1, we define "man1_MANS" to
53 # contain all the man page.
55 # *However*, if "man_MANS" isn't defined at all, automake concludes that
56 # there are no man pages, the fact that, say, "man1_MANS" is defined
57 # nonwithstanding! (I suspect this is the result of a mistaken attempt
58 # to get people to fix their automake files not to use "MANS"; if "MANS"
59 # is defined, it prints a warning and sets the exit status, but doesn't
60 # exit, and then it just gives up if "man_MANS" isn't defined,
61 # presumably on the theory that the only reason it wouldn't be defined
62 # is because the automake file uses the obsolete "MANS" variable instead
63 # of the shiny new "man_MANS" variable.)
65 # So we also define "man_MANS", but don't define it as anything;
66 # automake will arrange that the Makefile define it as the union of all
67 # the "man{section}_MANS" variables.
81 bin_SCRIPTS = @idl2wrs_bin@
93 man4_MANS = @wiresharkfilter_man@
96 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
97 randpkt text2pcap dumpcap dumpcapng rawshark
98 EXTRA_SCRIPTS = idl2wrs
100 idl2wrs: tools/idl2wrs.sh Makefile
101 cp tools/idl2wrs.sh idl2wrs
105 # Wireshark configuration files are put in $(pkgdatadir).
107 pkgdata_DATA = AUTHORS-SHORT COPYING FAQ manuf services wireshark.html \
108 tshark.html wireshark-filter.html capinfos.html editcap.html \
109 idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
110 rawshark.html ws.css cfilters colorfilters dfilters smi_modules
113 # Install the Diameter DTD and XML files in the "diameter" subdirectory
116 diameterdir = $(pkgdatadir)/diameter
118 diameter/chargecontrol.xml \
119 diameter/dictionary.dtd \
120 diameter/dictionary.xml \
121 diameter/Ericsson.xml \
122 diameter/etsie2e4.xml \
123 diameter/gqpolicy.xml \
124 diameter/imscxdx.xml \
125 diameter/mobileipv4.xml \
126 diameter/nasreq.xml \
128 diameter/sunping.xml \
129 diameter/TGPPGmb.xml \
130 diameter/TGPPRx.xml \
134 # Install the DTDs directory files in the "dtds" subdirectory
137 dtdsdir = $(pkgdatadir)/dtds
142 dtds/pocsettings.dtd \
149 dtds/xcap-error.dtd \
153 # Install the RADIUS directory files in the "radius" subdirectory
156 radiusdir = $(pkgdatadir)/radius
159 radius/dictionary.3com \
160 radius/dictionary.3gpp \
161 radius/dictionary.3gpp2 \
162 radius/dictionary.acc \
163 radius/dictionary.alcatel \
164 radius/dictionary.alteon \
165 radius/dictionary.altiga \
166 radius/dictionary.aptis \
167 radius/dictionary.ascend \
168 radius/dictionary.aruba \
169 radius/dictionary.bay \
170 radius/dictionary.bintec \
171 radius/dictionary.bristol \
172 radius/dictionary.cablelabs \
173 radius/dictionary.cabletron \
174 radius/dictionary.cisco \
175 radius/dictionary.cisco.bbsm \
176 radius/dictionary.cisco.vpn3000 \
177 radius/dictionary.cisco.vpn5000 \
178 radius/dictionary.colubris \
179 radius/dictionary.columbia_university \
180 radius/dictionary.compat \
181 radius/dictionary.cosine \
182 radius/dictionary.ericsson \
183 radius/dictionary.erx \
184 radius/dictionary.extreme \
185 radius/dictionary.foundry \
186 radius/dictionary.freeradius \
187 radius/dictionary.gandalf \
188 radius/dictionary.garderos \
189 radius/dictionary.gemtek \
190 radius/dictionary.itk \
191 radius/dictionary.juniper \
192 radius/dictionary.karlnet \
193 radius/dictionary.livingston \
194 radius/dictionary.localweb \
195 radius/dictionary.merit \
196 radius/dictionary.microsoft \
197 radius/dictionary.mikrotik \
198 radius/dictionary.navini \
199 radius/dictionary.netscreen \
200 radius/dictionary.nokia \
201 radius/dictionary.nomadix \
202 radius/dictionary.propel \
203 radius/dictionary.quintum \
204 radius/dictionary.redback \
205 radius/dictionary.redcreek \
206 radius/dictionary.shasta \
207 radius/dictionary.shiva \
208 radius/dictionary.sonicwall \
209 radius/dictionary.springtide \
210 radius/dictionary.t_systems_nova \
211 radius/dictionary.telebit \
212 radius/dictionary.trapeze \
213 radius/dictionary.tunnel \
214 radius/dictionary.unisphere \
215 radius/dictionary.unix \
216 radius/dictionary.usr \
217 radius/dictionary.valemount \
218 radius/dictionary.versanet \
219 radius/dictionary.wispr \
220 radius/dictionary.xedia
223 # Install the tpncp directory files in the "tpncp" subdirectory
226 tpncpdir = $(pkgdatadir)/tpncp
232 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
235 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
237 wimaxasncp/dictionary.xml \
238 wimaxasncp/dictionary.dtd
240 PLATFORM_SRC = capture-pcap-util-unix.c
243 -include plugins/Custom.make
244 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
245 -dlopen plugins/agentx/agentx.la \
246 -dlopen plugins/artnet/artnet.la \
247 -dlopen plugins/asn1/asn1.la \
248 -dlopen plugins/ciscosm/ciscosm.la \
249 -dlopen plugins/docsis/docsis.la \
250 -dlopen plugins/enttec/enttec.la \
251 -dlopen plugins/ethercat/ethercat.la \
252 -dlopen plugins/giop/cosnaming.la \
253 -dlopen plugins/giop/coseventcomm.la \
254 -dlopen plugins/gryphon/gryphon.la \
255 -dlopen plugins/infiniband/infiniband.la \
256 -dlopen plugins/irda/irda.la \
257 -dlopen plugins/lwres/lwres.la \
258 -dlopen plugins/m2m/m2m.la \
259 -dlopen plugins/mate/mate.la \
260 -dlopen plugins/opcua/opcua.la \
261 -dlopen plugins/opsi/opsi.la \
262 -dlopen plugins/pcli/pcli.la \
263 -dlopen plugins/profinet/profinet.la \
264 -dlopen plugins/rlm/rlm.la \
265 -dlopen plugins/rtnet/rtnet.la \
266 -dlopen plugins/rudp/rudp.la \
267 -dlopen plugins/sbus/sbus.la \
268 -dlopen plugins/sercosiii/sercosiii.la \
269 -dlopen plugins/stats_tree/stats_tree.la \
270 -dlopen plugins/unistim/unistim.la \
271 -dlopen plugins/v5ua/v5ua.la \
272 -dlopen plugins/wimax/wimax.la
274 WTAP_PLUGIN_SOURCES = \
282 WTAP_PLUGIN_SOURCES =
286 include Makefile.common
288 # Optional objects that I know how to build. These will be
289 # linked into the wireshark executable.
290 # They will also be linked into the tshark executable; if this
291 # list ever grows to include something that can't be linked with
292 # tshark, or if tshark needs something that wireshark doesn't,
293 # we should probably split this into stuff needed both
294 # by wireshark and tshark and stuff needed only by one or the
296 wireshark_optional_objects = @GETOPT_O@ @STRERROR_O@ \
297 @STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
300 wireshark_LDFLAGS = -Wl,-static -all-static
302 wireshark_LDFLAGS = -export-dynamic
305 # Libraries and plugin flags with which to link wireshark.
307 # Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
308 # they are included in @GTK_LIBS@, and doesn't have to be linked with
309 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
310 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
311 # applications are X applications).
313 $(wireshark_optional_objects) \
316 wiretap/libwiretap.la \
317 epan/libwireshark.la \
318 wsutil/libwsutil.la \
334 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS)
337 tshark_LDFLAGS = -Wl,-static -all-static
339 tshark_LDFLAGS = -export-dynamic
342 # Libraries and plugin flags with which to link tshark.
344 $(wireshark_optional_objects) \
345 wiretap/libwiretap.la \
346 epan/libwireshark.la \
347 wsutil/libwsutil.la \
364 tshark_CFLAGS = $(AM_CLEAN_CFLAGS)
367 rawshark_LDFLAGS = -Wl,-static -all-static
369 rawshark_LDFLAGS = -export-dynamic
372 # Libraries and plugin flags with which to link tshark.
374 $(wireshark_optional_objects) \
375 wiretap/libwiretap.la \
376 epan/libwireshark.la \
377 wsutil/libwsutil.la \
394 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS)
396 # Optional objects that I know how to build, and that are needed by
398 text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
400 # Libraries with which to link text2pcap.
402 $(text2pcap_optional_objects) \
403 wiretap/libwiretap.la \
404 wsutil/libwsutil.la \
406 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
407 # which is generated (and therefore not always clean).
408 # We could generate text2pcap.o as a library with -Werror but for now it
409 # doesn't seem worth the effort.
410 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
412 # Libraries with which to link mergecap.
414 wiretap/libwiretap.la \
415 wsutil/libwsutil.la \
417 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS)
419 # Libraries with which to link capinfos.
421 wiretap/libwiretap.la \
422 wsutil/libwsutil.la \
424 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS)
426 # Libraries with which to link editcap.
428 wiretap/libwiretap.la \
429 wsutil/libwsutil.la \
431 editcap_CFLAGS = $(AM_CLEAN_CFLAGS)
433 # Libraries with which to link randpkt.
435 wiretap/libwiretap.la \
436 wsutil/libwsutil.la \
443 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS)
445 # Libraries and plugin flags with which to link dftest.
447 $(wireshark_optional_objects) \
448 wiretap/libwiretap.la \
449 wsutil/libwsutil.la \
450 epan/libwireshark.la \
464 dftest_CFLAGS = $(AM_CLEAN_CFLAGS)
466 # Libraries with which to link dumpcap.
468 wiretap/libwiretap.la \
469 wsutil/libwsutil.la \
479 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS)
481 # Libraries with which to link dumpcap-ng.
483 wiretap/libwiretap.la \
484 wsutil/libwsutil.la \
495 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
496 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS)
499 # Build the version string
501 # FORCE is the portable version of .PHONY
505 LANG=C $(PERL) $(srcdir)/make-version.pl $(srcdir)
508 # Build the short version of the authors file for the about dialog
510 AUTHORS-SHORT: AUTHORS make-authors-short.pl
511 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl < $(srcdir)/AUTHORS > AUTHORS-SHORT
514 # Build the short version of the authors file with formatting codes for the
517 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
518 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
521 # Build shell scripts by doing variable substitution.
522 # Taken from autoconf 2.13.
524 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
529 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
532 # Build "tshark-tap-register.c", which contains a function
533 # "register_all_tap_listeners()"
534 # that calls the register routines for all tshark tap listeners.
536 # We do this by grepping through sources.
538 # Formatting conventions: The name of the tap_listener_register_*
539 # routines must start in column zero, or must be preceded only by
540 # "void " starting in column zero, and must not be inside #if.
542 # The first argument is the directory in which the source files live.
543 # All subsequent arguments are the files to scan.
545 tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/make-tapreg-dotc
546 @echo Making tshark-tap-register.c
547 @$(srcdir)/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
550 ./rdps $(srcdir)/print.ps ps.c
553 $(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
556 # XXX - "svnversion.h" is distributed in the release tarball; should
557 # we be deleting it with "make clean", or should we only do that with
558 # "make maintainer-clean"?
568 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
569 # list of files removed by "make distclean"? (It's deliberately
570 # included in that list.)
574 AUTHORS-SHORT-FORMAT \
578 MAINTAINERCLEANFILES = \
605 aclocal-fallback/glib-2.0.m4 \
606 aclocal-fallback/gtk-2.0.m4 \
614 capture_wpcap_packet.c \
615 capture_wpcap_packet.h \
625 debian/headers-check.c \
626 debian/patches/00list \
627 debian/patches/03_preferences.dpatch \
632 debian/tshark.files \
633 debian/tshark.manpages \
635 debian/wireshark-common.files \
636 debian/wireshark-common.manpages \
637 debian/wireshark-common.shlibs \
638 debian/wireshark-dev.docs \
639 debian/wireshark-dev.files \
640 debian/wireshark-dev.header-files \
641 debian/wireshark-dev.manpages \
642 debian/wireshark-dev.prerm \
643 debian/wireshark-root.desktop \
644 debian/wireshark.desktop \
645 debian/wireshark.files \
646 debian/wireshark.manpages \
647 debian/wireshark.menu \
649 docbook/Makefile.auto.am \
659 idl/parlay/cccs.idl \
661 idl/parlay/common_cc_data.idl \
664 idl/parlay/fw_data.idl \
665 idl/parlay/fw_if.idl \
666 idl/parlay/fw_if_access.idl \
667 idl/parlay/fw_if_app.idl \
668 idl/parlay/fw_if_entop.idl \
669 idl/parlay/fw_if_service.idl \
670 idl/parlay/gcc_data.idl \
671 idl/parlay/gcc_interfaces.idl \
674 idl/parlay/mmccs.idl \
676 idl/parlay/mpcc_data.idl \
677 idl/parlay/mpcc_interfaces.idl \
679 idl/parlay/pam_data.idl \
680 idl/parlay/pam_interfaces.idl \
681 idl/parlay/Parlay.idl \
682 idl/parlay/policy_data.idl \
683 idl/parlay/policy_interfaces.idl \
684 idl/parlay/README.parlay \
685 idl/parlay/termcap.idl \
686 idl/parlay/ui_data.idl \
687 idl/parlay/ui_interfaces.idl \
688 image/capinfos.rc.in \
689 image/clist_ascend.xpm \
690 image/clist_descend.xpm \
692 image/dumpcap.rc.in \
693 image/editcap.rc.in \
694 image/expert_chat.xpm \
695 image/expert_error.xpm \
696 image/expert_none.xpm \
697 image/expert_note.xpm \
698 image/expert_warn.xpm \
699 image/file_dlg_win32.rc \
700 image/hi16-app-wireshark.png \
701 image/hi32-app-wireshark.png \
702 image/hi48-app-wireshark.png \
703 image/icon_layout_1.xpm \
704 image/icon_layout_2.xpm \
705 image/icon_layout_3.xpm \
706 image/icon_layout_4.xpm \
707 image/icon_layout_5.xpm \
708 image/icon_layout_6.xpm \
709 image/libwireshark.rc.in \
710 image/libwsutil.rc.in \
711 image/lo16-app-wireshark.png \
712 image/lo32-app-wireshark.png \
713 image/lo48-app-wireshark.png \
714 image/Makefile.nmake \
715 image/mergecap.rc.in \
716 image/nsis-checked.bmp \
717 image/nsis-unchecked.bmp \
718 image/rawshark.rc.in \
720 image/stock_dialog_error_48.xpm \
721 image/stock_dialog_info_48.xpm \
722 image/stock_dialog_question_48.xpm \
723 image/stock_dialog_stop_48.xpm \
724 image/stock_dialog_warning_48.xpm \
725 image/text2pcap.rc.in \
726 image/toolbar/autoscroll_24.xpm \
727 image/toolbar/capture_airpcap_16.xpm \
728 image/toolbar/capture_capture_16.xpm \
729 image/toolbar/capture_details_16.xpm \
730 image/toolbar/capture_details_24.xpm \
731 image/toolbar/capture_ethernet_16.xpm \
732 image/toolbar/capture_filter_24.xpm \
733 image/toolbar/capture_interfaces_24.xpm \
734 image/toolbar/capture_options_24.xpm \
735 image/toolbar/capture_prepare_16.xpm \
736 image/toolbar/capture_restart_24.xpm \
737 image/toolbar/capture_start_24.xpm \
738 image/toolbar/capture_stop_24.xpm \
739 image/toolbar/checkbox_16.xpm \
740 image/toolbar/colorize_24.xpm \
741 image/toolbar/conversations_16.xpm \
742 image/toolbar/decode_as_16.xpm \
743 image/toolbar/display_filter_24.xpm \
744 image/toolbar/endpoints_16.xpm \
745 image/toolbar/expert_info_16.xpm \
746 image/toolbar/file_set_list_16.xpm \
747 image/toolbar/file_set_next_16.xpm \
748 image/toolbar/file_set_previous_16.xpm \
749 image/toolbar/flow_graph_16.xpm \
750 image/toolbar/graphs_16.xpm \
751 image/toolbar/icon_color_0.xpm \
752 image/toolbar/icon_color_1.xpm \
753 image/toolbar/icon_color_2.xpm \
754 image/toolbar/icon_color_3.xpm \
755 image/toolbar/icon_color_4.xpm \
756 image/toolbar/icon_color_5.xpm \
757 image/toolbar/icon_color_6.xpm \
758 image/toolbar/icon_color_7.xpm \
759 image/toolbar/icon_color_8.xpm \
760 image/toolbar/icon_color_9.xpm \
761 image/toolbar/internet_24.xpm \
762 image/toolbar/resize_columns_24.xpm \
763 image/toolbar/telephony_16.xpm \
764 image/toolbar/time_24.xpm \
765 image/toolbar/web_support_24.xpm \
766 image/toolbar/wep_closed_24.xpm \
767 image/toolbar/wiki_24.xpm \
770 image/wiresharkdoc.ico \
771 image/wireshark.exe.manifest.in \
772 image/wireshark.ico \
773 image/wiresharkinst.ico \
774 image/wireshark.rc.in \
775 image/wiretap.rc.in \
778 image/wsicon256.png \
785 image/wsiconcap16.xpm \
786 image/wsiconcap256.png \
787 image/wsiconcap32.xpm \
788 image/wsiconcap48.xpm \
789 image/wsiconcap.svg \
790 image/wsicondoc256.png \
791 image/wsicondoc.svg \
792 image/wsiconinst256.png \
793 image/wsiconinst.svg \
798 image/wssplash-dev.xpm \
799 make-authors-format.pl \
800 make-authors-short.pl \
817 text2pcap-scanner.l \
825 -chmod +s $(DESTDIR)$(bindir)/dumpcap $(DESTDIR)$(bindir)/dumpcapng
830 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil
833 SUBDIRS = tools wsutil wiretap doc epan plugins packaging help @wireshark_SUBDIRS@
835 SUBDIRS = tools wsutil wiretap doc epan packaging help @wireshark_SUBDIRS@
838 FAQ help/faq.txt: $(srcdir)/help/faq.py
843 wireshark.1: doc/wireshark.pod AUTHORS-SHORT-FORMAT
845 $(MAKE) ../wireshark.1 )
847 tshark.1: doc/tshark.pod
849 $(MAKE) ../tshark.1 )
851 wireshark-filter.4: tshark doc/wireshark-filter.pod.template
853 $(MAKE) ../wireshark-filter.4 )
855 capinfos.1: doc/capinfos.pod
857 $(MAKE) ../capinfos.1 )
859 editcap.1: doc/editcap.pod
861 $(MAKE) ../editcap.1 )
863 idl2wrs.1: doc/idl2wrs.pod
865 $(MAKE) ../idl2wrs.1 )
867 mergecap.1: doc/mergecap.pod
869 $(MAKE) ../mergecap.1 )
871 text2pcap.1: doc/text2pcap.pod
873 $(MAKE) ../text2pcap.1 )
875 dumpcap.1: doc/dumpcap.pod
877 $(MAKE) ../dumpcap.1 )
879 rawshark.1: doc/rawshark.pod
881 $(MAKE) ../rawshark.1 )
883 ws.css: $(srcdir)/docbook/ws.css
884 cp $(srcdir)/docbook/ws.css .
886 wireshark.html: doc/wireshark.pod AUTHORS-SHORT-FORMAT ws.css
888 $(MAKE) ../wireshark.html )
890 tshark.html: doc/tshark.pod ws.css
892 $(MAKE) ../tshark.html )
894 wireshark-filter.html: tshark doc/wireshark-filter.pod.template ws.css
896 $(MAKE) ../wireshark-filter.html )
898 capinfos.html: doc/capinfos.pod ws.css
900 $(MAKE) ../capinfos.html )
902 editcap.html: doc/editcap.pod ws.css
904 $(MAKE) ../editcap.html )
906 idl2wrs.html: doc/idl2wrs.pod ws.css
908 $(MAKE) ../idl2wrs.html )
910 mergecap.html: doc/mergecap.pod ws.css
912 $(MAKE) ../mergecap.html )
914 text2pcap.html: doc/text2pcap.pod ws.css
916 $(MAKE) ../text2pcap.html )
918 dumpcap.html: doc/dumpcap.pod ws.css
920 $(MAKE) ../dumpcap.html )
922 rawshark.html: doc/rawshark.pod ws.css
924 $(MAKE) ../rawshark.html )
926 libtool: $(LIBTOOL_DEPS)
927 $(SHELL) ./config.status --recheck
929 # Used by svr4-package and osx-package
930 # We load top_stagedir with an explicit path so that libtool doesn't freak.
931 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
932 stagedir=$(top_stagedir)/$(PACKAGE).inst
937 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
938 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
939 rm -rf $(stagedir) ; \
940 $(MAKE) DESTDIR=$(stagedir) install; \
941 $(srcdir)/packaging/svr4/mkpkg \
943 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
947 echo "Error: SVR4 packaging tools not found." ; \
948 echo "Package build abandoned." ; \
951 solaris-package: svr4-package
953 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
955 if test x$(HAVE_RPM) = xyes ; then \
957 mkdir -p BUILD RPMS SOURCES ; \
959 ln -s ../../../$(distdir).tar.gz ; \
960 ln -s ../../../wireshark.desktop ; \
961 ln -s ../../../image/wsicon64.png wireshark.png ; \
963 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
964 echo "Package successfully built in `pwd`/RPMS." ; \
966 echo "Error: RPM executable and/or source directory not found." ; \
969 if test x$(HAVE_RPM) = xyes ; then \
971 mkdir -p BUILD SRPMS SOURCES ; \
973 ln -s ../../../$(distdir).tar.gz ; \
974 ln -s ../../../wireshark.desktop ; \
975 ln -s ../../../image/wsicon64.png wireshark.png ; \
977 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
978 echo "Package successfully built in `pwd`/SRPMS." ; \
980 echo "Error: RPM executable and/or source directory not found." ; \
983 debian-package: debian/rules
984 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
985 dpkg-buildpackage -rfakeroot -us -uc ; \
987 echo "Error: Debian packaging tools not found." ; \
988 echo "Package build abandoned." ; \
991 # XXX - This assumes we're building from the source directory.
992 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
993 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
994 rm -rf $(stagedir) ; \
995 $(MAKE) DESTDIR=$(stagedir) install; \
996 cd $(srcdir)/packaging/macosx ; \
997 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
999 echo "Error: OS X packaging tools not found." ; \
1000 echo "Package build abandoned." ; \
1003 osx-package: osx-app
1004 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1005 cd $(srcdir)/packaging/macosx ; \
1010 rm -rf $(top_stagedir)
1013 $(PERL) tools/checkAPIs.pl \
1015 # $(wireshark_SOURCES)
1016 # $(EXTRA_wireshark_SOURCES)
1018 checkapi: checkapi_local
1019 cd wiretap && $(MAKE) checkapi
1020 cd ../codecs && $(MAKE) checkapi
1021 ## cd ../gtk && $(MAKE) checkapi
1022 ## cd ../epan && $(MAKE) checkapi
1023 ## cd ../epan/crypt && $(MAKE) checkapi
1024 cd ../dfilter && $(MAKE) checkapi
1025 ## cd ../ftypes && $(MAKE) checkapi
1026 ## cd ../wslua && $(MAKE) checkapi
1027 cd ../dissectors && $(MAKE) checkapi
1028 cd ../../plugins && $(MAKE) checkapi
1029 cd ../wsutil && $(MAKE) checkapi