Fix might be used uninitialized warning
[metze/wireshark/wip.git] / echld / Makefile.am
1 # Makefile.am
2 #
3 # $Id: Makefile.am 48716 2013-04-03 07:38:44Z guy $
4 #
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23 include ../Makefile.am.inc
24
25 ACLOCAL_AMFLAGS = `../aclocal-flags`
26
27 include Makefile.common
28
29 # Optional objects that I know how to build. These will be
30 # linked into libechld.
31 echld_optional_objects = $(LIBECHLD_SRC)
32
33
34 lib_LTLIBRARIES = libechld.la
35
36 libechld_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
37
38
39
40 AM_CFLAGS =-DWS_BUILD_DLL
41
42 if HAVE_WARNINGS_AS_ERRORS
43 AM_CFLAGS += -Werror
44 endif
45
46 AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/../wiretap
47
48 libechld_la_SOURCES = \
49         $(LIBECHLD_SRC)         \
50         $(LIBECHLD_INCLUDES)    \
51         $(LIBECHLD_MORE_SRC)
52
53
54 libechld_la_DEPENDENCIES = \
55         ../epan/libwireshark.la         \
56         ../wiretap/libwiretap.la        \
57         ../wsutil/libwsutil.la
58
59
60 libechld_la_LIBADD =                    \
61         ../epan/libwireshark.la         \
62         ../wsutil/libwsutil.la          \
63         ../wiretap/libwiretap.la        \
64         @GLIB_LIBS@
65
66 EXTRA_DIST = \
67         CMakeLists.txt  \
68         Makefile.common
69
70 CLEANFILES = \
71         libechld.a      \
72         libechld.la     \
73         *~
74
75 MAINTAINERCLEANFILES = \
76         Makefile.in
77