1999-09-09 03:55:49 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Wiretap
|
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
1999-09-09 03:55:49 +00:00
|
|
|
#
|
|
|
|
# Ethereal - Network traffic analyzer
|
2003-04-02 20:21:45 +00:00
|
|
|
# By Gerald Combs <gerald@ethereal.com>
|
1999-09-09 03:55:49 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2003-07-29 19:42:01 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +00:00
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2003-07-29 19:42:01 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2003-07-29 19:42:01 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
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`
|
|
|
|
|
2004-07-26 20:46:54 +00:00
|
|
|
include Makefile.common
|
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
lib_LTLIBRARIES = libwiretap.la
|
|
|
|
libwiretap_la_LDFLAGS = -version-info 0:1:0
|
1999-05-01 05:19:25 +00:00
|
|
|
|
1999-03-01 18:57:07 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
libwiretap.a \
|
2004-03-24 21:27:44 +00:00
|
|
|
libwiretap.la \
|
1999-07-07 22:52:57 +00:00
|
|
|
*~
|
1998-11-12 00:06:47 +00:00
|
|
|
|
2004-07-26 20:46:54 +00:00
|
|
|
MAINTAINERCLEANFILES = $(GENERATED_FILES)
|
2004-03-06 21:46:27 +00:00
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
libwiretap_la_SOURCES = \
|
2004-07-26 20:46:54 +00:00
|
|
|
$(NONGENERATED_C_FILES) $(GENERATOR_SOURCES) $(HEADER_FILES)
|
1999-07-15 15:33:52 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2003-04-02 20:21:45 +00:00
|
|
|
README.developer \
|
1999-07-15 15:33:52 +00:00
|
|
|
config.h.win32 \
|
2004-07-26 20:46:54 +00:00
|
|
|
Makefile.common \
|
2001-04-18 21:34:22 +00:00
|
|
|
Makefile.nmake \
|
2004-07-26 20:46:54 +00:00
|
|
|
wtap.def \
|
|
|
|
$(GENERATED_FILES)
|
1999-09-11 04:50:44 +00:00
|
|
|
|
|
|
|
# Any POSIX-compatible YACC should honor the -p flag
|
2003-04-27 09:16:36 +00:00
|
|
|
AM_YFLAGS=-d -p ascend
|
1999-09-11 04:50:44 +00:00
|
|
|
|
|
|
|
ascend-scanner.c : ascend-scanner.l
|
2000-03-29 19:55:51 +00:00
|
|
|
$(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l
|