xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/MM_BeOS.pm (revision 0:68f95e015346)
1*0Sstevel@tonic-gatepackage ExtUtils::MM_BeOS;
2*0Sstevel@tonic-gate
3*0Sstevel@tonic-gate=head1 NAME
4*0Sstevel@tonic-gate
5*0Sstevel@tonic-gateExtUtils::MM_BeOS - methods to override UN*X behaviour in ExtUtils::MakeMaker
6*0Sstevel@tonic-gate
7*0Sstevel@tonic-gate=head1 SYNOPSIS
8*0Sstevel@tonic-gate
9*0Sstevel@tonic-gate use ExtUtils::MM_BeOS;	# Done internally by ExtUtils::MakeMaker if needed
10*0Sstevel@tonic-gate
11*0Sstevel@tonic-gate=head1 DESCRIPTION
12*0Sstevel@tonic-gate
13*0Sstevel@tonic-gateSee ExtUtils::MM_Unix for a documentation of the methods provided
14*0Sstevel@tonic-gatethere. This package overrides the implementation of these methods, not
15*0Sstevel@tonic-gatethe semantics.
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gate=over 4
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gate=cut 
20*0Sstevel@tonic-gate
21*0Sstevel@tonic-gateuse Config;
22*0Sstevel@tonic-gateuse File::Spec;
23*0Sstevel@tonic-gaterequire ExtUtils::MM_Any;
24*0Sstevel@tonic-gaterequire ExtUtils::MM_Unix;
25*0Sstevel@tonic-gate
26*0Sstevel@tonic-gateuse vars qw(@ISA $VERSION);
27*0Sstevel@tonic-gate@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
28*0Sstevel@tonic-gate$VERSION = 1.04;
29*0Sstevel@tonic-gate
30*0Sstevel@tonic-gate
31*0Sstevel@tonic-gate=item os_flavor (o)
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gateBeOS is BeOS.
34*0Sstevel@tonic-gate
35*0Sstevel@tonic-gate=cut
36*0Sstevel@tonic-gate
37*0Sstevel@tonic-gatesub os_flavor {
38*0Sstevel@tonic-gate    return('BeOS');
39*0Sstevel@tonic-gate}
40*0Sstevel@tonic-gate
41*0Sstevel@tonic-gate=item init_linker
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gatelibperl.a equivalent to be linked to dynamic extensions.
44*0Sstevel@tonic-gate
45*0Sstevel@tonic-gate=cut
46*0Sstevel@tonic-gate
47*0Sstevel@tonic-gatesub init_linker {
48*0Sstevel@tonic-gate    my($self) = shift;
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gate    $self->{PERL_ARCHIVE} ||=
51*0Sstevel@tonic-gate      File::Spec->catdir('$(PERL_INC)',$Config{libperl});
52*0Sstevel@tonic-gate    $self->{PERL_ARCHIVE_AFTER} ||= '';
53*0Sstevel@tonic-gate    $self->{EXPORT_LIST}  ||= '';
54*0Sstevel@tonic-gate}
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gate=back
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gate1;
59*0Sstevel@tonic-gate__END__
60*0Sstevel@tonic-gate
61