# Makefile.in generated by automake 1.6.3 from Makefile.am.
# Makefile.  Generated from Makefile.in by configure.

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



# Makefile.am
# Automake file for Ethereal
#
# $Id: Makefile.am,v 1.726 2004/03/25 11:21:05 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
# 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.

# Makefile.common
#     Contains the stuff from Makefile.am and Makefile.nmake that is
#     a) common to both files and
#     b) portable between both files
#
# $Id: Makefile.common,v 1.36 2004/03/26 02:10:46 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
# 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.
SHELL = /bin/sh

srcdir = .
top_srcdir = .

prefix = /usr
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/ethereal
pkglibdir = $(libdir)/ethereal
pkgincludedir = $(includedir)/ethereal
top_builddir = .

ACLOCAL = ${SHELL} /home/higuchi/ethereal-0.10.3/missing --run aclocal-1.6
AUTOCONF = ${SHELL} /home/higuchi/ethereal-0.10.3/missing --run autoconf
AUTOMAKE = ${SHELL} /home/higuchi/ethereal-0.10.3/missing --run automake-1.6
AUTOHEADER = ${SHELL} /home/higuchi/ethereal-0.10.3/missing --run autoheader

am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = 
host_triplet = i686-pc-linux-gnu

EXEEXT = 
OBJEXT = o
PATH_SEPARATOR = :
ADNS_LIBS = 
AMTAR = ${SHELL} /home/higuchi/ethereal-0.10.3/missing --run tar
AS = @AS@
AWK = gawk
CC = gcc
CPP = gcc -E
DEPDIR = .deps
DLLTOOL = @DLLTOOL@
ECHO = echo
ENABLE_STATIC = 
GLIB_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib/glib/include
GLIB_CONFIG = /usr/bin/glib-config
GLIB_GENMARSHAL = 
GLIB_LIBS = -L/usr/lib -rdynamic -lgmodule -lglib -ldl
GLIB_MKENUMS = 
GOBJECT_QUERY = 
GTK_CFLAGS = -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
GTK_CONFIG = /usr/bin/gtk-config
GTK_LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
HAVE_PKGMK = no
HAVE_PKGPROTO = no
HAVE_PKGTRANS = no
HAVE_RPM = 
HAVE_SVR4_PACKAGING = no
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KRB5_CONFIG = 
KRB5_LIBS = 
LEX = /usr/bin/flex
LEXLIB = -lfl
LEX_OUTPUT_ROOT = lex.yy
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIBTOOL_DEPS = ./ltmain.sh
LN_S = ln -s
MKSTEMP_C = 
MKSTEMP_O = 
NETSNMPCONFIG = /usr/bin/net-snmp-config
NSL_LIBS = 
OBJDUMP = @OBJDUMP@
PACKAGE = ethereal
PCAP_LIBS = -lpcap
PCRE_LIBS = -lpcre
PERL = /usr/bin/perl
PKG_CONFIG = 
POD2MAN = /usr/bin/pod2man
PYTHON = /usr/bin/python
RANLIB = ranlib
SNMP_LIBS = -L/usr/lib -lnetsnmp -lcrypto -lm
SNPRINTF_C = 
SNPRINTF_O = 
SOCKET_LIBS = 
SSL_LIBS = -lcrypto
STRCASECMP_C = 
STRCASECMP_O = 
STRERROR_C = 
STRERROR_O = 
STRIP = strip
STRNCASECMP_C = 
STRNCASECMP_O = 
STRPTIME_C = 
STRPTIME_O = 
VERSION = 0.10.3
YACC = bison -y
ac_cv_ethereal_have_rpm = no
am__include = include
am__quote = 
dftest_bin = 
editcap_bin = editcap$(EXEEXT)
editcap_man = editcap.1
ethereal_SUBDIRS = gtk
ethereal_bin = ethereal$(EXEEXT)
ethereal_man = ethereal.1
etherealfilter_man = ethereal-filter.4
idl2eth_bin = idl2eth
idl2eth_man = idl2eth.1
install_sh = /home/higuchi/ethereal-0.10.3/install-sh
mergecap_bin = mergecap$(EXEEXT)
mergecap_man = mergecap.1
plugindir = /usr/lib/ethereal/plugins/0.10.3
randpkt_bin = 
rdps_bin = rdps$(EXEEXT)
tethereal_bin = tethereal$(EXEEXT)
tethereal_man = tethereal.1
text2pcap_bin = text2pcap$(EXEEXT)
text2pcap_man = text2pcap.1

ACLOCAL_AMFLAGS = `./aclocal-flags`

#
# 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.
#
bin_PROGRAMS = ethereal$(EXEEXT) editcap$(EXEEXT) mergecap$(EXEEXT) tethereal$(EXEEXT)   text2pcap$(EXEEXT)
bin_SCRIPTS = idl2eth
man1_MANS = ethereal.1 editcap.1 mergecap.1 tethereal.1 text2pcap.1 idl2eth.1
man4_MANS = ethereal-filter.4
man_MANS = 

EXTRA_PROGRAMS = ethereal tethereal editcap mergecap dftest randpkt text2pcap
EXTRA_SCRIPTS = idl2eth

#
# Ethereal configuration files are put in $(pkgdatadir).  It currently
# contains the "manuf" file and a "diameter" directory.
#
pkgdata_DATA = manuf

#
# Install the Diameter DTD and XML files in the "diameter" subdirectory
# of that directory.
#
diameterdir = $(pkgdatadir)/diameter
diameter_DATA = dictionary.dtd dictionary.xml mobileipv4.xml \
	nasreq.xml sunping.xml


PLATFORM_SRC = pcap-util-unix.c

