Unix Makefile: Have manual generation use the same perl script as Windows and VMS
[openssl.git] / Configurations / 50-masm.conf
1 # We can't make commitment to supporting Microsoft assembler,
2 # because it would mean supporting all masm versions. This in
3 # in turn is because masm is not really an interchangeable option,
4 # while users tend to have reasons to stick with specific Visual
5 # Studio versions. It's usually lesser hassle to make it work
6 # with latest assembler, but tweaking for older versions had
7 # proven to be daunting task. This is experimental target, for
8 # production builds stick with [up-to-date version of] nasm.
9
10 %targets = (
11     "VC-WIN64A-masm" => {
12         inherit_from    => [ "VC-WIN64-common", asm("x86_64_asm"),
13                              sub { $disabled{shared} ? () : "x86_64_uplink" } ],
14         as              => "ml64",
15         asflags         => "/nologo /c /Cp /Cx /Zi",
16         asoutflag       => "/Fo",
17         sys_id          => "WIN64A",
18         bn_asm_src      => sub { return undef unless @_;
19                                  my $r=join(" ",@_); $r=~s|asm/x86_64-gcc|bn_asm|; $r; },
20         perlasm_scheme   => "masm",
21     },
22 );