diff options
author | Richard Levitte <levitte@openssl.org> | 2016-01-30 07:14:58 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-10 14:36:32 +0100 |
commit | e84193e43dbd3da23845ef9fcfcb5e364049a396 (patch) | |
tree | 05cd92323c3ac2a5ceea773e5a432c41d07c2513 /crypto | |
parent | 9c44c29ef2cadb2f0ff214096ccf731ce2660d64 (diff) |
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')
-rw-r--r-- | crypto/build.info | 6 | ||||
-rw-r--r-- | crypto/rand/build.info | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/crypto/build.info b/crypto/build.info index 5259432baf..b3591a0fb8 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 diff --git a/crypto/rand/build.info b/crypto/rand/build.info index 6dfce13944..b0712b25b7 100644 --- a/crypto/rand/build.info +++ b/crypto/rand/build.info @@ -1,4 +1,4 @@ LIBS=../../libcrypto SOURCE[../../libcrypto]=\ md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ - rand_win.c rand_unix.c rand_os2.c rand_nw.c + rand_win.c rand_unix.c rand_vms.c rand_os2.c rand_nw.c |