2006-09-01 04:26:53 +00:00
|
|
|
# Makefile.am
|
2013-12-02 08:30:29 +00:00
|
|
|
# Automake file for the libcodec library for Wireshark
|
2006-08-30 20:47:16 +00:00
|
|
|
#
|
2006-09-01 04:26:53 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
2013-12-02 08:30:29 +00:00
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2006-09-01 04:26:53 +00:00
|
|
|
# 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
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2013-12-02 08:30:29 +00:00
|
|
|
include Makefile.common
|
|
|
|
include ../Makefile.am.inc
|
|
|
|
|
2015-12-03 20:32:25 +00:00
|
|
|
AM_CFLAGS =-DWS_BUILD_DLL
|
|
|
|
|
2007-03-23 17:49:59 +00:00
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
2015-12-03 20:32:25 +00:00
|
|
|
AM_CFLAGS += -Werror
|
2007-03-22 23:03:39 +00:00
|
|
|
endif
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2006-09-01 04:26:53 +00:00
|
|
|
CLEANFILES = \
|
2015-12-03 20:32:25 +00:00
|
|
|
libwscodec.la \
|
2013-12-02 08:30:29 +00:00
|
|
|
*~
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2006-09-01 04:26:53 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2013-12-02 08:30:29 +00:00
|
|
|
Makefile.in
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2015-12-03 20:32:25 +00:00
|
|
|
lib_LTLIBRARIES = libwscodecs.la
|
|
|
|
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
|
|
|
libwscodecs_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
|
|
|
|
|
2013-12-02 08:30:29 +00:00
|
|
|
# All sources that should be put in the source distribution tarball
|
2015-12-03 20:32:25 +00:00
|
|
|
libwscodecs_la_SOURCES = \
|
|
|
|
$(LIBCODECS_SRC) \
|
2013-12-02 08:30:29 +00:00
|
|
|
$(noinst_HEADERS)
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2015-12-03 20:32:25 +00:00
|
|
|
libwscodecs_la_DEPENDENCIES = ${top_builddir}/wsutil/libwsutil.la
|
|
|
|
|
|
|
|
libwscodecs_la_LIBADD = ${top_builddir}/wsutil/libwsutil.la
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2013-12-02 08:30:29 +00:00
|
|
|
# Common headers
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
|
2006-08-30 20:47:16 +00:00
|
|
|
|
2013-12-02 08:30:29 +00:00
|
|
|
checkapi:
|
2014-04-23 08:50:27 +00:00
|
|
|
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
|
|
|
|
-sourcedir=$(srcdir) \
|
2015-12-03 20:32:25 +00:00
|
|
|
$(LIBCODECS_SRC)
|
2013-12-02 08:30:29 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
CMakeLists.txt \
|
|
|
|
Makefile.common \
|
|
|
|
Makefile.nmake
|