From a100512f2397bb08a73e9729a78330b1bd55be2b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 31 Aug 2010 14:57:41 -0400 Subject: [PATCH] Add a splint production. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 65f5bbb..d3ee86c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,6 +98,12 @@ EXTRA_DIST = pit etc BUGS src/abcess.h src/feh.h src/fiddle.h src/ick_ec.h \ doc/THEORY.txt doc/tidy.cfg parser.c parser.h \ lexer.c doc/ick.txi doc/ick.txt NEWS README yylwrap autogen.sh +# How to run splint on this code +SPLINTOPTS = -I. -Isrc +quiet -warnposix -boolops -predboolint +splint: + @echo "Running splint on ick..." + -splint $(SPLINTOPTS) -exportlocal -redef $(ick_SOURCES) + # It's ugly to distribute the prebuilt files in the root of the # distribution. configure will move these files back again into the # root of the /build tree/, which makes a lot more sense than putting -- 2.43.0