aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/Makefile.common
blob: e585b4c3e29ae79b15456858f928fef9634a7a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

# the name of the plugin
PLUGIN_NAME = mate

#
# These don't get removed on "make distclean", as the tools we use to
# generate them aren't part of the Wireshark distribution, and aren't
# tools assumed to be present for any system capable of compiling
# from a tarball (e.g., make and a C compiler are assumed to be present,
# but Flex isn't).
#
GENERATED_DISSECTOR_SUPPORT_C_FILES = \
	mate_parser.c	

GENERATED_HEADER_FILES = \
	mate_parser_lex.h

#
# We distribute Lemon with Wireshark, so we don't distribute the files
# it produces.
#
GENERATED_DISSECTOR_SUPPORT_NODIST_C_FILES = \
	mate_grammar.c

GENERATED_NODIST_HEADER_FILES = \
	mate_grammar.h

# the dissector sources (without any helpers)
DISSECTOR_SRC = \
	$(GENERATED_DISSECTOR_SRC) \
	packet-mate.c

# Dissector helpers that are distributed.  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 =	\
	$(GENERATED_DISSECTOR_SUPPORT_C_FILES) \
	mate_setup.c	\
	mate_runtime.c	\
	mate_util.c

# Dissector helpers that aren't distributed.
DISSECTOR_SUPPORT_NODIST_SRC =	\
	$(GENERATED_DISSECTOR_SUPPORT_NODIST_C_FILES)

# Headers.
DISSECTOR_INCLUDES = \
	$(GENERATED_HEADER_FILES) \
	mate.h	\
	mate_util.h

DISSECTOR_NODIST_INCLUDES = \
	$(GENERATED_NODIST_HEADER_FILES)