<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package ExtUtils::MM_AIX;

use strict;
our $VERSION = '6.98';

require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);

use ExtUtils::MakeMaker qw(neatvalue);


=head1 NAME

ExtUtils::MM_AIX - AIX specific subclass of ExtUtils::MM_Unix

=head1 SYNOPSIS

  Don't use this module directly.
  Use ExtUtils::MM and let it choose.

=head1 DESCRIPTION

This is a subclass of ExtUtils::MM_Unix which contains functionality for
AIX.

Unless otherwise stated it works just like ExtUtils::MM_Unix

=head2 Overridden methods

=head3 dlsyms

Define DL_FUNCS and DL_VARS and write the *.exp files.

=cut

sub dlsyms {
    my($self,%attribs) = @_;

    return '' unless $self-&gt;needs_linking();

    my($funcs) = $attribs{DL_FUNCS} || $self-&gt;{DL_FUNCS} || {};
    my($vars)  = $attribs{DL_VARS} || $self-&gt;{DL_VARS} || [];
    my($funclist)  = $attribs{FUNCLIST} || $self-&gt;{FUNCLIST} || [];
    my(@m);

    push(@m,"
dynamic :: $self-&gt;{BASEEXT}.exp

") unless $self-&gt;{SKIPHASH}{'dynamic'}; # dynamic and static are subs, so...

    push(@m,"
static :: $self-&gt;{BASEEXT}.exp

") unless $self-&gt;{SKIPHASH}{'static'};  # we avoid a warning if we tick them

    push(@m,"
$self-&gt;{BASEEXT}.exp: Makefile.PL
",'	$(PERLRUN) -e \'use ExtUtils::Mksymlists; \\
	Mksymlists("NAME" =&gt; "',$self-&gt;{NAME},'", "DL_FUNCS" =&gt; ',
	neatvalue($funcs), ', "FUNCLIST" =&gt; ', neatvalue($funclist),
	', "DL_VARS" =&gt; ', neatvalue($vars), ');\'
');

    join('',@m);
}


=head1 AUTHOR

Michael G Schwern &lt;schwern@pobox.com&gt; with code from ExtUtils::MM_Unix

=head1 SEE ALSO

L&lt;ExtUtils::MakeMaker&gt;

=cut


1;
</pre></body></html>