1 package ExtUtils::MM_AIX;
4 use vars qw($VERSION @ISA);
7 require ExtUtils::MM_Unix;
8 @ISA = qw(ExtUtils::MM_Unix);
10 use ExtUtils::MakeMaker qw(neatvalue);
15 ExtUtils::MM_AIX - AIX specific subclass of ExtUtils::MM_Unix
19 Don't use this module directly.
20 Use ExtUtils::MM and let it choose.
24 This is a subclass of ExtUtils::MM_Unix which contains functionality for
27 Unless otherwise stated it works just like ExtUtils::MM_Unix
29 =head2 Overridden methods
33 Define DL_FUNCS and DL_VARS and write the *.exp files.
38 my($self,%attribs) = @_;
40 return '' unless $self->needs_linking();
42 my($funcs) = $attribs{DL_FUNCS} || $self->{DL_FUNCS} || {};
43 my($vars) = $attribs{DL_VARS} || $self->{DL_VARS} || [];
44 my($funclist) = $attribs{FUNCLIST} || $self->{FUNCLIST} || [];
48 dynamic :: $self->{BASEEXT}.exp
50 ") unless $self->{SKIPHASH}{'dynamic'}; # dynamic and static are subs, so...
53 static :: $self->{BASEEXT}.exp
55 ") unless $self->{SKIPHASH}{'static'}; # we avoid a warning if we tick them
58 $self->{BASEEXT}.exp: Makefile.PL
59 ",' $(PERLRUN) -e \'use ExtUtils::Mksymlists; \\
60 Mksymlists("NAME" => "',$self->{NAME},'", "DL_FUNCS" => ',
61 neatvalue($funcs), ', "FUNCLIST" => ', neatvalue($funclist),
62 ', "DL_VARS" => ', neatvalue($vars), ');\'
71 Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
75 L<ExtUtils::MakeMaker>