2 # Automake file for Ethereal
4 # $Id: Makefile.am,v 1.77 1999/10/01 21:41:38 guy Exp $
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@zing.org>
8 # Copyright 1998 Gerald Combs
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 bin_PROGRAMS = ethereal
31 # Any POSIX-compatible YACC should honor the -p flag
141 EXTRA_ethereal_SOURCES = \
154 ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ \
155 @STRNCASECMP_O@ @MKSTEMP_O@ wiretap/libwiretap.a gtk/libui.a
156 ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ \
157 @STRNCASECMP_O@ @MKSTEMP_O@ wiretap/libwiretap.a gtk/libui.a @SNMP_A@
160 ./rdps $(srcdir)/print.ps ps.c
163 $(CC) -o rdps $(srcdir)/rdps.c
166 $(CC) -DHAVE_CONFIG_H -I. `glib-config --cflags` -c $(srcdir)/randpkt.c
168 randpkt: randpkt.o wiretap/libwiretap.a
169 $(LINK) -o randpkt randpkt.o wiretap/libwiretap.a `glib-config --libs` -lz
181 doc/ethereal.pod.template \
184 image/icon-excl.xpm \
185 image/icon-ethereal.xpm \
196 SUBDIRS = wiretap gtk @ethereal_SUBDIRS@
198 ethereal.1: ethereal doc/ethereal.pod.template
200 $(MAKE) ../ethereal.1 )
202 dfilter-scanner.c : dfilter-scanner.l
203 $(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c