aboutsummaryrefslogtreecommitdiff
path: root/crypto/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-30 07:14:58 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-10 14:36:32 +0100
commite84193e43dbd3da23845ef9fcfcb5e364049a396 (patch)
tree05cd92323c3ac2a5ceea773e5a432c41d07c2513 /crypto/build.info
parent9c44c29ef2cadb2f0ff214096ccf731ce2660d64 (diff)
downloadopenssl-e84193e43dbd3da23845ef9fcfcb5e364049a396.zip
openssl-e84193e43dbd3da23845ef9fcfcb5e364049a396.tar.gz
openssl-e84193e43dbd3da23845ef9fcfcb5e364049a396.tar.bz2
unified build scheme: add a "unified" template for VMS descrip.mms
As part of this, change util/mkdef.pl to stop adding libraries to depend on in its output. mkdef.pl should ONLY output a symbol vector. Because symbol names can't be longer than 31 characters, we use the compiler to shorten those that are longer down to 23 characters plus an 8 character CRC. To make sure users of our header files will pick up on that automatically, add the DEC C supported extra headers files __decc_include_prologue.h and __decc_include_epilogue.h. Furthermore, we add a config.com, so VMS people can configure just as comfortably as any Unix folks, thusly: @config Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/build.info')
-rw-r--r--crypto/build.info6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/build.info b/crypto/build.info
index 5259432..b3591a0 100644
--- a/crypto/build.info
+++ b/crypto/build.info
@@ -1,3 +1,4 @@
+{- use File::Spec::Functions qw/catdir catfile/; -}
LIBS=../libcrypto
SOURCE[../libcrypto]=\
cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c \
@@ -9,6 +10,11 @@ EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
DEPEND[cversion.o]=buildinf.h
+BEGINRAW[descrip.mms]
+[.crypto]buildinf.h : descrip.mms
+ $(PERL) {- catfile(catdir($sourcedir, "[-]"), "util", "mkbuildinf.pl") -} "$(CC) $(CFLAGS)" "$(PLATFORM)" > [.crypto]buildinf.h
+ENDRAW[descrip.mms]
+
BEGINRAW[Makefile]
crypto/buildinf.h : Makefile
$(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" > crypto/buildinf.h