summaryrefslogtreecommitdiffstats
path: root/Configurations/descrip.mms.tmpl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-12-11 21:01:18 +0100
committerRichard Levitte <levitte@openssl.org>2017-12-12 17:21:46 +0100
commitea7df7ea449ef85a163fde917906e6e3da9388e5 (patch)
tree8926e248c0fcd187d00181fc4f7d381a958ffce9 /Configurations/descrip.mms.tmpl
parentfe191b49b3eb1f14afa528b5f64a687488470daa (diff)
VMS build file template: adapt for when someone disabled 'makedepend'
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4907)
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r--Configurations/descrip.mms.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl
index 2bd9ad4d19..ff9d148c7f 100644
--- a/Configurations/descrip.mms.tmpl
+++ b/Configurations/descrip.mms.tmpl
@@ -640,7 +640,7 @@ EOF
my $depbuild = $disabled{makedepend} ? ""
: " /MMS=(FILE=${objd}${objn}.tmp-D,TARGET=$obj.OBJ)";
- return <<"EOF";
+ return <<"EOF"
$obj.OBJ : $deps
${before}
SET DEFAULT $forward
@@ -649,11 +649,14 @@ $obj.OBJ : $deps
$incs_off
SET DEFAULT $backward
${after}
+ - PURGE $obj.OBJ
+EOF
+ . ($disabled{makedepend} ? "" : <<"EOF"
\@ PIPE ( \$(PERL) -e "use File::Compare qw/compare_text/; my \$x = compare_text(""$obj.D"",""$obj.tmp-D""); exit(0x10000000 + (\$x == 0));" || -
RENAME $obj.tmp-D $obj.d )
\@ IF F\$SEARCH("$obj.tmp-D") .NES. "" THEN DELETE $obj.tmp-D;*
- - PURGE $obj.OBJ
EOF
+ );
}
sub libobj2shlib {
my %args = @_;