]>
Commit | Line | Data |
---|---|---|
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 | |
5 | LIBVERSION = 1:0:0 | |
6 | ||
7 | AM_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 | ||
15 | if DISABLE_EXTRA_FLAGS | |
16 | AM_CFLAGS = | |
17 | else | |
18 | AM_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 | |
43 | endif | |
44 | ||
45 | if ! ENABLE_VERBOSE | |
46 | AM_VERBOSE_CC = @echo " CC " $@; | |
47 | AM_VERBOSE_CCLD = @echo " CCLD " $@; | |
48 | endif |