1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Ethereal
|
|
|
|
#
|
2000-08-30 02:58:24 +00:00
|
|
|
# $Id: Makefile.am,v 1.224 2000/08/30 02:58:24 gram Exp $
|
1999-09-09 03:45:57 +00:00
|
|
|
#
|
|
|
|
# Ethereal - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@zing.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
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_AMFLAGS = `./aclocal-flags`
|
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
EXTRA_PROGRAMS = ethereal_static
|
2000-01-14 06:46:00 +00:00
|
|
|
bin_PROGRAMS = ethereal editcap tethereal
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
man_MANS = ethereal.1 editcap.1 tethereal.1
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1998-09-25 23:24:07 +00:00
|
|
|
sysconf_DATA = manuf
|
|
|
|
|
1999-08-14 06:24:27 +00:00
|
|
|
# Any POSIX-compatible YACC should honor the -p flag
|
|
|
|
YFLAGS=-d -p dfilter_
|
1999-07-07 22:52:57 +00:00
|
|
|
|
1999-10-20 06:28:29 +00:00
|
|
|
DISSECTOR_SOURCES = \
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-aarp.c \
|
1999-10-20 16:41:20 +00:00
|
|
|
packet-afs.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-arp.c \
|
1999-09-11 04:50:44 +00:00
|
|
|
packet-ascend.c\
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-atalk.c \
|
1999-08-20 06:55:20 +00:00
|
|
|
packet-atm.c \
|
1999-11-23 17:09:58 +00:00
|
|
|
packet-auto_rp.c \
|
1999-10-15 17:00:47 +00:00
|
|
|
packet-bgp.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-bootp.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-bootparams.c \
|
1999-10-08 20:50:39 +00:00
|
|
|
packet-bpdu.c \
|
1998-12-19 00:12:23 +00:00
|
|
|
packet-cdp.c \
|
2000-02-05 05:54:17 +00:00
|
|
|
packet-cgmp.c \
|
1999-07-28 23:16:42 +00:00
|
|
|
packet-clip.c \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-clnp.c \
|
2000-06-07 22:57:45 +00:00
|
|
|
packet-cops.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-data.c \
|
2000-04-13 21:08:16 +00:00
|
|
|
packet-ddtp.c \
|
2000-08-12 05:41:10 +00:00
|
|
|
packet-diameter.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-dns.c \
|
2000-05-28 22:59:18 +00:00
|
|
|
packet-eigrp.c \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-esis.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-eth.c \
|
Change the sub-dissector handoff registration routines so that the
sub-dissector table is not stored in the header_field_info struct, but
in a separate namespace. Dissector tables are now registered by name
and not by field ID. For example:
udp_dissector_table = register_dissector_table("udp.port");
Because of this different namespace, dissector tables can have names
that are not field names. This is useful for ethertype, since multiple
fields are "ethertypes".
packet-ethertype.c replaces ethertype.c (the name was changed so that it
would be named in the same fashion as all the filenames passed to make-reg-dotc)
Although it registers no protocol or field, it registers one dissector table:
ethertype_dissector_table = register_dissector_table("ethertype");
All protocols that can be called because of an ethertype field now register
that fact with dissector_add() calls.
In this way, one dissector_table services all ethertype fields
(hf_eth_type, hf_llc_type, hf_null_etype, hf_vlan_etype)
Furthermore, the code allows for names of protocols to exist in the
etype_vals, yet a dissector for that protocol doesn't exist. The name
of the dissector is printed in COL_INFO. You're welcome, Richard. :-)
svn path=/trunk/; revision=1848
2000-04-13 18:18:56 +00:00
|
|
|
packet-ethertype.c \
|
1998-10-10 03:32:20 +00:00
|
|
|
packet-fddi.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ftp.c \
|
1998-11-18 03:01:44 +00:00
|
|
|
packet-giop.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-gre.c \
|
2000-03-02 07:27:05 +00:00
|
|
|
packet-h1.c \
|
1999-11-21 20:02:32 +00:00
|
|
|
packet-hsrp.c \
|
1999-02-12 09:03:42 +00:00
|
|
|
packet-http.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-icmpv6.c\
|
1999-09-14 08:06:47 +00:00
|
|
|
packet-icp.c \
|
1999-10-27 01:46:14 +00:00
|
|
|
packet-icq.c \
|
1999-11-10 14:44:58 +00:00
|
|
|
packet-imap.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ip.c \
|
1999-09-17 05:56:58 +00:00
|
|
|
packet-ipp.c \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-ipsec.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ipv6.c \
|
|
|
|
packet-ipx.c \
|
1999-12-06 23:57:51 +00:00
|
|
|
packet-irc.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-isakmp.c\
|
1999-12-15 04:34:44 +00:00
|
|
|
packet-isis.c \
|
|
|
|
packet-isis-clv.c \
|
|
|
|
packet-isis-hello.c \
|
|
|
|
packet-isis-lsp.c \
|
|
|
|
packet-isis-snp.c \
|
2000-01-24 18:46:45 +00:00
|
|
|
packet-isl.c \
|
2000-08-11 03:32:53 +00:00
|
|
|
packet-kerberos.c \
|
2000-01-07 09:10:22 +00:00
|
|
|
packet-l2tp.c \
|
Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, and
wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see
http://www.radcom-inc.com/
). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC
flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may
be able to combine some of the LLC dissection and the LAPB dissection
into common code that could, conceivably be used for other SDLC-flavored
protocols.
Make "S" a mnemonic for "Summary" in the "Tools" menu.
Move the routine, used for the "Tools/Summary" display, that turns a
wiretap file type into a descriptive string for it into the wiretap
library itself, expand on some of its descriptions, and add an entry for
files from a RADCOM analyzer.
Have "Tools/Summary" display the snapshot length for the capture.
svn path=/trunk/; revision=416
1999-08-02 02:04:38 +00:00
|
|
|
packet-lapb.c \
|
1999-11-11 05:36:16 +00:00
|
|
|
packet-lapd.c \
|
1999-12-09 04:06:54 +00:00
|
|
|
packet-ldap.c \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-llc.c \
|
|
|
|
packet-lpd.c \
|
1999-11-11 23:13:43 +00:00
|
|
|
packet-mapi.c \
|
2000-05-27 13:53:26 +00:00
|
|
|
packet-mip.c \
|
1999-11-11 21:22:00 +00:00
|
|
|
packet-mount.c \
|
2000-03-09 18:31:51 +00:00
|
|
|
packet-mpls.c \
|
2000-04-20 02:18:53 +00:00
|
|
|
packet-msproxy.c \
|
1998-10-14 04:09:15 +00:00
|
|
|
packet-nbipx.c \
|
|
|
|
packet-nbns.c \
|
1998-09-23 05:25:12 +00:00
|
|
|
packet-ncp.c \
|
2000-07-28 20:03:59 +00:00
|
|
|
packet-ncp2222.c \
|
1999-08-10 20:06:39 +00:00
|
|
|
packet-netbios.c \
|
1999-10-29 01:04:44 +00:00
|
|
|
packet-nfs.c \
|
1999-11-15 14:17:20 +00:00
|
|
|
packet-nlm.c \
|
1999-04-06 02:02:12 +00:00
|
|
|
packet-nntp.c \
|
1999-10-14 05:10:33 +00:00
|
|
|
packet-ntp.c \
|
1998-09-25 23:24:07 +00:00
|
|
|
packet-null.c \
|
1998-09-17 02:01:50 +00:00
|
|
|
packet-osi.c \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-osi-options.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ospf.c \
|
1999-10-13 06:47:49 +00:00
|
|
|
packet-pim.c \
|
1999-04-05 21:54:41 +00:00
|
|
|
packet-pop.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-portmap.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ppp.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-pppoe.c \
|
|
|
|
packet-pptp.c \
|
1999-11-19 09:55:38 +00:00
|
|
|
packet-q2931.c \
|
|
|
|
packet-q931.c \
|
2000-07-27 11:00:48 +00:00
|
|
|
packet-quake.c \
|
1999-07-08 04:23:28 +00:00
|
|
|
packet-radius.c\
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-raw.c \
|
|
|
|
packet-rip.c \
|
1999-10-12 23:12:06 +00:00
|
|
|
packet-ripng.c \
|
2000-04-08 03:32:10 +00:00
|
|
|
packet-rlogin.c \
|
1999-11-23 17:09:58 +00:00
|
|
|
packet-rpc.c \
|
2000-08-12 05:41:10 +00:00
|
|
|
packet-rsh.c \
|
1999-06-11 16:45:02 +00:00
|
|
|
packet-rsvp.c \
|
2000-04-21 01:45:58 +00:00
|
|
|
packet-rtcp.c \
|
|
|
|
packet-rtp.c \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-rtsp.c \
|
1999-10-20 16:41:20 +00:00
|
|
|
packet-rx.c \
|
1999-11-17 02:17:29 +00:00
|
|
|
packet-sap.c \
|
2000-07-21 12:57:09 +00:00
|
|
|
packet-sctp.c \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-sdp.c \
|
1999-05-09 04:16:36 +00:00
|
|
|
packet-smb.c \
|
2000-02-14 04:02:21 +00:00
|
|
|
packet-smb-browse.c \
|
|
|
|
packet-smb-common.c \
|
|
|
|
packet-smb-logon.c \
|
|
|
|
packet-smb-mailslot.c \
|
|
|
|
packet-smb-pipe.c \
|
2000-08-19 23:00:06 +00:00
|
|
|
packet-smtp.c \
|
1999-10-12 06:21:15 +00:00
|
|
|
packet-sna.c \
|
1999-12-05 02:33:52 +00:00
|
|
|
packet-snmp.c \
|
2000-04-12 22:53:16 +00:00
|
|
|
packet-socks.c \
|
1999-12-07 06:13:19 +00:00
|
|
|
packet-srvloc.c \
|
1999-11-19 07:28:16 +00:00
|
|
|
packet-sscop.c \
|
1999-11-11 21:22:00 +00:00
|
|
|
packet-stat.c \
|
2000-06-11 05:19:21 +00:00
|
|
|
packet-syslog.c \
|
1999-12-03 21:50:31 +00:00
|
|
|
packet-tacacs.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tcp.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-telnet.c\
|
1999-02-15 06:36:57 +00:00
|
|
|
packet-tftp.c \
|
2000-02-09 17:15:59 +00:00
|
|
|
packet-time.c \
|
1999-11-29 19:43:26 +00:00
|
|
|
packet-tns.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tr.c \
|
|
|
|
packet-trmac.c \
|
|
|
|
packet-udp.c \
|
1999-12-12 22:40:10 +00:00
|
|
|
packet-v120.c \
|
1998-09-17 02:37:47 +00:00
|
|
|
packet-vines.c \
|
1999-10-20 22:41:12 +00:00
|
|
|
packet-vlan.c \
|
1999-11-21 14:43:53 +00:00
|
|
|
packet-vrrp.c \
|
2000-02-05 09:19:06 +00:00
|
|
|
packet-vtp.c \
|
2000-04-08 07:07:42 +00:00
|
|
|
packet-wccp.c \
|
|
|
|
packet-who.c \
|
2000-06-12 02:30:35 +00:00
|
|
|
packet-x11.c \
|
Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, and
wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see
http://www.radcom-inc.com/
). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC
flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may
be able to combine some of the LLC dissection and the LAPB dissection
into common code that could, conceivably be used for other SDLC-flavored
protocols.
Make "S" a mnemonic for "Summary" in the "Tools" menu.
Move the routine, used for the "Tools/Summary" display, that turns a
wiretap file type into a descriptive string for it into the wiretap
library itself, expand on some of its descriptions, and add an entry for
files from a RADCOM analyzer.
Have "Tools/Summary" display the snapshot length for the capture.
svn path=/trunk/; revision=416
1999-08-02 02:04:38 +00:00
|
|
|
packet-x25.c \
|
1999-10-14 01:29:07 +00:00
|
|
|
packet-yhoo.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-ypbind.c \
|
|
|
|
packet-ypserv.c \
|
2000-08-18 15:26:52 +00:00
|
|
|
packet-ypxfr.c \
|
|
|
|
packet-zebra.c
|
2000-05-11 07:34:32 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
packet-afs.h \
|
|
|
|
packet-arp.h \
|
|
|
|
packet-ascend.h\
|
|
|
|
packet-atalk.h \
|
|
|
|
packet-atm.h \
|
|
|
|
packet-bgp.h \
|
|
|
|
packet-bootparams.h \
|
|
|
|
packet-bpdu.h \
|
|
|
|
packet-cdp.h \
|
|
|
|
packet-cgmp.h \
|
|
|
|
packet-clip.h \
|
|
|
|
packet-clnp.h \
|
|
|
|
packet-ddtp.h \
|
2000-07-30 07:16:11 +00:00
|
|
|
packet-diameter.h \
|
|
|
|
packet-diameter-defs.h \
|
2000-05-11 07:34:32 +00:00
|
|
|
packet-dns.h \
|
|
|
|
packet-esis.h \
|
|
|
|
packet-eth.h \
|
|
|
|
packet-fddi.h \
|
|
|
|
packet-http.h \
|
|
|
|
packet-ip.h \
|
|
|
|
packet-ipp.h \
|
|
|
|
packet-ipsec.h \
|
|
|
|
packet-ipv6.h \
|
|
|
|
packet-ipx.h \
|
|
|
|
packet-isis.h \
|
|
|
|
packet-isis-clv.h \
|
|
|
|
packet-isis-hello.h \
|
|
|
|
packet-isis-lsp.h \
|
|
|
|
packet-isis-snp.h \
|
|
|
|
packet-isl.h \
|
2000-08-11 03:32:53 +00:00
|
|
|
packet-kerberos.h \
|
2000-05-11 07:34:32 +00:00
|
|
|
packet-lapb.h \
|
|
|
|
packet-lapd.h \
|
|
|
|
packet-ldap.h \
|
|
|
|
packet-llc.h \
|
|
|
|
packet-mount.h \
|
|
|
|
packet-nbipx.h \
|
2000-07-28 20:03:59 +00:00
|
|
|
packet-ncp-int.h \
|
2000-05-11 07:34:32 +00:00
|
|
|
packet-netbios.h \
|
|
|
|
packet-nfs.h \
|
|
|
|
packet-nlm.h \
|
|
|
|
packet-ntp.h \
|
|
|
|
packet-null.h \
|
|
|
|
packet-osi.h \
|
|
|
|
packet-osi-options.h \
|
|
|
|
packet-ospf.h \
|
|
|
|
packet-portmap.h \
|
|
|
|
packet-ppp.h \
|
|
|
|
packet-q2931.h \
|
|
|
|
packet-q931.h \
|
|
|
|
packet-raw.h \
|
|
|
|
packet-rip.h \
|
|
|
|
packet-ripng.h \
|
|
|
|
packet-rpc.h \
|
|
|
|
packet-rtcp.h \
|
|
|
|
packet-rtp.h \
|
|
|
|
packet-rx.h \
|
|
|
|
packet-sdp.h \
|
|
|
|
packet-smb.h \
|
|
|
|
packet-smb-common.h \
|
|
|
|
packet-sna.h \
|
|
|
|
packet-snmp.h \
|
|
|
|
packet-sscop.h \
|
|
|
|
packet-stat.h \
|
|
|
|
packet-tcp.h \
|
|
|
|
packet-tftp.h \
|
|
|
|
packet-tns.h \
|
|
|
|
packet-tr.h \
|
|
|
|
packet-trmac.h \
|
|
|
|
packet-udp.h \
|
|
|
|
packet-v120.h \
|
|
|
|
packet-vines.h \
|
|
|
|
packet-vlan.h \
|
|
|
|
packet-vtp.h \
|
2000-06-12 02:30:35 +00:00
|
|
|
packet-x11-declarations.h \
|
|
|
|
packet-x11-register-info.h \
|
|
|
|
packet-x11-keysym.h \
|
2000-05-11 07:34:32 +00:00
|
|
|
packet-x25.h \
|
|
|
|
packet-yhoo.h \
|
|
|
|
packet-ypbind.h \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-ypserv.h \
|
|
|
|
packet-ypxfr.h
|
1999-10-20 06:28:29 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
ETHEREAL_COMMON_SOURCES = \
|
1999-10-20 06:28:29 +00:00
|
|
|
alignment.h \
|
1999-12-05 07:50:01 +00:00
|
|
|
asn1.c \
|
|
|
|
asn1.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
column.c \
|
|
|
|
column.h \
|
Generalize the "ip_src" and "ip_dst" members of the "packet_info"
structure to "dl_src"/"dl_dst", "net_src"/"net_dst", and "src"/"dst"
addresses, where an address is an address type, an address length in
bytes, and a pointer to that many bytes.
"dl_{src,dst}" are the link-layer source/destination; "net_{src,dst}"
are the network-layer source/destination; "{src,dst}" are the
source/destination from the highest of those two layers that we have in
the packet.
Add a port type to "packet_info" as well, specifying whether it's a TCP
or UDP port.
Don't set the address and port columns in the dissector functions; just
set the address and port members of the "packet_info" structure. Set
the columns in "fill_in_columns()"; this means that if we're showing
COL_{DEF,RES,UNRES}_SRC" or "COL_{DEF,RES,UNRES}_DST", we only generate
the string from "src" or "dst", we don't generate a string for the
link-layer address and then overwrite it with a string for the
network-layer address (generating those strings costs CPU).
Add support for "conversations", where a "conversation" is (at present)
a source and destination address and a source and destination port. (In
the future, we may support "conversations" above the transport layer,
e.g. a TFTP conversation, where the first packet goes from the client to
the TFTP server port, but the reply comes back from a different port,
and all subsequent packets go between the client address/port and the
server address/new port, or an NFS conversation, which might include
lock manager, status monitor, and mount packets, as well as NFS
packets.)
Currently, all we support is a call that takes the source and
destination address/port pairs, looks them up in a hash table, and:
if nothing is found, creates a new entry in the hash table, and
assigns it a unique 32-bit conversation ID, and returns that
conversation ID;
if an entry is found, returns its conversation ID.
Use that in the SMB and AFS code to keep track of individual SMB or AFS
conversations. We need to match up requests and replies, as, for
certain replies, the operation code for the request to which it's a
reply doesn't show up in the reply - you have to find the request with a
matching transaction ID. Transaction IDs are per-conversation, so the
hash table for requests should include a conversation ID and transaction
ID as the key.
This allows SMB and AFS decoders to handle IPv4 or IPv6 addresses
transparently (and should allow the SMB decoder to handle NetBIOS atop
other protocols as well, if the source and destination address and port
values in the "packet_info" structure are set appropriately).
In the "Follow TCP Connection" code, check to make sure that the
addresses are IPv4 addressses; ultimately, that code should be changed
to use the conversation code instead, which will let it handle IPv6
transparently.
svn path=/trunk/; revision=909
1999-10-22 07:18:23 +00:00
|
|
|
conversation.c \
|
|
|
|
conversation.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
dfilter-int.h \
|
|
|
|
dfilter-grammar.y \
|
|
|
|
dfilter-scanner.l \
|
|
|
|
dfilter.c \
|
|
|
|
dfilter.h \
|
|
|
|
etypes.h \
|
2000-05-11 08:18:09 +00:00
|
|
|
except.c \
|
|
|
|
except.h \
|
|
|
|
exceptions.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
follow.c \
|
|
|
|
follow.h \
|
Apparently, on systems with glibc 2.2, "inet_aton()" is declared in
<arpa/inet.h>, but is, in some fashion, declared differently from the
way we declare it in "inet_v6defs.h", but "inet_ntop()" isn't defined,
so we include "inet_v6defs.h" in "inet_pton.c", which causes
"inet_pton.c" not to compile as we get a collision between the two
declarations.
Move the declaration of "inet_aton()" to "inet_aton.h", define
"NEED_INET_ATON_H" iff we didn't find "inet_aton()" in the system
libraries, and include "inet_aton.h" in the callers of "inet_aton()" iff
"NEED_INET_ATON_H" is defined, so that it doesn't get declared by us if
"inet_aton()" is defined by a system library (which hopefully means it's
declared in <arpa/inet.h> instead).
svn path=/trunk/; revision=2137
2000-07-14 07:11:53 +00:00
|
|
|
inet_aton.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
inet_v6defs.h \
|
|
|
|
ipproto.c \
|
1999-11-15 06:32:38 +00:00
|
|
|
ipv4.c \
|
|
|
|
ipv4.h \
|
2000-04-17 00:32:43 +00:00
|
|
|
llcsaps.h \
|
2000-07-28 20:03:59 +00:00
|
|
|
ncp2222.h \
|
2000-01-13 00:41:11 +00:00
|
|
|
nlpid.h \
|
1999-12-29 05:20:00 +00:00
|
|
|
oui.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet.c \
|
|
|
|
packet.h \
|
2000-08-30 02:58:24 +00:00
|
|
|
pint.h \
|
1999-12-09 20:43:38 +00:00
|
|
|
plugins.c \
|
|
|
|
plugins.h \
|
2000-04-16 21:37:07 +00:00
|
|
|
ppptypes.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
prefs.c \
|
1998-09-25 23:24:07 +00:00
|
|
|
prefs.h \
|
Add support for a global "ethereal.conf" preferences file, stored in the
same directory as the "manuf" file ("/etc" or "/usr/local/etc", most
likely).
Add a mechanism to allow modules (e.g., dissectors) to register
preference values, which:
can be put into the global or the user's preference file;
can be set from the command line, with arguments to the "-o"
flag;
can be set from tabs in the "Preferences" dialog box.
Use that mechanism to register the "Decode IPv4 TOS field as DiffServ
field" variable for IP as a preference.
Stuff that still needs to be done:
documenting the API for registering preferences;
documenting the "-o" values in the man page (probably needs a
flag similar to "-G", and a Perl script to turn the output into
documentation as is done with the list of field);
handling error checking for numeric values (range checking,
making sure that if the user changes the variable from the GUI
they change it to a valid numeric value);
using the callbacks to, for example, update the display when
preferences are changed (could be expensive);
panic if the user specifies a numeric value with a base other
than 10, 8, or 16.
We may also want to clean up the existing wired-in preferences not to
take effect the instant you tweak the widget, and to add an "Apply"
button to the "Preferences" dialog.
svn path=/trunk/; revision=2117
2000-07-05 09:41:07 +00:00
|
|
|
prefs-int.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
print.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
print.h \
|
1999-07-07 22:52:57 +00:00
|
|
|
proto.c \
|
|
|
|
proto.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
ps.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
ps.h \
|
2000-07-28 20:03:59 +00:00
|
|
|
ptvcursor.c \
|
|
|
|
ptvcursor.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
register.c \
|
|
|
|
register.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
resolv.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
resolv.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
smb.h \
|
1999-08-04 04:37:46 +00:00
|
|
|
timestamp.h \
|
2000-05-11 08:18:09 +00:00
|
|
|
tvbuff.c \
|
|
|
|
tvbuff.h \
|
1999-08-04 04:37:46 +00:00
|
|
|
util.c \
|
|
|
|
util.h \
|
|
|
|
xdlc.c \
|
2000-01-14 06:46:00 +00:00
|
|
|
xdlc.h
|
|
|
|
|
|
|
|
ethereal_SOURCES = \
|
|
|
|
$(DISSECTOR_SOURCES) \
|
|
|
|
$(ETHEREAL_COMMON_SOURCES) \
|
|
|
|
capture.c \
|
|
|
|
capture.h \
|
|
|
|
file.c \
|
|
|
|
file.h \
|
|
|
|
globals.h \
|
|
|
|
menu.h \
|
|
|
|
simple_dialog.h \
|
|
|
|
summary.c \
|
|
|
|
summary.h \
|
|
|
|
ui_util.h
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_SOURCES = \
|
|
|
|
$(ethereal_SOURCES)
|
|
|
|
|
1998-10-12 01:40:57 +00:00
|
|
|
EXTRA_ethereal_SOURCES = \
|
1999-07-08 04:23:28 +00:00
|
|
|
dfilter-grammar.c \
|
|
|
|
dfilter-grammar.h \
|
Changed the display filter scanner from GLIB's GScanner to lex. The code
as it standed depends on your lex being flex, but that only matters if you're
a developer. The distribution will include the dfilter-scanner.c file, so
that if the user doesn't modify dfilter-scanner.l, he won't need flex to
re-create the *.c file.
The new lex scanner gives me better syntax checking for ether addresses. I
thought I could get by using GScanner, but it simply wasn't powerful enough.
All operands have English-like abbreviations and C-like syntax:
and, && ; or, || ; eq, == ; ne, != ; , etc.
I removed the ETHER_VENDOR type in favor of letting the user use the [x:y]
notation: ether.src[0:3] == 0:6:29 instead of ether.srcvendor == 00:06:29
I implemented the IPXNET field type; it had been there before, but was
not implemented. I chose to make it use integer values rather than byte
ranges, since an IPX Network is 4 bytes. So a display filter looks like this:
ipx.srcnet == 0xc0a82c00
rather than this:
ipx.srcnet == c0:a8:2c:00
I can supposrt the byte-range type IPXNET in the future, very trivially.
I still have more work to do on the parser though. It needs to check ranges
when extracting byte ranges ([x:y]) from packets. And I need to get rid
of those reduce/reduce errors from yacc!
svn path=/trunk/; revision=414
1999-08-01 04:28:20 +00:00
|
|
|
dfilter-scanner.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
snprintf.c \
|
|
|
|
snprintf.h \
|
1999-06-14 21:46:36 +00:00
|
|
|
snprintf-imp.h \
|
|
|
|
strerror.c \
|
1999-10-01 21:41:38 +00:00
|
|
|
strerror.h \
|
2000-07-06 10:03:44 +00:00
|
|
|
strcasecmp.c \
|
1999-10-01 21:41:38 +00:00
|
|
|
strncasecmp.c \
|
1999-10-11 07:38:21 +00:00
|
|
|
mkstemp.c \
|
2000-01-15 00:23:13 +00:00
|
|
|
mkstemp.h \
|
1999-10-14 05:41:33 +00:00
|
|
|
inet_aton.c \
|
|
|
|
inet_pton.c \
|
|
|
|
inet_ntop.c
|
1998-10-12 01:40:57 +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@ \
|
2000-07-06 10:03:44 +00:00
|
|
|
@STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ \
|
2000-01-08 19:37:11 +00:00
|
|
|
@INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
|
|
|
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the ethereal executable.
|
|
|
|
ethereal_additional_libs = wiretap/libwiretap.a gtk/libui.a
|
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
ethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
1999-12-26 22:38:07 +00:00
|
|
|
plugins/gryphon/gryphon.la
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs)
|
|
|
|
|
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).
|
2000-01-08 19:37:11 +00:00
|
|
|
ethereal_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
2000-01-15 09:46:28 +00:00
|
|
|
@SNMP_LIBS@ \
|
2000-01-15 13:25:22 +00:00
|
|
|
"-dlopen" self \
|
2000-01-15 09:46:28 +00:00
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @PCAP_LIBS@ @GTK_LIBS@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
|
|
|
@SNMP_LIBS@ \
|
|
|
|
@PCAP_LIBS@ @GTK_LIBS@
|
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
ethereal_LDFLAGS = -export-dynamic
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_LDFLAGS = -Wl,-static
|
1999-12-26 22:38:07 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal_SOURCES = \
|
|
|
|
$(DISSECTOR_SOURCES) \
|
|
|
|
$(ETHEREAL_COMMON_SOURCES) \
|
|
|
|
tethereal.c
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the tethereal executable.
|
|
|
|
tethereal_additional_libs = wiretap/libwiretap.a
|
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
tethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
|
|
|
plugins/gryphon/gryphon.la
|
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal_LDADD = wiretap/libwiretap.a \
|
2000-01-15 08:08:20 +00:00
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
2000-01-15 09:46:28 +00:00
|
|
|
@SNMP_LIBS@ \
|
2000-01-15 13:25:22 +00:00
|
|
|
"-dlopen" self \
|
2000-01-15 08:08:20 +00:00
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @GLIB_LIBS@ -lm \
|
2000-01-15 09:46:28 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
tethereal_LDFLAGS = -export-dynamic
|
2000-01-14 06:46:00 +00:00
|
|
|
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_SOURCES = editcap.c
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_DEPENDENCIES = wiretap/libwiretap.a
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_LDADD = wiretap/libwiretap.a @GLIB_LIBS@
|
1998-10-12 01:40:57 +00:00
|
|
|
|
1999-10-20 06:28:29 +00:00
|
|
|
#
|
|
|
|
# Build "register.c", which contains a function "register_all_protocols()"
|
|
|
|
# that calls the register routines for all protocols.
|
|
|
|
#
|
|
|
|
# We do this by grepping through sources. If that turns out to be too slow,
|
|
|
|
# maybe we could just require every .o file to have an register routine
|
|
|
|
# of a given name (packet-aarp.o -> proto_register_aarp, etc.).
|
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the proto_register_* routines must
|
|
|
|
# start in column zero, or must be preceded only by "void " starting in
|
|
|
|
# column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# We assume that all dissector routines are in "packet-XXX.c" files,
|
|
|
|
# or in "packet.c".
|
|
|
|
#
|
1999-10-27 01:46:14 +00:00
|
|
|
# For some unknown reason, having a big "for" loop in the Makefile
|
|
|
|
# to scan all the "packet-XXX.c" files doesn't work with some "make"s;
|
|
|
|
# they seem to pass only the first few names in the list to the shell,
|
|
|
|
# for some reason.
|
|
|
|
#
|
|
|
|
# Therefore, we have a script to generate the "register.c" file.
|
|
|
|
#
|
|
|
|
# The first argument is the directory in which the source files live.
|
|
|
|
# All subsequent arguments are the files to scan.
|
|
|
|
#
|
2000-04-04 06:10:44 +00:00
|
|
|
register.c: packet.c $(DISSECTOR_SOURCES) $(srcdir)/make-reg-dotc
|
1999-10-20 06:28:29 +00:00
|
|
|
@echo Making register.c
|
1999-12-05 02:33:52 +00:00
|
|
|
@$(srcdir)/make-reg-dotc $(srcdir) packet.c $(DISSECTOR_SOURCES)
|
1999-10-20 06:28:29 +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
|
2000-01-18 20:35:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-09-17 04:38:23 +00:00
|
|
|
randpkt.o: randpkt.c
|
1999-09-24 04:59:52 +00:00
|
|
|
$(CC) -DHAVE_CONFIG_H -I. `glib-config --cflags` -c $(srcdir)/randpkt.c
|
1999-09-10 05:15:17 +00:00
|
|
|
|
1999-09-17 04:38:23 +00:00
|
|
|
randpkt: randpkt.o wiretap/libwiretap.a
|
1999-09-24 03:43:09 +00:00
|
|
|
$(LINK) -o randpkt randpkt.o wiretap/libwiretap.a `glib-config --libs` -lz
|
1999-09-10 05:15:17 +00:00
|
|
|
|
2000-05-11 08:18:09 +00:00
|
|
|
tvbtest: tvbtest.o tvbuff.o except.o
|
2000-06-22 06:37:59 +00:00
|
|
|
$(LINK) -o tvbtest tvbtest.o tvbuff.o except.o `glib-config --libs`
|
2000-05-11 08:18:09 +00:00
|
|
|
|
1999-05-12 05:56:42 +00:00
|
|
|
DISTCLEANFILES = \
|
1999-10-20 06:28:29 +00:00
|
|
|
register.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
rdps \
|
|
|
|
ps.c \
|
1999-03-28 18:32:03 +00:00
|
|
|
*~
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-07-15 15:33:52 +00:00
|
|
|
EXTRA_DIST = \
|
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 \
|
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 \
|
2000-03-01 07:48:03 +00:00
|
|
|
doc/README.developer \
|
1999-08-11 16:42:51 +00:00
|
|
|
doc/Makefile.in \
|
1999-08-31 06:26:12 +00:00
|
|
|
doc/Makefile.am \
|
2000-05-12 05:47:00 +00:00
|
|
|
doc/README.regression \
|
2000-05-15 06:48:16 +00:00
|
|
|
doc/README.tvbuff \
|
2000-07-28 16:30:28 +00:00
|
|
|
doc/dfilter2pod.pl \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/editcap.pod \
|
1999-07-15 15:33:52 +00:00
|
|
|
doc/ethereal.pod.template \
|
1999-09-24 04:59:52 +00:00
|
|
|
doc/randpkt.txt \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/tethereal.pod.template \
|
1999-12-22 20:10:49 +00:00
|
|
|
editcap.c \
|
2000-04-05 11:04:46 +00:00
|
|
|
getopt.c \
|
|
|
|
getopt.h \
|
|
|
|
ieee-float.h \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/editcap.rc \
|
1999-12-17 05:42:27 +00:00
|
|
|
image/ethereal48x48-trans.png \
|
|
|
|
image/ethereal48x48.png \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/ethereal.ico \
|
|
|
|
image/ethereal.rc \
|
1998-10-16 01:18:35 +00:00
|
|
|
image/icon-excl.xpm \
|
|
|
|
image/icon-ethereal.xpm \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/tethereal.rc \
|
1999-11-29 20:08:04 +00:00
|
|
|
INSTALL.configure \
|
Give, in "README.hpux", what appears to be the new URL for the UK HP-UX
Porting and Archive Centre site.
Warn in the very beginning of that file that libpcap may not work very
well without patches. Give patches to libpcap for:
vanilla LBL libpcap 0.4
vanilla tcpdump.org libpcap 0.5
libpcap 0.4 from the HP-UX Porting and Archive Centre (which is
the only version that includes configure-script changes to work
with HP's C compiler as well as GCC)
and put them in files separate from "README.hpux" (to make it easier for
users to apply the patches).
Make those versions of the patch give a slightly different error message
if libpcap fails to find the PPA for the device, to make it easier to
figure out if the user reporting a problem with HP-UX capture has a
patched version of libpcap or not (so that we know whether the problem
may just be that they're using an unmodified libpcap, or if they're
running a patched version and that patch needs more work, e.g. to look
at devices other than just "/dev/dlpi").
Give information on how to find "patch", warn that probably only the
HP-UX Porting and Archive Centre version will work with the HP C
compiler, warn that applying a version of the patch other than the one
for the particular version of libpcap you've downloaded will probably
not work, and warn that you need to download source to libpcap in order
to do any of this in the first place.
(The current libpcap CVS tree at tcpdump.org has this patch in it, so
the next release of libpcap from tcpdump.org should have it; hopefully
the HP-UX Porting and Archive Centre will switch to that version when it
comes out, and people will just be able to push a few buttons to get an
Ethereal that works on HP-UX.)
svn path=/trunk/; revision=2264
2000-08-13 07:48:56 +00:00
|
|
|
libpcap-0.4.HPUX.HPUXPAC.patch \
|
|
|
|
libpcap-0.4.HPUX.LBL.patch \
|
|
|
|
libpcap-0.5.HPUX.tcpdump.org.patch \
|
1999-07-15 15:33:52 +00:00
|
|
|
Makefile.nmake \
|
1999-10-27 02:41:11 +00:00
|
|
|
make-reg-dotc \
|
1998-10-16 01:18:35 +00:00
|
|
|
manuf \
|
2000-07-28 20:03:59 +00:00
|
|
|
ncp2222.py \
|
1998-10-16 01:18:35 +00:00
|
|
|
print.ps \
|
1999-11-29 20:08:04 +00:00
|
|
|
README.aix \
|
2000-02-19 21:54:07 +00:00
|
|
|
README.bsd \
|
1999-11-29 23:19:09 +00:00
|
|
|
README.hpux \
|
1999-09-24 04:59:52 +00:00
|
|
|
README.irix \
|
1999-08-31 06:09:25 +00:00
|
|
|
README.linux \
|
1999-05-01 05:19:25 +00:00
|
|
|
README.tru64 \
|
2000-01-06 19:51:26 +00:00
|
|
|
README.vmware \
|
1999-07-15 15:33:52 +00:00
|
|
|
README.win32 \
|
1999-09-24 04:59:52 +00:00
|
|
|
randpkt.c \
|
1999-12-01 20:58:49 +00:00
|
|
|
rdps.c \
|
2000-05-12 04:00:05 +00:00
|
|
|
tvbtest.c \
|
1999-12-01 20:58:49 +00:00
|
|
|
TODO
|
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
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/ethereal_static
|
2000-02-15 21:17:57 +00:00
|
|
|
else
|
|
|
|
install-exec-hook:
|
2000-02-11 03:17:58 +00:00
|
|
|
endif
|
|
|
|
|
2000-01-15 13:45:06 +00:00
|
|
|
#
|
|
|
|
# Currently register.c can be included in the distribution because
|
|
|
|
# we always build all protocol dissectors. We used to have to check
|
|
|
|
# whether or not to build the snmp dissector. If we again need to
|
|
|
|
# variably build something, making register.c non-portable, uncomment
|
|
|
|
# the dist-hook line below.
|
1999-10-20 06:28:29 +00:00
|
|
|
#
|
|
|
|
# Oh, yuk. We don't want to include "register.c" in the distribution, as
|
|
|
|
# its contents depend on the configuration, and therefore we want it
|
|
|
|
# to be built when the first "make" is done; however, Automake insists
|
|
|
|
# on putting *all* source into the distribution.
|
|
|
|
#
|
1999-12-22 20:12:38 +00:00
|
|
|
# We work around this by having a "dist-hook" rule that deletes
|
1999-10-20 06:28:29 +00:00
|
|
|
# "register.c", so that "dist" won't pick it up.
|
|
|
|
#
|
2000-01-15 13:45:06 +00:00
|
|
|
#dist-hook:
|
|
|
|
# @rm -f $(distdir)/register.c
|
1999-10-20 06:28:29 +00:00
|
|
|
|
2000-07-26 03:39:11 +00:00
|
|
|
SUBDIRS = wiretap gtk plugins packaging @ethereal_SUBDIRS@
|
1999-05-16 04:27:08 +00:00
|
|
|
|
1999-08-11 16:05:19 +00:00
|
|
|
ethereal.1: ethereal doc/ethereal.pod.template
|
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
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal.1: tethereal doc/tethereal.pod.template
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../tethereal.1 )
|
|
|
|
|
2000-01-09 20:28:26 +00:00
|
|
|
editcap.1: doc/editcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../editcap.1 )
|
|
|
|
|
1999-08-11 16:25:07 +00:00
|
|
|
dfilter-scanner.c : dfilter-scanner.l
|
2000-03-29 19:55:51 +00:00
|
|
|
$(LEX) -Pdfilter_ -odfilter-scanner.c $(srcdir)/dfilter-scanner.l
|
1999-12-26 22:38:07 +00:00
|
|
|
|
2000-07-28 20:03:59 +00:00
|
|
|
packet-ncp2222.c : ncp2222.py
|
|
|
|
$(PYTHON) $(srcdir)/ncp2222.py > $@
|
|
|
|
|
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)
|
|
|
|
if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
|
2000-07-22 04:10:23 +00:00
|
|
|
rm -rf $(stagedir) ; \
|
|
|
|
$(MAKE) DESTDIR=$(stagedir) install-strip; \
|
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
|
|
|
|
|
|
|
|
specfile=$(top_srcdir)/packaging/rpm/ethereal.spec
|
|
|
|
|
|
|
|
rpm-package: dist
|
|
|
|
if test x$(HAVE_RPM_PACKAGING) = xyes ; then \
|
|
|
|
cp $(top_srcdir)/$(distdir).tar.gz $(RPM_SOURCEDIR) ; \
|
|
|
|
rpm -bb --clean --rmsource $(specfile) ; \
|
|
|
|
else \
|
|
|
|
echo "Error: RPM executable and/or source directory not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
srpm-package: dist
|
|
|
|
if test x$(HAVE_RPM_PACKAGING) = xyes ; then \
|
|
|
|
cp $(top_srcdir)/$(distdir).tar.gz $(RPM_SOURCEDIR) ; \
|
|
|
|
rpm -bs --clean --rmsource $(specfile) ; \
|
|
|
|
else \
|
|
|
|
echo "Error: RPM executable and/or source directory not found." ; \
|
|
|
|
echo "Package build abandoned." ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
debian-package: debian/rules
|
|
|
|
dpkg-buildpackage -rfakeroot -us -uc
|
2000-07-22 04:10:23 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_stagedir)
|
2000-07-22 20:56:13 +00:00
|
|
|
|