From c01282a322f13055cff9f68464b3b1750e59ee4f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Jan 2014 09:29:34 +0100 Subject: Makefile.am: remove "sparse" rule We're C++, and sparse understands only plain C. --- Makefile.am | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Makefile.am b/Makefile.am index e21a1f920..2aa0614f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1188,26 +1188,6 @@ systemdsystemunit_DATA = \ systemd/mpd.service endif -# -# Sparse code analysis -# -# sparse is a semantic parser -# URL: git://www.kernel.org/pub/scm/devel/sparse/sparse.git -# - -SPARSE = sparse -SPARSE_FLAGS = -SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \ - -I$(shell $(CC) -print-file-name=include) \ - -I$(shell $(CC) -print-file-name=include-fixed) -SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \ - -D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647 -SPARSE_SRC = $(addprefix $(top_srcdir)/,$(filter %.c,$(src_mpd_SOURCES))) -sparse-check: - $(SPARSE) -I. $(src_mpd_CFLAGS) $(src_mpd_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(SPARSE_SRC) - -.PHONY: sparse-check - # # Test programs -- cgit v1.2.3