2001-02-01 20:21:25 +00:00
|
|
|
# Makefile.am
|
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2001-02-01 20:21:25 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
2007-01-18 11:28:47 +00:00
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2001-02-01 20:21:25 +00:00
|
|
|
# Copyright 2001 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
|
2007-01-18 11:28:47 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2001-02-01 20:21:25 +00:00
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
noinst_LTLIBRARIES = libdfilter.la
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
libdfilter.a \
|
2004-03-24 21:27:44 +00:00
|
|
|
libdfilter.la \
|
2001-02-01 20:21:25 +00:00
|
|
|
*~
|
|
|
|
|
2005-08-02 15:25:41 +00:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
grammar.out \
|
|
|
|
grammar.c \
|
|
|
|
grammar.h
|
|
|
|
|
2005-07-10 08:04:27 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in \
|
|
|
|
grammar.c \
|
|
|
|
grammar.h \
|
|
|
|
grammar.out \
|
|
|
|
scanner.c
|
|
|
|
|
2001-03-05 22:53:41 +00:00
|
|
|
INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(srcdir)/$(LEMON)
|
2001-02-01 20:21:25 +00:00
|
|
|
|
2004-03-13 10:15:36 +00:00
|
|
|
libdfilter_la_SOURCES = \
|
2001-02-01 20:21:25 +00:00
|
|
|
dfilter.c \
|
|
|
|
dfilter.h \
|
|
|
|
dfilter-int.h \
|
2007-01-18 02:54:56 +00:00
|
|
|
dfilter-macro.h \
|
|
|
|
dfilter-macro.c \
|
2006-05-02 14:26:17 +00:00
|
|
|
dfunctions.c \
|
|
|
|
dfunctions.h \
|
2001-02-01 20:21:25 +00:00
|
|
|
dfvm.c \
|
|
|
|
dfvm.h \
|
2001-02-27 19:23:30 +00:00
|
|
|
drange.c \
|
|
|
|
drange.h \
|
2001-02-01 20:21:25 +00:00
|
|
|
gencode.c \
|
|
|
|
gencode.h \
|
|
|
|
glib-util.c \
|
|
|
|
glib-util.h \
|
|
|
|
grammar.c \
|
|
|
|
grammar.h \
|
|
|
|
scanner.c \
|
|
|
|
semcheck.c \
|
|
|
|
semcheck.h \
|
2006-05-02 14:26:17 +00:00
|
|
|
sttype-function.c \
|
|
|
|
sttype-function.h \
|
2001-02-27 19:23:30 +00:00
|
|
|
sttype-integer.c \
|
2001-02-01 20:21:25 +00:00
|
|
|
sttype-pointer.c \
|
|
|
|
sttype-range.c \
|
|
|
|
sttype-range.h \
|
|
|
|
sttype-string.c \
|
|
|
|
sttype-test.c \
|
|
|
|
sttype-test.h \
|
|
|
|
syntax-tree.c \
|
|
|
|
syntax-tree.h
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
grammar.lemon \
|
2001-02-02 04:03:43 +00:00
|
|
|
scanner.l \
|
|
|
|
Makefile.nmake
|
2001-02-01 20:21:25 +00:00
|
|
|
|
|
|
|
scanner.c : scanner.l
|
2006-10-19 07:45:10 +00:00
|
|
|
@if [ ! -x "$(LEX)" ]; then \
|
|
|
|
echo "Neither lex nor flex was found"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2001-02-01 20:21:25 +00:00
|
|
|
$(LEX) -Pdf_ -oscanner.c $(srcdir)/scanner.l
|
|
|
|
|
|
|
|
scanner.o : scanner.c grammar.h
|
|
|
|
|
|
|
|
LEMON=../../tools/lemon
|
|
|
|
|
2005-08-01 21:09:34 +00:00
|
|
|
grammar.h : grammar.c
|
2006-11-03 18:39:03 +00:00
|
|
|
grammar.c : grammar.lemon $(LEMON)/lemon$(EXEEXT)
|
|
|
|
$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/grammar.lemon || \
|
2001-02-01 20:21:25 +00:00
|
|
|
(rm -f grammar.c grammar.h ; false)
|