Makefile: Update but disable 'lint' target, using splint with some quirks

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/15913)
This commit is contained in:
Dr. David von Oheimb 2021-06-24 21:32:07 +02:00 committed by Dr. David von Oheimb
parent 67e0735f66
commit dfb4efe070

View File

@ -1130,8 +1130,11 @@ md-nits:
#coverage: $(PROGRAMS) $(TESTPROGRAMS)
# ...
.PHONY: lint
lint:
lint -DLINT $(INCLUDES) $(SRCS)
@( cd $(SRCDIR); \
echo splint -DLINT -posixlib -preproc -D__gnuc_va_list=void \
-I. -Iinclude -Iapps/include $(CRYPTOHEADERS) $(SSLHEADERS) $(SRCS) )
generate_apps:
( cd $(SRCDIR); $(PERL) VMS/VMSify-conf.pl \