SILENT KILLERPanel

Current Path: > > usr > > share > perl5 > vendor_perl > ExtUtils


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//share/perl5/vendor_perl/ExtUtils

NameTypeSizeLast ModifiedActions
CBuilder Directory - -
Command Directory - -
Liblist Directory - -
MM Directory - -
MakeMaker Directory - -
ParseXS Directory - -
Typemaps Directory - -
CBuilder.pm File 8880 bytes November 22 2017 16:20:35.
Command.pm File 7802 bytes March 19 2018 10:21:53.
Install.pm File 41020 bytes May 28 2017 10:51:53.
Installed.pm File 14363 bytes May 28 2017 10:51:43.
Liblist.pm File 9743 bytes October 13 2019 08:55:21.
MANIFEST.SKIP File 971 bytes December 31 2014 19:02:48.
MM.pm File 2138 bytes March 19 2018 10:21:54.
MM_AIX.pm File 1403 bytes March 19 2018 10:21:54.
MM_Any.pm File 82753 bytes March 19 2018 10:21:54.
MM_BeOS.pm File 1044 bytes March 19 2018 10:21:54.
MM_Cygwin.pm File 4085 bytes March 19 2018 10:21:54.
MM_DOS.pm File 1052 bytes March 19 2018 10:21:53.
MM_Darwin.pm File 936 bytes March 19 2018 10:21:54.
MM_MacOS.pm File 892 bytes March 19 2018 10:21:54.
MM_NW5.pm File 5466 bytes March 19 2018 10:21:54.
MM_OS2.pm File 3217 bytes March 19 2018 10:21:54.
MM_QNX.pm File 894 bytes March 19 2018 10:21:54.
MM_UWIN.pm File 981 bytes March 19 2018 10:21:54.
MM_Unix.pm File 111071 bytes October 13 2019 08:55:21.
MM_VMS.pm File 68116 bytes March 19 2018 10:21:54.
MM_VOS.pm File 749 bytes March 19 2018 10:21:53.
MM_Win32.pm File 14402 bytes March 19 2018 10:21:54.
MM_Win95.pm File 1281 bytes March 19 2018 10:21:53.
MY.pm File 678 bytes March 19 2018 10:21:54.
MakeMaker.pm File 110530 bytes October 13 2019 08:55:21.
Manifest.pm File 23439 bytes December 31 2014 19:02:48.
Mkbootstrap.pm File 3306 bytes March 19 2018 10:21:53.
Mksymlists.pm File 11002 bytes March 19 2018 10:21:54.
Packlist.pm File 8565 bytes May 28 2017 10:51:43.
ParseXS.pm File 66572 bytes July 31 2017 15:46:04.
ParseXS.pod File 4406 bytes July 31 2017 15:46:04.
Typemaps.pm File 26795 bytes July 31 2017 15:46:04.
testlib.pm File 916 bytes March 19 2018 10:21:54.
xsubpp File 5080 bytes October 13 2019 08:58:35.

Reading File: //usr//share/perl5/vendor_perl/ExtUtils/MM_OS2.pm

package ExtUtils::MM_OS2;

use strict;

use ExtUtils::MakeMaker qw(neatvalue);
use File::Spec;

our $VERSION = '7.34';
$VERSION = eval $VERSION;

require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Any ExtUtils::MM_Unix);

=pod

=head1 NAME

ExtUtils::MM_OS2 - methods to override UN*X behaviour in ExtUtils::MakeMaker

=head1 SYNOPSIS

 use ExtUtils::MM_OS2; # Done internally by ExtUtils::MakeMaker if needed

=head1 DESCRIPTION

See ExtUtils::MM_Unix for a documentation of the methods provided
there. This package overrides the implementation of these methods, not
the semantics.

=head1 METHODS

=over 4

=item init_dist

Define TO_UNIX to convert OS2 linefeeds to Unix style.

=cut

sub init_dist {
    my($self) = @_;

    $self->{TO_UNIX} ||= <<'MAKE_TEXT';
$(NOECHO) $(TEST_F) tmp.zip && $(RM_F) tmp.zip; $(ZIP) -ll -mr tmp.zip $(DISTVNAME) && unzip -o tmp.zip && $(RM_F) tmp.zip
MAKE_TEXT

    $self->SUPER::init_dist;
}

sub dlsyms {
    my($self,%attribs) = @_;
    if ($self->{IMPORTS} && %{$self->{IMPORTS}}) {
	# Make import files (needed for static build)
	-d 'tmp_imp' or mkdir 'tmp_imp', 0777 or die "Can't mkdir tmp_imp";
	open my $imp, '>', 'tmpimp.imp' or die "Can't open tmpimp.imp";
	foreach my $name (sort keys %{$self->{IMPORTS}}) {
	    my $exp = $self->{IMPORTS}->{$name};
	    my ($lib, $id) = ($exp =~ /(.*)\.(.*)/) or die "Malformed IMPORT `$exp'";
	    print $imp "$name $lib $id ?\n";
	}
	close $imp or die "Can't close tmpimp.imp";
	# print "emximp -o tmpimp$Config::Config{lib_ext} tmpimp.imp\n";
	system "emximp -o tmpimp$Config::Config{lib_ext} tmpimp.imp"
	    and die "Cannot make import library: $!, \$?=$?";
	# May be running under miniperl, so have no glob...
	eval { unlink <tmp_imp/*>; 1 } or system "rm tmp_imp/*";
	system "cd tmp_imp; $Config::Config{ar} x ../tmpimp$Config::Config{lib_ext}"
	    and die "Cannot extract import objects: $!, \$?=$?";
    }
    return '' if $self->{SKIPHASH}{'dynamic'};
    $self->xs_dlsyms_iterator(\%attribs);
}

sub xs_dlsyms_ext {
    '.def';
}

sub xs_dlsyms_extra {
    join '', map { qq{, "$_" => "\$($_)"} } qw(VERSION DISTNAME INSTALLDIRS);
}

sub static_lib_pure_cmd {
    my($self) = @_;
    my $old = $self->SUPER::static_lib_pure_cmd;
    return $old unless $self->{IMPORTS} && %{$self->{IMPORTS}};
    $old . <<'EOC';
	$(AR) $(AR_STATIC_ARGS) "$@" tmp_imp/*
	$(RANLIB) "$@"
EOC
}

sub replace_manpage_separator {
    my($self,$man) = @_;
    $man =~ s,/+,.,g;
    $man;
}

sub maybe_command {
    my($self,$file) = @_;
    $file =~ s,[/\\]+,/,g;
    return $file if -x $file && ! -d _;
    return "$file.exe" if -x "$file.exe" && ! -d _;
    return "$file.cmd" if -x "$file.cmd" && ! -d _;
    return;
}

=item init_linker

=cut

sub init_linker {
    my $self = shift;

    $self->{PERL_ARCHIVE} = "\$(PERL_INC)/libperl\$(LIB_EXT)";

    $self->{PERL_ARCHIVEDEP} ||= '';
    $self->{PERL_ARCHIVE_AFTER} = $OS2::is_aout
      ? ''
      : '$(PERL_INC)/libperl_override$(LIB_EXT)';
    $self->{EXPORT_LIST} = '$(BASEEXT).def';
}

=item os_flavor

OS/2 is OS/2

=cut

sub os_flavor {
    return('OS/2');
}

=item xs_static_lib_is_xs

=cut

sub xs_static_lib_is_xs {
    return 1;
}

=back

=cut

1;

SILENT KILLER Tool