Witness: start to implement V2
[metze/wireshark/wip.git] / codecs / Makefile.am
1 # Makefile.am
2 # Automake file for the libcodec library for Wireshark
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
9 #
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
24 include Makefile.common
25 include ../Makefile.am.inc
26
27 if HAVE_WARNINGS_AS_ERRORS
28 AM_CFLAGS = -Werror
29 endif
30
31 noinst_LIBRARIES = libcodec.a
32
33 CLEANFILES = \
34         libcodec.a      \
35         *~
36
37 MAINTAINERCLEANFILES =  \
38         Makefile.in
39
40 # All sources that should be put in the source distribution tarball
41 libcodec_a_SOURCES = \
42         $(LIBCODEC_SRC) \
43         $(noinst_HEADERS)
44
45 libcodec_a_DEPENDENCIES = 
46
47 # Common headers
48 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
49
50 checkapi:
51         $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput -build \
52         $(LIBCODEC_SRC)
53
54 EXTRA_DIST = \
55         CMakeLists.txt                  \
56         Makefile.common                 \
57         Makefile.nmake