xref: /openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm (revision e068048151d29f2562a32185e21a8ba885482260)
1package ExtUtils::MM_QNX;
2
3use strict;
4use warnings;
5our $VERSION = '7.70';
6$VERSION =~ tr/_//d;
7
8require ExtUtils::MM_Unix;
9our @ISA = qw(ExtUtils::MM_Unix);
10
11
12=head1 NAME
13
14ExtUtils::MM_QNX - QNX specific subclass of ExtUtils::MM_Unix
15
16=head1 SYNOPSIS
17
18  Don't use this module directly.
19  Use ExtUtils::MM and let it choose.
20
21=head1 DESCRIPTION
22
23This is a subclass of L<ExtUtils::MM_Unix> which contains functionality for
24QNX.
25
26Unless otherwise stated it works just like ExtUtils::MM_Unix.
27
28=head2 Overridden methods
29
30=head3 extra_clean_files
31
32Add .err files corresponding to each .c file.
33
34=cut
35
36sub extra_clean_files {
37    my $self = shift;
38
39    my @errfiles = @{$self->{C}};
40    for ( @errfiles ) {
41	s/.c$/.err/;
42    }
43
44    return( @errfiles, 'perlmain.err' );
45}
46
47
48=head1 AUTHOR
49
50Michael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
51
52=head1 SEE ALSO
53
54L<ExtUtils::MakeMaker>
55
56=cut
57
58
591;
60