]> git.ipfire.org Git - thirdparty/ipset.git/blame - Make_global.am
Tenth stage to ipset-5
[thirdparty/ipset.git] / Make_global.am
CommitLineData
62f71e22
JK
1# This is _NOT_ the library release version, it's an API version.
2# Please read Chapter 6 "Library interface versions" of the libtool
3# documentation before making any modification
4# http://sources.redhat.com/autobook/autobook/autobook_91.html
5LIBVERSION = 1:0:0
6
7AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
8 -I/usr/local/include
9
10# -Wconversion -> false warnings
11# -Wcast-qual -> false warnings
12# -Wpointer-arith -> we need it
13# -Wunreachable-code -> fails with ntoh*
14
15if DISABLE_EXTRA_FLAGS
16AM_CFLAGS =
17else
18AM_CFLAGS = -std=gnu99 \
19 -Wall \
20 -Wextra \
21 -Waggregate-return \
22 -Wbad-function-cast \
23 -Wcast-align \
24 -Wfloat-equal \
25 -Winit-self \
26 -Winline \
27 -Wmissing-declarations \
28 -Wmissing-format-attribute \
29 -Wmissing-prototypes \
30 -Wnested-externs \
31 -Wold-style-definition \
32 -Wpacked \
33 -Wredundant-decls \
34 -Wshadow \
35 -Wsign-compare \
36 -Wstrict-prototypes \
37 -Wswitch-default \
38 -Wundef \
39 -Wwrite-strings \
40 -Wno-missing-field-initializers \
41 -Werror \
42 -g -ggdb
43endif
44
45if ! ENABLE_VERBOSE
46AM_VERBOSE_CC = @echo " CC " $@;
47AM_VERBOSE_CCLD = @echo " CCLD " $@;
48endif