From: Erik Rozendaal Date: Tue, 14 Dec 2004 10:33:35 +0000 (+0000) Subject: Makefile.in: Added 'lint' target to call splint. X-Git-Tag: release-0.50~705 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2dd0932f025a4253f8fe5d793d980ca7fbef1a;p=thirdparty%2Fldns.git Makefile.in: Added 'lint' target to call splint. --- diff --git a/Makefile.in b/Makefile.in index 5f40fb04..cdd75717 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,6 +14,9 @@ CFLAGS = @CFLAGS@ $(OURCFLAGS) LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ +LINT = splint +LINTFLAGS = +quiet +posixlib -weak -warnposix -unrecog + #INSTALL = $(srcdir)/install-sh -c #INSTALL_PROGRAM = $(INSTALL) @@ -57,6 +60,10 @@ docclean: rm -rf doc +lint: + for i in $(ALL_SOURCES); do \ + $(LINT) $(LINTFLAGS) $(CPPFLAGS) $$i ; \ + done # Automatic dependencies. %.d: %.c