1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Ethereal
|
|
|
|
#
|
2000-01-15 00:23:13 +00:00
|
|
|
# $Id: Makefile.am,v 1.152 2000/01/15 00:22:28 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.
|
|
|
|
|
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-12-26 22:38:07 +00:00
|
|
|
## use @LIBLTDL@ because some broken makes do not accept macros in targets
|
|
|
|
## we can only do this because our LIBLTDL does not contain ${top_builddir}
|
|
|
|
@LIBLTDL@: libtool libltdl/libtool libltdl/config.h \
|
|
|
|
$(srcdir)/libltdl/ltdl.c $(srcdir)/libltdl/ltdl.h
|
|
|
|
(cd libltdl; $(MAKE) `echo $(LIBLTDL) | sed 's,.*\.\./libltdl/,,g'`)
|
|
|
|
# Without the following line, the check may fail if libltdl/libtool is
|
|
|
|
# removed after libltdl is configured
|
|
|
|
libltdl/libtool libltdl/config.h:
|
|
|
|
|
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 \
|
|
|
|
packet-afs.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-arp.c \
|
1999-11-27 04:48:14 +00:00
|
|
|
packet-arp.h \
|
1999-09-11 04:50:44 +00:00
|
|
|
packet-ascend.c\
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-atalk.c \
|
1999-10-22 08:57:24 +00:00
|
|
|
packet-atalk.h \
|
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 \
|
1999-11-17 23:31:22 +00:00
|
|
|
packet-bgp.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-bootp.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-bootparams.c \
|
|
|
|
packet-bootparams.h \
|
1999-10-08 20:50:39 +00:00
|
|
|
packet-bpdu.c \
|
1998-12-19 00:12:23 +00:00
|
|
|
packet-cdp.c \
|
1999-07-28 23:16:42 +00:00
|
|
|
packet-clip.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-data.c \
|
|
|
|
packet-dns.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-dns.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-eth.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 \
|
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 \
|
|
|
|
packet-ip.h \
|
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 \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ipv6.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ipx.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ipx.h \
|
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.h \
|
|
|
|
packet-isis.c \
|
|
|
|
packet-isis-clv.h \
|
|
|
|
packet-isis-clv.c \
|
|
|
|
packet-isis-hello.h \
|
|
|
|
packet-isis-hello.c \
|
|
|
|
packet-isis-lsp.h \
|
|
|
|
packet-isis-lsp.c \
|
|
|
|
packet-isis-snp.h \
|
|
|
|
packet-isis-snp.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 \
|
1999-11-11 21:22:00 +00:00
|
|
|
packet-mount.c \
|
|
|
|
packet-mount.h \
|
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 \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ncp.h \
|
1999-08-10 20:06:39 +00:00
|
|
|
packet-netbios.c \
|
Have the IPX code set "pi.len" and "pi.captured_len" based on the length
in the IPX header, and have the dissectors it calls use it rather than
being passed the length as an argument.
Treat both packet type 20 ("WAN Broadcast") and 4 ("IPX", although 3 is
also "IPX", according to Network Monitor) as potentially being NetBIOS
packets.
The packet types for the IPX NetBIOS socket (0x0455) and the NWLink
sockets (0x0551 and 0x0553) are different (perhaps because there's one
socket for the 0x0455 NBIPX, so you have to do name service and datagram
service and have the packet types distinguish them, but NWLink has
separate sockets for name service and datagram service).
The packet type for name service and for datagram service are at
*different locations* in the packet, which is unfortunate if you want to
use the packet type to distinguish name service and datagram service
packets. Use the packet length, for now, to distinguish them, with
socket 0x0455.
Dissect datagram packets differently from name service packets.
Export "packet-netbios.c"'s "netbios_add_name()" routine, and use it
when dissecting NBIPX packets as well.
Label NBIPX packets as "NBIPX" rather than "NetBIOS".
svn path=/trunk/; revision=627
1999-09-02 23:17:58 +00:00
|
|
|
packet-netbios.h \
|
1999-10-29 01:04:44 +00:00
|
|
|
packet-nfs.c \
|
|
|
|
packet-nfs.h \
|
1999-11-15 14:17:20 +00:00
|
|
|
packet-nlm.c \
|
|
|
|
packet-nlm.h \
|
1999-04-06 02:02:12 +00:00
|
|
|
packet-nntp.c \
|
1999-10-14 05:10:33 +00:00
|
|
|
packet-ntp.c \
|
|
|
|
packet-ntp.h \
|
1998-09-25 23:24:07 +00:00
|
|
|
packet-null.c \
|
1998-09-17 02:01:50 +00:00
|
|
|
packet-osi.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ospf.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ospf.h \
|
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 \
|
|
|
|
packet-portmap.h \
|
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 \
|
1999-11-25 10:01:18 +00:00
|
|
|
packet-q931.h \
|
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-05-12 05:56:42 +00:00
|
|
|
packet-rip.h \
|
1999-10-12 23:12:06 +00:00
|
|
|
packet-ripng.c \
|
|
|
|
packet-ripng.h \
|
1999-11-23 17:09:58 +00:00
|
|
|
packet-rpc.c \
|
|
|
|
packet-rpc.h \
|
1999-06-11 16:45:02 +00:00
|
|
|
packet-rsvp.c \
|
|
|
|
packet-rsvp.h \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-rtsp.c \
|
1999-10-20 16:41:20 +00:00
|
|
|
packet-rx.c \
|
|
|
|
packet-rx.h \
|
1999-11-17 02:17:29 +00:00
|
|
|
packet-sap.c \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-sdp.c \
|
1999-05-09 04:16:36 +00:00
|
|
|
packet-smb.c \
|
1999-10-12 06:21:15 +00:00
|
|
|
packet-sna.c \
|
1999-10-22 08:57:24 +00:00
|
|
|
packet-sna.h \
|
1999-12-05 02:33:52 +00:00
|
|
|
packet-snmp.c \
|
|
|
|
packet-snmp.h \
|
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 \
|
|
|
|
packet-stat.h \
|
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 \
|
1999-11-29 19:43:26 +00:00
|
|
|
packet-tns.c \
|
|
|
|
packet-tns.h \
|
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 \
|
|
|
|
packet-vines.h \
|
1999-10-20 22:41:12 +00:00
|
|
|
packet-vlan.c \
|
1999-11-21 14:43:53 +00:00
|
|
|
packet-vrrp.c \
|
1999-12-12 03:05:57 +00:00
|
|
|
packet-wccp.c\
|
1999-12-12 05:11:57 +00:00
|
|
|
packet-who.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-yhoo.h \
|
|
|
|
packet-ypbind.c \
|
|
|
|
packet-ypbind.h \
|
|
|
|
packet-ypserv.c \
|
|
|
|
packet-ypserv.h \
|
|
|
|
packet-ypxfr.c \
|
|
|
|
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 \
|
|
|
|
ethertype.c \
|
|
|
|
etypes.h \
|
|
|
|
follow.c \
|
|
|
|
follow.h \
|
|
|
|
inet_v6defs.h \
|
|
|
|
ipproto.c \
|
1999-11-15 06:32:38 +00:00
|
|
|
ipv4.c \
|
|
|
|
ipv4.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 \
|
1999-12-09 20:43:38 +00:00
|
|
|
plugins.c \
|
|
|
|
plugins.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
prefs.c \
|
1998-09-25 23:24:07 +00:00
|
|
|
prefs.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 \
|
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 \
|
|
|
|
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 \
|
|
|
|
colors.c \
|
|
|
|
colors.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
|
|
|
|
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 \
|
|
|
|
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.
|
|
|
|
ethereal_optional_objects = @SNPRINTF_O@ @STRERROR_O@ @STRNCASECMP_O@ @MKSTEMP_O@ \
|
|
|
|
@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) \
|
2000-01-08 21:56:29 +00:00
|
|
|
@LIBLTDL@
|
1999-12-26 22:38:07 +00:00
|
|
|
plugins/gryphon/gryphon.la
|
2000-01-08 19:37:11 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
|
|
|
ethereal_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
|
|
|
@SNMP_A@ \
|
|
|
|
@LIBLTDL@ "-dlopen" self \
|
2000-01-09 20:05:37 +00:00
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @GTK_LIBS@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
ethereal_LDFLAGS = -export-dynamic
|
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal_SOURCES = \
|
|
|
|
$(DISSECTOR_SOURCES) \
|
|
|
|
$(ETHEREAL_COMMON_SOURCES) \
|
|
|
|
tethereal.c
|
|
|
|
tethereal_DEPENDENCIES = wiretap/libwiretap.a
|
|
|
|
tethereal_LDADD = wiretap/libwiretap.a \
|
|
|
|
@SNMP_A@ \
|
|
|
|
@LIBLTDL@ "-dlopen" self \
|
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @GLIB_LIBS@ -lm
|
|
|
|
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_SOURCES = editcap.c
|
|
|
|
editcap_DEPENDENCIES = wiretap/libwiretap.a
|
|
|
|
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.
|
|
|
|
#
|
1999-12-05 02:33:52 +00:00
|
|
|
register.c: packet.c $(DISSECTOR_SOURCES)
|
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
|
1999-08-07 17:28:21 +00:00
|
|
|
$(CC) -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
|
|
|
|
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 = \
|
|
|
|
config.h.win32 \
|
1999-08-11 16:42:51 +00:00
|
|
|
doc/Makefile.in \
|
1999-08-31 06:26:12 +00:00
|
|
|
doc/Makefile.am \
|
1999-07-20 08:28:15 +00:00
|
|
|
doc/dfilter2pod.in \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/editcap.pod \
|
1999-07-15 15:33:52 +00:00
|
|
|
doc/ethereal.pod.template \
|
1999-11-29 20:08:04 +00:00
|
|
|
doc/proto_tree \
|
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 \
|
1999-08-24 17:19:45 +00:00
|
|
|
ethereal.spec.in \
|
1999-12-17 05:42:27 +00:00
|
|
|
image/ethereal48x48-trans.png \
|
|
|
|
image/ethereal48x48.png \
|
1998-10-16 01:18:35 +00:00
|
|
|
image/icon-excl.xpm \
|
|
|
|
image/icon-ethereal.xpm \
|
1999-11-29 20:08:04 +00:00
|
|
|
INSTALL.configure \
|
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 \
|
|
|
|
print.ps \
|
1999-11-29 20:08:04 +00:00
|
|
|
README.aix \
|
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 \
|
|
|
|
TODO
|
1998-11-12 00:06:47 +00:00
|
|
|
|
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.
|
|
|
|
#
|
|
|
|
dist-hook:
|
|
|
|
@rm -f $(distdir)/register.c
|
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
SUBDIRS = wiretap gtk plugins libltdl @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
|
1999-08-13 23:52:49 +00:00
|
|
|
$(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c
|
1999-12-26 22:38:07 +00:00
|
|
|
|
|
|
|
INCLUDES = -I$(srcdir)/libltdl
|
|
|
|
|
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|