# corresponding headers
DISSECTOR_INCLUDES = \
	packet-acse.h	\
	packet-afp.h	\
	packet-afs-defs.h	\
	packet-afs-macros.h	\
	packet-afs-register-info.h	\
	packet-afs.h	\
	packet-aim.h	\
	packet-ansi_a.h	\
	packet-ansi_map.h	\
	packet-ap1394.h	\
	packet-arcnet.h	\
	packet-arp.h	\
	packet-atalk.h	\
	packet-atm.h	\
	packet-ber.h	\
	packet-bgp.h	\
	packet-bootparams.h	\
	packet-bssap.h	\
	packet-chdlc.h	\
	packet-clearcase.h	\
	packet-clip.h	\
	packet-data.h	\
	packet-dccp.h	\
	packet-dcerpc-atsvc.h	\
	packet-dcerpc-browser.h	\
	packet-dcerpc-dce122.h	\
	packet-dcerpc-dcom.h	\
	packet-dcerpc-dfs.h	\
	packet-dcerpc-dnsserver.h	\
	packet-dcerpc-drsuapi.h	\
	packet-dcerpc-initshutdown.h	\
	packet-dcerpc-lsa.h	\
	packet-dcerpc-mapi.h	\
	packet-dcerpc-netlogon.h	\
	packet-dcerpc-nt.h	\
	packet-dcerpc-reg.h	\
	packet-dcerpc-samr.h	\
	packet-dcerpc-spoolss.h	\
	packet-dcerpc-srvsvc.h	\
	packet-dcerpc-svcctl.h	\
	packet-dcerpc-tapi.h	\
	packet-dcerpc-wkssvc.h	\
	packet-dcerpc.h	\
	packet-ddtp.h	\
	packet-diameter-defs.h	\
	packet-diffserv-mpls-common.h	\
	packet-dns.h	\
	packet-dvmrp.h	\
	packet-e164.h   \
	packet-edonkey.h	\
	packet-esis.h	\
	packet-eth.h	\
	packet-fc.h	\
	packet-fcbls.h	\
	packet-fcct.h	\
	packet-fcdns.h	\
	packet-fcels.h	\
	packet-fcfcs.h	\
	packet-fcfzs.h	\
	packet-fclctl.h	\
	packet-fcp.h	\
	packet-fcsb3.h	\
	packet-fcsp.h	\
	packet-fcswils.h	\
	packet-fddi.h	\
	packet-frame.h	\
	packet-ftam.h	\
	packet-giop.h	\
	packet-gnutella.h	\
	packet-gsm_a.h	\
	packet-gsm_map.h	\
	packet-gsm_ss.h	\
	packet-gssapi.h	\
	packet-gtp.h	\
	packet-h225.h	\
	packet-h245.h	\
	packet-hclnfsd.h	\
	packet-hpext.h	\
	packet-http.h	\
	packet-iax2.h	\
	packet-ieee80211.h	\
	packet-ieee8023.h	\
	packet-igap.h	\
	packet-igmp.h	\
	packet-ip.h	\
	packet-ipdc.h	\
	packet-ipfc.h	\
	packet-ipsec.h	\
	packet-ipv6.h	\
	packet-ipx.h	\
	packet-isis-clv.h	\
	packet-isis-hello.h	\
	packet-isis-lsp.h	\
	packet-isis-snp.h	\
	packet-isis.h	\
	packet-isl.h	\
	packet-isup.h	\
	packet-kerberos.h	\
	packet-klm.h	\
	packet-ldap.h	\
	packet-llc.h	\
	packet-mip6.h	\
	packet-mount.h	\
	packet-mrdisc.h	\
	packet-msnip.h	\
	packet-mtp3.h	\
	packet-ncp-int.h	\
	packet-ncp-nmas.h	\
	packet-ndps.h	\
	packet-netbios.h	\
	packet-nfs.h	\
	packet-nisplus.h	\
	packet-nlm.h	\
	packet-ntp.h	\
	packet-null.h	\
	packet-osi-options.h	\
	packet-osi.h	\
	packet-pcnfsd.h	\
	packet-per.h	\
	packet-pflog.h	\
	packet-pim.h	\
	packet-portmap.h	\
	packet-ppp.h	\
	packet-pres.h	\
	packet-prism.h	\
	packet-q931.h	\
	packet-radiotap.h	\
	packet-raw.h	\
	packet-ripng.h	\
	packet-rmi.h	\
	packet-rpc.h	\
	packet-rquota.h	\
	packet-rsvp.h	\
	packet-rtcp.h	\
	packet-rtp.h	\
	packet-rtp-events.h	\
	packet-rwall.h	\
	packet-rx.h	\
	packet-scsi.h	\
	packet-sctp.h	\
	packet-ses.h	\
	packet-sip.h	\
	packet-sll.h	\
	packet-smb-browse.h	\
	packet-smb-common.h	\
	packet-smb-mailslot.h	\
	packet-smb-pipe.h	\
	packet-smb-sidsnooping.h	\
	packet-sna.h	\
	packet-snmp.h	\
	packet-spray.h	\
	packet-stat-notify.h	\
	packet-stat.h	\
	packet-tacacs.h	\
	packet-tcap.h	\
	packet-tcp.h	\
	packet-tns.h	\
	packet-tpkt.h	\
	packet-tr.h	\
	packet-udp.h	\
	packet-vines.h	\
	packet-vlan.h	\
	packet-wap.h	\
	packet-wccp.h	\
	packet-wlancap.h	\
	packet-wsp.h	\
	packet-wtls.h	\
	packet-wtp.h	\
	packet-x11-keysym.h	\
	packet-x11-keysymdef.h	\
	packet-ypbind.h	\
	packet-yppasswd.h	\
	packet-ypserv.h	\
	packet-ypxfr.h


# corresponding headers
DISSECTOR_SUPPORT_INCLUDES = \
	adler32.h	\
	afn.h	\
	aftypes.h	\
	arcnet_pids.h	\
	asn1.h	\
	bridged_pids.h	\
	chdlctypes.h	\
	column.h	\
	crc32.h	\
	crypt-des.h	\
	crypt-md4.h	\
	crypt-md5.h	\
	crypt-rc4.h	\
	etypes.h	\
	follow.h	\
	format-oid.h	\
	g711.h	\
	greproto.h	\
	h225-persistentdata.h	\
	in_cksum.h	\
	ip_opts.h	\
	ipproto.h	\
	lapd_sapi.h	\
	llcsaps.h	\
	nlpid.h	\
	oui.h	\
	ppptypes.h	\
	prefs-int.h	\
	prefs.h	\
	ptvcursor.h	\
	reassemble.h	\
	req_resp_hdrs.h	\
	rpc_defrag.h	\
	rtp_pt.h	\
	sctpppids.h	\
	smb.h	\
	t35.h	\
	tap.h	\
	util.h	\
	x264_prt_id.h	\
	xdlc.h	\
	xmlstub.h


# "BUILT_SOURCES" are built before any "make all" or "make check" targets.
BUILT_SOURCES = \
	cvsversion.h


# sources common for ethereal and tethereal
ETHEREAL_COMMON_SRC = \
	$(PLATFORM_SRC) \
	capture_stop_conditions.c	\
	cfile.c	\
	conditions.c	\
	disabled_protos.c	\
	pcap-util.c	\
	print.c	\
	ps.c	\
	range.c	\
	ringbuffer.c	\
	timestats.c	\
	version_info.c


