957689611b
Add platform::Windows, which is a generic Windows module, and platform::Windows::MSVC, which is a module specifically for MS Visual C. This reworks Configurations/windows-makeffile.tmpl to work out product names in platform::Windows. Something to be noted is that the new functionality ignores the *_extension config attributes, as they were never used. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7473)
33 lines
654 B
Perl
33 lines
654 B
Perl
package platform::Windows::MSVC;
|
|
|
|
use strict;
|
|
use warnings;
|
|
use Carp;
|
|
|
|
use vars qw(@ISA);
|
|
|
|
require platform::Windows;
|
|
@ISA = qw(platform::Windows);
|
|
|
|
# Assume someone set @INC right before loading this module
|
|
use configdata;
|
|
|
|
sub pdbext { '.pdb' }
|
|
|
|
sub staticlibpdb {
|
|
return platform::BASE::__concat($_[0]->staticname($_[1]), $_[0]->pdbext());
|
|
}
|
|
|
|
sub sharedlibpdb {
|
|
return platform::BASE::__concat($_[0]->sharedname($_[1]), $_[0]->pdbext());
|
|
}
|
|
|
|
sub dsopdb {
|
|
return platform::BASE::__concat($_[0]->dsoname($_[1]), $_[0]->pdbext());
|
|
}
|
|
|
|
sub binpdb {
|
|
return platform::BASE::__concat($_[0]->binname($_[1]), $_[0]->pdbext());
|
|
}
|
|
|
|
1;
|