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 \
81 diameter/mobileipv6.xml \
84 diameter/sunping.xml \
85 diameter/TGPPGmb.xml \
90 # Install the DTDs directory files in the "dtds" subdirectory
93 dtdsdir = $(pkgdatadir)/dtds
98 dtds/pocsettings.dtd \
105 dtds/xcap-error.dtd \
109 # Install the RADIUS directory files in the "radius" subdirectory
112 radiusdir = $(pkgdatadir)/radius
114 radius/README.radius_dictionary \
116 radius/dictionary.3com \
117 radius/dictionary.3gpp \
118 radius/dictionary.3gpp2 \
119 radius/dictionary.acc \
120 radius/dictionary.airespace \
121 radius/dictionary.alcatel \
122 radius/dictionary.alteon \
123 radius/dictionary.altiga \
124 radius/dictionary.alvarion \
125 radius/dictionary.apc \
126 radius/dictionary.aptis \
127 radius/dictionary.aruba \
128 radius/dictionary.ascend \
129 radius/dictionary.asn \
130 radius/dictionary.avaya \
131 radius/dictionary.azaire \
132 radius/dictionary.bay \
133 radius/dictionary.bintec \
134 radius/dictionary.bristol \
135 radius/dictionary.cablelabs \
136 radius/dictionary.cabletron \
137 radius/dictionary.chillispot \
138 radius/dictionary.cisco \
139 radius/dictionary.cisco.bbsm \
140 radius/dictionary.cisco.vpn3000 \
141 radius/dictionary.cisco.vpn5000 \
142 radius/dictionary.clavister \
143 radius/dictionary.colubris \
144 radius/dictionary.columbia_university \
145 radius/dictionary.compat \
146 radius/dictionary.cosine \
147 radius/dictionary.dhcp \
148 radius/dictionary.digium \
149 radius/dictionary.epygi \
150 radius/dictionary.ericsson \
151 radius/dictionary.erx \
152 radius/dictionary.extreme \
153 radius/dictionary.fortinet \
154 radius/dictionary.foundry \
155 radius/dictionary.freeradius \
156 radius/dictionary.freeradius.internal \
157 radius/dictionary.freeswitch \
158 radius/dictionary.gandalf \
159 radius/dictionary.garderos \
160 radius/dictionary.gemtek \
161 radius/dictionary.h3c \
162 radius/dictionary.hp \
163 radius/dictionary.huawei \
164 radius/dictionary.infonet \
165 radius/dictionary.ipunplugged \
166 radius/dictionary.issanni \
167 radius/dictionary.itk \
168 radius/dictionary.jradius \
169 radius/dictionary.juniper \
170 radius/dictionary.karlnet \
171 radius/dictionary.lancom \
172 radius/dictionary.livingston \
173 radius/dictionary.localweb \
174 radius/dictionary.lucent \
175 radius/dictionary.manzara \
176 radius/dictionary.merit \
177 radius/dictionary.microsoft \
178 radius/dictionary.mikrotik \
179 radius/dictionary.motorola \
180 radius/dictionary.navini \
181 radius/dictionary.netscreen \
182 radius/dictionary.networkphysics \
183 radius/dictionary.nexans \
184 radius/dictionary.nokia \
185 radius/dictionary.nokia.conflict \
186 radius/dictionary.nomadix \
187 radius/dictionary.nortel \
188 radius/dictionary.ntua \
189 radius/dictionary.openser \
190 radius/dictionary.packeteer \
191 radius/dictionary.patton \
192 radius/dictionary.propel \
193 radius/dictionary.prosoft \
194 radius/dictionary.quiconnect \
195 radius/dictionary.quintum \
196 radius/dictionary.redback \
197 radius/dictionary.redcreek \
198 radius/dictionary.rfc2865 \
199 radius/dictionary.rfc2866 \
200 radius/dictionary.rfc2867 \
201 radius/dictionary.rfc2868 \
202 radius/dictionary.rfc2869 \
203 radius/dictionary.rfc3162 \
204 radius/dictionary.rfc3576 \
205 radius/dictionary.rfc3580 \
206 radius/dictionary.rfc4072 \
207 radius/dictionary.rfc4372 \
208 radius/dictionary.rfc4675 \
209 radius/dictionary.rfc4679 \
210 radius/dictionary.rfc4818 \
211 radius/dictionary.rfc4849 \
212 radius/dictionary.rfc5090 \
213 radius/dictionary.rfc5176 \
214 radius/dictionary.riverstone \
215 radius/dictionary.roaringpenguin \
216 radius/dictionary.shasta \
217 radius/dictionary.shiva \
218 radius/dictionary.slipstream \
219 radius/dictionary.sofaware \
220 radius/dictionary.sonicwall \
221 radius/dictionary.springtide \
222 radius/dictionary.starent \
223 radius/dictionary.t_systems_nova \
224 radius/dictionary.telebit \
225 radius/dictionary.telkom \
226 radius/dictionary.trapeze \
227 radius/dictionary.tropos \
228 radius/dictionary.tunnel \
229 radius/dictionary.unisphere \
230 radius/dictionary.unix \
231 radius/dictionary.usr \
232 radius/dictionary.utstarcom \
233 radius/dictionary.valemount \
234 radius/dictionary.versanet \
235 radius/dictionary.vqp \
236 radius/dictionary.walabi \
237 radius/dictionary.waverider \
238 radius/dictionary.wimax \
239 radius/dictionary.wispr \
240 radius/dictionary.xedia \
241 radius/dictionary.xylan \
242 radius/dictionary.zyxel
245 # Install the tpncp directory files in the "tpncp" subdirectory
248 tpncpdir = $(pkgdatadir)/tpncp
254 # Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
257 wimaxasncpdir = $(pkgdatadir)/wimaxasncp
259 wimaxasncp/dictionary.xml \
260 wimaxasncp/dictionary.dtd
262 PLATFORM_SRC = capture-pcap-util-unix.c
265 -include plugins/Custom.make
266 plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
267 -dlopen plugins/asn1/asn1.la \
268 -dlopen plugins/docsis/docsis.la \
269 -dlopen plugins/ethercat/ethercat.la \
270 -dlopen plugins/giop/cosnaming.la \
271 -dlopen plugins/giop/coseventcomm.la \
272 -dlopen plugins/gryphon/gryphon.la \
273 -dlopen plugins/interlink/interlink.la \
274 -dlopen plugins/irda/irda.la \
275 -dlopen plugins/m2m/m2m.la \
276 -dlopen plugins/mate/mate.la \
277 -dlopen plugins/opcua/opcua.la \
278 -dlopen plugins/profinet/profinet.la \
279 -dlopen plugins/sercosiii/sercosiii.la \
280 -dlopen plugins/stats_tree/stats_tree.la \
281 -dlopen plugins/unistim/unistim.la \
282 -dlopen plugins/wimax/wimax.la
284 WTAP_PLUGIN_SOURCES = \
292 WTAP_PLUGIN_SOURCES =
296 include Makefile.common
299 wireshark_LDFLAGS = -Wl,-static -all-static
301 wireshark_LDFLAGS = -export-dynamic
304 # Libraries and plugin flags with which to link wireshark.
306 # Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
307 # they are included in @GTK_LIBS@, and doesn't have to be linked with
308 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
309 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
310 # applications are X applications).
314 wiretap/libwiretap.la \
315 epan/libwireshark.la \
316 wsutil/libwsutil.la \
325 @LAUNCHSERVICES_FRAMEWORKS@ \
326 @CORESERVICES_FRAMEWORKS@ \
331 wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
334 tshark_LDFLAGS = -Wl,-static -all-static
336 tshark_LDFLAGS = -export-dynamic
339 # Libraries and plugin flags with which to link tshark.
341 wiretap/libwiretap.la \
342 epan/libwireshark.la \
343 wsutil/libwsutil.la \
354 @CORESERVICES_FRAMEWORKS@ \
358 tshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
361 rawshark_LDFLAGS = -Wl,-static -all-static
363 rawshark_LDFLAGS = -export-dynamic
366 # Libraries and plugin flags with which to link rawshark.
368 wiretap/libwiretap.la \
369 epan/libwireshark.la \
370 wsutil/libwsutil.la \
381 @CORESERVICES_FRAMEWORKS@ \
385 rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
387 # Libraries with which to link text2pcap.
389 wiretap/libwiretap.la \
390 wsutil/libwsutil.la \
392 # Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
393 # which is generated (and therefore not always clean).
394 # We could generate text2pcap.o as a library with -Werror but for now it
395 # doesn't seem worth the effort.
396 #text2pcap_CFLAGS = $(AM_CLEAN_CFLAGS)
398 # Libraries with which to link mergecap.
400 wiretap/libwiretap.la \
401 wsutil/libwsutil.la \
403 mergecap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
405 # Libraries with which to link capinfos.
407 wiretap/libwiretap.la \
408 wsutil/libwsutil.la \
411 capinfos_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
413 # Libraries with which to link editcap.
415 wiretap/libwiretap.la \
416 wsutil/libwsutil.la \
418 editcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
420 # Libraries with which to link randpkt.
422 wiretap/libwiretap.la \
423 wsutil/libwsutil.la \
430 randpkt_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
432 # Libraries and plugin flags with which to link dftest.
434 wiretap/libwiretap.la \
435 wsutil/libwsutil.la \
436 epan/libwireshark.la \
450 dftest_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
452 # Libraries with which to link dumpcap.
454 wiretap/libwiretap.la \
455 wsutil/libwsutil.la \
460 @CORESERVICES_FRAMEWORKS@ \
462 dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
465 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
466 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(PY_CFLAGS)
469 # Build the version string
471 # FORCE is the portable version of .PHONY
475 $(PERL) $(srcdir)/make-version.pl $(srcdir)
478 # Build shell scripts by doing variable substitution.
479 # Taken from autoconf 2.13.
481 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
486 $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
489 # Build "tshark-tap-register.c", which contains a function
490 # "register_all_tap_listeners()"
491 # that calls the register routines for all tshark tap listeners.
493 # We do this by grepping through sources.
495 # Formatting conventions: The name of the tap_listener_register_*
496 # routines must start in column zero, or must be preceded only by
497 # "void " starting in column zero, and must not be inside #if.
499 # The first argument is the directory in which the source files live.
500 # All subsequent arguments are the files to scan.
502 tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/tools/make-tapreg-dotc
503 @echo Making tshark-tap-register.c
504 @$(srcdir)/tools/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
506 ps.c: print.ps $(srcdir)/tools/rdps.py
507 $(PYTHON) $(srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
510 # XXX - "svnversion.h" is distributed in the release tarball; should
511 # we be deleting it with "make clean", or should we only do that with
512 # "make maintainer-clean"?
521 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
522 # list of files removed by "make distclean"? (It's deliberately
523 # included in that list.)
528 MAINTAINERCLEANFILES = \
554 aclocal-fallback/glib-2.0.m4 \
555 aclocal-fallback/gtk-2.0.m4 \
563 capture_wpcap_packet.c \
564 capture_wpcap_packet.h \
574 debian/headers-check.c \
575 debian/patches/00list \
576 debian/patches/03_preferences.dpatch \
581 debian/README.source \
582 debian/tshark.files \
583 debian/tshark.manpages \
585 debian/wireshark-common.files \
586 debian/wireshark-common.manpages \
587 debian/wireshark-common.shlibs \
588 debian/wireshark-dev.docs \
589 debian/wireshark-dev.files \
590 debian/wireshark-dev.header-files \
591 debian/wireshark-dev.manpages \
592 debian/wireshark-dev.prerm \
593 debian/wireshark-root.desktop \
594 debian/wireshark.desktop \
595 debian/wireshark.files \
596 debian/wireshark.manpages \
597 debian/wireshark.menu \
616 idl/parlay/cccs.idl \
618 idl/parlay/common_cc_data.idl \
621 idl/parlay/fw_data.idl \
622 idl/parlay/fw_if.idl \
623 idl/parlay/fw_if_access.idl \
624 idl/parlay/fw_if_app.idl \
625 idl/parlay/fw_if_entop.idl \
626 idl/parlay/fw_if_service.idl \
627 idl/parlay/gcc_data.idl \
628 idl/parlay/gcc_interfaces.idl \
631 idl/parlay/mmccs.idl \
633 idl/parlay/mpcc_data.idl \
634 idl/parlay/mpcc_interfaces.idl \
636 idl/parlay/pam_data.idl \
637 idl/parlay/pam_interfaces.idl \
638 idl/parlay/Parlay.idl \
639 idl/parlay/policy_data.idl \
640 idl/parlay/policy_interfaces.idl \
641 idl/parlay/README.parlay \
642 idl/parlay/termcap.idl \
643 idl/parlay/ui_data.idl \
644 idl/parlay/ui_interfaces.idl \
645 image/capinfos.rc.in \
646 image/clist_ascend.xpm \
647 image/clist_descend.xpm \
649 image/dumpcap.rc.in \
650 image/editcap.rc.in \
651 image/file_dlg_win32.rc \
652 image/hi16-app-wireshark.png \
653 image/hi32-app-wireshark.png \
654 image/hi48-app-wireshark.png \
655 image/icon_layout_1.xpm \
656 image/icon_layout_2.xpm \
657 image/icon_layout_3.xpm \
658 image/icon_layout_4.xpm \
659 image/icon_layout_5.xpm \
660 image/icon_layout_6.xpm \
661 image/libwireshark.rc.in \
662 image/libwsutil.rc.in \
663 image/lo16-app-wireshark.png \
664 image/lo32-app-wireshark.png \
665 image/lo48-app-wireshark.png \
666 image/Makefile.nmake \
667 image/mergecap.rc.in \
668 image/nsis-checked.bmp \
669 image/nsis-unchecked.bmp \
670 image/rawshark.rc.in \
672 image/stock_dialog_error_48.xpm \
673 image/stock_dialog_info_48.xpm \
674 image/stock_dialog_question_48.xpm \
675 image/stock_dialog_stop_48.xpm \
676 image/stock_dialog_warning_48.xpm \
677 image/text2pcap.rc.in \
678 image/toolbar/analyze_24.xpm \
679 image/toolbar/audio_player_24.xpm \
680 image/toolbar/autoscroll_24.xpm \
681 image/toolbar/capture_airpcap_16.xpm \
682 image/toolbar/capture_capture_16.xpm \
683 image/toolbar/capture_details_16.xpm \
684 image/toolbar/capture_details_24.xpm \
685 image/toolbar/capture_ethernet_16.xpm \
686 image/toolbar/capture_filter_24.xpm \
687 image/toolbar/capture_interfaces_24.xpm \
688 image/toolbar/capture_options_24.xpm \
689 image/toolbar/capture_prepare_16.xpm \
690 image/toolbar/capture_restart_24.xpm \
691 image/toolbar/capture_start_24.xpm \
692 image/toolbar/capture_stop_24.xpm \
693 image/toolbar/checkbox_16.xpm \
694 image/toolbar/colorize_24.xpm \
695 image/toolbar/conversations_16.xpm \
696 image/toolbar/decode_24.xpm \
697 image/toolbar/decode_as_16.xpm \
698 image/toolbar/display_filter_24.xpm \
699 image/toolbar/endpoints_16.xpm \
700 image/toolbar/expert_info_16.xpm \
701 image/toolbar/file_set_list_16.xpm \
702 image/toolbar/file_set_next_16.xpm \
703 image/toolbar/file_set_previous_16.xpm \
704 image/toolbar/flow_graph_16.xpm \
705 image/toolbar/graphs_16.xpm \
706 image/toolbar/icon_color_0.xpm \
707 image/toolbar/icon_color_1.xpm \
708 image/toolbar/icon_color_2.xpm \
709 image/toolbar/icon_color_3.xpm \
710 image/toolbar/icon_color_4.xpm \
711 image/toolbar/icon_color_5.xpm \
712 image/toolbar/icon_color_6.xpm \
713 image/toolbar/icon_color_7.xpm \
714 image/toolbar/icon_color_8.xpm \
715 image/toolbar/icon_color_9.xpm \
716 image/toolbar/internet_24.xpm \
717 image/toolbar/modem_16.png \
718 image/toolbar/modem_16.xpm \
719 image/toolbar/network_bluetooth_16.png \
720 image/toolbar/network_usb.svg \
721 image/toolbar/network_usb_16.png \
722 image/toolbar/network_virtual_16.xpm \
723 image/toolbar/network_wired_16.png \
724 image/toolbar/network_wireless_16.png \
725 image/toolbar/resize_columns_24.xpm \
726 image/toolbar/telephone_16.xpm \
727 image/toolbar/telephony_16.xpm \
728 image/toolbar/time_24.xpm \
729 image/toolbar/voip_flow_24.xpm \
730 image/toolbar/web_support_24.xpm \
731 image/toolbar/wep_closed_24.xpm \
732 image/toolbar/wiki_24.xpm \
736 image/voip_select.xpm \
737 image/wireshark.exe.manifest.in \
738 image/wireshark.ico \
739 image/wireshark.rc.in \
740 image/WiresharkDoc-128.png \
741 image/WiresharkDoc-16.png \
742 image/WiresharkDoc-24.png \
743 image/WiresharkDoc-256.png \
744 image/WiresharkDoc-32.png \
745 image/WiresharkDoc-48.png \
746 image/WiresharkDoc-64.png \
747 image/wiresharkdoc.ico \
748 image/wiresharkinst.ico \
749 image/wiretap.rc.in \
753 image/wsicon256.png \
760 image/wsiconcap.svg \
761 image/wsiconcap16.xpm \
762 image/wsiconcap256.png \
763 image/wsiconcap32.xpm \
764 image/wsiconcap48.xpm \
765 image/wsiconinst.svg \
766 image/wsiconinst256.png \
769 image/wssplash-dev.xpm \
785 text2pcap-scanner.l \
793 wsutil/CMakeLists.txt \
795 wiretap/CMakeLists.txt \
797 ConfigureChecks.cmake \
798 cmake/modules/readme.txt \
799 cmake/modules/FindLYNX.cmake \
800 cmake/modules/FindYACC.cmake \
801 cmake/modules/FeatureSummary.cmake \
802 cmake/modules/FindADNS.cmake \
803 cmake/modules/FindCAP.cmake \
804 cmake/modules/UseLemon.cmake \
805 cmake/modules/FindPCRE.cmake \
806 cmake/modules/FindZLIB.cmake \
807 cmake/modules/FindPORTAUDIO.cmake \
808 cmake/modules/FindPCAP.cmake \
809 cmake/modules/FindSMI.cmake \
810 cmake/modules/FindCARES.cmake \
811 cmake/modules/FindXSLTPROC.cmake \
812 cmake/modules/FindSH.cmake \
813 cmake/modules/FindGNUTLS.cmake \
814 cmake/modules/FindGCRYPT.cmake \
815 cmake/modules/UseMakeDissectorReg.cmake \
816 cmake/modules/FindLEX.cmake \
817 cmake/modules/FindPYTHON.cmake \
818 cmake/modules/FindLUA.cmake \
819 cmake/modules/FindYAPP.cmake \
820 cmake/modules/FindGEOIP.cmake \
821 cmake/modules/FindXMLLINT.cmake \
822 cmake/modules/FindSED.cmake \
823 cmake/modules/FindGLIB2.cmake \
824 cmake/modules/FindHtmlViewer.cmake \
825 cmake/modules/FindGTK2.cmake \
826 cmake/modules/FindFOP.cmake \
827 cmake/modules/LICENSE.txt \
828 cmake/modules/CMakeInstallDirs.cmake \
829 cmake/modules/CheckCLinkerFlag.cmake \
830 cmake/modules/UseMakeTapReg.cmake \
831 cmake/modules/FindM.cmake \
832 cmake/modules/FindKERBEROS.cmake \
833 cmake/modules/FindPOD.cmake \
842 if HAVE_DUMPCAP_GROUP
843 -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
846 -$(SETCAP) cap_net_raw,cap_net_admin+eip $(DESTDIR)$(bindir)/dumpcap
847 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
850 -chmod o-rws $(DESTDIR)$(bindir)/dumpcap
851 -chmod +s $(DESTDIR)$(bindir)/dumpcap
856 DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil docbook
859 SUBDIRS = tools wsutil wiretap epan plugins packaging help @wireshark_SUBDIRS@ . doc
861 SUBDIRS = tools wsutil wiretap epan packaging help @wireshark_SUBDIRS@ . doc
864 help/faq.txt: $(srcdir)/help/faq.py
868 libtool: $(LIBTOOL_DEPS)
869 $(SHELL) ./config.status --recheck
871 # Used by svr4-package and osx-package
872 # We load top_stagedir with an explicit path so that libtool doesn't freak.
873 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
874 stagedir=$(top_stagedir)/$(PACKAGE).inst
879 svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
880 @if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
881 rm -rf $(stagedir) ; \
882 $(MAKE) DESTDIR=$(stagedir) install; \
883 $(srcdir)/packaging/svr4/mkpkg \
885 $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
889 echo "Error: SVR4 packaging tools not found." ; \
890 echo "Package build abandoned." ; \
893 solaris-package: svr4-package
895 rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
897 if test x$(HAVE_RPM) = xyes ; then \
899 mkdir -p BUILD RPMS SOURCES ; \
901 ln -s ../../../$(distdir).tar.bz2 ; \
902 ln -s ../../../wireshark.desktop ; \
903 ln -s ../../../image/wsicon64.png wireshark.png ; \
905 rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
906 echo "Package successfully built in `pwd`/RPMS." ; \
908 echo "Error: RPM executable and/or source directory not found." ; \
911 if test x$(HAVE_RPM) = xyes ; then \
913 mkdir -p BUILD SRPMS SOURCES ; \
915 ln -s ../../../$(distdir).tar.bz2 ; \
916 ln -s ../../../wireshark.desktop ; \
917 ln -s ../../../image/wsicon64.png wireshark.png ; \
919 rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
920 echo "Package successfully built in `pwd`/SRPMS." ; \
922 echo "Error: RPM executable and/or source directory not found." ; \
925 debian-package: debian/rules
926 @if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
927 dpkg-buildpackage -rfakeroot -us -uc ; \
929 echo "Error: Debian packaging tools not found." ; \
930 echo "Package build abandoned." ; \
933 # XXX - This assumes we're building from the source directory.
934 osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
935 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
936 rm -rf $(stagedir) ; \
937 $(MAKE) DESTDIR=$(stagedir) install; \
938 cd $(srcdir)/packaging/macosx ; \
939 ./osx-app.sh -bp ../staging/$(PACKAGE).inst$(bindir) ; \
941 echo "Error: OS X packaging tools not found." ; \
942 echo "Package build abandoned." ; \
946 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
947 cd $(srcdir)/packaging/macosx ; \
952 @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
953 echo "Copying Wireshark.app to /Applications" ; \
954 cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
958 rm -rf $(top_stagedir)
961 $(PERL) tools/checkAPIs.pl \
963 # $(wireshark_SOURCES)
964 # $(EXTRA_wireshark_SOURCES)
966 checkapi: checkapi_local
967 cd wiretap && $(MAKE) checkapi
968 cd ../codecs && $(MAKE) checkapi
969 ## cd ../gtk && $(MAKE) checkapi
970 ## cd ../epan && $(MAKE) checkapi
971 ## cd ../epan/crypt && $(MAKE) checkapi
972 cd ../dfilter && $(MAKE) checkapi
973 ## cd ../ftypes && $(MAKE) checkapi
974 ## cd ../wslua && $(MAKE) checkapi
975 cd ../dissectors && $(MAKE) checkapi
976 cd ../../plugins && $(MAKE) checkapi
977 cd ../wsutil && $(MAKE) checkapi