# corresponding headers
ETHEREAL_COMMON_INCLUDES = \
	$(DISSECTOR_SUPPORT_INCLUDES)	\
	$(BUILT_SOURCES)		\
	capture_stop_conditions.h	\
	cfile.h	\
	color.h	\
	conditions.h	\
	disabled_protos.h	\
	file.h	\
	pcap-util.h	\
	pcap-util-int.h	\
	print.h	\
	ps.h	\
	range.h	\
	register.h	\
	ringbuffer.h	\
	timestats.h	\
	version_info.h


# sources for Tethereal taps
TETHEREAL_TAP_SRC = \
	tap-ansi_astat.c	\
	tap-bootpstat.c	\
	tap-dcerpcstat.c	\
	tap-gsm_astat.c	\
	tap-h225counter.c	\
	tap-h225rassrt.c	\
	tap-httpstat.c	\
	tap-iostat.c	\
	tap-iousers.c	\
	tap-mgcpstat.c	\
	tap-protocolinfo.c	\
	tap-protohierstat.c	\
	tap-rpcstat.c	\
	tap-rpcprogs.c	\
	tap-smbsids.c	\
	tap-smbstat.c	\
	tap-wspstat.c


# helpers alraedy available on some platforms (and on others not)
EXTRA_ethereal_SOURCES = \
	snprintf.c	\
	strerror.c	\
	strcasecmp.c	\
	strncasecmp.c	\
	mkstemp.c	\
	strptime.c


# corresponding headers
EXTRA_ethereal_INCLUDES = \
	snprintf.h	\
	snprintf-imp.h	\
	strerror.h	\
	mkstemp.h	\
	strptime.h


# ethereal specifics
ethereal_SOURCES = \
	$(ETHEREAL_COMMON_SRC)	\
	alert_box.c	\
	capture.c	\
	file.c	\
	filters.c	\
	proto_hier_stats.c	\
	summary.c


# corresponding headers
ethereal_INCLUDES = \
	alert_box.h	\
	capture.h	\
	filters.h	\
	globals.h	\
	menu.h	\
	progress_dlg.h	\
	proto_hier_stats.h	\
	simple_dialog.h	\
	statusbar.h	\
	summary.h	\
	tap_dfilter_dlg.h	\
	ui_util.h


# tethereal specifics
tethereal_SOURCES = \
	$(ETHEREAL_COMMON_SRC)	\
	$(TETHEREAL_TAP_SRC)	\
	tethereal-tap-register.c	\
	tethereal.c


# text2pcap specifics
text2pcap_SOURCES = \
	text2pcap.c \
	text2pcap-scanner.l


# mergecap specifics
mergecap_SOURCES = \
	mergecap.c \
	cvsversion.h


# editcap specifics
editcap_SOURCES = \
	editcap.c


# dftest specifics
dftest_SOURCES = \
	dftest.c


# randpkt specifics
randpkt_SOURCES = \
	randpkt.c


# this target needed for distribution only
noinst_HEADERS = \
	$(DISSECTOR_INCLUDES) \
	$(DISSECTOR_SUPPORT_INCLUDES) \
	$(ETHEREAL_COMMON_INCLUDES) \
	$(ethereal_INCLUDES) \
	$(EXTRA_ethereal_INCLUDES)


plugin_libs = \
	plugins/acn/acn.la \
	plugins/artnet/artnet.la \
	plugins/asn1/asn1.la \
	plugins/ciscosm/ciscosm.la \
	plugins/docsis/docsis.la \
	plugins/enttec/enttec.la \
	plugins/giop/cosnaming.la \
	plugins/giop/coseventcomm.la \
	plugins/gryphon/gryphon.la \
	plugins/irda/irda.la \
	plugins/lwres/lwres.la \
	plugins/megaco/megaco.la \
	plugins/mgcp/mgcp.la \
	plugins/pcli/pcli.la \
	plugins/rdm/rdm.la \
	plugins/rlm/rlm.la \
	plugins/rtnet/rtnet.la \
	plugins/rudp/rudp.la \
	plugins/v5ua/v5ua.la

#plugin_libs = 

plugin_ldadd = \
	"-dlopen" self	\
	"-dlopen" plugins/acn/acn.la \
	"-dlopen" plugins/artnet/artnet.la \
	"-dlopen" plugins/asn1/asn1.la \
	"-dlopen" plugins/ciscosm/ciscosm.la \
	"-dlopen" plugins/docsis/docsis.la \
	"-dlopen" plugins/enttec/enttec.la \
	"-dlopen" plugins/giop/cosnaming.la \
	"-dlopen" plugins/giop/coseventcomm.la \
	"-dlopen" plugins/gryphon/gryphon.la \
	"-dlopen" plugins/irda/irda.la \
	"-dlopen" plugins/lwres/lwres.la \
	"-dlopen" plugins/megaco/megaco.la \
	"-dlopen" plugins/mgcp/mgcp.la \
	"-dlopen" plugins/pcli/pcli.la \
	"-dlopen" plugins/rdm/rdm.la \
	"-dlopen" plugins/rlm/rlm.la \
	"-dlopen" plugins/rtnet/rtnet.la \
	"-dlopen" plugins/rudp/rudp.la \
	"-dlopen" plugins/v5ua/v5ua.la

#plugin_ldadd = \
#	plugins/acn/packet-acn.o \
#	plugins/artnet/packet-artnet.o \
#	plugins/asn1/packet-asn1.o \
#	plugins/ciscosm/packet-sm.o \
#	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 \
#	plugins/enttec/packet-enttec.o \
#	plugins/giop/packet-cosnaming.o \
#	plugins/giop/packet-coseventcomm.o \
#	plugins/gryphon/packet-gryphon.o \
#	plugins/irda/packet-irda.o \
#	plugins/lwres/packet-lwres.o \
#	plugins/megaco/packet-megaco.o \
#	plugins/mgcp/packet-mgcp.o \
#	plugins/pcli/packet-pcli.o \
#	plugins/rdm/packet-rdm.o \
#	plugins/rlm/packet-rlm.o \
#	plugins/rtnet/packet-rtnet.o \
#	plugins/rudp/packet-rudp.o \
#	plugins/v5ua/packet-v5ua.o

#plugin_ldadd = 

