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
50 bin_SCRIPTS = @idl2wrs_bin@
52 EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
53 randpkt text2pcap dumpcap rawshark
54 EXTRA_SCRIPTS = idl2wrs
56 idl2wrs: tools/idl2wrs.sh Makefile
57 cp tools/idl2wrs.sh idl2wrs
61 # Wireshark configuration files are put in $(pkgdatadir).
63 pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
64 smi_modules ipmap.html
67 # Install the Diameter DTD and XML files in the "diameter" subdirectory
70 diameterdir = $(pkgdatadir)/diameter
72 diameter/chargecontrol.xml \
73 diameter/dictionary.dtd \
74 diameter/dictionary.xml \
76 diameter/Ericsson.xml \
77 diameter/etsie2e4.xml \
78 diameter/gqpolicy.xml \
79 diameter/imscxdx.xml \
80 diameter/mobileipv4.xml \
83 diameter/sunping.xml \
84 diameter/TGPPGmb.xml \
89 # Install the DTDs directory files in the "dtds" subdirectory
92 dtdsdir = $(pkgdatadir)/dtds
97 dtds/pocsettings.dtd \
104 dtds/xcap-error.dtd \
108 # Install the RADIUS directory files in the "radius" subdirectory
111 radiusdir = $(pkgdatadir)/radius
113 radius/README.radius_dictionary \
115 radius/dictionary.3com \
116 radius/dictionary.3gpp \
117 radius/dictionary.3gpp2 \
118 radius/dictionary.acc \
119 radius/dictionary.airespace \
120 radius/dictionary.alcatel \
121 radius/dictionary.alteon \
122 radius/dictionary.altiga \
123 radius/dictionary.alvarion \
124 radius/dictionary.apc \
125 radius/dictionary.aptis \
126 radius/dictionary.aruba \
127 radius/dictionary.ascend \
128 radius/dictionary.asn \
129 radius/dictionary.avaya \
130 radius/dictionary.azaire \
131 radius/dictionary.bay \
132 radius/dictionary.bintec \
133 radius/dictionary.bristol \
134 radius/dictionary.cablelabs \
135 radius/dictionary.cabletron \
136 radius/dictionary.chillispot \
137 radius/dictionary.cisco \
138 radius/dictionary.cisco.bbsm \
139 radius/dictionary.cisco.vpn3000 \
140 radius/dictionary.cisco.vpn5000 \
141 radius/dictionary.clavister \
142 radius/dictionary.colubris \
143 radius/dictionary.columbia_university \
144 radius/dictionary.compat \
145 radius/dictionary.cosine \
146 radius/dictionary.dhcp \
147 radius/dictionary.digium \
148 radius/dictionary.epygi \
149 radius/dictionary.ericsson \
150 radius/dictionary.erx \
151 radius/dictionary.extreme \
152 radius/dictionary.fortinet \
153 radius/dictionary.foundry \
154 radius/dictionary.freeradius \
155 radius/dictionary.freeradius.internal \
156 radius/dictionary.freeswitch \
157 radius/dictionary.gandalf \
158 radius/dictionary.garderos \
159 radius/dictionary.gemtek \
160 radius/dictionary.h3c \
161 radius/dictionary.hp \
162 radius/dictionary.huawei \
163 radius/dictionary.infonet \
164 radius/dictionary.ipunplugged \
165 radius/dictionary.issanni \
166 radius/dictionary.itk \
167 radius/dictionary.jradius \
168 radius/dictionary.juniper \
169 radius/dictionary.karlnet \
170 radius/dictionary.lancom \
171 radius/dictionary.livingston \
172 radius/dictionary.localweb \
173 radius/dictionary.lucent \
174 radius/dictionary.manzara \
175 radius/dictionary.merit \
176 radius/dictionary.microsoft \
177 radius/dictionary.mikrotik \
178 radius/dictionary.motorola \
179 radius/dictionary.navini \
180 radius/dictionary.netscreen \
181 radius/dictionary.networkphysics \
182 radius/dictionary.nexans \
183 radius/dictionary.nokia \
184 radius/dictionary.nokia.conflict \
185 radius/dictionary.nomadix \
186 radius/dictionary.nortel \
187 radius/dictionary.ntua \
188 radius/dictionary.openser \
189 radius/dictionary.packeteer \
190 radius/dictionary.patton \
191 radius/dictionary.propel \
192 radius/dictionary.prosoft \
193 radius/dictionary.quiconnect \
194 radius/dictionary.quintum \
195 radius/dictionary.redback \
196 radius/dictionary.redcreek \
197 radius/dictionary.rfc2865 \
198 radius/dictionary.rfc2866 \
199 radius/dictionary.rfc2867 \
200 radius/dictionary.rfc2868 \
201 radius/dictionary.rfc2869 \
202 radius/dictionary.rfc3162 \
203 radius/dictionary.rfc3576 \
204 radius/dictionary.rfc3580 \
205 radius/dictionary.rfc4072 \
206 radius/dictionary.rfc4372 \
207 radius/dictionary.rfc4675 \
208 radius/dictionary.rfc4679 \
209 radius/dictionary.rfc4818 \
210 radius/dictionary.rfc4849 \
211 radius/dictionary.rfc5090 \
212 radius/dictionary.rfc5176 \
213 radius/dictionary.riverstone \
214 radius/dictionary.roaringpenguin \
215 radius/dictionary.shasta \
216 radius/dictionary.shiva \
217 radius/dictionary.slipstream \
218 radius/dictionary.sofaware \
219 radius/dictionary.sonicwall \
220 radius/dictionary.springtide \
221 radius/dictionary.starent \
222 radius/dictionary.t_systems_nova \
223 radius/dictionary.telebit \
224 radius/dictionary.telkom \
225 radius/dictionary.trapeze \
226 radius/dictionary.tropos \
227 radius/dictionary.tunnel \
228 radius/dictionary.unisphere \
229 radius/dictionary.unix \
230 radius/dictionary.usr \
231 radius/dictionary.utstarcom \
232 radius/dictionary.valemount \
233 radius/dictionary.versanet \
234 radius/dictionary.vqp \
235 radius/dictionary.walabi \
236 radius/dictionary.waverider \
237 radius/dictionary.wimax \
238 radius/dictionary.wispr \
239 radius/dictionary.xedia \
240 radius/dictionary.xylan \
241 radius/dictionary.zyxel
244 # Install the tpncp directory files in the "tpncp" subdirectory
247 tpncpdir = $(pkgdatadir)/tpncp
253 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
256 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
258 wimaxasncp/dictionary.xml \
259 wimaxasncp/dictionary.dtd
261 PLATFORM_SRC = capture-pcap-util-unix.c
264 -include plugins/Custom.make
265 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
266 -dlopen plugins/asn1/asn1.la \
267 -dlopen plugins/docsis/docsis.la \
268 -dlopen plugins/ethercat/ethercat.la \
269 -dlopen plugins/giop/cosnaming.la \
270 -dlopen plugins/giop/coseventcomm.la \
271 -dlopen plugins/gryphon/gryphon.la \
272 -dlopen plugins/irda/irda.la \
273 -dlopen plugins/m2m/m2m.la \
274 -dlopen plugins/mate/mate.la \
275 -dlopen plugins/opcua/opcua.la \
276 -dlopen plugins/profinet/profinet.la \
277 -dlopen plugins/sercosiii/sercosiii.la \
278 -dlopen plugins/stats_tree/stats_tree.la \
279 -dlopen plugins/unistim/unistim.la \
280 -dlopen plugins/wimax/wimax.la
282 WTAP_PLUGIN_SOURCES = \
290 WTAP_PLUGIN_SOURCES =
294 include Makefile.common
296 # Optional objects that I know how to build. These will be
297 # linked into the wireshark executable.
298 # They will also be linked into the tshark executable; if this
299 # list ever grows to include something that can't be linked with
300 # tshark, or if tshark needs something that wireshark doesn't,
301 # we should probably split this into stuff needed both
302 # by wireshark and tshark and stuff needed only by one or the
304 wireshark_optional_objects = @GETOPT_O@ @STRERROR_O@ \
305 @STRCASECMP_O@ @STRNCASECMP_O@ @STRPTIME_O@
308 wireshark_LDFLAGS = -Wl,-static -all-static
310 wireshark_LDFLAGS = -export-dynamic
313 # Libraries and plugin flags with which to link wireshark.
315 # Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
316 # they are included in @GTK_LIBS@, and doesn't have to be linked with
317 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
318 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
319 # applications are X applications).
321 $(wireshark_optional_objects) \
324 wiretap/libwiretap.la \
325 epan/libwireshark.la \
326 wsutil/libwsutil.la \
342 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
345 tshark_LDFLAGS = -Wl,-static -all-static
347 tshark_LDFLAGS = -export-dynamic
350 # Libraries and plugin flags with which to link tshark.
352 $(wireshark_optional_objects) \
353 wiretap/libwiretap.la \
354 epan/libwireshark.la \
355 wsutil/libwsutil.la \
372 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
375 rawshark_LDFLAGS = -Wl,-static -all-static
377 rawshark_LDFLAGS = -export-dynamic
380 # Libraries and plugin flags with which to link tshark.
382 $(wireshark_optional_objects) \
383 wiretap/libwiretap.la \
384 epan/libwireshark.la \
385 wsutil/libwsutil.la \
402 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
404 # Optional objects that I know how to build, and that are needed by
406 text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
408 # Libraries with which to link text2pcap.
410 $(text2pcap_optional_objects) \
411 wiretap/libwiretap.la \
412 wsutil/libwsutil.la \
414 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
415 # which is generated (and therefore not always clean).
416 # We could generate text2pcap.o as a library with -Werror but for now it
417 # doesn't seem worth the effort.
418 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
420 # Libraries with which to link mergecap.
422 wiretap/libwiretap.la \
423 wsutil/libwsutil.la \
425 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
427 # Libraries with which to link capinfos.
429 wiretap/libwiretap.la \
430 wsutil/libwsutil.la \
432 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
434 # Libraries with which to link editcap.
436 wiretap/libwiretap.la \
437 wsutil/libwsutil.la \
439 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
441 # Libraries with which to link randpkt.
443 wiretap/libwiretap.la \
444 wsutil/libwsutil.la \
451 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
453 # Libraries and plugin flags with which to link dftest.
455 $(wireshark_optional_objects) \
456 wiretap/libwiretap.la \
457 wsutil/libwsutil.la \
458 epan/libwireshark.la \
472 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
474 # Libraries with which to link dumpcap.
476 wiretap/libwiretap.la \
477 wsutil/libwsutil.la \
487 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
490 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
491 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
494 # Build the version string
496 # FORCE is the portable version of .PHONY
500 LANG=C $(PERL) $(srcdir)/make-version.pl $(srcdir)
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.)
553 MAINTAINERCLEANFILES = \
579 aclocal-fallback/glib-2.0.m4 \
580 aclocal-fallback/gtk-2.0.m4 \
588 capture_wpcap_packet.c \
589 capture_wpcap_packet.h \
599 debian/headers-check.c \
600 debian/patches/00list \
601 debian/patches/03_preferences.dpatch \
606 debian/README.source \
607 debian/tshark.files \
608 debian/tshark.manpages \
610 debian/wireshark-common.files \
611 debian/wireshark-common.manpages \
612 debian/wireshark-common.shlibs \
613 debian/wireshark-dev.docs \
614 debian/wireshark-dev.files \
615 debian/wireshark-dev.header-files \
616 debian/wireshark-dev.manpages \
617 debian/wireshark-dev.prerm \
618 debian/wireshark-root.desktop \
619 debian/wireshark.desktop \
620 debian/wireshark.files \
621 debian/wireshark.manpages \
622 debian/wireshark.menu \
624 docbook/Makefile.auto.am \
643 idl/parlay/cccs.idl \
645 idl/parlay/common_cc_data.idl \
648 idl/parlay/fw_data.idl \
649 idl/parlay/fw_if.idl \
650 idl/parlay/fw_if_access.idl \
651 idl/parlay/fw_if_app.idl \
652 idl/parlay/fw_if_entop.idl \
653 idl/parlay/fw_if_service.idl \
654 idl/parlay/gcc_data.idl \
655 idl/parlay/gcc_interfaces.idl \
658 idl/parlay/mmccs.idl \
660 idl/parlay/mpcc_data.idl \
661 idl/parlay/mpcc_interfaces.idl \
663 idl/parlay/pam_data.idl \
664 idl/parlay/pam_interfaces.idl \
665 idl/parlay/Parlay.idl \
666 idl/parlay/policy_data.idl \
667 idl/parlay/policy_interfaces.idl \
668 idl/parlay/README.parlay \
669 idl/parlay/termcap.idl \
670 idl/parlay/ui_data.idl \
671 idl/parlay/ui_interfaces.idl \
672 image/capinfos.rc.in \
673 image/clist_ascend.xpm \
674 image/clist_descend.xpm \
676 image/dumpcap.rc.in \
677 image/editcap.rc.in \
678 image/expert_chat.xpm \
679 image/expert_error.xpm \
680 image/expert_none.xpm \
681 image/expert_note.xpm \
682 image/expert_warn.xpm \
683 image/file_dlg_win32.rc \
684 image/hi16-app-wireshark.png \
685 image/hi32-app-wireshark.png \
686 image/hi48-app-wireshark.png \
687 image/icon_layout_1.xpm \
688 image/icon_layout_2.xpm \
689 image/icon_layout_3.xpm \
690 image/icon_layout_4.xpm \
691 image/icon_layout_5.xpm \
692 image/icon_layout_6.xpm \
693 image/libwireshark.rc.in \
694 image/libwsutil.rc.in \
695 image/lo16-app-wireshark.png \
696 image/lo32-app-wireshark.png \
697 image/lo48-app-wireshark.png \
698 image/Makefile.nmake \
699 image/mergecap.rc.in \
700 image/nsis-checked.bmp \
701 image/nsis-unchecked.bmp \
702 image/rawshark.rc.in \
704 image/stock_dialog_error_48.xpm \
705 image/stock_dialog_info_48.xpm \
706 image/stock_dialog_question_48.xpm \
707 image/stock_dialog_stop_48.xpm \
708 image/stock_dialog_warning_48.xpm \
709 image/text2pcap.rc.in \
710 image/toolbar/autoscroll_24.xpm \
711 image/toolbar/capture_airpcap_16.xpm \
712 image/toolbar/capture_capture_16.xpm \
713 image/toolbar/capture_details_16.xpm \
714 image/toolbar/capture_details_24.xpm \
715 image/toolbar/capture_ethernet_16.xpm \
716 image/toolbar/capture_filter_24.xpm \
717 image/toolbar/capture_interfaces_24.xpm \
718 image/toolbar/capture_options_24.xpm \
719 image/toolbar/capture_prepare_16.xpm \
720 image/toolbar/capture_restart_24.xpm \
721 image/toolbar/capture_start_24.xpm \
722 image/toolbar/capture_stop_24.xpm \
723 image/toolbar/checkbox_16.xpm \
724 image/toolbar/colorize_24.xpm \
725 image/toolbar/conversations_16.xpm \
726 image/toolbar/decode_as_16.xpm \
727 image/toolbar/display_filter_24.xpm \
728 image/toolbar/endpoints_16.xpm \
729 image/toolbar/expert_info_16.xpm \
730 image/toolbar/file_set_list_16.xpm \
731 image/toolbar/file_set_next_16.xpm \
732 image/toolbar/file_set_previous_16.xpm \
733 image/toolbar/flow_graph_16.xpm \
734 image/toolbar/graphs_16.xpm \
735 image/toolbar/icon_color_0.xpm \
736 image/toolbar/icon_color_1.xpm \
737 image/toolbar/icon_color_2.xpm \
738 image/toolbar/icon_color_3.xpm \
739 image/toolbar/icon_color_4.xpm \
740 image/toolbar/icon_color_5.xpm \
741 image/toolbar/icon_color_6.xpm \
742 image/toolbar/icon_color_7.xpm \
743 image/toolbar/icon_color_8.xpm \
744 image/toolbar/icon_color_9.xpm \
745 image/toolbar/internet_24.xpm \
746 image/toolbar/modem_16.png \
747 image/toolbar/modem_16.xpm \
748 image/toolbar/network_bluetooth_16.png \
749 image/toolbar/network_bluetooth_16.xpm \
750 image/toolbar/network_virtual_16.xpm \
751 image/toolbar/network_wired_16.png \
752 image/toolbar/network_wired_16.xpm \
753 image/toolbar/network_wireless_16.png \
754 image/toolbar/network_wireless_16.xpm \
755 image/toolbar/resize_columns_24.xpm \
756 image/toolbar/telephony_16.xpm \
757 image/toolbar/time_24.xpm \
758 image/toolbar/web_support_24.xpm \
759 image/toolbar/wep_closed_24.xpm \
760 image/toolbar/wiki_24.xpm \
763 image/wiresharkdoc.ico \
764 image/wireshark.exe.manifest.in \
765 image/wireshark.ico \
766 image/wiresharkinst.ico \
767 image/wireshark.rc.in \
768 image/wiretap.rc.in \
771 image/wsicon256.png \
778 image/wsiconcap16.xpm \
779 image/wsiconcap256.png \
780 image/wsiconcap32.xpm \
781 image/wsiconcap48.xpm \
782 image/wsiconcap.svg \
783 image/wsicondoc256.png \
784 image/wsicondoc.svg \
785 image/wsiconinst256.png \
786 image/wsiconinst.svg \
791 image/wssplash-dev.xpm \
808 text2pcap-scanner.l \
817 -chmod +s $(DESTDIR)$(bindir)/dumpcap
822 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil
825 SUBDIRS = tools wsutil wiretap epan plugins packaging help @wireshark_SUBDIRS@ . doc
827 SUBDIRS = tools wsutil wiretap epan packaging help @wireshark_SUBDIRS@ . doc
830 help/faq.txt: $(srcdir)/help/faq.py
834 libtool: $(LIBTOOL_DEPS)
835 $(SHELL) ./config.status --recheck
837 # Used by svr4-package and osx-package
838 # We load top_stagedir with an explicit path so that libtool doesn't freak.
839 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
840 stagedir=$(top_stagedir)/$(PACKAGE).inst
845 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
846 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
847 rm -rf $(stagedir) ; \
848 $(MAKE) DESTDIR=$(stagedir) install; \
849 $(srcdir)/packaging/svr4/mkpkg \
851 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
855 echo "Error: SVR4 packaging tools not found." ; \
856 echo "Package build abandoned." ; \
859 solaris-package: svr4-package
861 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
863 if test x$(HAVE_RPM) = xyes ; then \
865 mkdir -p BUILD RPMS SOURCES ; \
867 ln -s ../../../$(distdir).tar.gz ; \
868 ln -s ../../../wireshark.desktop ; \
869 ln -s ../../../image/wsicon64.png wireshark.png ; \
871 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
872 echo "Package successfully built in `pwd`/RPMS." ; \
874 echo "Error: RPM executable and/or source directory not found." ; \
877 if test x$(HAVE_RPM) = xyes ; then \
879 mkdir -p BUILD SRPMS SOURCES ; \
881 ln -s ../../../$(distdir).tar.gz ; \
882 ln -s ../../../wireshark.desktop ; \
883 ln -s ../../../image/wsicon64.png wireshark.png ; \
885 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
886 echo "Package successfully built in `pwd`/SRPMS." ; \
888 echo "Error: RPM executable and/or source directory not found." ; \
891 debian-package: debian/rules
892 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
893 dpkg-buildpackage -rfakeroot -us -uc ; \
895 echo "Error: Debian packaging tools not found." ; \
896 echo "Package build abandoned." ; \
899 # XXX - This assumes we're building from the source directory.
900 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
901 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
902 rm -rf $(stagedir) ; \
903 $(MAKE) DESTDIR=$(stagedir) install; \
904 cd $(srcdir)/packaging/macosx ; \
905 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
907 echo "Error: OS X packaging tools not found." ; \
908 echo "Package build abandoned." ; \
912 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
913 cd $(srcdir)/packaging/macosx ; \
918 rm -rf $(top_stagedir)
921 $(PERL) tools/checkAPIs.pl \
923 # $(wireshark_SOURCES)
924 # $(EXTRA_wireshark_SOURCES)
926 checkapi: checkapi_local
927 cd wiretap && $(MAKE) checkapi
928 cd ../codecs && $(MAKE) checkapi
929 ## cd ../gtk && $(MAKE) checkapi
930 ## cd ../epan && $(MAKE) checkapi
931 ## cd ../epan/crypt && $(MAKE) checkapi
932 cd ../dfilter && $(MAKE) checkapi
933 ## cd ../ftypes && $(MAKE) checkapi
934 ## cd ../wslua && $(MAKE) checkapi
935 cd ../dissectors && $(MAKE) checkapi
936 cd ../../plugins && $(MAKE) checkapi
937 cd ../wsutil && $(MAKE) checkapi