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
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
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
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
2002-10-09 00:48:10 +00:00
|
|
|
ACLOCAL_AMFLAGS = `./aclocal-flags`
|
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
|
|
|
|
2007-01-18 14:04:49 +00:00
|
|
|
INCLUDES= @LUA_INCLUDES@
|
|
|
|
|
2007-03-22 23:03:39 +00:00
|
|
|
|
Automake is a jealous god. If, when sacrificing a goat to it, you do
not kill the goat with the *correct* sort of knife, on the *correct*
altar, and drink its blood from the *correct* goblet at the *correct*
temperature, he will wreak his revenge, perhaps, for example, causing
all your crops to sprout bearing bright green and pink polka-dots.
Add an extra 3 microns to the tip of the blade, so that the Automake God
will not be angry and fail to generate rules to install man pages. (It
would have been nice had the sacred scrolls described that particular
incantation, but so it goes....)
While we're at it, get rid of "EXTRA_MANS"; it doesn't appear to be
necessary (but such hubris may, of course, bring down the wrath of the
Automake God upon me - you can't just get rid of EXTRA_PROGRAMS, for
example, as the Automake God then forgets how to handle "ethereal_LDADD"
and the like - although in a test run the generated Makefile.in didn't
*appear* to have anything missing other than a definition of EXTRA_MANS,
which it didn't use and so presumably wouldn't miss).
svn path=/trunk/; revision=2900
2001-01-15 08:55:30 +00:00
|
|
|
#
|
|
|
|
# This is a hideous hack.
|
|
|
|
#
|
|
|
|
# Automake needs to know into which sections to install various man
|
|
|
|
# pages; if the names in "man_MANS" have suffixes, it can infer the
|
|
|
|
# sections from the name (e.g., "hello.1" goes in section 1), but if
|
|
|
|
# they don't have suffixes, it can't tell what sections to put them, and
|
|
|
|
# it just gives up and doesn't create any rules to install them (and it
|
|
|
|
# gives up silently, so you have no clue what's wrong).
|
|
|
|
#
|
|
|
|
# Therefore, we can't just set "man_MANS" to a list of variables to be
|
|
|
|
# filled in by the configure script, as those variables don't have man
|
|
|
|
# page section numbers.
|
|
|
|
#
|
|
|
|
# It turns out (although this is not documented anywhere I could find
|
|
|
|
# in the automake Info file) that if you define, instead, variables with
|
|
|
|
# names like "man{section}_MANS", automake will infer that the names in
|
|
|
|
# those variables are the names of man pages to be installed in section
|
|
|
|
# "{section}".
|
|
|
|
#
|
|
|
|
# So, as all our man pages go in section 1, we define "man1_MANS" to
|
|
|
|
# contain all the man page.
|
|
|
|
#
|
|
|
|
# *However*, if "man_MANS" isn't defined at all, automake concludes that
|
|
|
|
# there are no man pages, the fact that, say, "man1_MANS" is defined
|
|
|
|
# nonwithstanding! (I suspect this is the result of a mistaken attempt
|
|
|
|
# to get people to fix their automake files not to use "MANS"; if "MANS"
|
|
|
|
# is defined, it prints a warning and sets the exit status, but doesn't
|
|
|
|
# exit, and then it just gives up if "man_MANS" isn't defined,
|
|
|
|
# presumably on the theory that the only reason it wouldn't be defined
|
|
|
|
# is because the automake file uses the obsolete "MANS" variable instead
|
|
|
|
# of the shiny new "man_MANS" variable.)
|
|
|
|
#
|
|
|
|
# So we also define "man_MANS", but don't define it as anything;
|
|
|
|
# automake will arrange that the Makefile define it as the union of all
|
|
|
|
# the "man{section}_MANS" variables.
|
|
|
|
#
|
2006-12-30 01:15:05 +00:00
|
|
|
bin_PROGRAMS = \
|
|
|
|
@wireshark_bin@ \
|
|
|
|
@tshark_bin@ \
|
|
|
|
@text2pcap_bin@ \
|
|
|
|
@mergecap_bin@ \
|
|
|
|
@capinfos_bin@ \
|
|
|
|
@editcap_bin@ \
|
|
|
|
@randpkt_bin@ \
|
|
|
|
@dftest_bin@ \
|
2008-02-16 01:00:01 +00:00
|
|
|
@dumpcap_bin@ \
|
|
|
|
@rawshark_bin@
|
2006-05-31 00:23:01 +00:00
|
|
|
bin_SCRIPTS = @idl2wrs_bin@
|
2008-02-16 01:00:01 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
man1_MANS = \
|
|
|
|
@wireshark_man@ \
|
|
|
|
@tshark_man@ \
|
|
|
|
@text2pcap_man@ \
|
|
|
|
@mergecap_man@ \
|
|
|
|
@capinfos_man@ \
|
|
|
|
@editcap_man@ \
|
|
|
|
@dumpcap_man@ \
|
2008-02-16 01:00:01 +00:00
|
|
|
@idl2wrs_man@ \
|
|
|
|
@rawshark_man@
|
2006-05-31 19:12:15 +00:00
|
|
|
man4_MANS = @wiresharkfilter_man@
|
2002-08-31 09:55:22 +00:00
|
|
|
man_MANS =
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
|
2008-02-16 01:00:01 +00:00
|
|
|
randpkt text2pcap dumpcap rawshark
|
2006-05-31 15:00:02 +00:00
|
|
|
EXTRA_SCRIPTS = idl2wrs
|
|
|
|
|
|
|
|
idl2wrs: tools/idl2wrs.sh Makefile
|
2006-11-14 20:01:41 +00:00
|
|
|
cp tools/idl2wrs.sh idl2wrs
|
2006-05-31 15:00:02 +00:00
|
|
|
chmod +x idl2wrs
|
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
|
|
|
#
|
2007-08-12 21:46:50 +00:00
|
|
|
pkgdata_DATA = AUTHORS-SHORT COPYING manuf services wireshark.html \
|
|
|
|
tshark.html wireshark-filter.html capinfos.html editcap.html \
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
|
2008-02-22 20:03:36 +00:00
|
|
|
rawshark.html ws.css cfilters colorfilters dfilters smi_modules
|
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
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter_DATA = \
|
2005-12-18 18:15:24 +00:00
|
|
|
diameter/chargecontrol.xml \
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter/dictionary.dtd \
|
|
|
|
diameter/dictionary.xml \
|
2007-11-06 18:10:34 +00:00
|
|
|
diameter/Ericsson.xml \
|
2007-08-13 21:17:02 +00:00
|
|
|
diameter/etsie2e4.xml \
|
2007-06-12 11:09:22 +00:00
|
|
|
diameter/gqpolicy.xml \
|
2005-09-29 02:20:29 +00:00
|
|
|
diameter/imscxdx.xml \
|
|
|
|
diameter/mobileipv4.xml \
|
|
|
|
diameter/nasreq.xml \
|
2006-11-14 06:31:47 +00:00
|
|
|
diameter/sip.xml \
|
2005-12-18 18:15:24 +00:00
|
|
|
diameter/sunping.xml \
|
2008-01-31 21:53:26 +00:00
|
|
|
diameter/TGPPGmb.xml \
|
2005-12-18 18:15:24 +00:00
|
|
|
diameter/TGPPSh.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
|
|
|
|
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
|
|
|
|
radius_DATA = \
|
|
|
|
radius/dictionary \
|
|
|
|
radius/dictionary.3com \
|
|
|
|
radius/dictionary.3gpp \
|
|
|
|
radius/dictionary.3gpp2 \
|
|
|
|
radius/dictionary.acc \
|
|
|
|
radius/dictionary.alcatel \
|
|
|
|
radius/dictionary.alteon \
|
|
|
|
radius/dictionary.altiga \
|
|
|
|
radius/dictionary.aptis \
|
|
|
|
radius/dictionary.ascend \
|
|
|
|
radius/dictionary.bay \
|
|
|
|
radius/dictionary.bintec \
|
|
|
|
radius/dictionary.bristol \
|
|
|
|
radius/dictionary.cablelabs \
|
|
|
|
radius/dictionary.cabletron \
|
|
|
|
radius/dictionary.cisco \
|
|
|
|
radius/dictionary.cisco.bbsm \
|
|
|
|
radius/dictionary.cisco.vpn3000 \
|
|
|
|
radius/dictionary.cisco.vpn5000 \
|
|
|
|
radius/dictionary.colubris \
|
|
|
|
radius/dictionary.columbia_university \
|
|
|
|
radius/dictionary.compat \
|
|
|
|
radius/dictionary.cosine \
|
2005-09-28 05:16:51 +00:00
|
|
|
radius/dictionary.ericsson \
|
2005-07-15 21:18:32 +00:00
|
|
|
radius/dictionary.erx \
|
|
|
|
radius/dictionary.extreme \
|
|
|
|
radius/dictionary.foundry \
|
|
|
|
radius/dictionary.freeradius \
|
|
|
|
radius/dictionary.gandalf \
|
|
|
|
radius/dictionary.garderos \
|
|
|
|
radius/dictionary.gemtek \
|
|
|
|
radius/dictionary.itk \
|
|
|
|
radius/dictionary.juniper \
|
|
|
|
radius/dictionary.karlnet \
|
|
|
|
radius/dictionary.livingston \
|
|
|
|
radius/dictionary.localweb \
|
|
|
|
radius/dictionary.merit \
|
|
|
|
radius/dictionary.microsoft \
|
|
|
|
radius/dictionary.mikrotik \
|
|
|
|
radius/dictionary.navini \
|
|
|
|
radius/dictionary.netscreen \
|
|
|
|
radius/dictionary.nokia \
|
|
|
|
radius/dictionary.nomadix \
|
|
|
|
radius/dictionary.propel \
|
|
|
|
radius/dictionary.quintum \
|
|
|
|
radius/dictionary.redback \
|
|
|
|
radius/dictionary.redcreek \
|
|
|
|
radius/dictionary.shasta \
|
|
|
|
radius/dictionary.shiva \
|
|
|
|
radius/dictionary.sonicwall \
|
|
|
|
radius/dictionary.springtide \
|
|
|
|
radius/dictionary.t_systems_nova \
|
|
|
|
radius/dictionary.telebit \
|
|
|
|
radius/dictionary.trapeze \
|
|
|
|
radius/dictionary.tunnel \
|
|
|
|
radius/dictionary.unisphere \
|
|
|
|
radius/dictionary.unix \
|
|
|
|
radius/dictionary.usr \
|
|
|
|
radius/dictionary.valemount \
|
|
|
|
radius/dictionary.versanet \
|
|
|
|
radius/dictionary.wispr \
|
|
|
|
radius/dictionary.xedia
|
|
|
|
|
2007-11-11 13:23:17 +00:00
|
|
|
#
|
|
|
|
# Install the tpncp directory files in the "tpncp" subdirectory
|
|
|
|
# of that directory
|
|
|
|
#
|
|
|
|
tpncpdir = $(pkgdatadir)/tpncp
|
|
|
|
tpncp_DATA = \
|
|
|
|
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
|
|
|
|
wimaxasncp_DATA = \
|
|
|
|
wimaxasncp/dictionary.xml \
|
|
|
|
wimaxasncp/dictionary.dtd
|
|
|
|
|
2005-12-06 00:07:13 +00:00
|
|
|
PLATFORM_SRC = capture-pcap-util-unix.c
|
2004-02-22 08:30:41 +00:00
|
|
|
|
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
|
2006-01-31 22:22:05 +00:00
|
|
|
|
2001-07-20 02:40:42 +00:00
|
|
|
plugin_ldadd = \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/agentx/agentx.la \
|
|
|
|
-dlopen plugins/artnet/artnet.la \
|
|
|
|
-dlopen plugins/asn1/asn1.la \
|
|
|
|
-dlopen plugins/ciscosm/ciscosm.la \
|
|
|
|
-dlopen plugins/docsis/docsis.la \
|
|
|
|
-dlopen plugins/enttec/enttec.la \
|
2007-10-15 18:39:58 +00:00
|
|
|
-dlopen plugins/ethercat/ethercat.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/giop/cosnaming.la \
|
|
|
|
-dlopen plugins/giop/coseventcomm.la \
|
|
|
|
-dlopen plugins/gryphon/gryphon.la \
|
2008-03-14 17:47:53 +00:00
|
|
|
-dlopen plugins/infiniband/infiniband.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/irda/irda.la \
|
|
|
|
-dlopen plugins/lwres/lwres.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/opsi/opsi.la \
|
|
|
|
-dlopen plugins/pcli/pcli.la \
|
|
|
|
-dlopen plugins/profinet/profinet.la \
|
|
|
|
-dlopen plugins/rlm/rlm.la \
|
|
|
|
-dlopen plugins/rtnet/rtnet.la \
|
|
|
|
-dlopen plugins/rudp/rudp.la \
|
|
|
|
-dlopen plugins/sbus/sbus.la \
|
2008-05-10 14:44:32 +00:00
|
|
|
-dlopen plugins/sercosiii/sercosiii.la \
|
2006-12-30 04:40:59 +00:00
|
|
|
-dlopen plugins/stats_tree/stats_tree.la \
|
2007-08-20 20:50:29 +00:00
|
|
|
-dlopen plugins/unistim/unistim.la \
|
2007-05-25 23:40:42 +00:00
|
|
|
-dlopen plugins/v5ua/v5ua.la \
|
|
|
|
-dlopen plugins/wimax/wimax.la
|
2007-08-24 13:44:59 +00:00
|
|
|
|
2007-06-17 04:58:16 +00:00
|
|
|
WTAP_PLUGIN_SOURCES = \
|
|
|
|
epan/plugins.c \
|
|
|
|
epan/report_err.c \
|
|
|
|
epan/privileges.c \
|
|
|
|
epan/filesystem.c
|
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 =
|
2008-01-17 19:44:04 +00:00
|
|
|
WTAP_PLUGIN_SOURCES =
|
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
|
|
|
|
|
2000-01-08 19:37:11 +00:00
|
|
|
# Optional objects that I know how to build. These will be
|
2006-05-31 19:12:15 +00:00
|
|
|
# linked into the wireshark executable.
|
2006-05-31 17:38:42 +00:00
|
|
|
# They will also be linked into the tshark executable; if this
|
2000-01-15 08:08:20 +00:00
|
|
|
# list ever grows to include something that can't be linked with
|
2006-05-31 17:38:42 +00:00
|
|
|
# tshark, or if tshark needs something that wireshark doesn't,
|
2000-01-15 08:08:20 +00:00
|
|
|
# we should probably split this into stuff needed both
|
2006-05-31 17:38:42 +00:00
|
|
|
# by wireshark and tshark and stuff needed only by one or the
|
2000-01-15 08:08:20 +00:00
|
|
|
# other.
|
2006-07-20 10:34:01 +00:00
|
|
|
wireshark_optional_objects = @GETOPT_O@ @STRERROR_O@ \
|
2001-06-02 06:21:14 +00:00
|
|
|
@STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
if ENABLE_STATIC
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark_LDFLAGS = -Wl,-static -all-static
|
2003-03-02 22:11:26 +00:00
|
|
|
else
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark_LDFLAGS = -export-dynamic
|
2003-03-02 22:11:26 +00:00
|
|
|
endif
|
|
|
|
|
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
|
|
|
#
|
|
|
|
# Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
|
|
|
|
# they are included in @GTK_LIBS@, and doesn't have to be linked with
|
|
|
|
# @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
|
|
|
|
# @GTK_LIBS@ (as those are also needed for X applications, and GTK+
|
|
|
|
# applications are X applications).
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark_LDADD = \
|
|
|
|
$(wireshark_optional_objects) \
|
2006-12-30 04:40:59 +00:00
|
|
|
gtk/libui.a \
|
|
|
|
codecs/libcodec.a \
|
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2007-06-11 18:26:09 +00:00
|
|
|
@INET_PTON_LO@ \
|
2007-09-24 06:59:40 +00:00
|
|
|
@SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2004-03-13 10:15:36 +00:00
|
|
|
@PCRE_LIBS@ \
|
2006-02-04 23:44:05 +00:00
|
|
|
@PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@ \
|
2006-07-13 18:17:32 +00:00
|
|
|
@LIBICONV@ \
|
2006-07-19 14:02:22 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
2006-08-30 21:51:31 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
2007-11-30 00:45:12 +00:00
|
|
|
@LIBSMI_LDFLAGS@ \
|
2006-08-30 21:51:31 +00:00
|
|
|
@PORTAUDIO_LIBS@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2006-12-30 00:14:25 +00:00
|
|
|
if ENABLE_STATIC
|
|
|
|
tshark_LDFLAGS = -Wl,-static -all-static
|
|
|
|
else
|
|
|
|
tshark_LDFLAGS = -export-dynamic
|
|
|
|
endif
|
|
|
|
|
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 = \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(wireshark_optional_objects) \
|
2006-12-30 04:40:59 +00:00
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2007-06-11 18:26:09 +00:00
|
|
|
@INET_PTON_LO@ \
|
2007-09-24 06:59:40 +00:00
|
|
|
@SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2004-03-13 10:15:36 +00:00
|
|
|
@PCRE_LIBS@ \
|
2003-03-02 22:11:26 +00:00
|
|
|
@GLIB_LIBS@ -lm \
|
2007-11-10 00:57:41 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
|
|
|
|
@FRAMEWORKS@ \
|
2006-07-19 15:08:46 +00:00
|
|
|
@LIBICONV@ \
|
2006-07-19 14:02:22 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
2007-11-30 00:45:12 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
|
|
|
@LIBSMI_LDFLAGS@
|
2000-12-22 15:55:36 +00:00
|
|
|
|
2008-02-16 01:00:01 +00:00
|
|
|
if ENABLE_STATIC
|
|
|
|
rawshark_LDFLAGS = -Wl,-static -all-static
|
|
|
|
else
|
|
|
|
rawshark_LDFLAGS = -export-dynamic
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Libraries and plugin flags with which to link tshark.
|
|
|
|
rawshark_LDADD = \
|
|
|
|
$(wireshark_optional_objects) \
|
|
|
|
wiretap/libwiretap.la \
|
|
|
|
epan/libwireshark.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2008-02-16 01:00:01 +00:00
|
|
|
@INET_PTON_LO@ \
|
|
|
|
@SSL_LIBS@ \
|
|
|
|
$(plugin_ldadd) \
|
|
|
|
@PCRE_LIBS@ \
|
|
|
|
@GLIB_LIBS@ -lm \
|
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
|
|
|
|
@FRAMEWORKS@ \
|
|
|
|
@LIBICONV@ \
|
|
|
|
@LIBGCRYPT_LIBS@ \
|
|
|
|
@LIBGNUTLS_LIBS@ \
|
|
|
|
@LIBSMI_LDFLAGS@
|
|
|
|
|
2001-11-24 08:14:12 +00:00
|
|
|
# Optional objects that I know how to build, and that are needed by
|
|
|
|
# text2pcap.
|
|
|
|
text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
|
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link text2pcap.
|
|
|
|
text2pcap_LDADD = \
|
|
|
|
$(text2pcap_optional_objects) \
|
2007-10-16 18:28:27 +00:00
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2002-08-30 02:08:50 +00:00
|
|
|
@GLIB_LIBS@ -lm
|
2001-11-24 08:14:12 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link mergecap.
|
|
|
|
mergecap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2006-12-30 01:15:05 +00:00
|
|
|
@GLIB_LIBS@
|
2001-07-12 19:59:41 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link capinfos.
|
|
|
|
capinfos_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2008-03-16 00:58:15 +00:00
|
|
|
@GLIB_LIBS@
|
2006-12-30 00:14:25 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link editcap.
|
|
|
|
editcap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2008-03-16 00:58:15 +00:00
|
|
|
@GLIB_LIBS@
|
2000-01-15 08:08:20 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries with which to link randpkt.
|
|
|
|
randpkt_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2006-12-30 01:15:05 +00:00
|
|
|
@GLIB_LIBS@ -lm \
|
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
|
2006-12-30 00:14:25 +00:00
|
|
|
|
2006-12-30 01:15:05 +00:00
|
|
|
# Libraries and plugin flags with which to link dftest.
|
|
|
|
dftest_LDADD = \
|
|
|
|
$(wireshark_optional_objects) \
|
2006-12-30 04:40:59 +00:00
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +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) \
|
|
|
|
@PCRE_LIBS@ \
|
|
|
|
@GLIB_LIBS@ -lm \
|
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
|
|
|
|
@LIBICONV@ \
|
|
|
|
@LIBGCRYPT_LIBS@ \
|
2007-11-30 00:45:12 +00:00
|
|
|
@LIBGNUTLS_LIBS@ \
|
|
|
|
@LIBSMI_LDFLAGS@
|
2006-12-30 01:15:05 +00:00
|
|
|
|
|
|
|
# Libraries with which to link dumpcap.
|
|
|
|
dumpcap_LDADD = \
|
|
|
|
wiretap/libwiretap.la \
|
2008-05-20 21:51:01 +00:00
|
|
|
wsutil/libwsutil.la \
|
2007-06-11 18:26:09 +00:00
|
|
|
@INET_NTOP_LO@ \
|
2006-12-30 01:15:05 +00:00
|
|
|
@GLIB_LIBS@ \
|
2007-11-10 00:57:41 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @FRAMEWORKS@ \
|
2007-11-20 16:53:01 +00:00
|
|
|
@LIBGCRYPT_LIBS@ \
|
|
|
|
@LIBCAP_LIBS@
|
1998-10-12 01:40:57 +00:00
|
|
|
|
2003-09-10 07:17:21 +00:00
|
|
|
# Common headers
|
2006-11-07 08:41:46 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
|
2007-11-30 00:45:12 +00:00
|
|
|
$(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS)
|
2003-09-10 07:17:21 +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:
|
|
|
|
|
2004-07-15 21:09:33 +00:00
|
|
|
svnversion.h: FORCE
|
2007-12-06 11:51:21 +00:00
|
|
|
LANG=C $(PERL) $(srcdir)/make-version.pl $(srcdir)
|
2004-01-16 20:04:21 +00:00
|
|
|
|
2004-05-22 07:24:28 +00:00
|
|
|
#
|
|
|
|
# Build the short version of the authors file for the about dialog
|
|
|
|
#
|
2004-10-17 23:03:11 +00:00
|
|
|
AUTHORS-SHORT: AUTHORS make-authors-short.pl
|
2005-02-24 09:08:20 +00:00
|
|
|
$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl < $(srcdir)/AUTHORS > AUTHORS-SHORT
|
2004-10-17 23:03:11 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the short version of the authors file with formatting codes for the
|
|
|
|
# man page
|
|
|
|
#
|
|
|
|
AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
|
|
|
|
$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
|
2004-05-22 07:24:28 +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 $@
|
|
|
|
|
2004-07-21 09:00:56 +00:00
|
|
|
#
|
2006-05-31 17:38:42 +00:00
|
|
|
# Build "tshark-tap-register.c", which contains a function
|
2004-07-21 09:00:56 +00:00
|
|
|
# "register_all_tap_listeners()"
|
2006-05-31 17:38:42 +00:00
|
|
|
# that calls the register routines for all tshark tap listeners.
|
2004-07-21 09:00:56 +00:00
|
|
|
#
|
|
|
|
# We do this by grepping through sources.
|
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the tap_listener_register_*
|
|
|
|
# routines must start in column zero, or must be preceded only by
|
|
|
|
# "void " starting in column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# The first argument is the directory in which the source files live.
|
|
|
|
# All subsequent arguments are the files to scan.
|
|
|
|
#
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark-tap-register.c: $(TSHARK_TAP_SRC) $(srcdir)/make-tapreg-dotc
|
|
|
|
@echo Making tshark-tap-register.c
|
|
|
|
@$(srcdir)/make-tapreg-dotc tshark-tap-register.c $(srcdir) $(TSHARK_TAP_SRC)
|
2005-07-12 12:44:42 +00:00
|
|
|
|
1998-09-16 02:39:15 +00:00
|
|
|
ps.c: print.ps rdps
|
1999-08-07 17:28:21 +00:00
|
|
|
./rdps $(srcdir)/print.ps ps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
rdps: rdps.c
|
2007-02-06 06:24:34 +00:00
|
|
|
$(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
|
1998-09-16 02:39:15 +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
|
|
|
#
|
|
|
|
# XXX - "svnversion.h" is distributed in the release tarball; should
|
|
|
|
# we be deleting it with "make clean", or should we only do that with
|
|
|
|
# "make maintainer-clean"?
|
|
|
|
#
|
|
|
|
CLEANFILES = \
|
|
|
|
svnversion.h \
|
|
|
|
@rdps_bin@ \
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs \
|
2005-09-07 20:49:16 +00:00
|
|
|
*~ \
|
|
|
|
vgcore.pid*
|
2001-09-15 23:01:12 +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
|
|
|
#
|
|
|
|
# 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 = \
|
2005-03-04 17:42:42 +00:00
|
|
|
AUTHORS-SHORT \
|
|
|
|
AUTHORS-SHORT-FORMAT \
|
2008-02-24 02:00:40 +00:00
|
|
|
ps.c \
|
|
|
|
ws.css
|
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 \
|
|
|
|
config.h.in \
|
|
|
|
configure \
|
|
|
|
depcomp \
|
|
|
|
install-sh \
|
|
|
|
ltmain.sh \
|
|
|
|
missing
|
2003-02-27 02:28:37 +00:00
|
|
|
|
1999-07-15 15:33:52 +00:00
|
|
|
EXTRA_DIST = \
|
2002-08-28 08:24:24 +00:00
|
|
|
FAQ \
|
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 \
|
|
|
|
README.hpux \
|
|
|
|
README.irix \
|
|
|
|
README.linux \
|
2004-03-17 19:57:28 +00:00
|
|
|
README.macos \
|
2002-08-28 08:24:24 +00:00
|
|
|
README.tru64 \
|
|
|
|
README.vmware \
|
|
|
|
README.win32 \
|
2002-09-29 19:10:07 +00:00
|
|
|
aclocal-fallback/glib-2.0.m4 \
|
|
|
|
aclocal-fallback/glib.m4 \
|
|
|
|
aclocal-fallback/gtk-2.0.m4 \
|
|
|
|
aclocal-fallback/gtk.m4 \
|
2006-07-13 18:17:32 +00:00
|
|
|
aclocal-fallback/iconv.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
|
|
|
aclocal-flags \
|
2008-04-27 10:54:25 +00:00
|
|
|
adns_dll.dep \
|
|
|
|
adns_dll.rc \
|
2002-08-28 08:24:24 +00:00
|
|
|
autogen.sh \
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.c \
|
2001-04-03 05:26:27 +00:00
|
|
|
capture-wpcap.c \
|
|
|
|
capture-wpcap.h \
|
2005-06-09 18:24:55 +00:00
|
|
|
capture_wpcap_packet.c \
|
|
|
|
capture_wpcap_packet.h \
|
2005-07-10 08:04:27 +00:00
|
|
|
cfilters \
|
2005-06-09 18:24:55 +00:00
|
|
|
colorfilters \
|
1999-07-15 15:33:52 +00:00
|
|
|
config.h.win32 \
|
2000-03-03 12:01:22 +00:00
|
|
|
config.nmake \
|
2000-01-26 07:00:26 +00:00
|
|
|
debian/README.debian \
|
|
|
|
debian/changelog \
|
|
|
|
debian/control \
|
|
|
|
debian/copyright \
|
|
|
|
debian/dirs \
|
|
|
|
debian/docs \
|
|
|
|
debian/menu \
|
|
|
|
debian/postinst \
|
|
|
|
debian/prerm \
|
|
|
|
debian/rules \
|
2005-07-10 08:04:27 +00:00
|
|
|
dfilters \
|
|
|
|
doc/Makefile.am \
|
|
|
|
doc/Makefile.nmake \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/README.binarytrees \
|
2005-07-10 08:04:27 +00:00
|
|
|
doc/README.capture \
|
|
|
|
doc/README.design \
|
|
|
|
doc/README.developer \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/README.display_filter \
|
2006-05-31 00:23:01 +00:00
|
|
|
doc/README.idl2wrs \
|
2006-01-03 23:17:49 +00:00
|
|
|
doc/README.malloc \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/README.packaging \
|
2005-07-10 08:04:27 +00:00
|
|
|
doc/README.plugins \
|
2000-05-12 05:47:00 +00:00
|
|
|
doc/README.regression \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/README.request_response_tracking \
|
2006-01-03 23:17:49 +00:00
|
|
|
doc/README.stats_tree \
|
2003-01-16 07:10:24 +00:00
|
|
|
doc/README.tapping \
|
2003-12-06 06:09:13 +00:00
|
|
|
doc/README.xml-output \
|
2004-10-20 18:50:58 +00:00
|
|
|
doc/capinfos.pod \
|
2000-07-28 16:30:28 +00:00
|
|
|
doc/dfilter2pod.pl \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/dumpcap.pod \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/editcap.pod \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/eproto2sgml \
|
2006-05-31 00:23:01 +00:00
|
|
|
doc/idl2wrs.pod \
|
2001-07-12 19:59:41 +00:00
|
|
|
doc/mergecap.pod \
|
1999-09-24 04:59:52 +00:00
|
|
|
doc/randpkt.txt \
|
2008-02-15 23:20:32 +00:00
|
|
|
doc/rawshark.pod \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/sgml.doc.template \
|
2001-06-18 05:27:18 +00:00
|
|
|
doc/text2pcap.pod \
|
2007-07-13 22:09:58 +00:00
|
|
|
doc/tshark.pod \
|
|
|
|
doc/wireshark-filter.pod.template \
|
|
|
|
doc/wireshark.pod \
|
2005-02-20 05:06:28 +00:00
|
|
|
docbook/Makefile.auto.am \
|
2008-02-24 02:00:40 +00:00
|
|
|
docbook/ws.css \
|
2004-06-25 07:10:55 +00:00
|
|
|
doxygen.cfg.in \
|
2005-11-28 08:54:52 +00:00
|
|
|
dumpcap.c \
|
1999-12-22 20:10:49 +00:00
|
|
|
editcap.c \
|
2006-05-31 00:23:01 +00:00
|
|
|
epan/libwireshark.def \
|
2007-01-10 21:48:22 +00:00
|
|
|
example_snmp_users_file \
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark.desktop \
|
2004-10-20 18:50:58 +00:00
|
|
|
image/capinfos.rc.in \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/clist_ascend.xpm \
|
|
|
|
image/clist_descend.xpm \
|
|
|
|
image/dn_arrow.xpm \
|
2005-11-28 08:54:52 +00:00
|
|
|
image/dumpcap.rc.in \
|
2001-04-10 16:19:34 +00:00
|
|
|
image/editcap.rc.in \
|
2008-04-14 23:29:54 +00:00
|
|
|
image/expert_chat.xpm \
|
|
|
|
image/expert_error.xpm \
|
|
|
|
image/expert_none.xpm \
|
|
|
|
image/expert_note.xpm \
|
|
|
|
image/expert_warn.xpm \
|
|
|
|
image/file_dlg_win32.rc \
|
2006-06-07 02:49:58 +00:00
|
|
|
image/hi16-app-wireshark.png \
|
|
|
|
image/hi32-app-wireshark.png \
|
|
|
|
image/hi48-app-wireshark.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/icon_layout_1.xpm \
|
|
|
|
image/icon_layout_2.xpm \
|
|
|
|
image/icon_layout_3.xpm \
|
|
|
|
image/icon_layout_4.xpm \
|
|
|
|
image/icon_layout_5.xpm \
|
|
|
|
image/icon_layout_6.xpm \
|
2006-05-31 00:23:01 +00:00
|
|
|
image/libwireshark.rc.in \
|
2006-06-07 02:49:58 +00:00
|
|
|
image/lo16-app-wireshark.png \
|
|
|
|
image/lo32-app-wireshark.png \
|
|
|
|
image/lo48-app-wireshark.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/Makefile.nmake \
|
2001-07-23 18:29:32 +00:00
|
|
|
image/mergecap.rc.in \
|
2002-07-11 18:43:35 +00:00
|
|
|
image/nsis-checked.bmp \
|
|
|
|
image/nsis-unchecked.bmp \
|
2008-02-19 09:45:59 +00:00
|
|
|
image/rawshark.rc.in \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/README.image \
|
2004-02-01 04:34:53 +00:00
|
|
|
image/stock_dialog_error_48.xpm \
|
|
|
|
image/stock_dialog_info_48.xpm \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/stock_dialog_question_48.xpm \
|
2005-09-20 01:45:35 +00:00
|
|
|
image/stock_dialog_stop_48.xpm \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/stock_dialog_warning_48.xpm \
|
2001-05-21 05:04:49 +00:00
|
|
|
image/text2pcap.rc.in \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/autoscroll_24.xpm \
|
2006-08-24 16:19:49 +00:00
|
|
|
image/toolbar/capture_airpcap_16.xpm \
|
|
|
|
image/toolbar/capture_capture_16.xpm \
|
|
|
|
image/toolbar/capture_details_16.xpm \
|
2006-08-25 07:24:58 +00:00
|
|
|
image/toolbar/capture_details_24.xpm \
|
2006-08-24 16:19:49 +00:00
|
|
|
image/toolbar/capture_ethernet_16.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/capture_filter_24.xpm \
|
|
|
|
image/toolbar/capture_interfaces_24.xpm \
|
|
|
|
image/toolbar/capture_options_24.xpm \
|
2006-08-24 16:19:49 +00:00
|
|
|
image/toolbar/capture_prepare_16.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/capture_restart_24.xpm \
|
|
|
|
image/toolbar/capture_start_24.xpm \
|
|
|
|
image/toolbar/capture_stop_24.xpm \
|
2005-04-17 21:38:52 +00:00
|
|
|
image/toolbar/checkbox_16.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/colorize_24.xpm \
|
|
|
|
image/toolbar/conversations_16.xpm \
|
2005-04-17 21:38:52 +00:00
|
|
|
image/toolbar/decode_as_16.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/display_filter_24.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/endpoints_16.xpm \
|
2008-04-14 02:09:54 +00:00
|
|
|
image/toolbar/expert_info_16.xpm \
|
2005-05-07 20:47:39 +00:00
|
|
|
image/toolbar/file_set_list_16.xpm \
|
|
|
|
image/toolbar/file_set_next_16.xpm \
|
|
|
|
image/toolbar/file_set_previous_16.xpm \
|
2008-04-14 02:09:54 +00:00
|
|
|
image/toolbar/flow_graph_16.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/graphs_16.xpm \
|
2007-12-14 17:49:53 +00:00
|
|
|
image/toolbar/icon_color_0.xpm \
|
|
|
|
image/toolbar/icon_color_1.xpm \
|
|
|
|
image/toolbar/icon_color_2.xpm \
|
|
|
|
image/toolbar/icon_color_3.xpm \
|
|
|
|
image/toolbar/icon_color_4.xpm \
|
|
|
|
image/toolbar/icon_color_5.xpm \
|
|
|
|
image/toolbar/icon_color_6.xpm \
|
|
|
|
image/toolbar/icon_color_7.xpm \
|
|
|
|
image/toolbar/icon_color_8.xpm \
|
|
|
|
image/toolbar/icon_color_9.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/internet_24.xpm \
|
|
|
|
image/toolbar/resize_columns_24.xpm \
|
|
|
|
image/toolbar/telephony_16.xpm \
|
|
|
|
image/toolbar/time_24.xpm \
|
|
|
|
image/toolbar/web_support_24.xpm \
|
2006-08-24 16:19:49 +00:00
|
|
|
image/toolbar/wep_closed_24.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/wiki_24.xpm \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/tshark.rc.in \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/up_arrow.xpm \
|
2006-11-06 14:20:59 +00:00
|
|
|
image/wiresharkdoc.ico \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wireshark.exe.manifest.in \
|
|
|
|
image/wireshark.ico \
|
2008-04-14 23:29:54 +00:00
|
|
|
image/wiresharkinst.ico \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wireshark.rc.in \
|
2004-08-12 22:45:59 +00:00
|
|
|
image/wiretap.rc.in \
|
2006-05-31 23:20:27 +00:00
|
|
|
image/wsicon16.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wsicon16.xpm \
|
2006-11-04 00:35:04 +00:00
|
|
|
image/wsicon256.png \
|
2006-05-31 23:20:27 +00:00
|
|
|
image/wsicon32.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wsicon32.xpm \
|
2006-05-31 23:20:27 +00:00
|
|
|
image/wsicon48.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wsicon48.xpm \
|
2006-05-31 23:20:27 +00:00
|
|
|
image/wsicon64.png \
|
2006-06-05 01:40:49 +00:00
|
|
|
image/wsicon64.xpm \
|
2006-06-07 02:49:58 +00:00
|
|
|
image/wsiconcap16.xpm \
|
2006-11-04 00:35:04 +00:00
|
|
|
image/wsiconcap256.png \
|
2006-06-07 02:49:58 +00:00
|
|
|
image/wsiconcap32.xpm \
|
|
|
|
image/wsiconcap48.xpm \
|
2008-04-14 23:29:54 +00:00
|
|
|
image/wsiconcap.svg \
|
2006-11-04 00:35:04 +00:00
|
|
|
image/wsicondoc256.png \
|
2008-04-14 23:29:54 +00:00
|
|
|
image/wsicondoc.svg \
|
2007-02-02 20:07:58 +00:00
|
|
|
image/wsiconinst256.png \
|
2008-04-14 23:29:54 +00:00
|
|
|
image/wsiconinst.svg \
|
|
|
|
image/wsicon.svg \
|
2006-06-07 02:49:58 +00:00
|
|
|
image/wslogo.eps \
|
2006-05-31 23:20:27 +00:00
|
|
|
image/wslogo.svg \
|
|
|
|
image/wssplash.xpm \
|
2004-10-17 23:03:11 +00:00
|
|
|
make-authors-format.pl \
|
2004-05-22 07:24:28 +00:00
|
|
|
make-authors-short.pl \
|
2001-09-18 21:29:56 +00:00
|
|
|
make-manuf \
|
2003-10-15 19:40:42 +00:00
|
|
|
make-tapreg-dotc \
|
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 \
|
2002-08-28 08:24:24 +00:00
|
|
|
mergecap.c \
|
2004-10-17 23:03:11 +00:00
|
|
|
perlnoutf.pl \
|
2005-07-10 08:04:27 +00:00
|
|
|
print.ps \
|
2005-09-29 02:20:29 +00:00
|
|
|
$(diameter_DATA) \
|
|
|
|
$(dtds_DATA) \
|
|
|
|
$(radius_DATA) \
|
2007-11-11 13:23:17 +00:00
|
|
|
$(tpncp_DATA) \
|
2007-11-20 21:27:45 +00:00
|
|
|
$(wimaxasncp_DATA) \
|
1999-09-24 04:59:52 +00:00
|
|
|
randpkt.c \
|
1999-12-01 20:58:49 +00:00
|
|
|
rdps.c \
|
2007-11-20 21:27:45 +00:00
|
|
|
smi_modules \
|
2005-07-10 08:04:27 +00:00
|
|
|
text2pcap-scanner.l \
|
|
|
|
text2pcap.c \
|
|
|
|
text2pcap.h \
|
2008-02-26 00:52:12 +00:00
|
|
|
packaging/makefile.nmake \
|
|
|
|
packaging/ws-manifest.pl \
|
2007-11-20 21:27:45 +00:00
|
|
|
packaging/portableapps/win32/Installer.nsi \
|
|
|
|
packaging/portableapps/win32/WiresharkPortable.ini \
|
|
|
|
packaging/portableapps/win32/WiresharkPortable.nsi \
|
|
|
|
packaging/portableapps/win32/appinfo.tmpl \
|
|
|
|
packaging/portableapps/win32/makefile.nmake \
|
2008-02-26 00:52:12 +00:00
|
|
|
packaging/portableapps/win32/makenmake.pl \
|
2007-11-20 21:27:45 +00:00
|
|
|
packaging/portableapps/win32/readme.txt \
|
2006-10-06 17:50:51 +00:00
|
|
|
packaging/u3/win32/README.txt \
|
|
|
|
packaging/u3/win32/makefile.nmake \
|
2008-02-26 00:52:12 +00:00
|
|
|
packaging/u3/win32/makenmake.pl \
|
2006-10-06 17:50:51 +00:00
|
|
|
packaging/u3/win32/manifest.tmpl \
|
|
|
|
packaging/u3/win32/u3util.c \
|
2007-12-12 22:13:58 +00:00
|
|
|
packaging/u3/win32/wireshark.bat \
|
|
|
|
packaging/u3/tools/README.txt \
|
|
|
|
packaging/u3/tools/makefile.nmake \
|
|
|
|
packaging/u3/tools/sysdep.c \
|
|
|
|
packaging/u3/tools/sysdep.h \
|
|
|
|
packaging/u3/tools/utest.c \
|
|
|
|
packaging/u3/tools/uuid.c \
|
|
|
|
packaging/u3/tools/uuid.h \
|
2007-11-20 21:27:45 +00:00
|
|
|
services \
|
|
|
|
tools/idl2wrs.sh.in \
|
|
|
|
tools/setuid-root.pl.in \
|
2006-03-12 16:41:34 +00:00
|
|
|
wka.tmpl
|
1998-11-12 00:06:47 +00:00
|
|
|
|
2000-02-11 03:17:58 +00:00
|
|
|
if SETUID_INSTALL
|
|
|
|
install-exec-hook:
|
2006-02-14 14:42:37 +00:00
|
|
|
-chmod +s $(DESTDIR)$(bindir)/dumpcap
|
2000-02-15 21:17:57 +00:00
|
|
|
else
|
|
|
|
install-exec-hook:
|
2000-02-11 03:17:58 +00:00
|
|
|
endif
|
|
|
|
|
2008-05-20 21:51:01 +00:00
|
|
|
DIST_SUBDIRS = asn1 codecs doc epan gtk help packaging plugins tools wiretap wsutil
|
2002-09-07 10:04:41 +00:00
|
|
|
|
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-05-20 21:51:01 +00:00
|
|
|
SUBDIRS = tools wsutil wiretap doc epan plugins packaging help @wireshark_SUBDIRS@
|
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
|
|
|
else
|
2008-05-20 21:51:01 +00:00
|
|
|
SUBDIRS = tools wsutil wiretap doc epan packaging help @wireshark_SUBDIRS@
|
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
|
|
|
endif
|
1999-05-16 04:27:08 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark.1: doc/wireshark.pod AUTHORS-SHORT-FORMAT
|
1999-05-16 04:27:08 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(MAKE) ../wireshark.1 )
|
1999-08-11 16:25:07 +00:00
|
|
|
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark.1: doc/tshark.pod
|
2000-01-14 06:46:00 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 17:38:42 +00:00
|
|
|
$(MAKE) ../tshark.1 )
|
2000-01-14 06:46:00 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-filter.4: tshark doc/wireshark-filter.pod.template
|
2003-10-01 15:09:32 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(MAKE) ../wireshark-filter.4 )
|
2003-10-01 15:09:32 +00:00
|
|
|
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.1: doc/capinfos.pod
|
2004-07-28 20:51:29 +00:00
|
|
|
(cd doc ; \
|
2004-10-20 18:50:58 +00:00
|
|
|
$(MAKE) ../capinfos.1 )
|
2004-07-28 20:51:29 +00:00
|
|
|
|
2000-01-09 20:28:26 +00:00
|
|
|
editcap.1: doc/editcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../editcap.1 )
|
|
|
|
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs.1: doc/idl2wrs.pod
|
2001-07-30 21:40:13 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 00:23:01 +00:00
|
|
|
$(MAKE) ../idl2wrs.1 )
|
2001-07-30 21:40:13 +00:00
|
|
|
|
2001-07-12 19:59:41 +00:00
|
|
|
mergecap.1: doc/mergecap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../mergecap.1 )
|
|
|
|
|
2001-05-16 21:32:05 +00:00
|
|
|
text2pcap.1: doc/text2pcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../text2pcap.1 )
|
|
|
|
|
2006-02-12 01:40:20 +00:00
|
|
|
dumpcap.1: doc/dumpcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../dumpcap.1 )
|
|
|
|
|
2008-02-15 23:20:32 +00:00
|
|
|
rawshark.1: doc/rawshark.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../rawshark.1 )
|
|
|
|
|
2008-02-24 02:00:40 +00:00
|
|
|
ws.css: $(srcdir)/docbook/ws.css
|
|
|
|
cp $(srcdir)/docbook/ws.css .
|
2008-02-22 20:03:36 +00:00
|
|
|
|
|
|
|
wireshark.html: doc/wireshark.pod AUTHORS-SHORT-FORMAT ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(MAKE) ../wireshark.html )
|
2004-06-23 08:39:07 +00:00
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
tshark.html: doc/tshark.pod ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 17:38:42 +00:00
|
|
|
$(MAKE) ../tshark.html )
|
2004-06-23 08:39:07 +00:00
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
wireshark-filter.html: tshark doc/wireshark-filter.pod.template ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(MAKE) ../wireshark-filter.html )
|
2004-06-23 08:39:07 +00:00
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
capinfos.html: doc/capinfos.pod ws.css
|
2004-07-28 20:51:29 +00:00
|
|
|
(cd doc ; \
|
2004-10-20 18:50:58 +00:00
|
|
|
$(MAKE) ../capinfos.html )
|
2004-07-28 20:51:29 +00:00
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
editcap.html: doc/editcap.pod ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../editcap.html )
|
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
idl2wrs.html: doc/idl2wrs.pod ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
2006-05-31 00:23:01 +00:00
|
|
|
$(MAKE) ../idl2wrs.html )
|
2004-06-23 08:39:07 +00:00
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
mergecap.html: doc/mergecap.pod ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../mergecap.html )
|
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
text2pcap.html: doc/text2pcap.pod ws.css
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../text2pcap.html )
|
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
dumpcap.html: doc/dumpcap.pod ws.css
|
2006-02-12 01:40:20 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../dumpcap.html )
|
|
|
|
|
2008-02-22 20:03:36 +00:00
|
|
|
rawshark.html: doc/rawshark.pod ws.css
|
2008-02-15 23:20:32 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../rawshark.html )
|
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|
2000-07-22 04:10:23 +00:00
|
|
|
|
2008-03-15 18:31:52 +00:00
|
|
|
# Used by svr4-package and osx-package
|
2000-07-22 04:10:23 +00:00
|
|
|
# We load top_stagedir with an explicit path so that libtool doesn't freak.
|
2008-03-15 18:31:52 +00:00
|
|
|
top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
|
|
|
|
stagedir=$(top_stagedir)/$(PACKAGE).inst
|
|
|
|
|
2000-07-22 04:10:23 +00:00
|
|
|
host_cpu=@host_cpu@
|
|
|
|
host_os=@host_os@
|
|
|
|
|
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
|
|
|
|
|
|
|
|
solaris-package: svr4-package
|
|
|
|
|
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
|
2002-01-20 23:05:25 +00:00
|
|
|
if test x$(HAVE_RPM) = xyes ; then \
|
|
|
|
cd $(rpm_topdir) ; \
|
2002-08-20 01:06:29 +00:00
|
|
|
mkdir -p BUILD RPMS SOURCES ; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd SOURCES ; \
|
|
|
|
ln -s ../../../$(distdir).tar.gz ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
ln -s ../../../wireshark.desktop ; \
|
2006-06-05 19:32:44 +00:00
|
|
|
ln -s ../../../image/wsicon64.png wireshark.png ; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd .. ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
|
2002-01-20 23:05:25 +00:00
|
|
|
echo "Package successfully built in `pwd`/RPMS." ; \
|
2000-07-26 03:39:11 +00:00
|
|
|
else \
|
|
|
|
echo "Error: RPM executable and/or source directory not found." ; \
|
|
|
|
fi
|
|
|
|
srpm-package: dist
|
2002-01-20 23:05:25 +00:00
|
|
|
if test x$(HAVE_RPM) = xyes ; then \
|
|
|
|
cd $(rpm_topdir) ; \
|
2002-08-20 01:06:29 +00:00
|
|
|
mkdir -p BUILD SRPMS SOURCES ; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd SOURCES ; \
|
|
|
|
ln -s ../../../$(distdir).tar.gz ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
ln -s ../../../wireshark.desktop ; \
|
2006-08-31 13:12:09 +00:00
|
|
|
ln -s ../../../image/wsicon64.png wireshark.png ; \
|
2002-01-20 23:05:25 +00:00
|
|
|
cd .. ; \
|
2006-05-31 19:12:15 +00:00
|
|
|
rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/wireshark.spec && \
|
2002-01-20 23:05:25 +00:00
|
|
|
echo "Package successfully built in `pwd`/SRPMS." ; \
|
2000-07-26 03:39:11 +00:00
|
|
|
else \
|
|
|
|
echo "Error: RPM executable and/or source directory not found." ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
debian-package: debian/rules
|
2008-04-04 06:24:10 +00:00
|
|
|
@if test x$(HAVE_DPKG_BUILDPACKAGE) = xyes ; then \
|
2008-03-15 18:31:52 +00:00
|
|
|
dpkg-buildpackage -rfakeroot -us -uc ; \
|
|
|
|
else \
|
|
|
|
echo "Error: Debian packaging tools not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
# XXX - This assumes we're building from the source directory.
|
|
|
|
osx-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
|
|
|
|
@if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
|
|
|
|
rm -rf $(stagedir) ; \
|
|
|
|
$(MAKE) DESTDIR=$(stagedir) install; \
|
|
|
|
cd $(srcdir)/packaging/macosx ; \
|
|
|
|
./osx-app.sh -bp ../staging/$(PACKAGE).inst/$(bindir) ; \
|
|
|
|
./osx-dmg.sh ; \
|
|
|
|
else \
|
|
|
|
echo "Error: OS X packaging tools not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
2000-07-22 04:10:23 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_stagedir)
|
2003-01-21 00:39:57 +00:00
|
|
|
|