From ef878345c87c57a79eda079fa5e765aba5ddf163 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 22 Aug 2007 01:07:38 -0400 Subject: [PATCH] [Makefile.am] Add target splint to run splint static source code analyzer --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index fd1238776..dc694fe76 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -300,3 +300,6 @@ install-data-local: TESTS_ENVIRONMENT = srcdir="$(srcdir)" TESTS = check-def.sh check-plt.sh check-headers.sh check-cairoint.sh EXTRA_DIST += $(TESTS) + +splint: + splint -I$(top_builddir) $(libcairo_la_CFLAGS) $(libcairo_la_SOURCES) -DHAVE_CONFIG_H