[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
perl5
/
vendor_perl
/
ExtUtils
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 CBuilder
SET
[ DEL ]
📁 Command
SET
[ DEL ]
📁 Liblist
SET
[ DEL ]
📁 MM
SET
[ DEL ]
📁 MakeMaker
SET
[ DEL ]
📁 ParseXS
SET
[ DEL ]
📁 Typemaps
SET
[ DEL ]
📄 CBuilder.pm
8,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 Command.pm
7,802 B
SET
[ EDIT ]
|
[ DEL ]
📄 Install.pm
41,020 B
SET
[ EDIT ]
|
[ DEL ]
📄 Installed.pm
14,363 B
SET
[ EDIT ]
|
[ DEL ]
📄 Liblist.pm
9,743 B
SET
[ EDIT ]
|
[ DEL ]
📄 MANIFEST.SKIP
971 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM.pm
2,138 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_AIX.pm
1,403 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Any.pm
82,753 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_BeOS.pm
1,044 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Cygwin.pm
4,085 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_DOS.pm
1,052 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Darwin.pm
936 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_MacOS.pm
892 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_NW5.pm
5,466 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_OS2.pm
3,217 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_QNX.pm
894 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_UWIN.pm
981 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Unix.pm
111,071 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_VMS.pm
68,116 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_VOS.pm
749 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Win32.pm
14,402 B
SET
[ EDIT ]
|
[ DEL ]
📄 MM_Win95.pm
1,281 B
SET
[ EDIT ]
|
[ DEL ]
📄 MY.pm
678 B
SET
[ EDIT ]
|
[ DEL ]
📄 MakeMaker.pm
110,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 Manifest.pm
23,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 Mkbootstrap.pm
3,306 B
SET
[ EDIT ]
|
[ DEL ]
📄 Mksymlists.pm
11,002 B
SET
[ EDIT ]
|
[ DEL ]
📄 Packlist.pm
8,565 B
SET
[ EDIT ]
|
[ DEL ]
📄 ParseXS.pm
66,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 ParseXS.pod
4,406 B
SET
[ EDIT ]
|
[ DEL ]
📄 Typemaps.pm
26,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 testlib.pm
916 B
SET
[ EDIT ]
|
[ DEL ]
📄 xsubpp
5,080 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: MM_NW5.pm
package ExtUtils::MM_NW5; =head1 NAME ExtUtils::MM_NW5 - methods to override UN*X behaviour in ExtUtils::MakeMaker =head1 SYNOPSIS use ExtUtils::MM_NW5; # 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. =over =cut use strict; use ExtUtils::MakeMaker::Config; use File::Basename; our $VERSION = '7.34'; $VERSION = eval $VERSION; require ExtUtils::MM_Win32; our @ISA = qw(ExtUtils::MM_Win32); use ExtUtils::MakeMaker qw(&neatvalue &_sprintf562); $ENV{EMXSHELL} = 'sh'; # to run `commands` my $BORLAND = $Config{'cc'} =~ /\bbcc/i; my $GCC = $Config{'cc'} =~ /\bgcc/i; =item os_flavor We're Netware in addition to being Windows. =cut sub os_flavor { my $self = shift; return ($self->SUPER::os_flavor, 'Netware'); } =item init_platform Add Netware macros. LIBPTH, BASE_IMPORT, NLM_VERSION, MPKTOOL, TOOLPATH, BOOT_SYMBOL, NLM_SHORT_NAME, INCLUDE, PATH, MM_NW5_REVISION =item platform_constants Add Netware macros initialized above to the Makefile. =cut sub init_platform { my($self) = shift; # To get Win32's setup. $self->SUPER::init_platform; # incpath is copied to makefile var INCLUDE in constants sub, here just # make it empty my $libpth = $Config{'libpth'}; $libpth =~ s( )(;); $self->{'LIBPTH'} = $libpth; $self->{'BASE_IMPORT'} = $Config{'base_import'}; # Additional import file specified from Makefile.pl if($self->{'base_import'}) { $self->{'BASE_IMPORT'} .= ', ' . $self->{'base_import'}; } $self->{'NLM_VERSION'} = $Config{'nlm_version'}; $self->{'MPKTOOL'} = $Config{'mpktool'}; $self->{'TOOLPATH'} = $Config{'toolpath'}; (my $boot = $self->{'NAME'}) =~ s/:/_/g; $self->{'BOOT_SYMBOL'}=$boot; # If the final binary name is greater than 8 chars, # truncate it here. if(length($self->{'BASEEXT'}) > 8) { $self->{'NLM_SHORT_NAME'} = substr($self->{'BASEEXT'},0,8); } # Get the include path and replace the spaces with ; # Copy this to makefile as INCLUDE = d:\...;d:\; ($self->{INCLUDE} = $Config{'incpath'}) =~ s/([ ]*)-I/;/g; # Set the path to CodeWarrior binaries which might not have been set in # any other place $self->{PATH} = '$(PATH);$(TOOLPATH)'; $self->{MM_NW5_VERSION} = $VERSION; } sub platform_constants { my($self) = shift; my $make_frag = ''; # Setup Win32's constants. $make_frag .= $self->SUPER::platform_constants; foreach my $macro (qw(LIBPTH BASE_IMPORT NLM_VERSION MPKTOOL TOOLPATH BOOT_SYMBOL NLM_SHORT_NAME INCLUDE PATH MM_NW5_VERSION )) { next unless defined $self->{$macro}; $make_frag .= "$macro = $self->{$macro}\n"; } return $make_frag; } =item static_lib_pure_cmd Defines how to run the archive utility =cut sub static_lib_pure_cmd { my ($self, $src) = @_; $src =~ s/(\$\(\w+)(\))/$1:^"+"$2/g if $BORLAND; sprintf qq{\t\$(AR) %s\n}, ($BORLAND ? '$@ ' . $src : ($GCC ? '-ru $@ ' . $src : '-type library -o $@ ' . $src)); } =item xs_static_lib_is_xs =cut sub xs_static_lib_is_xs { return 1; } =item dynamic_lib Override of utility methods for OS-specific work. =cut sub xs_make_dynamic_lib { my ($self, $attribs, $from, $to, $todir, $ldfrom, $exportlist) = @_; my @m; # Taking care of long names like FileHandle, ByteLoader, SDBM_File etc if ($to =~ /^\$/) { if ($self->{NLM_SHORT_NAME}) { # deal with shortnames my $newto = q{$(INST_AUTODIR)\\$(NLM_SHORT_NAME).$(DLEXT)}; push @m, "$to: $newto\n\n"; $to = $newto; } } else { my ($v, $d, $f) = File::Spec->splitpath($to); # relies on $f having a literal "." in it, unlike for $(OBJ_EXT) if ($f =~ /[^\.]{9}\./) { # 9+ chars before '.', need to shorten $f = substr $f, 0, 8; } my $newto = File::Spec->catpath($v, $d, $f); push @m, "$to: $newto\n\n"; $to = $newto; } # bits below should be in dlsyms, not here # 1 2 3 4 push @m, _sprintf562 <<'MAKE_FRAG', $to, $from, $todir, $exportlist; # Create xdc data for an MT safe NLM in case of mpk build %1$s: %2$s $(MYEXTLIB) $(BOOTSTRAP) %3$s$(DFSEP).exists $(NOECHO) $(ECHO) Export boot_$(BOOT_SYMBOL) > %4$s $(NOECHO) $(ECHO) $(BASE_IMPORT) >> %4$s $(NOECHO) $(ECHO) Import @$(PERL_INC)\perl.imp >> %4$s MAKE_FRAG if ( $self->{CCFLAGS} =~ m/ -DMPK_ON /) { (my $xdc = $exportlist) =~ s#def\z#xdc#; $xdc = '$(BASEEXT).xdc'; push @m, sprintf <<'MAKE_FRAG', $xdc, $exportlist; $(MPKTOOL) $(XDCFLAGS) %s $(NOECHO) $(ECHO) xdcdata $(BASEEXT).xdc >> %s MAKE_FRAG } # Reconstruct the X.Y.Z version. my $version = join '.', map { sprintf "%d", $_ } $] =~ /(\d)\.(\d{3})(\d{2})/; push @m, sprintf <<'EOF', $from, $version, $to, $exportlist; $(LD) $(LDFLAGS) %s -desc "Perl %s Extension ($(BASEEXT)) XS_VERSION: $(XS_VERSION)" -nlmversion $(NLM_VERSION) -o %s $(MYEXTLIB) $(PERL_INC)\Main.lib -commandfile %s $(CHMOD) 755 $@ EOF join '', @m; } 1; __END__ =back =cut