1 package ExtUtils::MM_Win95;
5 use vars qw($VERSION @ISA);
8 require ExtUtils::MM_Win32;
9 @ISA = qw(ExtUtils::MM_Win32);
11 use ExtUtils::MakeMaker::Config;
16 ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X
20 You should not be using this module directly.
24 This is a subclass of ExtUtils::MM_Win32 containing changes necessary
25 to get MakeMaker playing nice with command.com and other Win9Xisms.
27 =head2 Overridden methods
29 Most of these make up for limitations in the Win9x/nmake command shell.
30 Mostly its lack of &&.
43 return '' unless $self->needs_linking();
46 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c
59 return '' unless $self->needs_linking();
62 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.cpp
74 return '' unless $self->needs_linking();
77 $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c
78 $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c
85 Win98 chokes on things like Encode if we set the max length to nmake's max
86 of 2K. So we go for a more conservative value of 1K.
93 return $self->{_MAX_EXEC_LEN} ||= 1024;
99 Win95 and Win98 and WinME are collectively Win9x and Win32
105 return ($self->SUPER::os_flavor, 'Win9x');
114 Code originally inside MM_Win32. Original author unknown.
116 Currently maintained by Michael G Schwern C<schwern@pobox.com>.
118 Send patches and ideas to C<makemaker@perl.org>.
120 See http://www.makemaker.org.