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