summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-06-25 08:16:42 +0200
committerDr. David von Oheimb <dev@ddvo.net>2022-09-30 22:25:45 +0200
commit71beab84e6e2c5bda417b309a16c3ec4eee38859 (patch)
tree86e5a022efd8d97fcc82e39b7407156cf894475d /Configurations
parentf51169514d71115f610c9e216dcab03b89b17340 (diff)
Makefile: Add check-format target, operating on all .c sources and crypto+ssl headers
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)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 9af8698dff..0220adb744 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 )