# Optional objects that I know how to build. These will be
# linked into the ethereal executable.
# 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.
ethereal_optional_objects =   \
	   


# Additional libs that I know how to build. These will be
# linked into the ethereal executable.
ethereal_additional_libs = \
	wiretap/libwiretap.la	\
	gtk/libui.a		\
	epan/libethereal.la


# This is the automake dependency variable for the executable
ethereal_DEPENDENCIES = \
	$(ethereal_optional_objects)	\
	$(ethereal_additional_libs)	\
	$(plugin_libs)



# This automake variable adds to the link-line for the executable.
#
# Note that Ethereal doesn't have to be linked with -L/usr/lib -rdynamic -lgmodule -lglib -ldl, as
# they are included in -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm, and doesn't have to be linked with
#  or , as those should also be included in
# -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm (as those are also needed for X applications, and GTK+
# applications are X applications).
#ethereal_LDFLAGS = -Wl,-static -all-static
ethereal_LDFLAGS = -export-dynamic

ethereal_LDADD = \
	$(ethereal_optional_objects)	\
	$(ethereal_additional_libs)	\
	-L/usr/lib -lnetsnmp -lcrypto -lm -lcrypto 		\
	$(plugin_ldadd)			\
	-lpcre			\
	-lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 


# Additional libs that I know how to build. These will be
# linked into the tethereal executable.
tethereal_additional_libs = \
	wiretap/libwiretap.la		\
	epan/libethereal.la


# This is the automake dependency variable for the executable
tethereal_DEPENDENCIES = \
	$(ethereal_optional_objects)	\
	$(tethereal_additional_libs)	\
	$(plugin_libs)


# This automake variable adds to the link-line for the executable
tethereal_LDADD = \
	$(ethereal_optional_objects)	\
	$(tethereal_additional_libs)	\
	-L/usr/lib -lnetsnmp -lcrypto -lm -lcrypto		\
	$(plugin_ldadd)			\
	-lpcre			\
	-L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm			\
	-lpcap   


#tethereal_LDFLAGS = -Wl,-static -all-static
tethereal_LDFLAGS = -export-dynamic

# Optional objects that I know how to build, and that are needed by
# text2pcap.
text2pcap_optional_objects =  

text2pcap_DEPENDENCIES = text2pcap.h

# This automake variable adds to the link-line for the executable
text2pcap_LDADD = $(text2pcap_optional_objects) \
	-L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm


mergecap_DEPENDENCIES = wiretap/libwiretap.la

# This is the automake dependency variable for the executable
editcap_DEPENDENCIES = wiretap/libwiretap.la

# This automake variable adds to the link-line for the executable
editcap_LDADD = wiretap/libwiretap.la -L/usr/lib -rdynamic -lgmodule -lglib -ldl
mergecap_LDADD = wiretap/libwiretap.la -L/usr/lib -rdynamic -lgmodule -lglib -ldl

# Common headers
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap

#
# Build shell scripts by doing variable substitution.
# Taken from autoconf 2.13.
#
editsh = sed -e 's,@''SHELL''@,$(SHELL),g'

SUFFIXES = .sh

randpkt_additional_libs = wiretap/libwiretap.la

randpkt_DEPENDENCIES = \
	$(randpkt_additional_libs)


randpkt_LDADD = \
	$(randpkt_additional_libs) \
	-L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm			\
	-lpcap   


dftest_additional_libs = \
	wiretap/libwiretap.la		\
	epan/libethereal.la


dftest_DEPENDENCIES = \
	$(ethereal_optional_objects)	\
	$(dftest_additional_libs)	\
	$(plugin_libs)


# This automake variable adds to the link-line for the executable
dftest_LDADD = \
	$(ethereal_optional_objects)	\
	$(dftest_additional_libs)	\
 	-L/usr/lib -lnetsnmp -lcrypto -lm -lcrypto		\
	$(plugin_ldadd)			\
	-lpcre			\
	-L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm			\
	-lpcap   


dftest_LDFLAGS = -export-dynamic

CLEANFILES = \
	cvsversion.h \
	rdps$(EXEEXT) \
	idl2eth


DISTCLEANFILES = \
	ps.c \
	*~


MAINTAINERCLEANFILES = \
	ps.c


