mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Make the mk1mf 'mv' command variable
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
cde052f59c
commit
db73bd2208
@ -182,6 +182,7 @@ $tmp_def="tmp";
|
||||
|
||||
$perl="perl" unless defined $perl;
|
||||
$mkdir="-mkdir" unless defined $mkdir;
|
||||
$mv="mv" unless defined $mv;
|
||||
|
||||
($ssl,$crypto)=("ssl","crypto");
|
||||
$ranlib="echo ranlib";
|
||||
@ -661,6 +662,7 @@ PERLASM_SCHEME=$mf_perlasm_scheme
|
||||
CP=$cp
|
||||
CP2=$cp2
|
||||
RM=$rm
|
||||
MV=$mv
|
||||
RANLIB=$ranlib
|
||||
MKDIR=$mkdir
|
||||
MKLIB=$bin_dir$mklib
|
||||
@ -1352,7 +1354,7 @@ sub do_dofile_rule
|
||||
return <<"EOF";
|
||||
$to${o}$file: $tmpl
|
||||
\$(PERL) "-I." "-Mconfigdata" util/dofile.pl "$tmpl" > "$to${o}$file.new"
|
||||
mv "$to${o}$file.new" "$to${o}$file"
|
||||
\$(MV) "$to${o}$file.new" "$to${o}$file"
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -8,6 +8,7 @@ $crypto="libeay32";
|
||||
$o='\\';
|
||||
$cp='copy';
|
||||
$rm='del';
|
||||
$mv='move /Y";
|
||||
|
||||
# C compiler stuff
|
||||
$cc='bcc32';
|
||||
|
@ -26,6 +26,7 @@ $cp='$(PERL) util/copy.pl';
|
||||
$cp2='$(PERL) util/copy.pl -stripcr';
|
||||
$mkdir='$(PERL) util/mkdir-p.pl';
|
||||
$rm='del /Q';
|
||||
$mv='move /Y";
|
||||
|
||||
$zlib_lib="zlib1.lib";
|
||||
|
||||
|
@ -126,6 +126,8 @@ else
|
||||
$cp='copy >nul:';
|
||||
# rm command
|
||||
$rm='del /f /q';
|
||||
# mv command
|
||||
$mv='move /y';
|
||||
}
|
||||
|
||||
# assembler
|
||||
|
Loading…
Reference in New Issue
Block a user