2005-09-27 22:06:36 +00:00
|
|
|
# Makefile.am
|
2007-01-02 17:19:25 +00:00
|
|
|
# Automake file for MATE Wireshark plugin
|
2005-09-27 22:06:36 +00:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2005-09-27 22:06:36 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2010-05-14 16:27:03 +00:00
|
|
|
#
|
2005-09-27 22:06:36 +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.
|
2010-05-14 16:27:03 +00:00
|
|
|
#
|
2005-09-27 22:06:36 +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.
|
2010-05-14 16:27:03 +00:00
|
|
|
#
|
2005-09-27 22:06:36 +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.
|
|
|
|
#
|
|
|
|
|
2007-03-23 17:49:59 +00:00
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
2007-03-22 23:03:39 +00:00
|
|
|
AM_CFLAGS = -Werror
|
|
|
|
endif
|
|
|
|
|
2005-09-27 22:06:36 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)
|
|
|
|
|
|
|
|
plugindir = @plugindir@
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES = tpg.la
|
|
|
|
|
|
|
|
tpg_la_SOURCES = \
|
|
|
|
moduleinfo.h \
|
|
|
|
http-parser.c \
|
|
|
|
http-parser.h \
|
|
|
|
packet-http.c
|
|
|
|
|
|
|
|
tpg_la_LDFLAGS = -module -avoid-version
|
|
|
|
tpg_la_LIBADD = @PLUGIN_LIBS@
|
|
|
|
|
|
|
|
# Libs must be cleared, or else libtool won't create a shared module.
|
|
|
|
# If your module needs to be linked against any particular libraries,
|
|
|
|
# add them here.
|
|
|
|
LIBS =
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
tpg \
|
|
|
|
*~
|
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
|
|
|
http-parser.c \
|
|
|
|
http-parser.h
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
2006-06-02 06:53:30 +00:00
|
|
|
Makefile.in \
|
|
|
|
http-parser.c \
|
|
|
|
http-parser.h \
|
|
|
|
plugin.c
|
2005-09-27 22:06:36 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2010-05-14 16:27:03 +00:00
|
|
|
http.tpg \
|
|
|
|
Makefile.nmake \
|
|
|
|
CMakeLists.txt
|
2005-09-27 22:06:36 +00:00
|
|
|
|
2008-07-29 22:06:37 +00:00
|
|
|
TPG = $(top_builddir)/tools/tpg
|
2005-09-27 22:06:36 +00:00
|
|
|
|
|
|
|
http-parser.h: http-parser.c
|
|
|
|
|
|
|
|
$(TPG)/TPG.pm: $(TPG)/TPG.yp
|
|
|
|
cd $(TPG) && make
|
|
|
|
|
|
|
|
http-parser.c: http.tpg $(TPG)/tpg.pl $(TPG)/TPG.pm
|
|
|
|
$(PERL) -I$(TPG) $(TPG)/tpg.pl http.tpg
|
2008-07-02 01:44:30 +00:00
|
|
|
|
|
|
|
checkapi:
|
2009-09-13 19:48:22 +00:00
|
|
|
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES)
|