From: Dr. David von Oheimb Date: Fri, 25 Jun 2021 06:16:42 +0000 (+0200) Subject: Makefile: Add check-format target, operating on all .c sources and crypto+ssl headers X-Git-Tag: openssl-3.2.0-alpha1~1985 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71beab84e6e2c5bda417b309a16c3ec4eee38859;p=thirdparty%2Fopenssl.git Makefile: Add check-format target, operating on all .c sources and crypto+ssl headers Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/15913) --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 9af8698dff1..0220adb744c 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -1136,6 +1136,11 @@ lint: echo splint -DLINT -posixlib -preproc -D__gnuc_va_list=void \ -I. -Iinclude -Iapps/include $(CRYPTOHEADERS) $(SSLHEADERS) $(SRCS) ) +.PHONY: check-format +check-format: + ( cd $(SRCDIR); $(PERL) util/check-format.pl \ + $(SRCS) \$(CRYPTOHEADERS) $(SSLHEADERS) ) + generate_apps: ( cd $(SRCDIR); $(PERL) VMS/VMSify-conf.pl \ < apps/openssl.cnf > apps/openssl-vms.cnf )