xref: /openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm (revision ae3cb403620ab940fbaabb3055fac045a63d56b7)
1package ExtUtils::MM_QNX;
2
3use strict;
4our $VERSION = '7.10_02';
5
6require ExtUtils::MM_Unix;
7our @ISA = qw(ExtUtils::MM_Unix);
8
9
10=head1 NAME
11
12ExtUtils::MM_QNX - QNX 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
21This is a subclass of ExtUtils::MM_Unix which contains functionality for
22QNX.
23
24Unless otherwise stated it works just like ExtUtils::MM_Unix
25
26=head2 Overridden methods
27
28=head3 extra_clean_files
29
30Add .err files corresponding to each .c file.
31
32=cut
33
34sub extra_clean_files {
35    my $self = shift;
36
37    my @errfiles = @{$self->{C}};
38    for ( @errfiles ) {
39	s/.c$/.err/;
40    }
41
42    return( @errfiles, 'perlmain.err' );
43}
44
45
46=head1 AUTHOR
47
48Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
49
50=head1 SEE ALSO
51
52L<ExtUtils::MakeMaker>
53
54=cut
55
56
571;
58