summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-01 10:20:05 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-01 10:21:49 +0100
commit9dafbe2fc44c0ef0c7c99af0a427fcfe1e118eba (patch)
treea5636f606cc7160536a661ed67169d7d5fb129dc /cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm
parentc53fdc5e9da36f328ab2620f7ca8c96545281734 (diff)
downloadperl-9dafbe2fc44c0ef0c7c99af0a427fcfe1e118eba.tar.gz
Move ExtUtils::MakeMaker from ext/ to cpan/
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm')
-rw-r--r--cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm61
1 files changed, 61 insertions, 0 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm
new file mode 100644
index 0000000000..168d23dfd7
--- /dev/null
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm
@@ -0,0 +1,61 @@
+package ExtUtils::MM_BeOS;
+
+use strict;
+
+=head1 NAME
+
+ExtUtils::MM_BeOS - methods to override UN*X behaviour in ExtUtils::MakeMaker
+
+=head1 SYNOPSIS
+
+ use ExtUtils::MM_BeOS; # 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 4
+
+=cut
+
+use ExtUtils::MakeMaker::Config;
+use File::Spec;
+require ExtUtils::MM_Any;
+require ExtUtils::MM_Unix;
+
+our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
+our $VERSION = '6.55_02';
+
+
+=item os_flavor
+
+BeOS is BeOS.
+
+=cut
+
+sub os_flavor {
+ return('BeOS');
+}
+
+=item init_linker
+
+libperl.a equivalent to be linked to dynamic extensions.
+
+=cut
+
+sub init_linker {
+ my($self) = shift;
+
+ $self->{PERL_ARCHIVE} ||=
+ File::Spec->catdir('$(PERL_INC)',$Config{libperl});
+ $self->{PERL_ARCHIVE_AFTER} ||= '';
+ $self->{EXPORT_LIST} ||= '';
+}
+
+=back
+
+1;
+__END__
+