1 package ExtUtils::MM_Win95;
3 use vars qw($VERSION @ISA);
6 require ExtUtils::MM_Win32;
7 @ISA = qw(ExtUtils::MM_Win32);
9 use ExtUtils::MakeMaker::Config;
14 ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X
18 You should not be using this module directly.
22 This is a subclass of ExtUtils::MM_Win32 containing changes necessary
23 to get MakeMaker playing nice with command.com and other Win9Xisms.
25 =head2 Overridden methods
27 Most of these make up for limitations in the Win9x/nmake command shell.
28 Mostly its lack of &&.
41 return '' unless $self->needs_linking();
44 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c
57 return '' unless $self->needs_linking();
60 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.cpp
72 return '' unless $self->needs_linking();
75 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c
76 $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c
83 Win98 chokes on things like Encode if we set the max length to nmake's max
84 of 2K. So we go for a more conservative value of 1K.
91 return $self->{_MAX_EXEC_LEN} ||= 1024;
97 Win95 and Win98 and WinME are collectively Win9x and Win32
103 return ($self->SUPER::os_flavor, 'Win9x');
112 Code originally inside MM_Win32. Original author unknown.
114 Currently maintained by Michael G Schwern C<schwern@pobox.com>.
116 Send patches and ideas to C<makemaker@perl.org>.
118 See http://www.makemaker.org.