| 1 | package ExtUtils::MM_AIX; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | our $VERSION = '7.13_01'; | |||||||||
| 5 | 1 | $VERSION = eval $VERSION; | |||||||||
| 6 | |||||||||||
| 7 | 1 | require ExtUtils::MM_Unix; | |||||||||
| 8 | 1 | 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 | 0 | ▶ | my($self,%attribs) = @_; | ||||||||
|
Subroutine
dlsyms: not called CC=4 SCAR=30.0
Pod
documented
| |||||||||||
| 36 | 0 | ▶ | return '' unless $self->needs_linking; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 37 | 0 | my @m; | |||||||||
| 38 | # these will need XSMULTI-fying but maybe that already happens | ||||||||||
| 39 | push @m,"\ndynamic :: $self->{BASEEXT}.exp\n\n" | ||||||||||
| 40 | 0 | ▶ | unless $self->{SKIPHASH}{'dynamic'}; # dynamic and static are subs, so... | ||||||||
|
Branch: 1 branch
| |||||||||||
| 41 | push @m,"\nstatic :: $self->{BASEEXT}.exp\n\n" | ||||||||||
| 42 | 0 | ▶ | unless $self->{SKIPHASH}{'static'}; # we avoid a warning if we tick them | ||||||||
|
Branch: 1 branch
| |||||||||||
| 43 | 0 | 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 | 0 | ▶ | '.exp'; | ||||||||
|
Subroutine
xs_dlsyms_ext: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 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 | 1; | |||||||||