blib/lib/ExtUtils/MM_AIX.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 28 CC 4 SCAR 25.1
CC
4
Cov
0%
dlsyms
20.0
xs_dlsyms_ext
2.0
BEGIN
2.0
CRAP 12.3
1 package ExtUtils::MM_AIX;
2  
3 use strict;
4 our $VERSION = '7.13_01';
5 $VERSION = eval $VERSION;
6  
7 require ExtUtils::MM_Unix;
8 our @ISA = qw(ExtUtils::MM_Unix);
9  
10 =head1 NAME
11  
12 ExtUtils::MM_AIX - AIX specific subclass of ExtUtils::MM_Unix
13  
14 =head1 SYNOPSIS
15  
16 Don't use this module directly.
17 Use ExtUtils::MM and let it choose.
18  
19 =head1 DESCRIPTION
20  
21 This is a subclass of ExtUtils::MM_Unix which contains functionality for
22 AIX.
23  
24 Unless otherwise stated it works just like ExtUtils::MM_Unix
25  
26 =head2 Overridden methods
27  
28 =head3 dlsyms
29  
30 Define DL_FUNCS and DL_VARS and write the *.exp files.
31  
32 =cut
33  
34 sub dlsyms {
35 my($self,%attribs) = @_;
36 return '' unless $self->needs_linking;
37 my @m;
38 # these will need XSMULTI-fying but maybe that already happens
39 push @m,"\ndynamic :: $self->{BASEEXT}.exp\n\n"
40 unless $self->{SKIPHASH}{'dynamic'}; # dynamic and static are subs, so...
41 push @m,"\nstatic :: $self->{BASEEXT}.exp\n\n"
42 unless $self->{SKIPHASH}{'static'}; # we avoid a warning if we tick them
43 join "\n", @m, $self->xs_dlsyms_iterator(\%attribs);
44 }
45  
46 =head3 xs_dlsyms_ext
47  
48 On AIX, is C<.exp>.
49  
50 =cut
51  
52 sub xs_dlsyms_ext {
53 '.exp';
54 }
55  
56 =head1 AUTHOR
57  
58 Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
59  
60 =head1 SEE ALSO
61  
62 L<ExtUtils::MakeMaker>
63  
64 =cut
65  
66  
67 1;