package ExtUtils
::MM_Cygwin
;
use vars
qw($VERSION @ISA);
use ExtUtils::MakeMaker::Config;
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
ExtUtils::MM_Cygwin - methods to override UN*X behaviour in ExtUtils::MakeMaker
use ExtUtils::MM_Cygwin; # Done internally by ExtUtils::MakeMaker if needed
See ExtUtils::MM_Unix for a documentation of the methods provided there.
return('Unix', 'Cygwin');
if configured for dynamic loading, triggers #define EXT in EXTERN.h
return $self->{CFLAGS
} if $self->{CFLAGS
};
return '' unless $self->needs_linking();
my $base = $self->SUPER::cflags
($libperl);
foreach (split /\n/, $base) {
/^(\S*)\s*=\s*(\S*)$/ and $self->{$1} = $2;
$self->{CCFLAGS
} .= " -DUSEIMPORTLIB" if ($Config{useshrplib
} eq 'true');
return $self->{CFLAGS
} = qq{
CCFLAGS
= $self->{CCFLAGS
}
OPTIMIZE
= $self->{OPTIMIZE
}
PERLTYPE
= $self->{PERLTYPE
}
=item replace_manpage_separator
replaces strings '::' with '.' in MAN*POD man page names
sub replace_manpage_separator
{
if ($Config{useshrplib
} eq 'true') {
my $libperl = '$(PERL_INC)' .'/'. "$Config{libperl}";
$self->{PERL_ARCHIVE
} = $libperl;
'$(PERL_INC)' .'/'. ("$Config{libperl}" or "libperl.a");
$self->{PERL_ARCHIVE_AFTER
} ||= '';
$self->{EXPORT_LIST
} ||= '';