forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# Makefile.common for mate plugin
|
|
# Contains the stuff from Makefile.am and Makefile.nmake that is
|
|
# a) common to both files and
|
|
# b) portable between both files
|
|
#
|
|
# $Id$
|
|
#
|
|
# Wireshark - Network traffic analyzer
|
|
# By Gerald Combs <gerald@wireshark.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.
|
|
|
|
# the name of the plugin
|
|
PLUGIN_NAME = mate
|
|
|
|
# the dissector sources (without any helpers)
|
|
DISSECTOR_SRC = \
|
|
packet-mate.c
|
|
|
|
# corresponding headers
|
|
DISSECTOR_INCLUDES = \
|
|
mate.h \
|
|
mate_grammar.h \
|
|
mate_parser_lex.h \
|
|
mate_util.h
|
|
|
|
# Dissector helpers. They're included in the source files in this
|
|
# directory, but they're not dissectors themselves, i.e. they're not
|
|
# used to generate "register.c").
|
|
DISSECTOR_SUPPORT_SRC = \
|
|
mate_setup.c \
|
|
mate_runtime.c \
|
|
mate_util.c \
|
|
mate_grammar.c \
|
|
mate_parser.c
|