c162a8c344
Add platform::VMS, which is a generic VMS module. Additional modules to support specific building aspects (such as specific compilers) may be added later, but since we currently work on file names and those are generic enough, this is also enough. This reworks Configurations/descrip.mms.tmpl to work out product names in platform::VMS terms. Something to be noted is that the new functionality ignores the *_extension config attributes, as they were never used. VMS is very consistent in its use of extensions, so there is no reason to believe much will change in this respect. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7473)
23 lines
792 B
Text
23 lines
792 B
Text
${-
|
|
our %names = ( map { platform->sharedname($_) =>
|
|
$bldtop.platform->sharedlib($_) }
|
|
@{$unified_info{install}->{libraries}} );
|
|
"" -}
|
|
$ ! Remove the local environment created by local_shlib.com
|
|
$
|
|
$ OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
|
|
$ IF F$TRNLNM("OSSL_FLAG",OPENSSL_NAMES) .EQS. "" THEN EXIT 0
|
|
$
|
|
$ NAMES := {- join(",", sort keys %names); -}
|
|
$ I = 0
|
|
$ LOOP:
|
|
$ E = F$ELEMENT(I,",",NAMES)
|
|
$ I = I + 1
|
|
$ IF E .EQS. "," THEN GOTO ENDLOOP
|
|
$ OLDV = F$TRNLNM(E,OPENSSL_NAMES)
|
|
$ DEASSIGN 'E'
|
|
$ IF OLDV .NES. "" THEN DEFINE 'E' 'OLDV'
|
|
$ GOTO LOOP
|
|
$ ENDLOOP:
|
|
$
|
|
$ DEASSIGN 'OPENSSL_NAMES' /TABLE=LNM$PROCESS_DIRECTORY
|