From 18149c6ac307e089abe3dcc078fc3fccf6afc4c6 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 2 May 2013 10:51:55 +0200 Subject: Add sparse checking support to userspace --- Make_global.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Make_global.am') 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 " $<; + -- cgit v1.2.3