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 @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 \
433 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
435 # Libraries with which to link editcap.
437 wiretap/libwiretap.la \
438 wsutil/libwsutil.la \
440 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
442 # Libraries with which to link randpkt.
444 wiretap/libwiretap.la \
445 wsutil/libwsutil.la \
452 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
454 # Libraries and plugin flags with which to link dftest.
456 $(wireshark_optional_objects) \
457 wiretap/libwiretap.la \
458 wsutil/libwsutil.la \
459 epan/libwireshark.la \
473 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
475 # Libraries with which to link dumpcap.
477 wiretap/libwiretap.la \
478 wsutil/libwsutil.la \
488 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
491 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
492 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
495 # Build the version string
497 # FORCE is the portable version of .PHONY
501 $(PERL) $(srcdir)/make-version.pl $(srcdir)
504 # Build shell scripts by doing variable substitution.
505 # Taken from autoconf 2.13.
507 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
512 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
515 # Build "tshark-tap-register.c", which contains a function
516 # "register_all_tap_listeners()"
517 # that calls the register routines for all tshark tap listeners.
519 # We do this by grepping through sources.
521 # Formatting conventions: The name of the tap_listener_register_*
522 # routines must start in column zero, or must be preceded only by
523 # "void " starting in column zero, and must not be inside #if.
525 # The first argument is the directory in which the source files live.
526 # All subsequent arguments are the files to scan.
528 tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/tools/make-tapreg-dotc
529 @echo Making tshark-tap-register.c
530 @$(srcdir)/tools/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
532 ps.c: print.ps $(srcdir)/tools/rdps.py
533 $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
536 # XXX - "svnversion.h" is distributed in the release tarball; should
537 # we be deleting it with "make clean", or should we only do that with
538 # "make maintainer-clean"?
547 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
548 # list of files removed by "make distclean"? (It's deliberately
549 # included in that list.)
554 MAINTAINERCLEANFILES = \
580 aclocal-fallback/glib-2.0.m4 \
581 aclocal-fallback/gtk-2.0.m4 \
589 capture_wpcap_packet.c \
590 capture_wpcap_packet.h \
600 debian/headers-check.c \
601 debian/patches/00list \
602 debian/patches/03_preferences.dpatch \
607 debian/README.source \
608 debian/tshark.files \
609 debian/tshark.manpages \
611 debian/wireshark-common.files \
612 debian/wireshark-common.manpages \
613 debian/wireshark-common.shlibs \
614 debian/wireshark-dev.docs \
615 debian/wireshark-dev.files \
616 debian/wireshark-dev.header-files \
617 debian/wireshark-dev.manpages \
618 debian/wireshark-dev.prerm \
619 debian/wireshark-root.desktop \
620 debian/wireshark.desktop \
621 debian/wireshark.files \
622 debian/wireshark.manpages \
623 debian/wireshark.menu \
642 idl/parlay/cccs.idl \
644 idl/parlay/common_cc_data.idl \
647 idl/parlay/fw_data.idl \
648 idl/parlay/fw_if.idl \
649 idl/parlay/fw_if_access.idl \
650 idl/parlay/fw_if_app.idl \
651 idl/parlay/fw_if_entop.idl \
652 idl/parlay/fw_if_service.idl \
653 idl/parlay/gcc_data.idl \
654 idl/parlay/gcc_interfaces.idl \
657 idl/parlay/mmccs.idl \
659 idl/parlay/mpcc_data.idl \
660 idl/parlay/mpcc_interfaces.idl \
662 idl/parlay/pam_data.idl \
663 idl/parlay/pam_interfaces.idl \
664 idl/parlay/Parlay.idl \
665 idl/parlay/policy_data.idl \
666 idl/parlay/policy_interfaces.idl \
667 idl/parlay/README.parlay \
668 idl/parlay/termcap.idl \
669 idl/parlay/ui_data.idl \
670 idl/parlay/ui_interfaces.idl \
671 image/capinfos.rc.in \
672 image/clist_ascend.xpm \
673 image/clist_descend.xpm \
675 image/dumpcap.rc.in \
676 image/editcap.rc.in \
677 image/file_dlg_win32.rc \
678 image/hi16-app-wireshark.png \
679 image/hi32-app-wireshark.png \
680 image/hi48-app-wireshark.png \
681 image/icon_layout_1.xpm \
682 image/icon_layout_2.xpm \
683 image/icon_layout_3.xpm \
684 image/icon_layout_4.xpm \
685 image/icon_layout_5.xpm \
686 image/icon_layout_6.xpm \
687 image/libwireshark.rc.in \
688 image/libwsutil.rc.in \
689 image/lo16-app-wireshark.png \
690 image/lo32-app-wireshark.png \
691 image/lo48-app-wireshark.png \
692 image/Makefile.nmake \
693 image/mergecap.rc.in \
694 image/nsis-checked.bmp \
695 image/nsis-unchecked.bmp \
696 image/rawshark.rc.in \
698 image/stock_dialog_error_48.xpm \
699 image/stock_dialog_info_48.xpm \
700 image/stock_dialog_question_48.xpm \
701 image/stock_dialog_stop_48.xpm \
702 image/stock_dialog_warning_48.xpm \
703 image/text2pcap.rc.in \
704 image/toolbar/analyze_24.xpm \
705 image/toolbar/audio_player_24.xpm \
706 image/toolbar/autoscroll_24.xpm \
707 image/toolbar/capture_airpcap_16.xpm \
708 image/toolbar/capture_capture_16.xpm \
709 image/toolbar/capture_details_16.xpm \
710 image/toolbar/capture_details_24.xpm \
711 image/toolbar/capture_ethernet_16.xpm \
712 image/toolbar/capture_filter_24.xpm \
713 image/toolbar/capture_interfaces_24.xpm \
714 image/toolbar/capture_options_24.xpm \
715 image/toolbar/capture_prepare_16.xpm \
716 image/toolbar/capture_restart_24.xpm \
717 image/toolbar/capture_start_24.xpm \
718 image/toolbar/capture_stop_24.xpm \
719 image/toolbar/checkbox_16.xpm \
720 image/toolbar/colorize_24.xpm \
721 image/toolbar/conversations_16.xpm \
722 image/toolbar/decode_24.xpm \
723 image/toolbar/decode_as_16.xpm \
724 image/toolbar/display_filter_24.xpm \
725 image/toolbar/endpoints_16.xpm \
726 image/toolbar/expert_info_16.xpm \
727 image/toolbar/file_set_list_16.xpm \
728 image/toolbar/file_set_next_16.xpm \
729 image/toolbar/file_set_previous_16.xpm \
730 image/toolbar/flow_graph_16.xpm \
731 image/toolbar/graphs_16.xpm \
732 image/toolbar/icon_color_0.xpm \
733 image/toolbar/icon_color_1.xpm \
734 image/toolbar/icon_color_2.xpm \
735 image/toolbar/icon_color_3.xpm \
736 image/toolbar/icon_color_4.xpm \
737 image/toolbar/icon_color_5.xpm \
738 image/toolbar/icon_color_6.xpm \
739 image/toolbar/icon_color_7.xpm \
740 image/toolbar/icon_color_8.xpm \
741 image/toolbar/icon_color_9.xpm \
742 image/toolbar/internet_24.xpm \
743 image/toolbar/modem_16.png \
744 image/toolbar/modem_16.xpm \
745 image/toolbar/network_bluetooth_16.png \
746 image/toolbar/network_usb.svg \
747 image/toolbar/network_usb_16.png \
748 image/toolbar/network_virtual_16.xpm \
749 image/toolbar/network_wired_16.png \
750 image/toolbar/network_wireless_16.png \
751 image/toolbar/resize_columns_24.xpm \
752 image/toolbar/telephone_16.xpm \
753 image/toolbar/telephony_16.xpm \
754 image/toolbar/time_24.xpm \
755 image/toolbar/voip_flow_24.xpm \
756 image/toolbar/web_support_24.xpm \
757 image/toolbar/wep_closed_24.xpm \
758 image/toolbar/wiki_24.xpm \
762 image/voip_select.xpm \
763 image/wireshark.exe.manifest.in \
764 image/wireshark.ico \
765 image/wireshark.rc.in \
766 image/WiresharkDoc-128.png \
767 image/WiresharkDoc-16.png \
768 image/WiresharkDoc-24.png \
769 image/WiresharkDoc-256.png \
770 image/WiresharkDoc-32.png \
771 image/WiresharkDoc-48.png \
772 image/WiresharkDoc-64.png \
773 image/wiresharkdoc.ico \
774 image/wiresharkinst.ico \
775 image/wiretap.rc.in \
779 image/wsicon256.png \
786 image/wsiconcap.svg \
787 image/wsiconcap16.xpm \
788 image/wsiconcap256.png \
789 image/wsiconcap32.xpm \
790 image/wsiconcap48.xpm \
791 image/wsiconinst.svg \
792 image/wsiconinst256.png \
795 image/wssplash-dev.xpm \
811 text2pcap-scanner.l \
820 -chmod +s $(DESTDIR)$(bindir)/dumpcap
825 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil docbook
828 SUBDIRS = tools wsutil wiretap epan plugins packaging help @wireshark_SUBDIRS@ . doc
830 SUBDIRS = tools wsutil wiretap epan packaging help @wireshark_SUBDIRS@ . doc
833 help/faq.txt: $(srcdir)/help/faq.py
837 libtool: $(LIBTOOL_DEPS)
838 $(SHELL) ./config.status --recheck
840 # Used by svr4-package and osx-package
841 # We load top_stagedir with an explicit path so that libtool doesn't freak.
842 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
843 stagedir=$(top_stagedir)/$(PACKAGE).inst
848 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
849 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
850 rm -rf $(stagedir) ; \
851 $(MAKE) DESTDIR=$(stagedir) install; \
852 $(srcdir)/packaging/svr4/mkpkg \
854 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
858 echo "Error: SVR4 packaging tools not found." ; \
859 echo "Package build abandoned." ; \
862 solaris-package: svr4-package
864 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
866 if test x$(HAVE_RPM) = xyes ; then \
868 mkdir -p BUILD RPMS SOURCES ; \
870 ln -s ../../../$(distdir).tar.bz2 ; \
871 ln -s ../../../wireshark.desktop ; \
872 ln -s ../../../image/wsicon64.png wireshark.png ; \
874 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
875 echo "Package successfully built in `pwd`/RPMS." ; \
877 echo "Error: RPM executable and/or source directory not found." ; \
880 if test x$(HAVE_RPM) = xyes ; then \
882 mkdir -p BUILD SRPMS SOURCES ; \
884 ln -s ../../../$(distdir).tar.bz2 ; \
885 ln -s ../../../wireshark.desktop ; \
886 ln -s ../../../image/wsicon64.png wireshark.png ; \
888 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
889 echo "Package successfully built in `pwd`/SRPMS." ; \
891 echo "Error: RPM executable and/or source directory not found." ; \
894 debian-package: debian/rules
895 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
896 dpkg-buildpackage -rfakeroot -us -uc ; \
898 echo "Error: Debian packaging tools not found." ; \
899 echo "Package build abandoned." ; \
902 # XXX - This assumes we're building from the source directory.
903 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
904 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
905 rm -rf $(stagedir) ; \
906 $(MAKE) DESTDIR=$(stagedir) install; \
907 cd $(srcdir)/packaging/macosx ; \
908 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
910 echo "Error: OS X packaging tools not found." ; \
911 echo "Package build abandoned." ; \
915 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
916 cd $(srcdir)/packaging/macosx ; \
921 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
922 echo "Copying Wireshark.app to /Applications" ; \
923 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
927 rm -rf $(top_stagedir)
930 $(PERL) tools/checkAPIs.pl \
932 # $(wireshark_SOURCES)
933 # $(EXTRA_wireshark_SOURCES)
935 checkapi: checkapi_local
936 cd wiretap && $(MAKE) checkapi
937 cd ../codecs && $(MAKE) checkapi
938 ## cd ../gtk && $(MAKE) checkapi
939 ## cd ../epan && $(MAKE) checkapi
940 ## cd ../epan/crypt && $(MAKE) checkapi
941 cd ../dfilter && $(MAKE) checkapi
942 ## cd ../ftypes && $(MAKE) checkapi
943 ## cd ../wslua && $(MAKE) checkapi
944 cd ../dissectors && $(MAKE) checkapi
945 cd ../../plugins && $(MAKE) checkapi
946 cd ../wsutil && $(MAKE) checkapi