EXTRA_DIST = \
	Ethereal.desktop	\
	FAQ			\
	INSTALL.configure       \
	Makefile.common		\
	Makefile.nmake		\
	README.aix		\
	README.bsd		\
	README.hpux		\
	README.irix		\
	README.linux		\
	README.macos		\
	README.tru64		\
	README.vmware		\
	README.win32		\
	TODO			\
	aclocal-fallback/glib-2.0.m4 \
	aclocal-fallback/glib.m4 \
	aclocal-fallback/gtk-2.0.m4 \
	aclocal-fallback/gtk.m4 \
	aclocal-flags		\
	autogen.sh		\
	capture-wpcap.c		\
	capture-wpcap.h		\
	cleanbld.bat		\
	config.h.win32		\
	config.nmake		\
	debian/README.debian	\
	debian/changelog	\
	debian/control		\
	debian/copyright	\
	debian/dirs		\
	debian/docs		\
	debian/menu		\
	debian/postinst		\
	debian/prerm		\
	debian/rules		\
	dictionary.dtd		\
	dictionary.xml		\
	doc/Makefile.am         \
	doc/Makefile.nmake      \
	doc/README.capture      \
	doc/README.design       \
	doc/README.developer    \
	doc/README.idl2eth      \
	doc/README.plugins      \
	doc/README.regression   \
	doc/README.tapping	\
	doc/README.tvbuff	\
	doc/README.xml-output	\
	doc/dfilter2pod.pl	\
	doc/editcap.pod		\
	doc/ethereal-filter.pod.template \
	doc/ethereal.pod	\
	doc/idl2eth.pod		\
	doc/mergecap.pod	\
	doc/randpkt.txt		\
	doc/tethereal.pod	\
	doc/text2pcap.pod	\
	editcap.c		\
	ethereal_be.py		\
	ethereal_gen.py		\
	getopt.c		\
	getopt.h		\
	idl2eth.sh		\
	image/Ethereal.icns	\
	image/Makefile.nmake	\
	image/README.image	\
	image/clist_ascend.xpm	\
	image/clist_descend.xpm	\
	image/dn_arrow.xpm	\
	image/editcap.rc.in	\
	image/eexcl3d64.xpm	\
	image/eicon3d16.xpm	\
	image/eicon3d32.xpm	\
	image/eicon3d48.xpm	\
	image/eicon3d64.xpm	\
	image/elogo3d48x48.png	\
	image/ethereal.ico	\
	image/ethereal.rc.in	\
	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	\
	image/lo16-app-ethereal.png	\
	image/lo32-app-ethereal.png	\
	image/lo48-app-ethereal.png	\
	image/mergecap.rc.in	\
	image/nsis-checked.bmp	\
	image/nsis-unchecked.bmp	\
	image/stock_dialog_error_48.xpm	\
	image/stock_dialog_warning_48.xpm	\
	image/stock_dialog_question_48.xpm	\
	image/stock_dialog_info_48.xpm	\
	image/tethereal.rc.in	\
	image/text2pcap.rc.in	\
	image/toolbar/capture_24.xpm	\
	image/toolbar/cfilter_24.xpm	\
	image/toolbar/dfilter_24.xpm	\
	image/toolbar/stock_add_24.xpm	\
	image/toolbar/stock_bottom_24.xpm \
	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	\
	image/toolbar/stock_left_arrow_24.xpm \
	image/toolbar/stock_ok_20.xpm	\
	image/toolbar/stock_open_24.xpm	\
	image/toolbar/stock_preferences_24.xpm	\
	image/toolbar/stock_print_24.xpm	\
	image/toolbar/stock_properties_24.xpm	\
	image/toolbar/stock_refresh_24.xpm	\
	image/toolbar/stock_right_arrow_24.xpm	\
	image/toolbar/stock_save_24.xpm	\
	image/toolbar/stock_save_as_24.xpm \
	image/toolbar/stock_search_24.xpm	\
	image/toolbar/stock_stop_24.xpm	\
	image/toolbar/stock_top_24.xpm \
	image/toolbar/stock_zoom_1_24.xpm \
	image/toolbar/stock_zoom_in_24.xpm \
	image/toolbar/stock_zoom_out_24.xpm \
	image/up_arrow.xpm	\
	make-manuf		\
	make-reg-dotc		\
	make-reg-dotc.py	\
	make-tapreg-dotc	\
	make-version.pl		\
	manuf                   \
	manuf.tmpl		\
	mergecap.c		\
	mobileipv4.xml		\
	nasreq.xml		\
	ncp2222.py              \
	packet-ncp2222.inc	\
	print.ps                \
	process-x11-fields.pl	\
	randpkt.c		\
	rdps.c			\
	sunping.xml		\
	text2pcap-scanner.l     \
	text2pcap.c             \
	text2pcap.h             \
	wka.tmpl		\
	x11-fields


DIST_SUBDIRS = tools wiretap doc epan plugins packaging gtk help

SUBDIRS = tools wiretap doc epan plugins packaging help gtk
#SUBDIRS = tools wiretap doc epan packaging help gtk

# We load top_stagedir with an explicit path so that libtool doesn't freak.
top_stagedir = `cd $(top_srcdir) && pwd`/packaging/svr4.stage
stagedir = $(top_stagedir)/$(PACKAGE).stage
host_cpu = i686
host_os = linux-gnu

rpm_topdir = `cd $(top_srcdir) && pwd`/packaging/rpm
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
EXTRA_PROGRAMS = ethereal$(EXEEXT) tethereal$(EXEEXT) editcap$(EXEEXT) \
	mergecap$(EXEEXT) dftest$(EXEEXT) randpkt$(EXEEXT) \
	text2pcap$(EXEEXT)
bin_PROGRAMS = ethereal$(EXEEXT) editcap$(EXEEXT) mergecap$(EXEEXT) \
	tethereal$(EXEEXT)   text2pcap$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)

am_dftest_OBJECTS = dftest.$(OBJEXT)
dftest_OBJECTS = $(am_dftest_OBJECTS)
am_editcap_OBJECTS = editcap.$(OBJEXT)
editcap_OBJECTS = $(am_editcap_OBJECTS)
editcap_LDFLAGS =
am__objects_1 = pcap-util-unix.$(OBJEXT)
am__objects_2 = $(am__objects_1) capture_stop_conditions.$(OBJEXT) \
	cfile.$(OBJEXT) conditions.$(OBJEXT) disabled_protos.$(OBJEXT) \
	pcap-util.$(OBJEXT) print.$(OBJEXT) ps.$(OBJEXT) \
	range.$(OBJEXT) ringbuffer.$(OBJEXT) timestats.$(OBJEXT) \
	version_info.$(OBJEXT)
am_ethereal_OBJECTS = $(am__objects_2) alert_box.$(OBJEXT) \
	capture.$(OBJEXT) file.$(OBJEXT) filters.$(OBJEXT) \
	proto_hier_stats.$(OBJEXT) summary.$(OBJEXT)
ethereal_OBJECTS = $(am_ethereal_OBJECTS)
am_mergecap_OBJECTS = mergecap.$(OBJEXT)
mergecap_OBJECTS = $(am_mergecap_OBJECTS)
mergecap_LDFLAGS =
am_randpkt_OBJECTS = randpkt.$(OBJEXT)
randpkt_OBJECTS = $(am_randpkt_OBJECTS)
randpkt_LDFLAGS =
am__objects_3 = tap-ansi_astat.$(OBJEXT) tap-bootpstat.$(OBJEXT) \
	tap-dcerpcstat.$(OBJEXT) tap-gsm_astat.$(OBJEXT) \
	tap-h225counter.$(OBJEXT) tap-h225rassrt.$(OBJEXT) \
	tap-httpstat.$(OBJEXT) tap-iostat.$(OBJEXT) \
	tap-iousers.$(OBJEXT) tap-mgcpstat.$(OBJEXT) \
	tap-protocolinfo.$(OBJEXT) tap-protohierstat.$(OBJEXT) \
	tap-rpcstat.$(OBJEXT) tap-rpcprogs.$(OBJEXT) \
	tap-smbsids.$(OBJEXT) tap-smbstat.$(OBJEXT) \
	tap-wspstat.$(OBJEXT)
am_tethereal_OBJECTS = $(am__objects_2) $(am__objects_3) \
	tethereal-tap-register.$(OBJEXT) tethereal.$(OBJEXT)
tethereal_OBJECTS = $(am_tethereal_OBJECTS)
am_text2pcap_OBJECTS = text2pcap.$(OBJEXT) text2pcap-scanner.$(OBJEXT)
text2pcap_OBJECTS = $(am_text2pcap_OBJECTS)
text2pcap_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)


