From 9c067c8991ac450c508d04d2387d6d5f41a41a92 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 9 Sep 2016 01:53:38 +0200 Subject: [PATCH] Crude VMS build files for demos/bio/ Reviewed-by: Rich Salz (cherry picked from commit 8c88c88b5ad43bbdf1f6e7602b6ac56c9031b153) --- demos/bio/descrip.mms | 47 +++++++++++++++++++++++++++++++++++++++++++ demos/bio/shared.opt | 2 ++ demos/bio/static.opt | 2 ++ 3 files changed, 51 insertions(+) create mode 100644 demos/bio/descrip.mms create mode 100644 demos/bio/shared.opt create mode 100644 demos/bio/static.opt diff --git a/demos/bio/descrip.mms b/demos/bio/descrip.mms new file mode 100644 index 0000000000..8e127b079a --- /dev/null +++ b/demos/bio/descrip.mms @@ -0,0 +1,47 @@ +# This build description trusts that the following logical names are defined: +# +# For compilation: OPENSSL +# For linking with shared libraries: OSSL$LIBCRYPTO_SHR and OSSL$LIBSSL_SHR +# For linking with static libraries: OSSL$LIBCRYPTO and OSSL$LIBSSL +# +# These are normally defined with the OpenSSL startup procedure + +# By default, we link with the shared libraries +SHARED = TRUE + +# Alternative, for linking with static libraries +#SHARED = FALSE + +.FIRST : + IF "$(SHARED)" .EQS. "TRUE" THEN DEFINE OPT []shared.opt + IF "$(SHARED)" .NES. "TRUE" THEN DEFINE OPT []static.opt + +.LAST : + DEASSIGN OPT + +.DEFAULT : + @ ! + +# Because we use an option file, we need to redefine this +.obj.exe : + $(LINK) $(LINKFLAGS) $<,OPT:/OPT + +all : client-arg.exe client-conf.exe saccept.exe sconnect.exe - + server-arg.exe server-cmod.exe server-conf.exe + +client-arg.exe : client-arg.obj +client-conf.exe : client-conf.obj +saccept.exe : saccept.obj +sconnect.exe : sconnect.obj +server-arg.exe : server-arg.obj +server-cmod.exe : server-cmod.obj +server-conf.exe : server-conf.obj + +# Stoopid MMS doesn't infer this automatically... +client-arg.obj : client-arg.c +client-conf.obj : client-conf.c +saccept.obj : saccept.c +sconnect.obj : sconnect.c +server-arg.obj : server-arg.c +server-cmod.obj : server-cmod.c +server-conf.obj : server-conf.c diff --git a/demos/bio/shared.opt b/demos/bio/shared.opt new file mode 100644 index 0000000000..4141b93a53 --- /dev/null +++ b/demos/bio/shared.opt @@ -0,0 +1,2 @@ +OSSL$LIBSSL_SHR/SHARE +OSSL$LIBCRYPTO_SHR/SHARE diff --git a/demos/bio/static.opt b/demos/bio/static.opt new file mode 100644 index 0000000000..9ca1588f77 --- /dev/null +++ b/demos/bio/static.opt @@ -0,0 +1,2 @@ +OSSL$LIBSSL/LIB +OSSL$LIBCRYPTO/LIB -- 2.25.1