[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.218.151.70: ~ $
package ExtUtils::MM_Win95;

use strict;

our $VERSION = '6.68';

require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);

use ExtUtils::MakeMaker::Config;


=head1 NAME

ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X

=head1 SYNOPSIS

  You should not be using this module directly.

=head1 DESCRIPTION

This is a subclass of ExtUtils::MM_Win32 containing changes necessary
to get MakeMaker playing nice with command.com and other Win9Xisms.

=head2 Overridden methods

Most of these make up for limitations in the Win9x/nmake command shell.
Mostly its lack of &&.

=over 4


=item xs_c

The && problem.

=cut

sub xs_c {
    my($self) = shift;
    return '' unless $self->needs_linking();
    '
.xs.c:
	$(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c
	'
}


=item xs_cpp

The && problem

=cut

sub xs_cpp {
    my($self) = shift;
    return '' unless $self->needs_linking();
    '
.xs.cpp:
	$(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.cpp
	';
}

=item xs_o 

The && problem.

=cut

sub 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_len

Win98 chokes on things like Encode if we set the max length to nmake's max
of 2K.  So we go for a more conservative value of 1K.

=cut

sub max_exec_len {
    my $self = shift;

    return $self->{_MAX_EXEC_LEN} ||= 1024;
}


=item os_flavor

Win95 and Win98 and WinME are collectively Win9x and Win32

=cut

sub os_flavor {
    my $self = shift;
    return ($self->SUPER::os_flavor, 'Win9x');
}


=back


=head1 AUTHOR

Code 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 https://metacpan.org/release/ExtUtils-MakeMaker.

=cut


1;

Filemanager

Name Type Size Permission Actions
Command Folder 0755
Liblist Folder 0755
MakeMaker Folder 0755
ParseXS Folder 0755
Typemaps Folder 0755
Liblist.pm File 9.47 KB 0644
MANIFEST.SKIP File 824 B 0644
MM.pm File 2.06 KB 0644
MM_AIX.pm File 1.53 KB 0644
MM_Any.pm File 68.58 KB 0644
MM_BeOS.pm File 982 B 0644
MM_Cygwin.pm File 3.04 KB 0644
MM_DOS.pm File 950 B 0644
MM_Darwin.pm File 918 B 0644
MM_MacOS.pm File 1.08 KB 0644
MM_NW5.pm File 6.41 KB 0644
MM_OS2.pm File 3.75 KB 0644
MM_QNX.pm File 868 B 0644
MM_UWIN.pm File 955 B 0644
MM_Unix.pm File 91.82 KB 0644
MM_VMS.pm File 59.65 KB 0644
MM_VOS.pm File 723 B 0644
MM_Win32.pm File 13.85 KB 0644
MM_Win95.pm File 1.87 KB 0644
MY.pm File 652 B 0644
MakeMaker.pm File 91.59 KB 0644
Manifest.pm File 22.52 KB 0644
Mkbootstrap.pm File 3.11 KB 0644
Mksymlists.pm File 10.5 KB 0644
ParseXS.pm File 60.01 KB 0644
ParseXS.pod File 3.74 KB 0644
Typemaps.pm File 24.81 KB 0644
testlib.pm File 891 B 0644
xsubpp File 4.45 KB 0755