forked from osmocom/wireshark
![Stephen Fisher](/assets/img/avatar_default.png)
(Temporarily disable the warnings as errors default on Unix to get to get the buildbots and people with gcc40 going again until those additional warnings gcc40 generates can be fixed-I'm working on it ASAP) Patch for configure.in which disables by default the treatment of warnings as errors. It can be enabled with './configure --with-warnings-as-errors'. The macro will test first if GCC is present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this switch, people won't suffer from unexpected warnings when downloading svn sources during the transition time ;) svn path=/trunk/; revision=21153
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# Makefile.am
|
|
# Automake file for stats_tree Wireshark plugin
|
|
#
|
|
# $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.
|
|
#
|
|
|
|
INCLUDES = -I$(top_srcdir)
|
|
|
|
include Makefile.common
|
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
|
AM_CFLAGS = -Werror
|
|
endif
|
|
|
|
plugindir = @plugindir@
|
|
|
|
plugin_LTLIBRARIES = stats_tree.la
|
|
stats_tree_la_SOURCES = $(TAP_SRC) $(TAP_INCLUDES)
|
|
stats_tree_la_LDFLAGS = -module -avoid-version
|
|
stats_tree_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 = \
|
|
stats_tree \
|
|
*~
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
Makefile.in \
|
|
plugin.c
|
|
|
|
EXTRA_DIST = \
|
|
Makefile.common \
|
|
Makefile.nmake \
|
|
moduleinfo.nmake \
|
|
plugin.rc.in
|