diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-04-22 17:14:21 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-04-22 17:14:21 +0200 |
commit | 62f71e22a1db90eee62ea9688f0c77cb6cf5ccae (patch) | |
tree | 73442db9c9c96f9bee4e318b8a3afc58fea01ef7 /Make_global.am | |
parent | 9638135a8ea91a157a68148fb1d84edec52c313b (diff) |
Tenth stage to ipset-5
Add new test files and toplevel files.
Diffstat (limited to 'Make_global.am')
-rw-r--r-- | Make_global.am | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Make_global.am b/Make_global.am new file mode 100644 index 0000000..5c65103 --- /dev/null +++ b/Make_global.am @@ -0,0 +1,48 @@ +# This is _NOT_ the library release version, it's an API version. +# Please read Chapter 6 "Library interface versions" of the libtool +# documentation before making any modification +# http://sources.redhat.com/autobook/autobook/autobook_91.html +LIBVERSION = 1:0:0 + +AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \ + -I/usr/local/include + +# -Wconversion -> false warnings +# -Wcast-qual -> false warnings +# -Wpointer-arith -> we need it +# -Wunreachable-code -> fails with ntoh* + +if DISABLE_EXTRA_FLAGS +AM_CFLAGS = +else +AM_CFLAGS = -std=gnu99 \ + -Wall \ + -Wextra \ + -Waggregate-return \ + -Wbad-function-cast \ + -Wcast-align \ + -Wfloat-equal \ + -Winit-self \ + -Winline \ + -Wmissing-declarations \ + -Wmissing-format-attribute \ + -Wmissing-prototypes \ + -Wnested-externs \ + -Wold-style-definition \ + -Wpacked \ + -Wredundant-decls \ + -Wshadow \ + -Wsign-compare \ + -Wstrict-prototypes \ + -Wswitch-default \ + -Wundef \ + -Wwrite-strings \ + -Wno-missing-field-initializers \ + -Werror \ + -g -ggdb +endif + +if ! ENABLE_VERBOSE +AM_VERBOSE_CC = @echo " CC " $@; +AM_VERBOSE_CCLD = @echo " CCLD " $@; +endif |