DEFS = -DHAVE_CONFIG_H
DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
CPPFLAGS =  -I/usr/local/include -g -O2 -Dlinux -I. -I/usr/include
LDFLAGS =  -L/usr/local/lib -L/usr/local/lib
LIBS = -lz 
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
DEP_FILES = ./$(DEPDIR)/alert_box.Po ./$(DEPDIR)/capture.Po \
	./$(DEPDIR)/capture_stop_conditions.Po \
	./$(DEPDIR)/cfile.Po ./$(DEPDIR)/conditions.Po \
	./$(DEPDIR)/dftest.Po \
	./$(DEPDIR)/disabled_protos.Po \
	./$(DEPDIR)/editcap.Po ./$(DEPDIR)/file.Po \
	./$(DEPDIR)/filters.Po ./$(DEPDIR)/mergecap.Po \
	./$(DEPDIR)/mkstemp.Po \
	./$(DEPDIR)/pcap-util-unix.Po \
	./$(DEPDIR)/pcap-util.Po ./$(DEPDIR)/print.Po \
	./$(DEPDIR)/proto_hier_stats.Po ./$(DEPDIR)/ps.Po \
	./$(DEPDIR)/randpkt.Po ./$(DEPDIR)/range.Po \
	./$(DEPDIR)/ringbuffer.Po ./$(DEPDIR)/snprintf.Po \
	./$(DEPDIR)/strcasecmp.Po ./$(DEPDIR)/strerror.Po \
	./$(DEPDIR)/strncasecmp.Po ./$(DEPDIR)/strptime.Po \
	./$(DEPDIR)/summary.Po \
	./$(DEPDIR)/tap-ansi_astat.Po \
	./$(DEPDIR)/tap-bootpstat.Po \
	./$(DEPDIR)/tap-dcerpcstat.Po \
	./$(DEPDIR)/tap-gsm_astat.Po \
	./$(DEPDIR)/tap-h225counter.Po \
	./$(DEPDIR)/tap-h225rassrt.Po \
	./$(DEPDIR)/tap-httpstat.Po \
	./$(DEPDIR)/tap-iostat.Po \
	./$(DEPDIR)/tap-iousers.Po \
	./$(DEPDIR)/tap-mgcpstat.Po \
	./$(DEPDIR)/tap-protocolinfo.Po \
	./$(DEPDIR)/tap-protohierstat.Po \
	./$(DEPDIR)/tap-rpcprogs.Po \
	./$(DEPDIR)/tap-rpcstat.Po \
	./$(DEPDIR)/tap-smbsids.Po \
	./$(DEPDIR)/tap-smbstat.Po \
	./$(DEPDIR)/tap-wspstat.Po \
	./$(DEPDIR)/tethereal-tap-register.Po \
	./$(DEPDIR)/tethereal.Po \
	./$(DEPDIR)/text2pcap-scanner.Po \
	./$(DEPDIR)/text2pcap.Po ./$(DEPDIR)/timestats.Po \
	./$(DEPDIR)/version_info.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
CFLAGS = -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Dlinux -I. -I/usr/include
LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
DIST_SOURCES = $(dftest_SOURCES) $(editcap_SOURCES) $(ethereal_SOURCES) \
	$(EXTRA_ethereal_SOURCES) $(mergecap_SOURCES) \
	$(randpkt_SOURCES) $(tethereal_SOURCES) $(text2pcap_SOURCES)

NROFF = nroff
MANS = $(man1_MANS) $(man4_MANS) $(man_MANS)
DATA = $(diameter_DATA) $(pkgdata_DATA)

HEADERS = $(noinst_HEADERS)


RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
	uninstall-info-recursive all-recursive install-data-recursive \
	install-exec-recursive installdirs-recursive install-recursive \
	uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = README $(noinst_HEADERS) AUTHORS COPYING ChangeLog \
	INSTALL Makefile.am Makefile.in NEWS TODO acinclude.m4 \
	aclocal.m4 config.guess config.h.in config.sub configure \
	configure.in depcomp install-sh ltconfig ltmain.sh missing \
	mkinstalldirs text2pcap-scanner.c
SOURCES = $(dftest_SOURCES) $(editcap_SOURCES) $(ethereal_SOURCES) $(EXTRA_ethereal_SOURCES) $(mergecap_SOURCES) $(randpkt_SOURCES) $(tethereal_SOURCES) $(text2pcap_SOURCES)

all: $(BUILT_SOURCES) config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
.SUFFIXES: .sh .c .l .lo .o .obj

am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno
$(srcdir)/Makefile.in:  Makefile.am $(srcdir)/Makefile.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  Makefile
Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)

$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

$(ACLOCAL_M4):  configure.in acinclude.m4
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)

config.h: stamp-h1
	@if test ! -f $@; then \
	  rm -f stamp-h1; \
	  $(MAKE) stamp-h1; \
	else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status config.h

$(srcdir)/config.h.in:  $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOHEADER)
	touch $(srcdir)/config.h.in

distclean-hdr:
	-rm -f config.h stamp-h1
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  if test -f $$p \
	     || test -f $$p1 \
	  ; then \
	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

clean-binPROGRAMS:
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
dftest$(EXEEXT): $(dftest_OBJECTS) $(dftest_DEPENDENCIES) 
	@rm -f dftest$(EXEEXT)
	$(LINK) $(dftest_LDFLAGS) $(dftest_OBJECTS) $(dftest_LDADD) $(LIBS)
editcap$(EXEEXT): $(editcap_OBJECTS) $(editcap_DEPENDENCIES) 
	@rm -f editcap$(EXEEXT)
	$(LINK) $(editcap_LDFLAGS) $(editcap_OBJECTS) $(editcap_LDADD) $(LIBS)
ethereal$(EXEEXT): $(ethereal_OBJECTS) $(ethereal_DEPENDENCIES) 
	@rm -f ethereal$(EXEEXT)
	$(LINK) $(ethereal_LDFLAGS) $(ethereal_OBJECTS) $(ethereal_LDADD) $(LIBS)
mergecap$(EXEEXT): $(mergecap_OBJECTS) $(mergecap_DEPENDENCIES) 
	@rm -f mergecap$(EXEEXT)
	$(LINK) $(mergecap_LDFLAGS) $(mergecap_OBJECTS) $(mergecap_LDADD) $(LIBS)
