[openssl-commits] [openssl] master update
Richard Levitte
levitte at openssl.org
Thu Feb 11 19:10:48 UTC 2016
The branch master has been updated
via 6bb2106e24a16e12ce03a244a56c7c5fc7eab96a (commit)
from 221c7b55e35a952f517c3c2237feb3c1044b7dd9 (commit)
- Log -----------------------------------------------------------------
commit 6bb2106e24a16e12ce03a244a56c7c5fc7eab96a
Author: Richard Levitte <levitte at openssl.org>
Date: Thu Feb 11 20:00:57 2016 +0100
Add the generate mechanism from unixmake to unix-Makefile.tmpl
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
Configurations/unix-Makefile.tmpl | 44 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 75516cc..2b495e9 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -474,7 +474,9 @@ uninstall_html_docs:
# Developer targets (note: these are only available on Unix) #########
-update: errors ordinals tags test_ordinals
+update: generate errors ordinals
+
+generate: generate_apps generate_crypto_bn generate_crypto_objects
# Test coverage is a good idea for the future
#coverage: $(PROGRAMS) $(TESTPROGRAMS)
@@ -487,6 +489,14 @@ update: errors ordinals tags test_ordinals
lint:
lint -DLINT $(INCLUDES) $(SRCS)
+generate_apps: $(SRCDIR)/apps/openssl-vms.cnf
+
+generate_crypto_bn: $(SRCDIR)/crypto/bn/bn_prime.h
+
+generate_crypto_objects: $(SRCDIR)/crypto/objects/obj_dat.h \
+ $(SRCDIR)/include/openssl/obj_mac.h \
+ $(SRCDIR)/crypto/objects/obj_xref.h
+
errors:
( cd $(SRCDIR); $(PERL) util/ck_errf.pl -strict */*.c */*/*.c )
( cd $(SRCDIR); $(PERL) util/mkerr.pl -recurse -write )
@@ -569,6 +579,38 @@ copy-certs: FORCE
cp -R "$(SRCDIR)/certs" "$(BLDDIR)/"; \
fi
+$(SRCDIR)/apps/openssl-vms.cnf: $(SRCDIR)/apps/openssl.cnf
+ $(PERL) $(SRCDIR)/VMS/VMSify-conf.pl \
+ < $(SRCDIR)/apps/openssl.cnf > $(SRCDIR)/apps/openssl-vms.cnf
+
+$(SRCDIR)/crypto/bn/bn_prime.h: $(SRCDIR)/crypto/bn/bn_prime.pl
+ $(PERL) $(SRCDIR)/crypto/bn/bn_prime.pl > $(SRCDIR)/crypto/bn/bn_prime.h
+
+$(SRCDIR)/crypto/objects/obj_dat.h: $(SRCDIR)/crypto/objects/obj_dat.pl \
+ $(SRCDIR)/include/openssl/obj_mac.h
+ $(PERL) $(SRCDIR)/crypto/objects/obj_dat.pl \
+ $(SRCDIR)/include/openssl/obj_mac.h \
+ $(SRCDIR)/crypto/objects/obj_dat.h
+
+# objects.pl both reads and writes obj_mac.num
+$(SRCDIR)/include/openssl/obj_mac.h: $(SRCDIR)/crypto/objects/objects.pl \
+ $(SRCDIR)/crypto/objects/objects.txt \
+ $(SRCDIR)/crypto/objects/obj_mac.num
+ $(PERL) $(SRCDIR)/crypto/objects/objects.pl \
+ $(SRCDIR)/crypto/objects/objects.txt \
+ $(SRCDIR)/crypto/objects/obj_mac.num \
+ $(SRCDIR)/include/openssl/obj_mac.h
+ @sleep 1; touch $(SRCDIR)/include/openssl/obj_mac.h; sleep 1
+
+$(SRCDIR)/crypto/objects/obj_xref.h: $(SRCDIR)/crypto/objects/objxref.pl \
+ $(SRCDIR)/crypto/objects/obj_xref.txt \
+ $(SRCDIR)/crypto/objects/obj_mac.num
+ $(PERL) $(SRCDIR)/crypto/objects/objxref.pl \
+ $(SRCDIR)/crypto/objects/obj_mac.num \
+ $(SRCDIR)/crypto/objects/obj_xref.txt \
+ > $(SRCDIR)/crypto/objects/obj_xref.h
+ @sleep 1; touch $(SRCDIR)/crypto/objects/obj_xref.h; sleep 1
+
FORCE :
# Building targets ###################################################
More information about the openssl-commits
mailing list