1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Ethereal
|
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
1999-09-09 03:45:57 +00:00
|
|
|
#
|
|
|
|
# Ethereal - Network traffic analyzer
|
2001-05-27 07:07:34 +00:00
|
|
|
# By Gerald Combs <gerald@ethereal.com>
|
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
|
|
|
|
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.
|
|
|
|
#
|
2004-10-20 18:50:58 +00:00
|
|
|
bin_PROGRAMS = @ethereal_bin@ @capinfos_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@
|
2001-09-15 23:01:12 +00:00
|
|
|
bin_SCRIPTS = @idl2eth_bin@
|
2004-10-20 18:50:58 +00:00
|
|
|
man1_MANS = @ethereal_man@ @capinfos_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @idl2eth_man@
|
2003-10-01 15:09:32 +00:00
|
|
|
man4_MANS = @etherealfilter_man@
|
2002-08-31 09:55:22 +00:00
|
|
|
man_MANS =
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2004-10-20 18:50:58 +00:00
|
|
|
EXTRA_PROGRAMS = ethereal tethereal capinfos editcap mergecap dftest \
|
2004-07-28 20:51:29 +00:00
|
|
|
randpkt text2pcap
|
2001-09-15 23:01:12 +00:00
|
|
|
EXTRA_SCRIPTS = idl2eth
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2002-06-01 22:11:17 +00:00
|
|
|
#
|
2003-03-25 23:33:38 +00:00
|
|
|
# Ethereal configuration files are put in $(pkgdatadir). It currently
|
2004-05-22 07:24:28 +00:00
|
|
|
# contains the "AUTHORS-SHORT" and "manuf" files and a "diameter" directory.
|
2002-06-01 22:11:17 +00:00
|
|
|
#
|
2004-06-23 08:39:07 +00:00
|
|
|
pkgdata_DATA = AUTHORS-SHORT manuf ethereal.html tethereal.html \
|
2004-10-20 18:50:58 +00:00
|
|
|
ethereal-filter.html capinfos.html editcap.html \
|
2004-07-28 20:51:29 +00:00
|
|
|
idl2eth.html mergecap.html text2pcap.html
|
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
|
2004-10-11 08:24:46 +00:00
|
|
|
diameter_DATA = dictionary.dtd dictionary.xml imscxdx.xml mobileipv4.xml \
|
2001-11-01 21:52:44 +00:00
|
|
|
nasreq.xml sunping.xml
|
1998-09-25 23:24:07 +00:00
|
|
|
|
2004-02-22 08:30:41 +00:00
|
|
|
PLATFORM_SRC = pcap-util-unix.c
|
|
|
|
|
2004-01-21 21:46:59 +00:00
|
|
|
include Makefile.common
|
2000-05-11 07:34:32 +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
|
2003-03-02 22:11:26 +00:00
|
|
|
plugin_libs = \
|
2003-10-14 01:18:11 +00:00
|
|
|
plugins/acn/acn.la \
|
2005-02-10 06:36:21 +00:00
|
|
|
plugins/agentx/agentx.la \
|
2003-04-21 21:28:39 +00:00
|
|
|
plugins/artnet/artnet.la \
|
2003-12-06 16:35:20 +00:00
|
|
|
plugins/asn1/asn1.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/ciscosm/ciscosm.la \
|
2003-03-02 22:11:26 +00:00
|
|
|
plugins/docsis/docsis.la \
|
2003-11-17 20:57:14 +00:00
|
|
|
plugins/enttec/enttec.la \
|
2003-03-02 22:11:26 +00:00
|
|
|
plugins/giop/cosnaming.la \
|
|
|
|
plugins/giop/coseventcomm.la \
|
|
|
|
plugins/gryphon/gryphon.la \
|
2003-12-18 19:07:14 +00:00
|
|
|
plugins/irda/irda.la \
|
2003-08-05 05:09:37 +00:00
|
|
|
plugins/lwres/lwres.la \
|
2003-03-02 22:11:26 +00:00
|
|
|
plugins/megaco/megaco.la \
|
|
|
|
plugins/mgcp/mgcp.la \
|
2004-07-21 06:31:33 +00:00
|
|
|
plugins/opsi/opsi.la \
|
2003-06-11 09:17:03 +00:00
|
|
|
plugins/pcli/pcli.la \
|
2005-05-02 22:15:00 +00:00
|
|
|
plugins/profinet/profinet.la \
|
2003-11-17 20:57:14 +00:00
|
|
|
plugins/rdm/rdm.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/rlm/rlm.la \
|
2003-12-17 05:16:21 +00:00
|
|
|
plugins/rtnet/rtnet.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/rudp/rudp.la \
|
2003-12-17 05:16:21 +00:00
|
|
|
plugins/v5ua/v5ua.la
|
2001-07-08 21:51:34 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
if ENABLE_STATIC
|
2005-02-24 07:23:18 +00:00
|
|
|
plugin_ldadd = $(plugin_libs)
|
|
|
|
|
|
|
|
dummyddd = \
|
2003-10-14 01:18:11 +00:00
|
|
|
plugins/acn/packet-acn.o \
|
2005-02-10 06:36:21 +00:00
|
|
|
plugins/agentx/packet-agentx.o \
|
2003-09-05 07:44:50 +00:00
|
|
|
plugins/artnet/packet-artnet.o \
|
2003-12-06 16:35:20 +00:00
|
|
|
plugins/asn1/packet-asn1.o \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/ciscosm/packet-sm.o \
|
2003-09-05 07:44:50 +00:00
|
|
|
plugins/docsis/packet-bpkmattr.o \
|
|
|
|
plugins/docsis/packet-bpkmreq.o \
|
|
|
|
plugins/docsis/packet-bpkmrsp.o \
|
|
|
|
plugins/docsis/packet-docsis.o \
|
|
|
|
plugins/docsis/packet-dsaack.o \
|
|
|
|
plugins/docsis/packet-dsareq.o \
|
|
|
|
plugins/docsis/packet-dsarsp.o \
|
|
|
|
plugins/docsis/packet-dscack.o \
|
|
|
|
plugins/docsis/packet-dscreq.o \
|
|
|
|
plugins/docsis/packet-dscrsp.o \
|
|
|
|
plugins/docsis/packet-dsdreq.o \
|
|
|
|
plugins/docsis/packet-dsdrsp.o \
|
|
|
|
plugins/docsis/packet-macmgmt.o \
|
|
|
|
plugins/docsis/packet-map.o \
|
|
|
|
plugins/docsis/packet-regack.o \
|
|
|
|
plugins/docsis/packet-regreq.o \
|
|
|
|
plugins/docsis/packet-regrsp.o \
|
|
|
|
plugins/docsis/packet-rngreq.o \
|
|
|
|
plugins/docsis/packet-rngrsp.o \
|
|
|
|
plugins/docsis/packet-tlv.o \
|
|
|
|
plugins/docsis/packet-uccreq.o \
|
|
|
|
plugins/docsis/packet-uccrsp.o \
|
|
|
|
plugins/docsis/packet-ucd.o \
|
2003-11-17 20:57:14 +00:00
|
|
|
plugins/enttec/packet-enttec.o \
|
2003-09-05 07:44:50 +00:00
|
|
|
plugins/giop/packet-cosnaming.o \
|
|
|
|
plugins/giop/packet-coseventcomm.o \
|
|
|
|
plugins/gryphon/packet-gryphon.o \
|
2003-12-18 19:07:14 +00:00
|
|
|
plugins/irda/packet-irda.o \
|
2005-01-28 09:47:52 +00:00
|
|
|
plugins/irda/packet-ircomm.o \
|
2005-01-28 09:55:24 +00:00
|
|
|
plugins/irda/packet-sir.o \
|
2003-09-05 07:44:50 +00:00
|
|
|
plugins/lwres/packet-lwres.o \
|
|
|
|
plugins/megaco/packet-megaco.o \
|
|
|
|
plugins/mgcp/packet-mgcp.o \
|
2004-07-21 06:31:33 +00:00
|
|
|
plugins/opsi/packet-opsi.o \
|
2003-09-05 07:44:50 +00:00
|
|
|
plugins/pcli/packet-pcli.o \
|
2003-11-17 20:57:14 +00:00
|
|
|
plugins/rdm/packet-rdm.o \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/rlm/packet-rlm.o \
|
2003-12-17 05:16:21 +00:00
|
|
|
plugins/rtnet/packet-rtnet.o \
|
2004-03-25 11:21:07 +00:00
|
|
|
plugins/rudp/packet-rudp.o \
|
2003-12-17 05:16:21 +00:00
|
|
|
plugins/v5ua/packet-v5ua.o
|
2001-07-20 02:40:42 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
else # ENABLE_STATIC
|
2001-07-20 02:40:42 +00:00
|
|
|
plugin_ldadd = \
|
|
|
|
"-dlopen" self \
|
2003-10-14 01:18:11 +00:00
|
|
|
"-dlopen" plugins/acn/acn.la \
|
2005-02-10 06:36:21 +00:00
|
|
|
"-dlopen" plugins/agentx/agentx.la \
|
2003-04-21 21:28:39 +00:00
|
|
|
"-dlopen" plugins/artnet/artnet.la \
|
2003-12-06 16:35:20 +00:00
|
|
|
"-dlopen" plugins/asn1/asn1.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
"-dlopen" plugins/ciscosm/ciscosm.la \
|
2002-07-12 22:52:43 +00:00
|
|
|
"-dlopen" plugins/docsis/docsis.la \
|
2003-11-17 20:57:14 +00:00
|
|
|
"-dlopen" plugins/enttec/enttec.la \
|
2001-08-31 19:46:14 +00:00
|
|
|
"-dlopen" plugins/giop/cosnaming.la \
|
2002-07-12 22:52:43 +00:00
|
|
|
"-dlopen" plugins/giop/coseventcomm.la \
|
|
|
|
"-dlopen" plugins/gryphon/gryphon.la \
|
2003-12-18 19:07:14 +00:00
|
|
|
"-dlopen" plugins/irda/irda.la \
|
2003-08-05 05:09:37 +00:00
|
|
|
"-dlopen" plugins/lwres/lwres.la \
|
2003-01-14 23:53:40 +00:00
|
|
|
"-dlopen" plugins/megaco/megaco.la \
|
2002-10-03 02:56:59 +00:00
|
|
|
"-dlopen" plugins/mgcp/mgcp.la \
|
2004-07-21 06:31:33 +00:00
|
|
|
"-dlopen" plugins/opsi/opsi.la \
|
2003-06-11 09:17:03 +00:00
|
|
|
"-dlopen" plugins/pcli/pcli.la \
|
2005-05-02 22:15:00 +00:00
|
|
|
"-dlopen" plugins/profinet/profinet.la \
|
2003-11-17 20:57:14 +00:00
|
|
|
"-dlopen" plugins/rdm/rdm.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
"-dlopen" plugins/rlm/rlm.la \
|
2003-12-17 05:16:21 +00:00
|
|
|
"-dlopen" plugins/rtnet/rtnet.la \
|
2004-03-25 11:21:07 +00:00
|
|
|
"-dlopen" plugins/rudp/rudp.la \
|
2003-12-17 05:16:21 +00:00
|
|
|
"-dlopen" plugins/v5ua/v5ua.la
|
2003-03-02 22:11:26 +00:00
|
|
|
|
|
|
|
endif # ENABLE_STATIC
|
|
|
|
|
|
|
|
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_libs =
|
|
|
|
|
|
|
|
plugin_ldadd =
|
2003-03-02 22:11:26 +00:00
|
|
|
endif # HAVE_PLUGINS
|
2001-07-20 02:40:42 +00:00
|
|
|
|
2000-01-08 19:37:11 +00:00
|
|
|
# Optional objects that I know how to build. These will be
|
|
|
|
# linked into the ethereal executable.
|
2000-01-15 08:08:20 +00:00
|
|
|
# They will also be linked into the tethereal executable; if this
|
|
|
|
# list ever grows to include something that can't be linked with
|
|
|
|
# tethereal, or if tethereal needs something that ethereal doesn't,
|
|
|
|
# we should probably split this into stuff needed both
|
|
|
|
# by ethereal and tethereal and stuff needed only by one or the
|
|
|
|
# other.
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_optional_objects = @SNPRINTF_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
|
|
|
|
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the ethereal executable.
|
2001-02-01 20:21:25 +00:00
|
|
|
ethereal_additional_libs = \
|
|
|
|
gtk/libui.a \
|
2004-03-30 19:34:32 +00:00
|
|
|
wiretap/libwiretap.la \
|
2004-06-18 12:19:24 +00:00
|
|
|
epan/libethereal.la
|
2000-01-08 19:37:11 +00:00
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
ethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_libs)
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-15 08:08:20 +00:00
|
|
|
# This automake variable adds to the link-line for the executable.
|
|
|
|
#
|
|
|
|
# Note that Ethereal 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).
|
2003-03-02 22:11:26 +00:00
|
|
|
|
|
|
|
if ENABLE_STATIC
|
|
|
|
ethereal_LDFLAGS = -Wl,-static -all-static
|
|
|
|
else
|
|
|
|
ethereal_LDFLAGS = -export-dynamic
|
|
|
|
endif
|
|
|
|
|
2000-01-08 19:37:11 +00:00
|
|
|
ethereal_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
2001-03-06 23:45:03 +00:00
|
|
|
@SNMP_LIBS@ @SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2004-03-13 10:15:36 +00:00
|
|
|
@PCRE_LIBS@ \
|
2004-06-22 00:40:03 +00:00
|
|
|
@PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-15 08:08:20 +00:00
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the tethereal executable.
|
2001-02-01 20:21:25 +00:00
|
|
|
tethereal_additional_libs = \
|
2004-03-13 10:15:36 +00:00
|
|
|
wiretap/libwiretap.la \
|
2004-06-18 12:19:24 +00:00
|
|
|
epan/libethereal.la
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
tethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_libs)
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2003-03-02 22:11:26 +00:00
|
|
|
tethereal_LDADD = \
|
2000-01-15 08:08:20 +00:00
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
2001-03-06 23:45:03 +00:00
|
|
|
@SNMP_LIBS@ @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 \
|
2004-06-18 12:19:24 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@
|
2000-12-22 15:55:36 +00:00
|
|
|
|
2003-03-02 22:11:26 +00:00
|
|
|
if ENABLE_STATIC
|
|
|
|
tethereal_LDFLAGS = -Wl,-static -all-static
|
|
|
|
else
|
2000-01-15 08:08:20 +00:00
|
|
|
tethereal_LDFLAGS = -export-dynamic
|
2003-03-02 22:11:26 +00:00
|
|
|
endif
|
2000-01-14 06:46:00 +00:00
|
|
|
|
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@
|
|
|
|
|
2001-05-16 21:32:05 +00:00
|
|
|
text2pcap_DEPENDENCIES = text2pcap.h
|
|
|
|
|
2001-11-24 08:14:12 +00:00
|
|
|
# This automake variable adds to the link-line for the executable
|
2002-08-30 02:08:50 +00:00
|
|
|
text2pcap_LDADD = $(text2pcap_optional_objects) \
|
|
|
|
@GLIB_LIBS@ -lm
|
2001-11-24 08:14:12 +00:00
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
mergecap_DEPENDENCIES = wiretap/libwiretap.la
|
2001-07-12 19:59:41 +00:00
|
|
|
|
2000-01-15 08:08:20 +00:00
|
|
|
# This is the automake dependency variable for the executable
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos_DEPENDENCIES = wiretap/libwiretap.la
|
2004-03-13 10:15:36 +00:00
|
|
|
editcap_DEPENDENCIES = wiretap/libwiretap.la
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos_LDADD = wiretap/libwiretap.la @GLIB_LIBS@
|
2004-03-13 10:15:36 +00:00
|
|
|
editcap_LDADD = wiretap/libwiretap.la @GLIB_LIBS@
|
|
|
|
mergecap_LDADD = wiretap/libwiretap.la @GLIB_LIBS@
|
1998-10-12 01:40:57 +00:00
|
|
|
|
2003-09-10 07:17:21 +00:00
|
|
|
# Common headers
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
|
|
|
|
|
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
|
2004-01-19 22:26:37 +00:00
|
|
|
$(PERL) $(srcdir)/make-version.pl
|
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
|
|
|
#
|
|
|
|
# Build "tethereal-tap-register.c", which contains a function
|
|
|
|
# "register_all_tap_listeners()"
|
|
|
|
# that calls the register routines for all tehtereal tap listeners.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
tethereal-tap-register.c: $(TETHEREAL_TAP_SRC) $(srcdir)/make-tapreg-dotc
|
|
|
|
@echo Making tethereal-tap-register.c
|
|
|
|
@$(srcdir)/make-tapreg-dotc tethereal-tap-register.c $(srcdir) $(TETHEREAL_TAP_SRC)
|
|
|
|
|
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
|
2000-01-18 20:35:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
randpkt_additional_libs = wiretap/libwiretap.la
|
1999-09-10 05:15:17 +00:00
|
|
|
|
2004-02-22 08:58:19 +00:00
|
|
|
randpkt_DEPENDENCIES = \
|
|
|
|
$(randpkt_additional_libs)
|
1999-09-10 05:15:17 +00:00
|
|
|
|
2004-02-22 08:58:19 +00:00
|
|
|
randpkt_LDADD = \
|
|
|
|
$(randpkt_additional_libs) \
|
2004-03-13 10:15:36 +00:00
|
|
|
@GLIB_LIBS@ -lm \
|
2004-02-22 08:58:19 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
dftest_additional_libs = \
|
2004-03-13 10:15:36 +00:00
|
|
|
wiretap/libwiretap.la \
|
2004-06-18 12:19:24 +00:00
|
|
|
epan/libethereal.la
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
dftest_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(dftest_additional_libs) \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_libs)
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
|
|
|
dftest_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(dftest_additional_libs) \
|
2004-03-13 10:15:36 +00:00
|
|
|
@SNMP_LIBS@ @SSL_LIBS@ \
|
2001-07-20 02:40:42 +00:00
|
|
|
$(plugin_ldadd) \
|
2004-03-14 08:07:16 +00:00
|
|
|
@PCRE_LIBS@ \
|
|
|
|
@GLIB_LIBS@ -lm \
|
2004-06-18 12:19:24 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
dftest_LDFLAGS = -export-dynamic
|
|
|
|
|
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@ \
|
|
|
|
idl2eth \
|
|
|
|
*~
|
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 \
|
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
|
|
|
ps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2003-02-27 02:28:37 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
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
|
|
|
$(GENERATED_FILES)
|
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 \
|
|
|
|
INSTALL.configure \
|
2004-01-21 21:46:59 +00:00
|
|
|
Makefile.common \
|
2002-08-28 08:24:24 +00:00
|
|
|
Makefile.nmake \
|
|
|
|
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 \
|
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 \
|
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 \
|
2001-07-13 08:14:03 +00:00
|
|
|
cleanbld.bat \
|
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 \
|
2002-08-28 08:24:24 +00:00
|
|
|
dictionary.dtd \
|
|
|
|
dictionary.xml \
|
1999-08-31 06:26:12 +00:00
|
|
|
doc/Makefile.am \
|
2001-07-16 21:04:12 +00:00
|
|
|
doc/Makefile.nmake \
|
2004-01-18 03:49:16 +00:00
|
|
|
doc/README.capture \
|
2001-07-16 21:04:12 +00:00
|
|
|
doc/README.design \
|
2001-06-18 05:27:18 +00:00
|
|
|
doc/README.developer \
|
|
|
|
doc/README.idl2eth \
|
2001-07-16 21:04:12 +00:00
|
|
|
doc/README.plugins \
|
2000-05-12 05:47:00 +00:00
|
|
|
doc/README.regression \
|
2003-01-16 07:10:24 +00:00
|
|
|
doc/README.tapping \
|
2000-05-15 06:48:16 +00:00
|
|
|
doc/README.tvbuff \
|
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 \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/editcap.pod \
|
2003-10-01 15:09:32 +00:00
|
|
|
doc/ethereal-filter.pod.template \
|
|
|
|
doc/ethereal.pod \
|
2001-09-15 23:01:12 +00:00
|
|
|
doc/idl2eth.pod \
|
2001-07-12 19:59:41 +00:00
|
|
|
doc/mergecap.pod \
|
1999-09-24 04:59:52 +00:00
|
|
|
doc/randpkt.txt \
|
2003-10-01 15:09:32 +00:00
|
|
|
doc/tethereal.pod \
|
2001-06-18 05:27:18 +00:00
|
|
|
doc/text2pcap.pod \
|
2005-02-20 05:06:28 +00:00
|
|
|
docbook/Makefile.auto.am \
|
2004-06-25 07:10:55 +00:00
|
|
|
doxygen.cfg.in \
|
1999-12-22 20:10:49 +00:00
|
|
|
editcap.c \
|
2004-05-09 10:03:41 +00:00
|
|
|
epan/libethereal.def \
|
2001-06-18 05:27:18 +00:00
|
|
|
ethereal_be.py \
|
|
|
|
ethereal_gen.py \
|
2004-08-22 09:22:15 +00:00
|
|
|
ethereal.desktop \
|
2000-04-05 11:04:46 +00:00
|
|
|
getopt.c \
|
|
|
|
getopt.h \
|
2001-09-15 23:01:12 +00:00
|
|
|
idl2eth.sh \
|
2004-01-25 17:51:54 +00:00
|
|
|
image/Ethereal.icns \
|
2001-04-19 01:05:19 +00:00
|
|
|
image/Makefile.nmake \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/README.image \
|
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 \
|
2001-04-10 16:19:34 +00:00
|
|
|
image/editcap.rc.in \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/eexcl3d64.xpm \
|
|
|
|
image/eicon3d16.xpm \
|
|
|
|
image/eicon3d32.xpm \
|
|
|
|
image/eicon3d48.xpm \
|
|
|
|
image/eicon3d64.xpm \
|
2001-04-11 21:34:25 +00:00
|
|
|
image/elogo3d48x48.png \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/ethereal.ico \
|
2001-04-10 16:19:34 +00:00
|
|
|
image/ethereal.rc.in \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/ethereal48x48-trans.png \
|
|
|
|
image/ethereal48x48.png \
|
|
|
|
image/hi16-app-ethereal.png \
|
|
|
|
image/hi32-app-ethereal.png \
|
|
|
|
image/hi48-app-ethereal.png \
|
|
|
|
image/icon-ethereal.xpm \
|
|
|
|
image/icon-excl.xpm \
|
2004-07-17 09:49:32 +00:00
|
|
|
image/libethereal.rc.in \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/lo16-app-ethereal.png \
|
|
|
|
image/lo32-app-ethereal.png \
|
|
|
|
image/lo48-app-ethereal.png \
|
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 \
|
2004-02-01 04:34:53 +00:00
|
|
|
image/stock_dialog_error_48.xpm \
|
|
|
|
image/stock_dialog_warning_48.xpm \
|
|
|
|
image/stock_dialog_question_48.xpm \
|
|
|
|
image/stock_dialog_info_48.xpm \
|
2001-04-10 16:19:34 +00:00
|
|
|
image/tethereal.rc.in \
|
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 \
|
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 \
|
|
|
|
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 \
|
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 \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/graphs_16.xpm \
|
|
|
|
image/toolbar/internet_24.xpm \
|
|
|
|
image/toolbar/resize_columns_24.xpm \
|
2004-02-20 11:06:20 +00:00
|
|
|
image/toolbar/stock_add_24.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/stock_bottom_24.xpm \
|
2005-04-12 22:55:40 +00:00
|
|
|
image/toolbar/stock_clear_24.xpm \
|
2003-10-15 19:40:42 +00:00
|
|
|
image/toolbar/stock_close_24.xpm \
|
|
|
|
image/toolbar/stock_colorselector_24.xpm \
|
|
|
|
image/toolbar/stock_help_24.xpm \
|
|
|
|
image/toolbar/stock_jump_to_24.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/stock_left_arrow_24.xpm \
|
2004-02-20 11:06:20 +00:00
|
|
|
image/toolbar/stock_ok_20.xpm \
|
2003-10-15 19:40:42 +00:00
|
|
|
image/toolbar/stock_open_24.xpm \
|
|
|
|
image/toolbar/stock_preferences_24.xpm \
|
|
|
|
image/toolbar/stock_print_24.xpm \
|
2004-02-20 11:06:20 +00:00
|
|
|
image/toolbar/stock_properties_24.xpm \
|
2003-10-15 19:40:42 +00:00
|
|
|
image/toolbar/stock_refresh_24.xpm \
|
|
|
|
image/toolbar/stock_right_arrow_24.xpm \
|
|
|
|
image/toolbar/stock_save_24.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/stock_save_as_24.xpm \
|
2003-10-15 19:40:42 +00:00
|
|
|
image/toolbar/stock_search_24.xpm \
|
|
|
|
image/toolbar/stock_stop_24.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/stock_top_24.xpm \
|
|
|
|
image/toolbar/stock_zoom_1_24.xpm \
|
2005-04-15 16:18:34 +00:00
|
|
|
image/toolbar/stock_zoom_in_24.xpm \
|
2005-04-15 14:26:37 +00:00
|
|
|
image/toolbar/stock_zoom_out_24.xpm \
|
2005-04-16 10:53:09 +00:00
|
|
|
image/toolbar/telephony_16.xpm \
|
|
|
|
image/toolbar/time_24.xpm \
|
|
|
|
image/toolbar/web_support_24.xpm \
|
|
|
|
image/toolbar/wiki_24.xpm \
|
2001-12-15 22:29:50 +00:00
|
|
|
image/up_arrow.xpm \
|
2004-04-29 16:49:30 +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 \
|
2004-08-12 22:45:59 +00:00
|
|
|
image/wiretap.rc.in \
|
2004-10-11 08:24:46 +00:00
|
|
|
imscxdx.xml \
|
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 \
|
1998-10-16 01:18:35 +00:00
|
|
|
manuf \
|
2001-09-18 21:29:56 +00:00
|
|
|
manuf.tmpl \
|
2002-08-28 08:24:24 +00:00
|
|
|
mergecap.c \
|
|
|
|
mobileipv4.xml \
|
|
|
|
nasreq.xml \
|
2004-10-17 23:03:11 +00:00
|
|
|
perlnoutf.pl \
|
1998-10-16 01:18:35 +00:00
|
|
|
print.ps \
|
1999-09-24 04:59:52 +00:00
|
|
|
randpkt.c \
|
1999-12-01 20:58:49 +00:00
|
|
|
rdps.c \
|
2001-11-01 21:52:44 +00:00
|
|
|
sunping.xml \
|
2002-08-28 08:24:24 +00:00
|
|
|
text2pcap-scanner.l \
|
|
|
|
text2pcap.c \
|
|
|
|
text2pcap.h \
|
2004-07-20 16:58:11 +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:
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/ethereal
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/tethereal
|
2000-02-15 21:17:57 +00:00
|
|
|
else
|
|
|
|
install-exec-hook:
|
2000-02-11 03:17:58 +00:00
|
|
|
endif
|
|
|
|
|
2003-12-13 18:05:49 +00:00
|
|
|
DIST_SUBDIRS = tools wiretap doc epan plugins packaging gtk help
|
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
|
2003-12-13 18:05:49 +00:00
|
|
|
SUBDIRS = tools wiretap doc epan plugins packaging help @ethereal_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
|
2003-12-13 18:05:49 +00:00
|
|
|
SUBDIRS = tools wiretap doc epan packaging help @ethereal_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
|
|
|
|
2004-10-17 23:03:11 +00:00
|
|
|
ethereal.1: doc/ethereal.pod AUTHORS-SHORT-FORMAT
|
1999-05-16 04:27:08 +00:00
|
|
|
(cd doc ; \
|
1999-09-01 22:59:48 +00:00
|
|
|
$(MAKE) ../ethereal.1 )
|
1999-08-11 16:25:07 +00:00
|
|
|
|
2004-06-29 03:04:02 +00:00
|
|
|
tethereal.1: doc/tethereal.pod
|
2000-01-14 06:46:00 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../tethereal.1 )
|
|
|
|
|
2003-10-01 15:09:32 +00:00
|
|
|
ethereal-filter.4: tethereal doc/ethereal-filter.pod.template
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../ethereal-filter.4 )
|
|
|
|
|
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 )
|
|
|
|
|
2001-07-30 21:40:13 +00:00
|
|
|
idl2eth.1: doc/idl2eth.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../idl2eth.1 )
|
|
|
|
|
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 )
|
|
|
|
|
2004-10-17 23:03:11 +00:00
|
|
|
ethereal.html: doc/ethereal.pod AUTHORS-SHORT-FORMAT
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../ethereal.html )
|
|
|
|
|
2004-06-29 03:04:02 +00:00
|
|
|
tethereal.html: doc/tethereal.pod
|
2004-06-23 08:39:07 +00:00
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../tethereal.html )
|
|
|
|
|
|
|
|
ethereal-filter.html: tethereal doc/ethereal-filter.pod.template
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../ethereal-filter.html )
|
|
|
|
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.html: doc/capinfos.pod
|
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
|
|
|
|
2004-06-23 08:39:07 +00:00
|
|
|
editcap.html: doc/editcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../editcap.html )
|
|
|
|
|
|
|
|
idl2eth.html: doc/idl2eth.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../idl2eth.html )
|
|
|
|
|
|
|
|
mergecap.html: doc/mergecap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../mergecap.html )
|
|
|
|
|
|
|
|
text2pcap.html: doc/text2pcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../text2pcap.html )
|
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|
2000-07-22 04:10:23 +00:00
|
|
|
|
|
|
|
# We load top_stagedir with an explicit path so that libtool doesn't freak.
|
2000-07-26 03:39:11 +00:00
|
|
|
top_stagedir=`cd $(top_srcdir) && pwd`/packaging/svr4.stage
|
2000-07-22 04:10:23 +00:00
|
|
|
stagedir=$(top_stagedir)/$(PACKAGE).stage
|
|
|
|
host_cpu=@host_cpu@
|
|
|
|
host_os=@host_os@
|
|
|
|
|
2000-07-26 03:39:11 +00:00
|
|
|
svr4-package: $(bin_SCRIPTS) $(lib_LTLIBRARIES)
|
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
|
|
|
|
|
2002-01-20 23:05:25 +00:00
|
|
|
rpm_topdir=`cd $(top_srcdir) && 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 ; \
|
|
|
|
cd .. ; \
|
2004-03-02 01:21:56 +00:00
|
|
|
rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/ethereal.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 ; \
|
|
|
|
cd .. ; \
|
2004-03-02 01:21:56 +00:00
|
|
|
rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/ethereal.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
|
|
|
|
dpkg-buildpackage -rfakeroot -us -uc
|
2000-07-22 04:10:23 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_stagedir)
|
2003-01-21 00:39:57 +00:00
|
|
|
|
|
|
|
test-splint: $(ethereal_SOURCES)
|
|
|
|
splint \
|
|
|
|
-gnu-extensions -D_U_="" \
|
|
|
|
-I. `glib-config --cflags` \
|
|
|
|
-I./epan \
|
|
|
|
-I./tools/lemon \
|
|
|
|
-I./wiretap \
|
|
|
|
$(ethereal_SOURCES)
|