📄 mm_win95.pm
字号:
package ExtUtils::MM_Win95;use strict;use vars qw($VERSION @ISA);$VERSION = '6.42';require ExtUtils::MM_Win32;@ISA = qw(ExtUtils::MM_Win32);use ExtUtils::MakeMaker::Config;=head1 NAMEExtUtils::MM_Win95 - method to customize MakeMaker for Win9X=head1 SYNOPSIS You should not be using this module directly.=head1 DESCRIPTIONThis is a subclass of ExtUtils::MM_Win32 containing changes necessaryto get MakeMaker playing nice with command.com and other Win9Xisms.=head2 Overridden methodsMost of these make up for limitations in the Win9x/nmake command shell.Mostly its lack of &&.=over 4=item xs_cThe && problem.=cutsub xs_c { my($self) = shift; return '' unless $self->needs_linking(); '.xs.c: $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c '}=item xs_cppThe && problem=cutsub xs_cpp { my($self) = shift; return '' unless $self->needs_linking(); '.xs.cpp: $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.cpp ';}=item xs_o The && problem.=cutsub xs_o { my($self) = shift; return '' unless $self->needs_linking(); '.xs$(OBJ_EXT): $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c ';}=item max_exec_lenWin98 chokes on things like Encode if we set the max length to nmake's maxof 2K. So we go for a more conservative value of 1K.=cutsub max_exec_len { my $self = shift; return $self->{_MAX_EXEC_LEN} ||= 1024;}=item os_flavorWin95 and Win98 and WinME are collectively Win9x and Win32=cutsub os_flavor { my $self = shift; return ($self->SUPER::os_flavor, 'Win9x');}=back=head1 AUTHORCode originally inside MM_Win32. Original author unknown.Currently maintained by Michael G Schwern C<schwern@pobox.com>.Send patches and ideas to C<makemaker@perl.org>.See http://www.makemaker.org.=cut1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -