diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/ExtUtils/MM_QNX.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/ExtUtils/MM_QNX.pm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/ExtUtils/MM_QNX.pm b/Master/tlpkg/tlperl/lib/ExtUtils/MM_QNX.pm new file mode 100644 index 00000000000..f78d5e8a9ee --- /dev/null +++ b/Master/tlpkg/tlperl/lib/ExtUtils/MM_QNX.pm @@ -0,0 +1,57 @@ +package ExtUtils::MM_QNX; + +use strict; +our $VERSION = '6.56'; + +require ExtUtils::MM_Unix; +our @ISA = qw(ExtUtils::MM_Unix); + + +=head1 NAME + +ExtUtils::MM_QNX - QNX 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 +QNX. + +Unless otherwise stated it works just like ExtUtils::MM_Unix + +=head2 Overridden methods + +=head3 extra_clean_files + +Add .err files corresponding to each .c file. + +=cut + +sub extra_clean_files { + my $self = shift; + + my @errfiles = @{$self->{C}}; + for ( @errfiles ) { + s/.c$/.err/; + } + + return( @errfiles, 'perlmain.err' ); +} + + +=head1 AUTHOR + +Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix + +=head1 SEE ALSO + +L<ExtUtils::MakeMaker> + +=cut + + +1; |