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@
29 py_dissectors_dir = -DPYTHON_DIR=\"@pythondir@\"
31 py_dissectors_dir = -DPYTHON_DIR=
35 if HAVE_WARNINGS_AS_ERRORS
36 AM_CLEAN_CFLAGS = -Werror
40 # This is a hideous hack.
42 # Automake needs to know into which sections to install various man
43 # pages; if the names in "man_MANS" have suffixes, it can infer the
44 # sections from the name (e.g., "hello.1" goes in section 1), but if
45 # they don't have suffixes, it can't tell what sections to put them, and
46 # it just gives up and doesn't create any rules to install them (and it
47 # gives up silently, so you have no clue what's wrong).
49 # Therefore, we can't just set "man_MANS" to a list of variables to be
50 # filled in by the configure script, as those variables don't have man
51 # page section numbers.
53 # It turns out (although this is not documented anywhere I could find
54 # in the automake Info file) that if you define, instead, variables with
55 # names like "man{section}_MANS", automake will infer that the names in
56 # those variables are the names of man pages to be installed in section
59 # So, as all our man pages go in section 1, we define "man1_MANS" to
60 # contain all the man page.
62 # *However*, if "man_MANS" isn't defined at all, automake concludes that
63 # there are no man pages, the fact that, say, "man1_MANS" is defined
64 # nonwithstanding! (I suspect this is the result of a mistaken attempt
65 # to get people to fix their automake files not to use "MANS"; if "MANS"
66 # is defined, it prints a warning and sets the exit status, but doesn't
67 # exit, and then it just gives up if "man_MANS" isn't defined,
68 # presumably on the theory that the only reason it wouldn't be defined
69 # is because the automake file uses the obsolete "MANS" variable instead
70 # of the shiny new "man_MANS" variable.)
72 # So we also define "man_MANS", but don't define it as anything;
73 # automake will arrange that the Makefile define it as the union of all
74 # the "man{section}_MANS" variables.
87 bin_SCRIPTS = @idl2wrs_bin@
99 man4_MANS = @wiresharkfilter_man@
102 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
103 randpkt text2pcap dumpcap rawshark
104 EXTRA_SCRIPTS = idl2wrs
106 idl2wrs: tools/idl2wrs.sh Makefile
107 cp tools/idl2wrs.sh idl2wrs
111 # Wireshark configuration files are put in $(pkgdatadir).
113 pkgdata_DATA = AUTHORS-SHORT COPYING manuf services wireshark.html \
114 tshark.html wireshark-filter.html capinfos.html editcap.html \
115 idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
116 rawshark.html ws.css cfilters colorfilters dfilters smi_modules ipmap.html
119 # Install the Diameter DTD and XML files in the "diameter" subdirectory
122 diameterdir = $(pkgdatadir)/diameter
124 diameter/chargecontrol.xml \
125 diameter/dictionary.dtd \
126 diameter/dictionary.xml \
127 diameter/Ericsson.xml \
128 diameter/etsie2e4.xml \
129 diameter/gqpolicy.xml \
130 diameter/imscxdx.xml \
131 diameter/mobileipv4.xml \
132 diameter/nasreq.xml \
134 diameter/sunping.xml \
135 diameter/TGPPGmb.xml \
136 diameter/TGPPRx.xml \
140 # Install the DTDs directory files in the "dtds" subdirectory
143 dtdsdir = $(pkgdatadir)/dtds
148 dtds/pocsettings.dtd \
155 dtds/xcap-error.dtd \
159 # Install the RADIUS directory files in the "radius" subdirectory
162 radiusdir = $(pkgdatadir)/radius
165 radius/dictionary.3com \
166 radius/dictionary.3gpp \
167 radius/dictionary.3gpp2 \
168 radius/dictionary.acc \
169 radius/dictionary.alcatel \
170 radius/dictionary.alteon \
171 radius/dictionary.altiga \
172 radius/dictionary.aptis \
173 radius/dictionary.ascend \
174 radius/dictionary.aruba \
175 radius/dictionary.bay \
176 radius/dictionary.bintec \
177 radius/dictionary.bristol \
178 radius/dictionary.cablelabs \
179 radius/dictionary.cabletron \
180 radius/dictionary.cisco \
181 radius/dictionary.cisco.bbsm \
182 radius/dictionary.cisco.vpn3000 \
183 radius/dictionary.cisco.vpn5000 \
184 radius/dictionary.colubris \
185 radius/dictionary.columbia_university \
186 radius/dictionary.compat \
187 radius/dictionary.cosine \
188 radius/dictionary.ericsson \
189 radius/dictionary.erx \
190 radius/dictionary.extreme \
191 radius/dictionary.foundry \
192 radius/dictionary.freeradius \
193 radius/dictionary.gandalf \
194 radius/dictionary.garderos \
195 radius/dictionary.gemtek \
196 radius/dictionary.itk \
197 radius/dictionary.juniper \
198 radius/dictionary.karlnet \
199 radius/dictionary.livingston \
200 radius/dictionary.localweb \
201 radius/dictionary.merit \
202 radius/dictionary.microsoft \
203 radius/dictionary.mikrotik \
204 radius/dictionary.navini \
205 radius/dictionary.netscreen \
206 radius/dictionary.nokia \
207 radius/dictionary.nomadix \
208 radius/dictionary.propel \
209 radius/dictionary.quintum \
210 radius/dictionary.redback \
211 radius/dictionary.redcreek \
212 radius/dictionary.shasta \
213 radius/dictionary.shiva \
214 radius/dictionary.sonicwall \
215 radius/dictionary.springtide \
216 radius/dictionary.starent \
217 radius/dictionary.t_systems_nova \
218 radius/dictionary.telebit \
219 radius/dictionary.trapeze \
220 radius/dictionary.tunnel \
221 radius/dictionary.unisphere \
222 radius/dictionary.unix \
223 radius/dictionary.usr \
224 radius/dictionary.valemount \
225 radius/dictionary.versanet \
226 radius/dictionary.wimax \
227 radius/dictionary.wispr \
228 radius/dictionary.xedia
231 # Install the tpncp directory files in the "tpncp" subdirectory
234 tpncpdir = $(pkgdatadir)/tpncp
240 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
243 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
245 wimaxasncp/dictionary.xml \
246 wimaxasncp/dictionary.dtd
248 PLATFORM_SRC = capture-pcap-util-unix.c
251 -include plugins/Custom.make
252 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
253 -dlopen plugins/asn1/asn1.la \
254 -dlopen plugins/docsis/docsis.la \
255 -dlopen plugins/ethercat/ethercat.la \
256 -dlopen plugins/giop/cosnaming.la \
257 -dlopen plugins/giop/coseventcomm.la \
258 -dlopen plugins/gryphon/gryphon.la \
259 -dlopen plugins/irda/irda.la \
260 -dlopen plugins/m2m/m2m.la \
261 -dlopen plugins/mate/mate.la \
262 -dlopen plugins/opcua/opcua.la \
263 -dlopen plugins/profinet/profinet.la \
264 -dlopen plugins/sercosiii/sercosiii.la \
265 -dlopen plugins/stats_tree/stats_tree.la \
266 -dlopen plugins/unistim/unistim.la \
267 -dlopen plugins/wimax/wimax.la
269 WTAP_PLUGIN_SOURCES = \
277 WTAP_PLUGIN_SOURCES =
281 include Makefile.common
283 # Optional objects that I know how to build. These will be
284 # linked into the wireshark executable.
285 # They will also be linked into the tshark executable; if this
286 # list ever grows to include something that can't be linked with
287 # tshark, or if tshark needs something that wireshark doesn't,
288 # we should probably split this into stuff needed both
289 # by wireshark and tshark and stuff needed only by one or the
291 wireshark_optional_objects = @GETOPT_O@ @STRERROR_O@ \
292 @STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
295 wireshark_LDFLAGS = -Wl,-static -all-static
297 wireshark_LDFLAGS = -export-dynamic
300 # Libraries and plugin flags with which to link wireshark.
302 # Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
303 # they are included in @GTK_LIBS@, and doesn't have to be linked with
304 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
305 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
306 # applications are X applications).
308 $(wireshark_optional_objects) \
311 wiretap/libwiretap.la \
312 epan/libwireshark.la \
313 wsutil/libwsutil.la \
329 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
332 tshark_LDFLAGS = -Wl,-static -all-static
334 tshark_LDFLAGS = -export-dynamic
337 # Libraries and plugin flags with which to link tshark.
339 $(wireshark_optional_objects) \
340 wiretap/libwiretap.la \
341 epan/libwireshark.la \
342 wsutil/libwsutil.la \
359 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
362 rawshark_LDFLAGS = -Wl,-static -all-static
364 rawshark_LDFLAGS = -export-dynamic
367 # Libraries and plugin flags with which to link tshark.
369 $(wireshark_optional_objects) \
370 wiretap/libwiretap.la \
371 epan/libwireshark.la \
372 wsutil/libwsutil.la \
389 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
391 # Optional objects that I know how to build, and that are needed by
393 text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
395 # Libraries with which to link text2pcap.
397 $(text2pcap_optional_objects) \
398 wiretap/libwiretap.la \
399 wsutil/libwsutil.la \
401 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
402 # which is generated (and therefore not always clean).
403 # We could generate text2pcap.o as a library with -Werror but for now it
404 # doesn't seem worth the effort.
405 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
407 # Libraries with which to link mergecap.
409 wiretap/libwiretap.la \
410 wsutil/libwsutil.la \
412 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
414 # Libraries with which to link capinfos.
416 wiretap/libwiretap.la \
417 wsutil/libwsutil.la \
419 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
421 # Libraries with which to link editcap.
423 wiretap/libwiretap.la \
424 wsutil/libwsutil.la \
426 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
428 # Libraries with which to link randpkt.
430 wiretap/libwiretap.la \
431 wsutil/libwsutil.la \
438 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
440 # Libraries and plugin flags with which to link dftest.
442 $(wireshark_optional_objects) \
443 wiretap/libwiretap.la \
444 wsutil/libwsutil.la \
445 epan/libwireshark.la \
459 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
461 # Libraries with which to link dumpcap.
463 wiretap/libwiretap.la \
464 wsutil/libwsutil.la \
474 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
477 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
478 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
481 # Build the version string
483 # FORCE is the portable version of .PHONY
487 LANG=C $(PERL) $(srcdir)/make-version.pl $(srcdir)
490 # Build the short version of the authors file for the about dialog
492 AUTHORS-SHORT: AUTHORS make-authors-short.pl
493 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl < $(srcdir)/AUTHORS > AUTHORS-SHORT
496 # Build the short version of the authors file with formatting codes for the
499 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
500 $(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
503 # Build shell scripts by doing variable substitution.
504 # Taken from autoconf 2.13.
506 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
511 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
514 # Build "tshark-tap-register.c", which contains a function
515 # "register_all_tap_listeners()"
516 # that calls the register routines for all tshark tap listeners.
518 # We do this by grepping through sources.
520 # Formatting conventions: The name of the tap_listener_register_*
521 # routines must start in column zero, or must be preceded only by
522 # "void " starting in column zero, and must not be inside #if.
524 # The first argument is the directory in which the source files live.
525 # All subsequent arguments are the files to scan.
527 tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/make-tapreg-dotc
528 @echo Making tshark-tap-register.c
529 @$(srcdir)/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
531 ps.c: print.ps rdps.py
532 $(PYTHON) $(srcdir)/rdps.py $(srcdir)/print.ps ps.c
535 # XXX - "svnversion.h" is distributed in the release tarball; should
536 # we be deleting it with "make clean", or should we only do that with
537 # "make maintainer-clean"?
546 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
547 # list of files removed by "make distclean"? (It's deliberately
548 # included in that list.)
552 AUTHORS-SHORT-FORMAT \
556 MAINTAINERCLEANFILES = \
582 aclocal-fallback/glib-2.0.m4 \
583 aclocal-fallback/gtk-2.0.m4 \
591 capture_wpcap_packet.c \
592 capture_wpcap_packet.h \
602 debian/headers-check.c \
603 debian/patches/00list \
604 debian/patches/03_preferences.dpatch \
609 debian/tshark.files \
610 debian/tshark.manpages \
612 debian/wireshark-common.files \
613 debian/wireshark-common.manpages \
614 debian/wireshark-common.shlibs \
615 debian/wireshark-dev.docs \
616 debian/wireshark-dev.files \
617 debian/wireshark-dev.header-files \
618 debian/wireshark-dev.manpages \
619 debian/wireshark-dev.prerm \
620 debian/wireshark-root.desktop \
621 debian/wireshark.desktop \
622 debian/wireshark.files \
623 debian/wireshark.manpages \
624 debian/wireshark.menu \
626 docbook/Makefile.auto.am \
645 idl/parlay/cccs.idl \
647 idl/parlay/common_cc_data.idl \
650 idl/parlay/fw_data.idl \
651 idl/parlay/fw_if.idl \
652 idl/parlay/fw_if_access.idl \
653 idl/parlay/fw_if_app.idl \
654 idl/parlay/fw_if_entop.idl \
655 idl/parlay/fw_if_service.idl \
656 idl/parlay/gcc_data.idl \
657 idl/parlay/gcc_interfaces.idl \
660 idl/parlay/mmccs.idl \
662 idl/parlay/mpcc_data.idl \
663 idl/parlay/mpcc_interfaces.idl \
665 idl/parlay/pam_data.idl \
666 idl/parlay/pam_interfaces.idl \
667 idl/parlay/Parlay.idl \
668 idl/parlay/policy_data.idl \
669 idl/parlay/policy_interfaces.idl \
670 idl/parlay/README.parlay \
671 idl/parlay/termcap.idl \
672 idl/parlay/ui_data.idl \
673 idl/parlay/ui_interfaces.idl \
674 image/capinfos.rc.in \
675 image/clist_ascend.xpm \
676 image/clist_descend.xpm \
678 image/dumpcap.rc.in \
679 image/editcap.rc.in \
680 image/expert_chat.xpm \
681 image/expert_error.xpm \
682 image/expert_none.xpm \
683 image/expert_note.xpm \
684 image/expert_warn.xpm \
685 image/file_dlg_win32.rc \
686 image/hi16-app-wireshark.png \
687 image/hi32-app-wireshark.png \
688 image/hi48-app-wireshark.png \
689 image/icon_layout_1.xpm \
690 image/icon_layout_2.xpm \
691 image/icon_layout_3.xpm \
692 image/icon_layout_4.xpm \
693 image/icon_layout_5.xpm \
694 image/icon_layout_6.xpm \
695 image/libwireshark.rc.in \
696 image/libwsutil.rc.in \
697 image/lo16-app-wireshark.png \
698 image/lo32-app-wireshark.png \
699 image/lo48-app-wireshark.png \
700 image/Makefile.nmake \
701 image/mergecap.rc.in \
702 image/nsis-checked.bmp \
703 image/nsis-unchecked.bmp \
704 image/rawshark.rc.in \
706 image/stock_dialog_error_48.xpm \
707 image/stock_dialog_info_48.xpm \
708 image/stock_dialog_question_48.xpm \
709 image/stock_dialog_stop_48.xpm \
710 image/stock_dialog_warning_48.xpm \
711 image/text2pcap.rc.in \
712 image/toolbar/autoscroll_24.xpm \
713 image/toolbar/capture_airpcap_16.xpm \
714 image/toolbar/capture_capture_16.xpm \
715 image/toolbar/capture_details_16.xpm \
716 image/toolbar/capture_details_24.xpm \
717 image/toolbar/capture_ethernet_16.xpm \
718 image/toolbar/capture_filter_24.xpm \
719 image/toolbar/capture_interfaces_24.xpm \
720 image/toolbar/capture_options_24.xpm \
721 image/toolbar/capture_prepare_16.xpm \
722 image/toolbar/capture_restart_24.xpm \
723 image/toolbar/capture_start_24.xpm \
724 image/toolbar/capture_stop_24.xpm \
725 image/toolbar/checkbox_16.xpm \
726 image/toolbar/colorize_24.xpm \
727 image/toolbar/conversations_16.xpm \
728 image/toolbar/decode_as_16.xpm \
729 image/toolbar/display_filter_24.xpm \
730 image/toolbar/endpoints_16.xpm \
731 image/toolbar/expert_info_16.xpm \
732 image/toolbar/file_set_list_16.xpm \
733 image/toolbar/file_set_next_16.xpm \
734 image/toolbar/file_set_previous_16.xpm \
735 image/toolbar/flow_graph_16.xpm \
736 image/toolbar/graphs_16.xpm \
737 image/toolbar/icon_color_0.xpm \
738 image/toolbar/icon_color_1.xpm \
739 image/toolbar/icon_color_2.xpm \
740 image/toolbar/icon_color_3.xpm \
741 image/toolbar/icon_color_4.xpm \
742 image/toolbar/icon_color_5.xpm \
743 image/toolbar/icon_color_6.xpm \
744 image/toolbar/icon_color_7.xpm \
745 image/toolbar/icon_color_8.xpm \
746 image/toolbar/icon_color_9.xpm \
747 image/toolbar/internet_24.xpm \
748 image/toolbar/modem_16.png \
749 image/toolbar/modem_16.xpm \
750 image/toolbar/network_bluetooth_16.png \
751 image/toolbar/network_bluetooth_16.xpm \
752 image/toolbar/network_virtual_16.xpm \
753 image/toolbar/network_wired_16.png \
754 image/toolbar/network_wired_16.xpm \
755 image/toolbar/network_wireless_16.png \
756 image/toolbar/network_wireless_16.xpm \
757 image/toolbar/resize_columns_24.xpm \
758 image/toolbar/telephony_16.xpm \
759 image/toolbar/time_24.xpm \
760 image/toolbar/web_support_24.xpm \
761 image/toolbar/wep_closed_24.xpm \
762 image/toolbar/wiki_24.xpm \
765 image/wiresharkdoc.ico \
766 image/wireshark.exe.manifest.in \
767 image/wireshark.ico \
768 image/wiresharkinst.ico \
769 image/wireshark.rc.in \
770 image/wiretap.rc.in \
773 image/wsicon256.png \
780 image/wsiconcap16.xpm \
781 image/wsiconcap256.png \
782 image/wsiconcap32.xpm \
783 image/wsiconcap48.xpm \
784 image/wsiconcap.svg \
785 image/wsicondoc256.png \
786 image/wsicondoc.svg \
787 image/wsiconinst256.png \
788 image/wsiconinst.svg \
793 image/wssplash-dev.xpm \
795 make-authors-format.pl \
796 make-authors-short.pl \
813 text2pcap-scanner.l \
822 -chmod +s $(DESTDIR)$(bindir)/dumpcap
827 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil
830 SUBDIRS = tools wsutil wiretap doc epan plugins packaging help @wireshark_SUBDIRS@
832 SUBDIRS = tools wsutil wiretap doc epan packaging help @wireshark_SUBDIRS@
835 help/faq.txt: $(srcdir)/help/faq.py
839 wireshark.1: doc/wireshark.pod AUTHORS-SHORT-FORMAT
841 $(MAKE) ../wireshark.1 )
843 tshark.1: doc/tshark.pod
845 $(MAKE) ../tshark.1 )
847 wireshark-filter.4: tshark doc/wireshark-filter.pod.template
849 $(MAKE) ../wireshark-filter.4 )
851 capinfos.1: doc/capinfos.pod
853 $(MAKE) ../capinfos.1 )
855 editcap.1: doc/editcap.pod
857 $(MAKE) ../editcap.1 )
859 idl2wrs.1: doc/idl2wrs.pod
861 $(MAKE) ../idl2wrs.1 )
863 mergecap.1: doc/mergecap.pod
865 $(MAKE) ../mergecap.1 )
867 text2pcap.1: doc/text2pcap.pod
869 $(MAKE) ../text2pcap.1 )
871 dumpcap.1: doc/dumpcap.pod
873 $(MAKE) ../dumpcap.1 )
875 rawshark.1: doc/rawshark.pod
877 $(MAKE) ../rawshark.1 )
879 ws.css: $(srcdir)/docbook/ws.css
880 cp $(srcdir)/docbook/ws.css .
882 wireshark.html: doc/wireshark.pod AUTHORS-SHORT-FORMAT ws.css
884 $(MAKE) ../wireshark.html )
886 tshark.html: doc/tshark.pod ws.css
888 $(MAKE) ../tshark.html )
890 wireshark-filter.html: tshark doc/wireshark-filter.pod.template ws.css
892 $(MAKE) ../wireshark-filter.html )
894 capinfos.html: doc/capinfos.pod ws.css
896 $(MAKE) ../capinfos.html )
898 editcap.html: doc/editcap.pod ws.css
900 $(MAKE) ../editcap.html )
902 idl2wrs.html: doc/idl2wrs.pod ws.css
904 $(MAKE) ../idl2wrs.html )
906 mergecap.html: doc/mergecap.pod ws.css
908 $(MAKE) ../mergecap.html )
910 text2pcap.html: doc/text2pcap.pod ws.css
912 $(MAKE) ../text2pcap.html )
914 dumpcap.html: doc/dumpcap.pod ws.css
916 $(MAKE) ../dumpcap.html )
918 rawshark.html: doc/rawshark.pod ws.css
920 $(MAKE) ../rawshark.html )
922 libtool: $(LIBTOOL_DEPS)
923 $(SHELL) ./config.status --recheck
925 # Used by svr4-package and osx-package
926 # We load top_stagedir with an explicit path so that libtool doesn't freak.
927 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
928 stagedir=$(top_stagedir)/$(PACKAGE).inst
933 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
934 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
935 rm -rf $(stagedir) ; \
936 $(MAKE) DESTDIR=$(stagedir) install; \
937 $(srcdir)/packaging/svr4/mkpkg \
939 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
943 echo "Error: SVR4 packaging tools not found." ; \
944 echo "Package build abandoned." ; \
947 solaris-package: svr4-package
949 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
951 if test x$(HAVE_RPM) = xyes ; then \
953 mkdir -p BUILD RPMS SOURCES ; \
955 ln -s ../../../$(distdir).tar.gz ; \
956 ln -s ../../../wireshark.desktop ; \
957 ln -s ../../../image/wsicon64.png wireshark.png ; \
959 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
960 echo "Package successfully built in `pwd`/RPMS." ; \
962 echo "Error: RPM executable and/or source directory not found." ; \
965 if test x$(HAVE_RPM) = xyes ; then \
967 mkdir -p BUILD SRPMS SOURCES ; \
969 ln -s ../../../$(distdir).tar.gz ; \
970 ln -s ../../../wireshark.desktop ; \
971 ln -s ../../../image/wsicon64.png wireshark.png ; \
973 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
974 echo "Package successfully built in `pwd`/SRPMS." ; \
976 echo "Error: RPM executable and/or source directory not found." ; \
979 debian-package: debian/rules
980 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
981 dpkg-buildpackage -rfakeroot -us -uc ; \
983 echo "Error: Debian packaging tools not found." ; \
984 echo "Package build abandoned." ; \
987 # XXX - This assumes we're building from the source directory.
988 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
989 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
990 rm -rf $(stagedir) ; \
991 $(MAKE) DESTDIR=$(stagedir) install; \
992 cd $(srcdir)/packaging/macosx ; \
993 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
995 echo "Error: OS X packaging tools not found." ; \
996 echo "Package build abandoned." ; \
1000 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
1001 cd $(srcdir)/packaging/macosx ; \
1006 rm -rf $(top_stagedir)
1009 $(PERL) tools/checkAPIs.pl \
1011 # $(wireshark_SOURCES)
1012 # $(EXTRA_wireshark_SOURCES)
1014 checkapi: checkapi_local
1015 cd wiretap && $(MAKE) checkapi
1016 cd ../codecs && $(MAKE) checkapi
1017 ## cd ../gtk && $(MAKE) checkapi
1018 ## cd ../epan && $(MAKE) checkapi
1019 ## cd ../epan/crypt && $(MAKE) checkapi
1020 cd ../dfilter && $(MAKE) checkapi
1021 ## cd ../ftypes && $(MAKE) checkapi
1022 ## cd ../wslua && $(MAKE) checkapi
1023 cd ../dissectors && $(MAKE) checkapi
1024 cd ../../plugins && $(MAKE) checkapi
1025 cd ../wsutil && $(MAKE) checkapi