1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
2006-05-22 08:14:01 +00:00
|
|
|
# Automake file for Wireshark
|
1999-09-09 03:45:57 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
1999-09-09 03:45:57 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2002-08-31 09:55:22 +00:00
|
|
|
#
|
1999-09-09 03:45:57 +00:00
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2002-08-31 09:55:22 +00:00
|
|
|
#
|
1999-09-09 03:45:57 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2002-08-31 09:55:22 +00:00
|
|
|
#
|
1999-09-09 03:45:57 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
1999-09-09 03:45:57 +00:00
|
|
|
|
2015-11-27 02:28:17 +00:00
|
|
|
include ./Makefile.am.inc
|
|
|
|
|
2013-08-21 18:39:39 +00:00
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
|
2015-01-06 15:20:04 +00:00
|
|
|
# Make sure to keep ACLOCAL_AMFLAGS in Makefile.am and AC_CONFIG_MACRO_DIRS
|
|
|
|
# in configure.ac in sync, otherwise there will be an error running autogen.sh.
|
2016-03-22 22:41:58 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
Add a script, "aclocal-flags", which figures out where
1) aclocal expects autoconf/automake macros to be hidden;
2) GTK+ hid its autoconf/automake macros;
and, if both places exist but aren't the same directory, returns a "-I"
flag to tell aclocal to look in GTK+'s directory.
Then have "autogen.sh", and Makefiles in directories with "acinclude.m4"
files, use that script and pass what flag it supplies, if any, to
aclocal.
This should, I hope, avoid problems such as those FreeBSD systems where
GTK+ was installed from a port or package (and thus stuck its macros in
"/usr/X11R6/share/aclocal") but aclocal doesn't look there.
(It doesn't solve the problem of somebody downloading and installing,
say, libtool from source - which means it probably shows up under
"/usr/local", with its macros in "/usr/local/share/aclocal" - on a
system that comes with aclocal (meaning it probably just looks in
"/usr/share/aclocal", but that may be best fixed by, whenever you
download a source tarball for something that's part of your OS,
configuring it to install in the standard system directories and
*overwriting* your OS's version.)
svn path=/trunk/; revision=2165
2000-07-26 08:03:57 +00:00
|
|
|
|
2015-11-27 02:28:17 +00:00
|
|
|
# Common headers
|
2016-02-19 08:20:35 +00:00
|
|
|
COMMONCPPFLAGS =
|
|
|
|
|
|
|
|
AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(COMMONCPPFLAGS)
|
2007-03-22 23:03:39 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
bin_PROGRAMS = \
|
2013-06-25 19:51:53 +00:00
|
|
|
@wireshark_bin@ \
|
|
|
|
@tshark_bin@ \
|
2014-01-08 04:35:28 +00:00
|
|
|
@tfshark_bin@ \
|
2013-06-25 19:51:53 +00:00
|
|
|
@text2pcap_bin@ \
|
|
|
|
@mergecap_bin@ \
|
|
|
|
@capinfos_bin@ \
|
2013-12-13 02:59:16 +00:00
|
|
|
@captype_bin@ \
|
2013-06-25 19:51:53 +00:00
|
|
|
@editcap_bin@ \
|
|
|
|
@randpkt_bin@ \
|
|
|
|
@dftest_bin@ \
|
|
|
|
@dumpcap_bin@ \
|
2012-09-24 10:23:20 +00:00
|
|
|
@reordercap_bin@ \
|
2013-06-25 19:51:53 +00:00
|
|
|
@rawshark_bin@ \
|
2013-06-26 15:12:50 +00:00
|
|
|
@echld_test_bin@
|
2013-06-25 17:43:52 +00:00
|
|
|
|
2016-02-15 01:00:38 +00:00
|
|
|
EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype \
|
|
|
|
editcap mergecap dftest randpkt text2pcap dumpcap reordercap \
|
|
|
|
rawshark echld_test
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2002-06-01 22:11:17 +00:00
|
|
|
#
|
2006-06-07 02:49:58 +00:00
|
|
|
# Wireshark configuration files are put in $(pkgdatadir).
|
2002-06-01 22:11:17 +00:00
|
|
|
#
|
2013-07-24 20:54:15 +00:00
|
|
|
dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \
|
2011-05-19 18:10:21 +00:00
|
|
|
smi_modules ipmap.html pdml2html.xsl
|
2002-06-01 22:11:17 +00:00
|
|
|
|
2013-05-01 21:53:57 +00:00
|
|
|
#
|
|
|
|
# Install global profiles in the "profiles" subdirectory
|
|
|
|
#
|
|
|
|
profilesdir = $(pkgdatadir)
|
2013-07-24 20:54:15 +00:00
|
|
|
nobase_dist_profiles_DATA = \
|
2013-05-01 21:53:57 +00:00
|
|
|
profiles/Bluetooth/colorfilters \
|
|
|
|
profiles/Classic/colorfilters
|
|
|
|
|
2002-06-01 22:11:17 +00:00
|
|
|
#
|
|
|
|
# Install the Diameter DTD and XML files in the "diameter" subdirectory
|
|
|
|
# of that directory.
|
|
|
|
#
|
2003-03-25 23:33:38 +00:00
|
|
|
diameterdir = $(pkgdatadir)/diameter
|
2013-08-21 19:53:57 +00:00
|
|
|
include diameter/Custom.make
|
|
|
|
dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \
|
2005-12-18 18:15:24 +00:00
|
|
|
diameter/chargecontrol.xml \
|
2011-06-09 06:36:40 +00:00
|
|
|
diameter/Cisco.xml \
|
2013-07-25 15:40:39 +00:00
|
|
|
diameter/Custom.xml \
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter/dictionary.dtd \
|
|
|
|
diameter/dictionary.xml \
|
2009-06-26 05:48:03 +00:00
|
|
|
diameter/eap.xml \
|
2007-11-06 18:10:34 +00:00
|
|
|
diameter/Ericsson.xml \
|
2007-08-13 21:17:02 +00:00
|
|
|
diameter/etsie2e4.xml \
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter/mobileipv4.xml \
|
2010-03-18 21:29:58 +00:00
|
|
|
diameter/mobileipv6.xml \
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter/nasreq.xml \
|
2006-11-14 06:31:47 +00:00
|
|
|
diameter/sip.xml \
|
2014-03-02 17:23:36 +00:00
|
|
|
diameter/Starent.xml \
|
2005-12-18 18:15:24 +00:00
|
|
|
diameter/sunping.xml \
|
2014-08-29 01:20:56 +00:00
|
|
|
diameter/TGPP.xml \
|
2014-08-28 19:28:27 +00:00
|
|
|
diameter/TGPP2.xml \
|
2012-08-10 15:30:42 +00:00
|
|
|
diameter/Vodafone.xml \
|
2012-10-08 14:20:34 +00:00
|
|
|
diameter/AlcatelLucent.xml \
|
2012-10-09 14:10:31 +00:00
|
|
|
diameter/Nokia.xml \
|
2015-01-19 08:33:22 +00:00
|
|
|
diameter/NokiaSolutionsAndNetworks.xml \
|
2014-06-24 14:08:17 +00:00
|
|
|
diameter/HP.xml \
|
2016-01-21 14:11:55 +00:00
|
|
|
diameter/Oracle.xml
|
1998-09-25 23:24:07 +00:00
|
|
|
|
2005-09-17 17:17:42 +00:00
|
|
|
#
|
|
|
|
# Install the DTDs directory files in the "dtds" subdirectory
|
|
|
|
# of that directory
|
|
|
|
#
|
|
|
|
dtdsdir = $(pkgdatadir)/dtds
|
2013-07-24 20:54:15 +00:00
|
|
|
dist_dtds_DATA = \
|
2005-09-29 02:20:29 +00:00
|
|
|
dtds/dc.dtd \
|
|
|
|
dtds/itunes.dtd \
|
2006-11-15 17:27:04 +00:00
|
|
|
dtds/mscml.dtd \
|
2006-06-11 08:26:55 +00:00
|
|
|
dtds/pocsettings.dtd \
|
|
|
|
dtds/presence.dtd \
|
|
|
|
dtds/reginfo.dtd \
|
2006-10-19 17:37:15 +00:00
|
|
|
dtds/rlmi.dtd \
|
2005-09-29 02:20:29 +00:00
|
|
|
dtds/rss.dtd \
|
2006-06-11 08:26:55 +00:00
|
|
|
dtds/smil.dtd \
|
2006-07-19 19:00:36 +00:00
|
|
|
dtds/xcap-caps.dtd \
|
2007-06-21 11:37:42 +00:00
|
|
|
dtds/xcap-error.dtd \
|
2006-06-11 08:26:55 +00:00
|
|
|
dtds/watcherinfo.dtd
|
2007-10-15 12:32:19 +00:00
|
|
|
|
2005-07-15 21:18:32 +00:00
|
|
|
#
|
|
|
|
# Install the RADIUS directory files in the "radius" subdirectory
|
|
|
|
# of that directory.
|
|
|
|
#
|
|
|
|
radiusdir = $(pkgdatadir)/radius
|
2013-07-25 01:01:58 +00:00
|
|
|
include radius/Custom.make
|
2013-07-24 20:54:15 +00:00
|
|
|
dist_radius_DATA = $(_CUSTOM_radius_dict_) \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/README.radius_dictionary \
|
|
|
|
radius/custom.includes \
|
|
|
|
radius/dictionary \
|
|
|
|
radius/dictionary.3com \
|
|
|
|
radius/dictionary.3gpp \
|
|
|
|
radius/dictionary.3gpp2 \
|
|
|
|
radius/dictionary.acc \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.acme \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.airespace \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.actelis \
|
2014-10-27 08:12:21 +00:00
|
|
|
radius/dictionary.aerohive \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.alcatel \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.alcatel.esam \
|
|
|
|
radius/dictionary.alcatel.sr \
|
2013-11-11 21:13:55 +00:00
|
|
|
radius/dictionary.alcatel-lucent.aaa \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.alteon \
|
|
|
|
radius/dictionary.altiga \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.alvarion \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.alvarion.wimax.v2_2 \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.apc \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.aptis \
|
|
|
|
radius/dictionary.arbor \
|
|
|
|
radius/dictionary.aruba \
|
|
|
|
radius/dictionary.ascend \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.asn \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.audiocodes \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.avaya \
|
|
|
|
radius/dictionary.azaire \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.bay \
|
2014-10-27 08:12:21 +00:00
|
|
|
radius/dictionary.bluecoat \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.bintec \
|
|
|
|
radius/dictionary.broadsoft \
|
|
|
|
radius/dictionary.brocade \
|
|
|
|
radius/dictionary.bskyb \
|
|
|
|
radius/dictionary.bristol \
|
|
|
|
radius/dictionary.bt \
|
|
|
|
radius/dictionary.camiant \
|
|
|
|
radius/dictionary.cablelabs \
|
|
|
|
radius/dictionary.cabletron \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.chillispot \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.cisco \
|
|
|
|
radius/dictionary.cisco.asa \
|
|
|
|
radius/dictionary.cisco.bbsm \
|
|
|
|
radius/dictionary.cisco.vpn3000 \
|
|
|
|
radius/dictionary.cisco.vpn5000 \
|
|
|
|
radius/dictionary.citrix \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.clavister \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.colubris \
|
|
|
|
radius/dictionary.columbia_university \
|
|
|
|
radius/dictionary.compatible \
|
|
|
|
radius/dictionary.compat \
|
|
|
|
radius/dictionary.cosine \
|
|
|
|
radius/dictionary.dante \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.dhcp \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.dlink \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.digium \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.dragonwave \
|
|
|
|
radius/dictionary.efficientip \
|
2010-11-18 09:51:50 +00:00
|
|
|
radius/dictionary.eltex \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.epygi \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.equallogic \
|
|
|
|
radius/dictionary.ericsson \
|
|
|
|
radius/dictionary.ericsson.ab \
|
|
|
|
radius/dictionary.ericsson.packet.core.networks \
|
|
|
|
radius/dictionary.erx \
|
|
|
|
radius/dictionary.extreme \
|
|
|
|
radius/dictionary.f5 \
|
|
|
|
radius/dictionary.fdxtended \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.fortinet \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.foundry \
|
|
|
|
radius/dictionary.freedhcp \
|
|
|
|
radius/dictionary.freeradius \
|
|
|
|
radius/dictionary.freeradius.internal \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.freeswitch \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.gandalf \
|
|
|
|
radius/dictionary.garderos \
|
|
|
|
radius/dictionary.gemtek \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.h3c \
|
|
|
|
radius/dictionary.hp \
|
|
|
|
radius/dictionary.huawei \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.iana \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.iea \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.infoblox \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.infonet \
|
|
|
|
radius/dictionary.ipunplugged \
|
|
|
|
radius/dictionary.issanni \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.itk \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.jradius \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.juniper \
|
|
|
|
radius/dictionary.kineto \
|
|
|
|
radius/dictionary.karlnet \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.lancom \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.livingston \
|
|
|
|
radius/dictionary.localweb \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.lucent \
|
|
|
|
radius/dictionary.manzara \
|
2014-11-26 19:08:07 +00:00
|
|
|
radius/dictionary.meinberg \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.merit \
|
|
|
|
radius/dictionary.meru \
|
|
|
|
radius/dictionary.microsoft \
|
|
|
|
radius/dictionary.mikrotik \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.motorola \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.motorola.wimax \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.navini \
|
|
|
|
radius/dictionary.netscreen \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.networkphysics \
|
|
|
|
radius/dictionary.nexans \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.nokia \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.nokia.conflict \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.nomadix \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.nortel \
|
|
|
|
radius/dictionary.ntua \
|
|
|
|
radius/dictionary.openser \
|
|
|
|
radius/dictionary.packeteer \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.paloalto \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.patton \
|
2015-01-28 16:59:48 +00:00
|
|
|
radius/dictionary.perle \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.propel \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.prosoft \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.proxim \
|
|
|
|
radius/dictionary.purewave \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.quiconnect \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.quintum \
|
|
|
|
radius/dictionary.redcreek \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.rfc2865 \
|
|
|
|
radius/dictionary.rfc2866 \
|
|
|
|
radius/dictionary.rfc2867 \
|
|
|
|
radius/dictionary.rfc2868 \
|
|
|
|
radius/dictionary.rfc2869 \
|
|
|
|
radius/dictionary.rfc3162 \
|
|
|
|
radius/dictionary.rfc3576 \
|
|
|
|
radius/dictionary.rfc3580 \
|
|
|
|
radius/dictionary.rfc4072 \
|
|
|
|
radius/dictionary.rfc4372 \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.rfc4603 \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.rfc4675 \
|
|
|
|
radius/dictionary.rfc4679 \
|
|
|
|
radius/dictionary.rfc4818 \
|
|
|
|
radius/dictionary.rfc4849 \
|
|
|
|
radius/dictionary.rfc5090 \
|
|
|
|
radius/dictionary.rfc5176 \
|
2012-12-23 18:40:40 +00:00
|
|
|
radius/dictionary.rfc5447 \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.rfc5580 \
|
|
|
|
radius/dictionary.rfc5607 \
|
|
|
|
radius/dictionary.rfc5904 \
|
2012-12-23 18:40:40 +00:00
|
|
|
radius/dictionary.rfc6519 \
|
|
|
|
radius/dictionary.rfc6572 \
|
2014-10-27 08:12:21 +00:00
|
|
|
radius/dictionary.rfc6677 \
|
|
|
|
radius/dictionary.rfc6911 \
|
|
|
|
radius/dictionary.rfc6929 \
|
|
|
|
radius/dictionary.rfc6930 \
|
|
|
|
radius/dictionary.rfc7055 \
|
|
|
|
radius/dictionary.rfc7155 \
|
|
|
|
radius/dictionary.rfc7268 \
|
2015-04-07 16:01:28 +00:00
|
|
|
radius/dictionary.rfc7499 \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.riverbed \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.riverstone \
|
|
|
|
radius/dictionary.roaringpenguin \
|
2015-02-17 20:29:37 +00:00
|
|
|
radius/dictionary.ruckus \
|
|
|
|
radius/dictionary.ruggedcom \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.sg \
|
|
|
|
radius/dictionary.shasta \
|
|
|
|
radius/dictionary.shiva \
|
|
|
|
radius/dictionary.siemens \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.slipstream \
|
|
|
|
radius/dictionary.sofaware \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.sonicwall \
|
|
|
|
radius/dictionary.springtide \
|
|
|
|
radius/dictionary.starent \
|
|
|
|
radius/dictionary.starent.vsa1 \
|
|
|
|
radius/dictionary.surfnet \
|
|
|
|
radius/dictionary.symbol \
|
|
|
|
radius/dictionary.t_systems_nova \
|
|
|
|
radius/dictionary.telebit \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.telkom \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.terena \
|
|
|
|
radius/dictionary.trapeze \
|
2015-01-28 16:59:48 +00:00
|
|
|
radius/dictionary.travelping \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.tropos \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.ukerna \
|
|
|
|
radius/dictionary.unix \
|
|
|
|
radius/dictionary.usr \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.utstarcom \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.valemount \
|
|
|
|
radius/dictionary.versanet \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.vqp \
|
|
|
|
radius/dictionary.walabi \
|
|
|
|
radius/dictionary.waverider \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.wichorus \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.wimax \
|
|
|
|
radius/dictionary.wimax.alvarion \
|
2011-05-24 19:13:04 +00:00
|
|
|
radius/dictionary.wimax.wichorus \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.wispr \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.xedia \
|
2015-01-15 11:45:02 +00:00
|
|
|
radius/dictionary.xylan \
|
|
|
|
radius/dictionary.yubico \
|
|
|
|
radius/dictionary.zeus \
|
|
|
|
radius/dictionary.zte \
|
2009-07-09 20:31:22 +00:00
|
|
|
radius/dictionary.zyxel
|
2005-07-15 21:18:32 +00:00
|
|
|
|
2007-11-11 13:23:17 +00:00
|
|
|
#
|
|
|
|
# Install the tpncp directory files in the "tpncp" subdirectory
|
|
|
|
# of that directory
|
|
|
|
#
|
|
|
|
tpncpdir = $(pkgdatadir)/tpncp
|
2013-07-24 20:54:15 +00:00
|
|
|
dist_tpncp_DATA = \
|
2007-11-11 13:23:17 +00:00
|
|
|
tpncp/tpncp.dat
|
|
|
|
|
2007-10-15 12:32:19 +00:00
|
|
|
#
|
|
|
|
# Install the wimaxasncp directory files in the "wimaxasncp" subdirectory
|
|
|
|
# of that directory
|
|
|
|
#
|
|
|
|
wimaxasncpdir = $(pkgdatadir)/wimaxasncp
|
2013-07-24 20:54:15 +00:00
|
|
|
dist_wimaxasncp_DATA = \
|
2007-10-15 12:32:19 +00:00
|
|
|
wimaxasncp/dictionary.xml \
|
|
|
|
wimaxasncp/dictionary.dtd
|
|
|
|
|
MacOS support changes, from Michael Tuexen (with some modifications):
replace "--with-plugindir" with "--with-plugins", and have the
plugin directory optional - this allows plugins to be disabled;
add "--traditional-cpp" on MacOS X/Darwin (Apple's "cc" compiler
requires it, for some annoying reason, even though it is, as far
as I know, GCC-based, and other GCC's don't require it);
on MacOS X, don't use "pcap_version[]", as, for some annoying
reason, libpcap on MacOS X doesn't define it.
Clean up some whitespace in the help messages for the configure script.
Move the AM_CONDITIONAL for SETUID_INSTALL after the point at which
"enable_setuid_install" is set, as it tests "enable_setuid_install".
svn path=/trunk/; revision=3788
2001-07-26 07:25:49 +00:00
|
|
|
if HAVE_PLUGINS
|
2008-10-30 19:45:40 +00:00
|
|
|
-include plugins/Custom.make
|
|
|
|
plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/docsis/docsis.la \
|
2007-10-15 18:39:58 +00:00
|
|
|
-dlopen plugins/ethercat/ethercat.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/gryphon/gryphon.la \
|
|
|
|
-dlopen plugins/irda/irda.la \
|
2007-05-25 23:40:42 +00:00
|
|
|
-dlopen plugins/m2m/m2m.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/mate/mate.la \
|
2007-05-14 13:58:54 +00:00
|
|
|
-dlopen plugins/opcua/opcua.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/profinet/profinet.la \
|
|
|
|
-dlopen plugins/stats_tree/stats_tree.la \
|
2007-08-20 20:50:29 +00:00
|
|
|
-dlopen plugins/unistim/unistim.la \
|
2012-07-20 01:21:27 +00:00
|
|
|
-dlopen plugins/wimax/wimax.la \
|
|
|
|
-dlopen plugins/wimaxmacphy/wimaxmacphy.la
|
2007-08-24 13:44:59 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
else # HAVE_PLUGINS
|
MacOS support changes, from Michael Tuexen (with some modifications):
replace "--with-plugindir" with "--with-plugins", and have the
plugin directory optional - this allows plugins to be disabled;
add "--traditional-cpp" on MacOS X/Darwin (Apple's "cc" compiler
requires it, for some annoying reason, even though it is, as far
as I know, GCC-based, and other GCC's don't require it);
on MacOS X, don't use "pcap_version[]", as, for some annoying
reason, libpcap on MacOS X doesn't define it.
Clean up some whitespace in the help messages for the configure script.
Move the AM_CONDITIONAL for SETUID_INSTALL after the point at which
"enable_setuid_install" is set, as it tests "enable_setuid_install".
svn path=/trunk/; revision=3788
2001-07-26 07:25:49 +00:00
|
|
|
|
|
|
|
plugin_ldadd =
|
2006-12-30 04:40:59 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
endif # HAVE_PLUGINS
|
2001-07-20 02:40:42 +00:00
|
|
|
|
2007-06-17 04:58:16 +00:00
|
|
|
include Makefile.common
|
|
|
|
|
2016-03-18 17:31:09 +00:00
|
|
|
if HAVE_EXTCAP
|
|
|
|
SHARK_COMMON_SRC += $(EXTCAP_COMMON_SRC)
|
|
|
|
endif
|
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
if ENABLE_STATIC
|
2016-02-19 08:20:35 +00:00
|
|
|
EXTRALINKFLAGS = -Wl,-static -all-static
|
2003-03-02 22:11:26 +00:00
|
|
|
else
|
2016-02-19 08:20:35 +00:00
|
|
|
EXTRALINKFLAGS = -export-dynamic
|
2013-06-25 19:51:53 +00:00
|
|
|
endif
|
2003-03-02 22:11:26 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries and plugin flags with which to link wireshark.
|
2006-12-30 00:14:25 +00:00
|
|
|
#
|
2016-02-19 08:20:35 +00:00
|
|
|
# GTK_CFLAGS/GTK_LIBS is a strict superset of GLIB_CFLAGS/GLIB_LIBS
|
|
|
|
# (see configure.ac for pkg-config modules used).
|
2012-07-03 22:42:14 +00:00
|
|
|
#
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_common_ldadd = \
|
2014-06-23 23:48:41 +00:00
|
|
|
capchild/libcapchild.a \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils/libcaputils.a \
|
2012-02-19 00:19:35 +00:00
|
|
|
ui/libui.a \
|
2012-09-14 21:06:26 +00:00
|
|
|
ui/libui_dirty.a \
|
2015-12-03 20:32:25 +00:00
|
|
|
codecs/libwscodecs.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2012-01-15 21:59:11 +00:00
|
|
|
@SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2008-08-08 00:04:38 +00:00
|
|
|
@C_ARES_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@KRB5_LIBS@ \
|
2012-11-22 05:46:49 +00:00
|
|
|
@APPLICATIONSERVICES_FRAMEWORKS@ \
|
2012-11-22 06:02:49 +00:00
|
|
|
@SYSTEMCONFIGURATION_FRAMEWORKS@ \
|
2012-11-22 05:46:49 +00:00
|
|
|
@COREFOUNDATION_FRAMEWORKS@ \
|
2006-07-19 14:02:22 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
2006-08-30 21:51:31 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
2016-02-19 05:05:00 +00:00
|
|
|
@LIBSMI_LDFLAGS@ \
|
|
|
|
@LIBNL_LIBS@
|
2012-03-21 06:13:53 +00:00
|
|
|
|
2013-06-25 19:51:53 +00:00
|
|
|
if HAVE_Qt
|
2015-01-01 09:19:57 +00:00
|
|
|
wireshark_SOURCES = $(WIRESHARK_COMMON_SRC) wireshark-qt.cpp
|
2016-02-19 08:20:35 +00:00
|
|
|
|
|
|
|
wireshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(Qt_CFLAGS)
|
|
|
|
|
|
|
|
wireshark_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS) $(Qt_LDFLAGS)
|
|
|
|
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_LDADD = \
|
2016-02-19 08:20:35 +00:00
|
|
|
ui/qt/libqtui.a \
|
|
|
|
$(wireshark_common_ldadd) \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(Qt_LIBS)
|
2013-06-25 19:51:53 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_GTK
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_gtk_SOURCES = $(WIRESHARK_COMMON_SRC)
|
2016-02-19 08:20:35 +00:00
|
|
|
|
|
|
|
wireshark_gtk_CPPFLAGS = $(AM_CPPFLAGS) $(GTK_CFLAGS)
|
|
|
|
|
|
|
|
wireshark_gtk_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS)
|
|
|
|
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_gtk_LDADD = \
|
2016-02-19 08:20:35 +00:00
|
|
|
ui/gtk/libgtkui.a \
|
|
|
|
$(wireshark_common_ldadd) \
|
|
|
|
$(GTK_LIBS) \
|
|
|
|
@PORTAUDIO_LIBS@
|
2013-06-25 19:51:53 +00:00
|
|
|
endif
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
tshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
tshark_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS)
|
2006-12-30 00:14:25 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries and plugin flags with which to link tshark.
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark_LDADD = \
|
2014-06-23 23:48:41 +00:00
|
|
|
capchild/libcapchild.a \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils/libcaputils.a \
|
2012-02-19 19:01:01 +00:00
|
|
|
ui/cli/libcliui.a \
|
2012-02-18 23:55:41 +00:00
|
|
|
ui/libui.a \
|
2006-12-30 04:40:59 +00:00
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2007-09-24 06:59:40 +00:00
|
|
|
@SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2014-03-12 21:44:01 +00:00
|
|
|
@GLIB_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2008-08-08 00:04:38 +00:00
|
|
|
@C_ARES_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@KRB5_LIBS@ \
|
2012-11-22 06:02:49 +00:00
|
|
|
@SYSTEMCONFIGURATION_FRAMEWORKS@ \
|
2012-11-22 05:46:49 +00:00
|
|
|
@COREFOUNDATION_FRAMEWORKS@ \
|
2006-07-19 14:02:22 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
2007-11-30 00:45:12 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
2014-12-20 04:45:18 +00:00
|
|
|
@LIBSMI_LDFLAGS@
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
tfshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
tfshark_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS)
|
2014-01-08 04:35:28 +00:00
|
|
|
|
|
|
|
# Libraries and plugin flags with which to link tfshark.
|
|
|
|
tfshark_LDADD = \
|
|
|
|
ui/cli/libcliui.a \
|
|
|
|
ui/libui.a \
|
2014-01-11 19:47:24 +00:00
|
|
|
wiretap/libwiretap.la \
|
2014-01-08 04:35:28 +00:00
|
|
|
epan/libwireshark.la \
|
|
|
|
wsutil/libwsutil.la \
|
|
|
|
@SSL_LIBS@ \
|
|
|
|
$(plugin_ldadd) \
|
2014-03-12 21:44:01 +00:00
|
|
|
@GLIB_LIBS@ \
|
2014-01-08 04:35:28 +00:00
|
|
|
@PCAP_LIBS@ \
|
|
|
|
@KRB5_LIBS@ \
|
|
|
|
@SYSTEMCONFIGURATION_FRAMEWORKS@ \
|
|
|
|
@COREFOUNDATION_FRAMEWORKS@ \
|
|
|
|
@LIBGNUTLS_LIBS@ \
|
2014-12-20 04:45:18 +00:00
|
|
|
@LIBSMI_LDFLAGS@
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
rawshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
rawshark_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS)
|
2008-02-16 01:00:01 +00:00
|
|
|
|
2010-04-27 18:08:03 +00:00
|
|
|
# Libraries and plugin flags with which to link rawshark.
|
2008-02-16 01:00:01 +00:00
|
|
|
rawshark_LDADD = \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils/libcaputils.a \
|
2012-02-18 23:55:41 +00:00
|
|
|
ui/libui.a \
|
2008-02-16 01:00:01 +00:00
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2008-02-16 01:00:01 +00:00
|
|
|
@SSL_LIBS@ \
|
|
|
|
$(plugin_ldadd) \
|
2014-03-12 21:44:01 +00:00
|
|
|
@GLIB_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2008-08-08 00:04:38 +00:00
|
|
|
@C_ARES_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@KRB5_LIBS@ \
|
2012-11-22 06:02:49 +00:00
|
|
|
@SYSTEMCONFIGURATION_FRAMEWORKS@ \
|
2012-11-22 05:46:49 +00:00
|
|
|
@COREFOUNDATION_FRAMEWORKS@ \
|
2008-02-16 01:00:01 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
|
|
|
@LIBGNUTLS_LIBS@ \
|
2014-12-20 04:45:18 +00:00
|
|
|
@LIBSMI_LDFLAGS@
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
text2pcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
2014-12-20 04:45:18 +00:00
|
|
|
|
2008-09-21 14:59:05 +00:00
|
|
|
# Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c
|
|
|
|
# which is generated (and therefore not always clean).
|
|
|
|
# We could generate text2pcap.o as a library with -Werror but for now it
|
|
|
|
# doesn't seem worth the effort.
|
2015-11-27 02:28:17 +00:00
|
|
|
text2pcap_CFLAGS = $(GENERATED_CFLAGS)
|
2001-11-24 08:14:12 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
# Libraries with which to link text2pcap.
|
|
|
|
text2pcap_LDADD = \
|
2016-03-24 20:00:07 +00:00
|
|
|
writecap/libwritecap.a \
|
2016-02-19 08:20:35 +00:00
|
|
|
wsutil/libwsutil.la \
|
2016-03-03 07:14:34 +00:00
|
|
|
@GLIB_LIBS@
|
2016-02-19 08:20:35 +00:00
|
|
|
|
|
|
|
mergecap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link mergecap.
|
|
|
|
mergecap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2016-03-03 07:14:34 +00:00
|
|
|
@GLIB_LIBS@
|
2001-07-12 19:59:41 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
capinfos_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link capinfos.
|
|
|
|
capinfos_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2009-12-07 23:18:12 +00:00
|
|
|
@GLIB_LIBS@ \
|
2016-03-03 07:14:34 +00:00
|
|
|
@LIBGCRYPT_LIBS@
|
2006-12-30 00:14:25 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
captype_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2013-12-13 02:59:16 +00:00
|
|
|
# Libraries with which to link captype.
|
|
|
|
captype_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
|
|
|
wsutil/libwsutil.la \
|
2016-03-03 07:14:34 +00:00
|
|
|
@GLIB_LIBS@
|
2013-12-13 02:59:16 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
editcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link editcap.
|
|
|
|
editcap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2016-03-03 07:14:34 +00:00
|
|
|
@GLIB_LIBS@
|
2000-01-15 08:08:20 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
reordercap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2012-09-24 10:23:20 +00:00
|
|
|
# Libraries with which to link reordercap.
|
|
|
|
reordercap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
|
|
|
wsutil/libwsutil.la \
|
2016-03-03 07:14:34 +00:00
|
|
|
@GLIB_LIBS@
|
2012-09-24 10:23:20 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
randpkt_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link randpkt.
|
|
|
|
randpkt_LDADD = \
|
2016-02-15 01:00:38 +00:00
|
|
|
randpkt_core/librandpkt_core.a \
|
2006-12-30 01:15:05 +00:00
|
|
|
wiretap/libwiretap.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2014-03-12 21:44:01 +00:00
|
|
|
@GLIB_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2016-03-16 22:11:17 +00:00
|
|
|
@C_ARES_LIBS@
|
2014-12-20 04:45:18 +00:00
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
dftest_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries and plugin flags with which to link dftest.
|
|
|
|
dftest_LDADD = \
|
2012-06-25 22:21:58 +00:00
|
|
|
ui/libui.a \
|
2006-12-30 04:40:59 +00:00
|
|
|
wiretap/libwiretap.la \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
epan/libwireshark.la \
|
2007-09-24 06:59:40 +00:00
|
|
|
@SSL_LIBS@ \
|
2006-12-30 01:15:05 +00:00
|
|
|
$(plugin_ldadd) \
|
2014-03-12 21:44:01 +00:00
|
|
|
@GLIB_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2008-08-08 00:04:38 +00:00
|
|
|
@C_ARES_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@KRB5_LIBS@ \
|
2006-12-30 01:15:05 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
2007-11-30 00:45:12 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
2014-12-20 04:45:18 +00:00
|
|
|
@LIBSMI_LDFLAGS@
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
echld_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
2013-06-25 17:43:52 +00:00
|
|
|
echld_test_LDADD = \
|
2014-03-12 21:44:01 +00:00
|
|
|
epan/libwireshark.la \
|
|
|
|
echld/libechld.la \
|
2016-03-24 20:00:07 +00:00
|
|
|
writecap/libwritecap.a \
|
2014-03-12 21:44:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
|
|
|
@GLIB_LIBS@ \
|
2013-06-25 17:43:52 +00:00
|
|
|
@PCAP_LIBS@ \
|
2016-03-16 22:11:17 +00:00
|
|
|
@C_ARES_LIBS@
|
2013-06-25 17:43:52 +00:00
|
|
|
|
2013-06-25 21:09:29 +00:00
|
|
|
echld_test_DEPENDENCIES = \
|
|
|
|
echld/libechld.la \
|
|
|
|
epan/libwireshark.la
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
dumpcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
dumpcap_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS)
|
|
|
|
|
|
|
|
dumpcap_LDFLAGS = $(AM_LDFLAGS) $(PIE_LDFLAGS)
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link dumpcap.
|
|
|
|
dumpcap_LDADD = \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils/libcaputils.a \
|
2016-03-24 20:00:07 +00:00
|
|
|
writecap/libwritecap.a \
|
2008-09-18 13:31:14 +00:00
|
|
|
wsutil/libwsutil.la \
|
2006-12-30 01:15:05 +00:00
|
|
|
@GLIB_LIBS@ \
|
2008-08-05 14:51:34 +00:00
|
|
|
@PCAP_LIBS@ \
|
2012-11-22 06:02:49 +00:00
|
|
|
@SYSTEMCONFIGURATION_FRAMEWORKS@ \
|
2012-11-22 05:46:49 +00:00
|
|
|
@COREFOUNDATION_FRAMEWORKS@ \
|
2016-02-19 05:05:00 +00:00
|
|
|
@LIBCAP_LIBS@ \
|
2016-03-03 07:14:34 +00:00
|
|
|
@LIBNL_LIBS@
|
1998-10-12 01:40:57 +00:00
|
|
|
|
2004-01-16 20:04:21 +00:00
|
|
|
#
|
|
|
|
# Build the version string
|
|
|
|
#
|
2004-03-13 10:15:36 +00:00
|
|
|
# FORCE is the portable version of .PHONY
|
|
|
|
FORCE:
|
|
|
|
|
2014-02-07 19:14:52 +00:00
|
|
|
version.h: FORCE
|
2013-02-04 17:22:32 +00:00
|
|
|
$(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
|
2004-01-16 20:04:21 +00:00
|
|
|
|
2001-09-15 23:01:12 +00:00
|
|
|
#
|
|
|
|
# Build shell scripts by doing variable substitution.
|
|
|
|
# Taken from autoconf 2.13.
|
|
|
|
#
|
|
|
|
editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
|
|
|
|
|
|
|
|
SUFFIXES = .sh
|
|
|
|
.sh:
|
|
|
|
rm -f $@ $@.tmp
|
|
|
|
$(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
|
|
|
|
|
2012-03-30 17:53:23 +00:00
|
|
|
services:
|
2013-08-07 16:33:39 +00:00
|
|
|
$(PYTHON) $(srcdir)/tools/make-services.py
|
2010-10-04 18:53:39 +00:00
|
|
|
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
CLEANFILES = \
|
2005-09-07 20:49:16 +00:00
|
|
|
*~ \
|
2013-04-30 00:27:02 +00:00
|
|
|
doxygen-core.tag \
|
2008-10-25 03:52:40 +00:00
|
|
|
vgcore.*
|
2001-09-15 23:01:12 +00:00
|
|
|
|
2011-11-02 20:21:11 +00:00
|
|
|
#
|
2014-02-07 19:14:52 +00:00
|
|
|
# We have to remove version.h with "make distclean", as, otherwise,
|
2011-11-02 20:21:11 +00:00
|
|
|
# "make distcheck" fails. We still need to make the tarballs work
|
|
|
|
# even if you do "make distclean" and try to rebuild; that's a work in
|
|
|
|
# progress.
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
#
|
|
|
|
# XXX - "ps.c" is distributed in the source tarballs; why is it in the
|
|
|
|
# list of files removed by "make distclean"? (It's deliberately
|
|
|
|
# included in that list.)
|
|
|
|
#
|
2004-01-10 16:34:27 +00:00
|
|
|
DISTCLEANFILES = \
|
2011-11-02 20:21:11 +00:00
|
|
|
ps.c \
|
2014-02-07 19:14:52 +00:00
|
|
|
version.h
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2003-02-27 02:28:37 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2005-07-10 08:04:27 +00:00
|
|
|
$(GENERATED_FILES) \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
2011-06-27 08:38:37 +00:00
|
|
|
compile \
|
2005-07-10 08:04:27 +00:00
|
|
|
config.h.in \
|
|
|
|
configure \
|
|
|
|
depcomp \
|
|
|
|
install-sh \
|
|
|
|
ltmain.sh \
|
2011-06-27 08:38:37 +00:00
|
|
|
missing \
|
|
|
|
ylwrap
|
2003-02-27 02:28:37 +00:00
|
|
|
|
1999-07-15 15:33:52 +00:00
|
|
|
EXTRA_DIST = \
|
2015-12-02 17:51:34 +00:00
|
|
|
.editorconfig \
|
2014-12-18 21:17:48 +00:00
|
|
|
.mailmap \
|
2005-07-10 08:04:27 +00:00
|
|
|
INSTALL.configure \
|
2007-08-01 20:35:05 +00:00
|
|
|
Makefile.am.inc \
|
2004-01-21 21:46:59 +00:00
|
|
|
Makefile.common \
|
2002-08-28 08:24:24 +00:00
|
|
|
Makefile.nmake \
|
2007-08-01 22:20:38 +00:00
|
|
|
Makefile.nmake.inc \
|
2002-08-28 08:24:24 +00:00
|
|
|
README.aix \
|
|
|
|
README.bsd \
|
2011-06-07 15:05:45 +00:00
|
|
|
README.DECT \
|
2002-08-28 08:24:24 +00:00
|
|
|
README.hpux \
|
|
|
|
README.linux \
|
2004-03-17 19:57:28 +00:00
|
|
|
README.macos \
|
2002-08-28 08:24:24 +00:00
|
|
|
README.tru64 \
|
|
|
|
README.vmware \
|
2010-04-09 21:42:51 +00:00
|
|
|
README.windows \
|
2011-05-31 20:45:28 +00:00
|
|
|
abi-descriptor.template \
|
2002-08-28 08:24:24 +00:00
|
|
|
autogen.sh \
|
2012-01-15 21:59:11 +00:00
|
|
|
cfilters \
|
|
|
|
colorfilters \
|
1999-07-15 15:33:52 +00:00
|
|
|
config.h.win32 \
|
2000-03-03 12:01:22 +00:00
|
|
|
config.nmake \
|
2016-03-23 13:05:17 +00:00
|
|
|
debian \
|
2012-01-15 21:59:11 +00:00
|
|
|
dfilters \
|
2014-08-01 15:13:13 +00:00
|
|
|
doxygen_global.cfg \
|
2004-06-25 07:10:55 +00:00
|
|
|
doxygen.cfg.in \
|
2016-03-23 13:05:17 +00:00
|
|
|
fix \
|
|
|
|
idl \
|
|
|
|
image \
|
2011-05-19 21:11:44 +00:00
|
|
|
ipmap.html \
|
2016-03-23 13:05:17 +00:00
|
|
|
m4 \
|
2011-07-15 21:48:02 +00:00
|
|
|
macosx-setup.sh \
|
2016-03-23 13:05:17 +00:00
|
|
|
macosx-support-lib-patches \
|
2004-02-24 18:54:35 +00:00
|
|
|
make-version.pl \
|
2005-07-10 08:04:27 +00:00
|
|
|
manuf \
|
2001-09-18 21:29:56 +00:00
|
|
|
manuf.tmpl \
|
2011-05-19 21:11:44 +00:00
|
|
|
pdml2html.xsl \
|
2007-11-20 21:27:45 +00:00
|
|
|
smi_modules \
|
2005-07-10 08:04:27 +00:00
|
|
|
text2pcap-scanner.l \
|
|
|
|
text2pcap.h \
|
2007-11-20 21:27:45 +00:00
|
|
|
services \
|
2009-05-26 00:51:33 +00:00
|
|
|
wireshark.desktop \
|
2015-11-08 18:38:50 +00:00
|
|
|
wireshark-gtk.desktop \
|
2016-03-23 13:05:17 +00:00
|
|
|
wireshark-mime-package.xml \
|
2014-09-18 15:47:21 +00:00
|
|
|
wireshark.appdata.xml \
|
2014-08-01 14:08:38 +00:00
|
|
|
wireshark.pc.in \
|
2010-05-14 16:27:03 +00:00
|
|
|
wka.tmpl \
|
|
|
|
CMakeLists.txt \
|
2016-03-23 13:05:17 +00:00
|
|
|
CMakeListsCustom.txt.example \
|
2010-05-14 16:27:03 +00:00
|
|
|
cmakeconfig.h.in \
|
2010-05-17 02:43:15 +00:00
|
|
|
CMakeOptions.txt \
|
2010-05-14 16:27:03 +00:00
|
|
|
README.cmake \
|
|
|
|
ConfigureChecks.cmake \
|
2016-03-23 13:05:17 +00:00
|
|
|
cmake \
|
2014-03-16 00:32:47 +00:00
|
|
|
CPackConfig.txt
|
1998-11-12 00:06:47 +00:00
|
|
|
|
2000-02-11 03:17:58 +00:00
|
|
|
install-exec-hook:
|
2010-04-08 00:02:29 +00:00
|
|
|
if HAVE_DUMPCAP_GROUP
|
2014-07-02 20:27:00 +00:00
|
|
|
chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap
|
2010-04-08 00:02:29 +00:00
|
|
|
endif
|
|
|
|
if SETCAP_INSTALL
|
2014-07-02 20:27:00 +00:00
|
|
|
$(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap
|
|
|
|
chmod o-rws $(DESTDIR)$(bindir)/dumpcap
|
2000-02-15 21:17:57 +00:00
|
|
|
else
|
2010-04-08 00:02:29 +00:00
|
|
|
if SETUID_INSTALL
|
2014-07-02 20:27:00 +00:00
|
|
|
chmod o-rws $(DESTDIR)$(bindir)/dumpcap
|
|
|
|
chmod +s $(DESTDIR)$(bindir)/dumpcap
|
2000-02-11 03:17:58 +00:00
|
|
|
endif
|
2010-04-08 00:02:29 +00:00
|
|
|
endif
|
|
|
|
|
2000-02-11 03:17:58 +00:00
|
|
|
|
2014-06-23 23:48:41 +00:00
|
|
|
DIST_SUBDIRS = \
|
|
|
|
capchild \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils \
|
2014-06-23 23:48:41 +00:00
|
|
|
codecs \
|
|
|
|
doc \
|
|
|
|
epan \
|
|
|
|
echld \
|
|
|
|
ui \
|
|
|
|
ui/cli \
|
|
|
|
ui/gtk \
|
|
|
|
ui/qt \
|
|
|
|
help \
|
|
|
|
packaging \
|
|
|
|
plugins \
|
2016-02-15 01:00:38 +00:00
|
|
|
randpkt_core \
|
2014-06-23 23:48:41 +00:00
|
|
|
tools \
|
|
|
|
wiretap \
|
2016-03-24 20:00:07 +00:00
|
|
|
writecap \
|
2014-06-23 23:48:41 +00:00
|
|
|
wsutil \
|
2016-02-15 01:00:38 +00:00
|
|
|
extcap \
|
2014-06-23 23:48:41 +00:00
|
|
|
docbook
|
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
tools \
|
|
|
|
wsutil \
|
2016-03-24 20:00:07 +00:00
|
|
|
writecap \
|
2014-06-23 23:48:41 +00:00
|
|
|
wiretap \
|
|
|
|
epan \
|
|
|
|
capchild \
|
2014-07-04 07:24:02 +00:00
|
|
|
caputils \
|
2014-06-23 23:48:41 +00:00
|
|
|
@echld_dir@ \
|
|
|
|
@plugins_dir@ \
|
|
|
|
packaging \
|
|
|
|
help \
|
|
|
|
ui \
|
|
|
|
@wireshark_SUBDIRS@ \
|
|
|
|
ui/cli \
|
2016-02-15 01:00:38 +00:00
|
|
|
randpkt_core \
|
2016-03-18 17:31:09 +00:00
|
|
|
@extcap_subdir@ \
|
2014-06-23 23:48:41 +00:00
|
|
|
. \
|
|
|
|
doc
|
1999-05-16 04:27:08 +00:00
|
|
|
|
2009-02-03 08:49:03 +00:00
|
|
|
help/faq.txt: $(srcdir)/help/faq.py
|
2013-02-01 22:57:41 +00:00
|
|
|
$(AM_V_GEN)(cd help ; \
|
2009-02-03 08:49:03 +00:00
|
|
|
$(MAKE) faq.txt ;)
|
2008-12-13 00:58:43 +00:00
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|
2000-07-22 04:10:23 +00:00
|
|
|
|
2012-10-04 19:37:03 +00:00
|
|
|
|
|
|
|
# Used by patch-bzip2
|
|
|
|
# Trim off any extra version information and find the previous micro release.
|
|
|
|
BASE_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
|
|
|
|
PREV_VERSION=`echo "$(VERSION)" | awk -F. '{$$3 = $$3 + 0 ; if ($$3 > 0) $$3-- ; printf("%d.%d.%d"), $$1, $$2, $$3}'`
|
|
|
|
PREV_DIR="wireshark-$(PREV_VERSION)"
|
|
|
|
PREV_FILE="$(PREV_DIR).tar.bz2"
|
2014-09-16 20:12:10 +00:00
|
|
|
PREV_URL="https://www.wireshark.org/download/src/all-versions/$(PREV_FILE)"
|
2012-10-04 19:37:03 +00:00
|
|
|
|
|
|
|
patch-bzip2: distdir
|
|
|
|
if test x$(BASE_VERSION) != x$(PREV_VERSION) ; then \
|
2014-09-16 20:12:10 +00:00
|
|
|
curl --time-cond $(PREV_FILE) --location --output $(PREV_FILE) $(PREV_URL) && \
|
2012-10-04 19:37:03 +00:00
|
|
|
tar -xjf $(PREV_FILE) && \
|
|
|
|
diff -urN $(PREV_DIR) $(distdir) | bzip2 > patch-wireshark-$(PREV_VERSION)-to-$(VERSION).bz2 && \
|
|
|
|
echo "Created patch-bzip2" ; \
|
2012-10-04 22:51:23 +00:00
|
|
|
rm -rf "$(PREV_FILE)" "$(PREV_DIR)" ; \
|
2012-10-04 19:37:03 +00:00
|
|
|
else \
|
|
|
|
echo "This appears to be the first micro version ($(PREV_VERSION)). Skipping." ; \
|
|
|
|
fi
|
|
|
|
$(am__remove_distdir)
|
|
|
|
|
2014-12-03 06:19:01 +00:00
|
|
|
#
|
2014-12-03 09:06:02 +00:00
|
|
|
# Install icons and other desktop files for (for use with GNOME, KDE, or
|
|
|
|
# any other freedesktop.org-compliant desktops).
|
2014-12-03 06:19:01 +00:00
|
|
|
#
|
|
|
|
# We use $(datadir). If the desktop doesn't look for them there,
|
|
|
|
# the desktop is broken; the latest XDG Base Directory Specification
|
|
|
|
# at
|
|
|
|
#
|
|
|
|
# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
|
|
|
#
|
|
|
|
# says
|
|
|
|
#
|
|
|
|
# $XDG_DATA_DIRS defines the preference-ordered set of base directories
|
|
|
|
# to search for data files in addition to the $XDG_DATA_HOME base
|
|
|
|
# directory. The directories in $XDG_DATA_DIRS should be seperated with a
|
|
|
|
# colon ':'.
|
2014-12-03 06:21:13 +00:00
|
|
|
#
|
2014-12-03 06:19:01 +00:00
|
|
|
# If $XDG_DATA_DIRS is either not set or empty, a value equal to
|
|
|
|
# /usr/local/share/:/usr/share/ should be used.
|
|
|
|
#
|
|
|
|
# so:
|
|
|
|
#
|
|
|
|
# if this is configured to install under /usr, that should Just Work,
|
|
|
|
# unless XDG_DATA_DIRS is set incorrectly or the desktop isn't
|
|
|
|
# compliant with the latest version of the spec;
|
|
|
|
#
|
|
|
|
# if this installs under the default /usr/share, that should Just Work,
|
|
|
|
# unless XDG_DATA_DIRS is set incorrectly or the desktop isn't
|
|
|
|
# compliant with the latest version of the spec;
|
|
|
|
#
|
|
|
|
# if this is configured to install somewhere else, whoever configured
|
|
|
|
# it should also have made sure that XDG_DATA_DIRS was set correctly
|
|
|
|
# and, if that doesn't work, the desktop isn't compliant with the
|
|
|
|
# latest version of the spec.
|
|
|
|
#
|
|
|
|
# We install these as part of the standard installation process, just
|
|
|
|
# as, for example, Inkscape does with its icons. See bug 10737.
|
|
|
|
#
|
|
|
|
# Do not use the -T flag to the install command, as it's not portable.
|
|
|
|
# Some versions of install don't support a -T flag at all, and the
|
|
|
|
# FreeBSD install command has a -T flag that takes an argument and
|
|
|
|
# that has completely different semantics.
|
|
|
|
#
|
2014-12-04 08:03:03 +00:00
|
|
|
# We neither need nor want any of this on OS X, nor do we want it if
|
|
|
|
# we're not building Wireshark (that being the only desktop app).
|
2014-12-04 07:56:10 +00:00
|
|
|
#
|
2014-12-03 06:19:01 +00:00
|
|
|
install-data-local:
|
2014-12-04 08:03:03 +00:00
|
|
|
if BUILDING_WIRESHARK
|
2014-12-04 07:56:10 +00:00
|
|
|
if NOT_OS_X
|
2014-12-03 09:06:02 +00:00
|
|
|
mkdir -p $(DESTDIR)$(datadir)/mime/packages
|
|
|
|
install -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
|
2014-09-18 15:47:21 +00:00
|
|
|
mkdir -p $(DESTDIR)$(datadir)/appdata
|
|
|
|
install -m 644 $(srcdir)/wireshark.appdata.xml $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml
|
2014-12-03 09:06:02 +00:00
|
|
|
mkdir -p $(DESTDIR)$(datadir)/applications
|
|
|
|
if test x$(DESKTOP_FILE_INSTALL) != x ; then \
|
2015-11-08 18:38:50 +00:00
|
|
|
$(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)$(datadir)/applications $(srcdir)/wireshark.desktop $(srcdir)/wireshark-gtk.desktop ; \
|
2014-12-03 09:06:02 +00:00
|
|
|
else \
|
2015-11-12 17:44:47 +00:00
|
|
|
install -m 644 $(srcdir)/wireshark.desktop $(srcdir)/wireshark-gtk.desktop $(DESTDIR)$(datadir)/applications; \
|
2014-12-03 09:06:02 +00:00
|
|
|
fi
|
2014-12-03 06:19:01 +00:00
|
|
|
for size in 16 24 32 48 64 128 256; \
|
|
|
|
do \
|
2014-12-03 08:18:01 +00:00
|
|
|
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps ; \
|
2014-12-03 06:19:01 +00:00
|
|
|
install -m 644 $(srcdir)/image/wsicon$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
|
2014-12-03 08:18:01 +00:00
|
|
|
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes ; \
|
2014-12-03 06:19:01 +00:00
|
|
|
install -m 644 $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
|
|
|
|
done
|
|
|
|
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps
|
2014-12-03 08:21:59 +00:00
|
|
|
install -m 644 $(srcdir)/image/wsicon.svg $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
|
2014-12-04 07:56:10 +00:00
|
|
|
endif
|
2014-12-04 08:03:03 +00:00
|
|
|
endif
|
2014-12-03 06:19:01 +00:00
|
|
|
|
2014-12-03 08:18:01 +00:00
|
|
|
uninstall-local:
|
2014-12-04 08:03:03 +00:00
|
|
|
if BUILDING_WIRESHARK
|
2014-12-04 07:56:10 +00:00
|
|
|
if NOT_OS_X
|
2015-02-18 05:18:43 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml
|
2014-12-03 09:06:02 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/applications/wireshark.desktop
|
2015-11-08 18:38:50 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/applications/wireshark-gtk.desktop
|
2015-02-18 05:18:43 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/mime/packages/wireshark.xml
|
2014-12-03 08:18:01 +00:00
|
|
|
for size in 16 24 32 48 64 128 256; \
|
|
|
|
do \
|
|
|
|
rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \
|
|
|
|
rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \
|
|
|
|
done
|
|
|
|
rm -f $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg
|
2014-12-04 07:56:10 +00:00
|
|
|
endif
|
2014-12-04 08:03:03 +00:00
|
|
|
endif
|
2014-12-03 08:18:01 +00:00
|
|
|
|
2014-12-04 02:37:50 +00:00
|
|
|
install-data-hook: update-databases-and-caches-install
|
|
|
|
uninstall-hook: update-databases-and-caches-uninstall
|
|
|
|
|
|
|
|
#
|
|
|
|
# XXX - which of this stuff can, and should, we do ourselves?
|
|
|
|
#
|
|
|
|
# If we're "installing" under $(DESTDIR) as part of the process of
|
|
|
|
# building a package, we probably don't need to, and shouldn't, do
|
|
|
|
# any of this.
|
|
|
|
#
|
|
|
|
# If we're installing for use, we may need to do some of this; which
|
|
|
|
# of them do we need to tell where to search, especially if we're
|
|
|
|
# installing somewhere other than under /usr or /usr/local?
|
|
|
|
#
|
|
|
|
# What if we're installing in the user's home directory?
|
|
|
|
#
|
|
|
|
# What if we're installing under /opt?
|
|
|
|
#
|
|
|
|
# We only need to run ldconfig on systems where it's necessary in order
|
|
|
|
# to update a shared library cache to know about our shared libraries.
|
|
|
|
#
|
|
|
|
# We only need to run update-desktop-database and update-mime-database
|
|
|
|
# on freedesktop.org desktops.
|
|
|
|
#
|
|
|
|
# We only need to run gtk-update-icon-cache if we're installing a GTK+
|
|
|
|
# version of Wireshark.
|
|
|
|
#
|
2014-12-04 08:03:03 +00:00
|
|
|
# We neither need nor want any of this on OS X, nor do we want it if
|
|
|
|
# we're not building Wireshark (that being the only desktop app).
|
2014-12-04 07:56:10 +00:00
|
|
|
#
|
2014-12-04 02:37:50 +00:00
|
|
|
update-databases-and-caches-common:
|
2014-12-04 08:03:03 +00:00
|
|
|
if BUILDING_WIRESHARK
|
2014-12-04 07:56:10 +00:00
|
|
|
if NOT_OS_X
|
2014-12-04 02:37:50 +00:00
|
|
|
@echo "You may need to run \"ldconfig\" as root"
|
|
|
|
@echo "You may need to run \"update-desktop-database $(datadir)/applications\""
|
|
|
|
@echo "You may need to run \"update-mime-database $(datadir)/mime\""
|
|
|
|
@echo "You may need to run \"gtk-update-icon-cache -f -t $(datadir)/icons/hicolor\""
|
2014-12-04 07:56:10 +00:00
|
|
|
endif
|
2014-12-04 08:03:03 +00:00
|
|
|
endif
|
2014-12-04 02:37:50 +00:00
|
|
|
|
|
|
|
update-databases-and-caches-install: update-databases-and-caches-common
|
|
|
|
|
|
|
|
update-databases-and-caches-uninstall: update-databases-and-caches-common
|
|
|
|
|
2008-03-15 18:31:52 +00:00
|
|
|
# Used by svr4-package and osx-package
|
2014-06-17 19:44:07 +00:00
|
|
|
# We load top_stagedir with an absolute path so that libtool doesn't freak.
|
|
|
|
top_stagedir=$(abs_top_builddir)/packaging/staging
|
2008-03-15 18:31:52 +00:00
|
|
|
stagedir=$(top_stagedir)/$(PACKAGE).inst
|
|
|
|
|
2000-07-22 04:10:23 +00:00
|
|
|
host_cpu=@host_cpu@
|
|
|
|
host_os=@host_os@
|
|
|
|
|
2013-11-26 23:43:18 +00:00
|
|
|
solaris-package: svr4-package
|
|
|
|
|
2008-03-15 18:31:52 +00:00
|
|
|
svr4-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA)
|
2003-12-16 22:21:00 +00:00
|
|
|
@if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
|
2000-07-22 04:10:23 +00:00
|
|
|
rm -rf $(stagedir) ; \
|
2002-08-18 20:42:13 +00:00
|
|
|
$(MAKE) DESTDIR=$(stagedir) install; \
|
2000-07-26 03:39:11 +00:00
|
|
|
$(srcdir)/packaging/svr4/mkpkg \
|
2000-07-22 04:10:23 +00:00
|
|
|
$(PACKAGE) \
|
|
|
|
$(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
|
|
|
|
$(prefix) \
|
2000-07-26 03:39:11 +00:00
|
|
|
$(top_stagedir) ; \
|
|
|
|
else \
|
|
|
|
echo "Error: SVR4 packaging tools not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2008-04-14 23:29:54 +00:00
|
|
|
rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
|
2000-07-26 03:39:11 +00:00
|
|
|
rpm-package: dist
|
2013-02-28 17:29:10 +00:00
|
|
|
@if test x$(HAVE_RPM) = xyes ; then \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd $(rpm_topdir) ; \
|
2013-02-08 19:14:37 +00:00
|
|
|
mkdir -p BUILD RPMS SOURCES SRPMS; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd SOURCES ; \
|
2013-03-08 23:40:37 +00:00
|
|
|
ln -sf ../../../$(distdir).tar.bz2 ; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd .. ; \
|
2013-11-26 23:43:18 +00:00
|
|
|
rpmbuild --define "_topdir `cd . && pwd`" --define "_prefix $(prefix)" \
|
|
|
|
@RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec && \
|
2013-02-28 23:02:38 +00:00
|
|
|
echo "Package successfully built in `pwd`/RPMS." && \
|
|
|
|
rm -f SOURCES/$(distdir).tar.bz2 $(distdir).tar.bz2 ; \
|
2000-07-26 03:39:11 +00:00
|
|
|
else \
|
|
|
|
echo "Error: RPM executable and/or source directory not found." ; \
|
2013-02-07 17:37:38 +00:00
|
|
|
false; \
|
2000-07-26 03:39:11 +00:00
|
|
|
fi
|
2012-12-19 22:51:51 +00:00
|
|
|
|
2008-03-15 18:31:52 +00:00
|
|
|
# XXX - This assumes we're building from the source directory.
|
2008-07-01 13:39:09 +00:00
|
|
|
osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
|
2008-03-15 18:31:52 +00:00
|
|
|
@if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
|
|
|
|
rm -rf $(stagedir) ; \
|
|
|
|
$(MAKE) DESTDIR=$(stagedir) install; \
|
2015-01-15 11:45:02 +00:00
|
|
|
cd $(srcdir)/packaging/macosx ; \
|
2014-10-23 15:41:39 +00:00
|
|
|
./osx-app.sh @OSX_APP_FLAGS@ \
|
|
|
|
--create-bundle \
|
2016-02-15 01:00:38 +00:00
|
|
|
--binary-path ../staging/$(PACKAGE).inst$(bindir) \
|
|
|
|
--plugin-path ../staging/$(PACKAGE).inst$(plugindir) \
|
|
|
|
--extcap-path ../staging/$(PACKAGE).inst$(extcapdir) \
|
|
|
|
--library-path ../staging/$(PACKAGE).inst$(libdir) ; \
|
2008-03-15 18:31:52 +00:00
|
|
|
else \
|
|
|
|
echo "Error: OS X packaging tools not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
2000-07-22 04:10:23 +00:00
|
|
|
|
2011-05-12 23:46:31 +00:00
|
|
|
packaging/macosx/COPYING.txt: COPYING
|
|
|
|
(cd packaging/macosx ; \
|
|
|
|
$(MAKE) COPYING.txt ;)
|
|
|
|
|
2011-05-12 22:51:10 +00:00
|
|
|
osx-package: osx-app packaging/macosx/COPYING.txt
|
2008-07-01 13:39:09 +00:00
|
|
|
@if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
|
2015-01-15 11:45:02 +00:00
|
|
|
cd $(srcdir)/packaging/macosx ; \
|
2012-08-19 01:16:42 +00:00
|
|
|
chmod +x ./osx-dmg.sh ; \
|
2013-10-01 21:04:13 +00:00
|
|
|
./osx-dmg.sh @OSX_DMG_FLAGS@ ; \
|
2008-07-01 13:39:09 +00:00
|
|
|
fi
|
|
|
|
|
2010-01-01 20:33:28 +00:00
|
|
|
osx-install: osx-app
|
|
|
|
@if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
|
|
|
|
echo "Copying Wireshark.app to /Applications" ; \
|
2015-01-15 11:45:02 +00:00
|
|
|
cp -pr $(srcdir)/packaging/macosx/Wireshark.app /Applications ; \
|
2010-01-01 20:33:28 +00:00
|
|
|
fi
|
|
|
|
|
2015-03-13 16:21:01 +00:00
|
|
|
test-programs:
|
|
|
|
cd epan && $(MAKE) $@
|
|
|
|
|
2000-07-22 04:10:23 +00:00
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_stagedir)
|
2003-01-21 00:39:57 +00:00
|
|
|
|
2011-05-31 14:33:49 +00:00
|
|
|
dumpabi:
|
2013-02-25 18:12:20 +00:00
|
|
|
$(MAKE) -C wiretap dumpabi-libwiretap
|
|
|
|
$(MAKE) -C epan dumpabi-libwireshark
|
|
|
|
$(MAKE) -C wsutil dumpabi-libwsutil
|
2011-05-31 14:33:49 +00:00
|
|
|
|
2008-07-02 01:44:30 +00:00
|
|
|
checkapi_local:
|
2014-04-23 08:50:27 +00:00
|
|
|
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
|
|
|
|
-sourcedir=$(srcdir) \
|
2012-01-21 12:29:05 +00:00
|
|
|
$(TSHARK_TAP_SRC) \
|
2014-08-28 23:48:53 +00:00
|
|
|
$(wireshark_gtk_SOURCES)
|
|
|
|
# $(EXTRA_wireshark_gtk_SOURCES)
|
2008-07-02 01:44:30 +00:00
|
|
|
|
|
|
|
checkapi: checkapi_local
|
2008-07-02 01:53:29 +00:00
|
|
|
cd wiretap && $(MAKE) checkapi
|
2012-01-21 12:29:05 +00:00
|
|
|
cd codecs && $(MAKE) checkapi
|
2014-06-23 23:48:41 +00:00
|
|
|
cd capchild && $(MAKE) checkapi
|
2014-07-04 07:24:02 +00:00
|
|
|
cd caputils && $(MAKE) checkapi
|
2012-02-18 23:55:41 +00:00
|
|
|
cd ui && $(MAKE) checkapi
|
2012-01-21 12:29:05 +00:00
|
|
|
cd ui/gtk && $(MAKE) checkapi
|
|
|
|
## cd epan && $(MAKE) checkapi
|
2016-03-04 15:49:22 +00:00
|
|
|
cd epan/crypt && $(MAKE) checkapi
|
2012-01-21 12:29:05 +00:00
|
|
|
cd epan/dfilter && $(MAKE) checkapi
|
|
|
|
## cd epan/ftypes && $(MAKE) checkapi
|
2016-03-04 15:49:22 +00:00
|
|
|
cd epan/wslua && $(MAKE) checkapi
|
2012-01-21 12:29:05 +00:00
|
|
|
cd epan/dissectors && $(MAKE) checkapi
|
|
|
|
cd plugins && $(MAKE) checkapi
|
2016-02-15 01:00:38 +00:00
|
|
|
cd randpkt_core && $(MAKE) checkapi
|
2016-03-24 20:00:07 +00:00
|
|
|
cd writecap && $(MAKE) checkapi
|
2012-01-21 12:29:05 +00:00
|
|
|
cd wsutil && $(MAKE) checkapi
|
2013-04-26 00:07:42 +00:00
|
|
|
|
2013-04-30 00:27:02 +00:00
|
|
|
wsar_html: doxygen.cfg doxygen_global.cfg FORCE
|
2013-04-26 17:49:00 +00:00
|
|
|
if HAVE_DOXYGEN
|
2013-04-30 00:27:02 +00:00
|
|
|
rm -rf wsar_html
|
2013-04-26 00:07:42 +00:00
|
|
|
cd epan && $(MAKE) $@
|
2014-06-23 23:48:41 +00:00
|
|
|
cd capchild && $(MAKE) $@
|
2014-07-04 07:24:02 +00:00
|
|
|
cd caputils && $(MAKE) $@
|
2016-02-15 01:00:38 +00:00
|
|
|
cd randpkt_core && $(MAKE) $@
|
2013-04-26 00:07:42 +00:00
|
|
|
cd ui && $(MAKE) $@
|
2013-04-30 00:27:02 +00:00
|
|
|
(umask 022 ; $(DOXYGEN) doxygen.cfg)
|
2013-04-26 17:49:00 +00:00
|
|
|
endif
|
2013-04-26 00:07:42 +00:00
|
|
|
|
|
|
|
wsar-zip: wsar_html
|
2013-04-26 17:49:00 +00:00
|
|
|
if HAVE_DOXYGEN
|
2013-04-26 00:07:42 +00:00
|
|
|
rm -f wsar_html.zip
|
|
|
|
zip -rq wsar_html.zip wsar_html
|
2013-04-26 17:49:00 +00:00
|
|
|
endif
|
2016-02-28 22:32:13 +00:00
|
|
|
|
2016-03-27 21:31:36 +00:00
|
|
|
# Update AUTHORS file with entries from git shortlog
|
2016-02-28 22:32:13 +00:00
|
|
|
gen-authors:
|
2016-03-27 21:31:36 +00:00
|
|
|
cd $(top_srcdir) && $(PERL) tools/generate_authors.pl AUTHORS.src > AUTHORS
|