randpkt$(EXEEXT): $(randpkt_OBJECTS) $(randpkt_DEPENDENCIES) 
	@rm -f randpkt$(EXEEXT)
	$(LINK) $(randpkt_LDFLAGS) $(randpkt_OBJECTS) $(randpkt_LDADD) $(LIBS)
tethereal$(EXEEXT): $(tethereal_OBJECTS) $(tethereal_DEPENDENCIES) 
	@rm -f tethereal$(EXEEXT)
	$(LINK) $(tethereal_LDFLAGS) $(tethereal_OBJECTS) $(tethereal_LDADD) $(LIBS)
text2pcap$(EXEEXT): $(text2pcap_OBJECTS) $(text2pcap_DEPENDENCIES) 
	@rm -f text2pcap$(EXEEXT)
	$(LINK) $(text2pcap_LDFLAGS) $(text2pcap_OBJECTS) $(text2pcap_LDADD) $(LIBS)
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f $$d$$p; then \
	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

mostlyclean-compile:
	-rm -f *.$(OBJEXT) core *.core

distclean-compile:
	-rm -f *.tab.c

include ./$(DEPDIR)/alert_box.Po
include ./$(DEPDIR)/capture.Po
include ./$(DEPDIR)/capture_stop_conditions.Po
include ./$(DEPDIR)/cfile.Po
include ./$(DEPDIR)/conditions.Po
include ./$(DEPDIR)/dftest.Po
include ./$(DEPDIR)/disabled_protos.Po
include ./$(DEPDIR)/editcap.Po
include ./$(DEPDIR)/file.Po
include ./$(DEPDIR)/filters.Po
include ./$(DEPDIR)/mergecap.Po
include ./$(DEPDIR)/mkstemp.Po
include ./$(DEPDIR)/pcap-util-unix.Po
include ./$(DEPDIR)/pcap-util.Po
include ./$(DEPDIR)/print.Po
include ./$(DEPDIR)/proto_hier_stats.Po
include ./$(DEPDIR)/ps.Po
include ./$(DEPDIR)/randpkt.Po
include ./$(DEPDIR)/range.Po
include ./$(DEPDIR)/ringbuffer.Po
include ./$(DEPDIR)/snprintf.Po
include ./$(DEPDIR)/strcasecmp.Po
include ./$(DEPDIR)/strerror.Po
include ./$(DEPDIR)/strncasecmp.Po
include ./$(DEPDIR)/strptime.Po
include ./$(DEPDIR)/summary.Po
include ./$(DEPDIR)/tap-ansi_astat.Po
include ./$(DEPDIR)/tap-bootpstat.Po
include ./$(DEPDIR)/tap-dcerpcstat.Po
include ./$(DEPDIR)/tap-gsm_astat.Po
include ./$(DEPDIR)/tap-h225counter.Po
include ./$(DEPDIR)/tap-h225rassrt.Po
include ./$(DEPDIR)/tap-httpstat.Po
include ./$(DEPDIR)/tap-iostat.Po
include ./$(DEPDIR)/tap-iousers.Po
include ./$(DEPDIR)/tap-mgcpstat.Po
include ./$(DEPDIR)/tap-protocolinfo.Po
include ./$(DEPDIR)/tap-protohierstat.Po
include ./$(DEPDIR)/tap-rpcprogs.Po
include ./$(DEPDIR)/tap-rpcstat.Po
include ./$(DEPDIR)/tap-smbsids.Po
include ./$(DEPDIR)/tap-smbstat.Po
include ./$(DEPDIR)/tap-wspstat.Po
include ./$(DEPDIR)/tethereal-tap-register.Po
include ./$(DEPDIR)/tethereal.Po
include ./$(DEPDIR)/text2pcap-scanner.Po
include ./$(DEPDIR)/text2pcap.Po
include ./$(DEPDIR)/timestats.Po
include ./$(DEPDIR)/version_info.Po

distclean-depend:
	-rm -rf ./$(DEPDIR)

.c.o:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<

.c.obj:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `cygpath -w $<`

.c.lo:
	source='$<' object='$@' libtool=yes \
	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
	$(CCDEPMODE) $(depcomp) \
	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
CCDEPMODE = depmode=gcc3

.l.c:
	$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
	rm -f $(LEX_OUTPUT_ROOT).c

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:

man1dir = $(mandir)/man1
install-man1: $(man1_MANS) $(man_MANS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(man1dir)
	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.1*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  case "$$ext" in \
	    1*) ;; \
	    *) ext='1' ;; \
	  esac; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
	done
uninstall-man1:
	@$(NORMAL_UNINSTALL)
	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.1*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
	done

