summaryrefslogtreecommitdiffstats
path: root/Make_global.am
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-05-02 10:51:55 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-05-02 10:51:55 +0200
commit18149c6ac307e089abe3dcc078fc3fccf6afc4c6 (patch)
tree8392b520773d700c876a218efdb5c9c176749d95 /Make_global.am
parentf535c61dc1e3e77ad4b5eefe4f6696514e8cf58d (diff)
Add sparse checking support to userspace
Diffstat (limited to 'Make_global.am')
-rw-r--r--Make_global.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Make_global.am b/Make_global.am
index 33986a2..29b5678 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -81,3 +81,10 @@ AM_CFLAGS += -g -g3 -ggdb -gdwarf-2 -DIPSET_DEBUG -Wall -Werror
else
AM_CFLAGS += -O2 -DNDEBUG
endif
+
+SPARSE = sparse
+SPARSE_FLAGS = -Wsparse-all -I../include
+IPSET_AM_V_CHECK = $(ipset_am__v_CHECK_$(V))
+ipset_am__v_CHECK_ = $(ipset_am__v_CHECK_$(AM_DEFAULT_VERBOSITY))
+ipset_am__v_CHECK_0 = @echo " CHECK " $<;
+