man4dir = $(mandir)/man4
install-man4: $(man4_MANS) $(man_MANS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(man4dir)
	@list='$(man4_MANS) $(dist_man4_MANS) $(nodist_man4_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.4*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  case "$$ext" in \
	    4*) ;; \
	    *) ext='4' ;; \
	  esac; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst"; \
	  $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst; \
	done
uninstall-man4:
	@$(NORMAL_UNINSTALL)
	@list='$(man4_MANS) $(dist_man4_MANS) $(nodist_man4_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.4*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " rm -f $(DESTDIR)$(man4dir)/$$inst"; \
	  rm -f $(DESTDIR)$(man4dir)/$$inst; \
	done
diameterDATA_INSTALL = $(INSTALL_DATA)
install-diameterDATA: $(diameter_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(diameterdir)
	@list='$(diameter_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(diameterDATA_INSTALL) $$d$$p $(DESTDIR)$(diameterdir)/$$f"; \
	  $(diameterDATA_INSTALL) $$d$$p $(DESTDIR)$(diameterdir)/$$f; \
	done

uninstall-diameterDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(diameter_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(diameterdir)/$$f"; \
	  rm -f $(DESTDIR)$(diameterdir)/$$f; \
	done
pkgdataDATA_INSTALL = $(INSTALL_DATA)
install-pkgdataDATA: $(pkgdata_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
	@list='$(pkgdata_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
	  $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
	done

uninstall-pkgdataDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(pkgdata_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
	  rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
	done

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done

ETAGS = etags
ETAGSFLAGS =

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$tags$$unique" \
	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = .
distdir = $(PACKAGE)-$(VERSION)

am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }

GZIP_ENV = --best
distcleancheck_listfiles = find . -type f -print

distdir: $(DISTFILES)
	$(am__remove_distdir)
	mkdir $(distdir)
	$(mkinstalldirs) $(distdir)/aclocal-fallback $(distdir)/debian $(distdir)/doc $(distdir)/image $(distdir)/image/toolbar $(distdir)/packaging/rpm/SPECS $(distdir)/packaging/svr4
	@list='$(DISTFILES)'; for file in $$list; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkinstalldirs) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -d $(distdir)/$$subdir \
	    || mkdir $(distdir)/$$subdir \
	    || exit 1; \
	    (cd $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="$(top_distdir)" \
	        distdir=../$(distdir)/$$subdir \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

dist dist-all: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	$(am__remove_distdir)
	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	chmod a-w $(distdir)
	dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
	  && cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
	      || { echo "ERROR: files left after uninstall:" ; \
	           find $$dc_install_base -type f -print ; \
	           exit 1; } >&2 ) \
	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
	  && rm -f $(distdir).tar.gz \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
	@echo "$(distdir).tar.gz is ready for distribution" | \
	  sed 'h;s/./=/g;p;x;p;x'
distcleancheck: distclean
	if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) $(HEADERS) \
		config.h
installdirs: installdirs-recursive
installdirs-am:
	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man4dir) $(DESTDIR)$(diameterdir) $(DESTDIR)$(pkgdatadir)

install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "text2pcap-scanner.c$(BUILT_SOURCES)$(MAINTAINERCLEANFILES)" || rm -f text2pcap-scanner.c $(BUILT_SOURCES) $(MAINTAINERCLEANFILES)
clean: clean-recursive

clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \
	mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
distclean-am: clean-am distclean-compile distclean-depend \
	distclean-generic distclean-hdr distclean-libtool \
	distclean-tags

dvi: dvi-recursive

dvi-am:

info: info-recursive

info-am:

install-data-am: install-diameterDATA install-man install-pkgdataDATA

install-exec-am: install-binPROGRAMS install-binSCRIPTS
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook

install-info: install-info-recursive

install-man: install-man1 install-man4

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf autom4te.cache
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
	uninstall-diameterDATA uninstall-info-am uninstall-man \
	uninstall-pkgdataDATA

uninstall-info: uninstall-info-recursive

uninstall-man: uninstall-man1 uninstall-man4

.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
	clean-binPROGRAMS clean-generic clean-libtool clean-local \
	clean-recursive dist dist-all dist-gzip distcheck distclean \
	distclean-compile distclean-depend distclean-generic \
	distclean-hdr distclean-libtool distclean-recursive \
	distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \
	info info-am info-recursive install install-am \
	install-binPROGRAMS install-binSCRIPTS install-data \
	install-data-am install-data-recursive install-diameterDATA \
	install-exec install-exec-am install-exec-recursive \
	install-info install-info-am install-info-recursive install-man \
	install-man1 install-man4 install-pkgdataDATA install-recursive \
	install-strip installcheck installcheck-am installdirs \
	installdirs-am installdirs-recursive maintainer-clean \
	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
	mostlyclean-recursive tags tags-recursive uninstall \
	uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
	uninstall-diameterDATA uninstall-info-am \
	uninstall-info-recursive uninstall-man uninstall-man1 \
	uninstall-man4 uninstall-pkgdataDATA uninstall-recursive


#
# Build the version string
#
# FORCE is the portable version of .PHONY
FORCE:

cvsversion.h: FORCE
	$(PERL) $(srcdir)/make-version.pl
.sh:
	rm -f $@ $@.tmp
	$(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@

#
# 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)

ps.c: print.ps rdps
	./rdps $(srcdir)/print.ps ps.c

rdps: rdps.c
	$(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c

#install-exec-hook:
#	-chmod +s $(DESTDIR)$(bindir)/ethereal
#	-chmod +s $(DESTDIR)$(bindir)/tethereal
install-exec-hook:

ethereal.1: ethereal doc/ethereal.pod
	(cd doc ; \
	$(MAKE) ../ethereal.1 )

tethereal.1: tethereal doc/tethereal.pod
	(cd doc ; \
	$(MAKE) ../tethereal.1 )

ethereal-filter.4: tethereal doc/ethereal-filter.pod.template
	(cd doc ; \
	$(MAKE) ../ethereal-filter.4 )

editcap.1: doc/editcap.pod
	(cd doc ; \
	$(MAKE) ../editcap.1 )

idl2eth.1: doc/idl2eth.pod
	(cd doc ; \
	$(MAKE) ../idl2eth.1 )

mergecap.1: doc/mergecap.pod
	(cd doc ; \
	$(MAKE) ../mergecap.1 )

text2pcap.1: doc/text2pcap.pod
	(cd doc ; \
	$(MAKE) ../text2pcap.1 )

libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck

svr4-package: $(bin_SCRIPTS) $(lib_LTLIBRARIES)
	@if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
		rm -rf $(stagedir) ; \
		$(MAKE) DESTDIR=$(stagedir) install; \
		$(srcdir)/packaging/svr4/mkpkg \
			$(PACKAGE) \
			$(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
			$(prefix) \
			$(top_stagedir) ; \
	else \
		echo "Error: SVR4 packaging tools not found." ; \
		echo "Package build abandoned." ; \
	fi

solaris-package: svr4-package
rpm-package: dist
	if test x$(HAVE_RPM) = xyes ; then \
		cd $(rpm_topdir) ; \
		mkdir -p BUILD RPMS SOURCES ; \
		cd SOURCES ; \
		ln -s ../../../$(distdir).tar.gz ; \
		cd .. ; \
		rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/ethereal.spec && \
			echo "Package successfully built in `pwd`/RPMS." ; \
	else \
		echo "Error: RPM executable and/or source directory not found." ; \
	fi
srpm-package: dist
	if test x$(HAVE_RPM) = xyes ; then \
		cd $(rpm_topdir) ; \
		mkdir -p BUILD SRPMS SOURCES ; \
		cd SOURCES ; \
		ln -s ../../../$(distdir).tar.gz ; \
		cd .. ; \
		rpmbuild --define "_topdir `cd . && pwd`" -bs SPECS/ethereal.spec && \
			echo "Package successfully built in `pwd`/SRPMS." ; \
	else \
		echo "Error: RPM executable and/or source directory not found." ; \
	fi

debian-package: debian/rules
	dpkg-buildpackage -rfakeroot -us -uc

clean-local:
	rm -rf $(top_stagedir)

test-splint: $(ethereal_SOURCES)
	splint \
		-gnu-extensions	-D_U_=""	\
		-I. `glib-config --cflags` \
		-I./epan \
		-I./tools/lemon \
		-I./wiretap	\
		$(ethereal_SOURCES)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
