xref: /openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm (revision e068048151d29f2562a32185e21a8ba885482260)
1b39c5158Smillertpackage ExtUtils::MM_DOS;
2b39c5158Smillert
3b39c5158Smillertuse strict;
4eac174f2Safresh1use warnings;
5b39c5158Smillert
6*e0680481Safresh1our $VERSION = '7.70';
756d68f1eSafresh1$VERSION =~ tr/_//d;
8b39c5158Smillert
9b39c5158Smillertrequire ExtUtils::MM_Any;
10b39c5158Smillertrequire ExtUtils::MM_Unix;
11b39c5158Smillertour @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
12b39c5158Smillert
13b39c5158Smillert
14b39c5158Smillert=head1 NAME
15b39c5158Smillert
16b39c5158SmillertExtUtils::MM_DOS - DOS specific subclass of ExtUtils::MM_Unix
17b39c5158Smillert
18b39c5158Smillert=head1 SYNOPSIS
19b39c5158Smillert
20b39c5158Smillert  Don't use this module directly.
21b39c5158Smillert  Use ExtUtils::MM and let it choose.
22b39c5158Smillert
23b39c5158Smillert=head1 DESCRIPTION
24b39c5158Smillert
2556d68f1eSafresh1This is a subclass of L<ExtUtils::MM_Unix> which contains functionality
26b39c5158Smillertfor DOS.
27b39c5158Smillert
2856d68f1eSafresh1Unless otherwise stated, it works just like ExtUtils::MM_Unix.
29b39c5158Smillert
30b39c5158Smillert=head2 Overridden methods
31b39c5158Smillert
32b39c5158Smillert=over 4
33b39c5158Smillert
34b39c5158Smillert=item os_flavor
35b39c5158Smillert
36b39c5158Smillert=cut
37b39c5158Smillert
38b39c5158Smillertsub os_flavor {
39b39c5158Smillert    return('DOS');
40b39c5158Smillert}
41b39c5158Smillert
42b39c5158Smillert=item B<replace_manpage_separator>
43b39c5158Smillert
44b39c5158SmillertGenerates Foo__Bar.3 style man page names
45b39c5158Smillert
46b39c5158Smillert=cut
47b39c5158Smillert
48b39c5158Smillertsub replace_manpage_separator {
49b39c5158Smillert    my($self, $man) = @_;
50b39c5158Smillert
51b39c5158Smillert    $man =~ s,/+,__,g;
52b39c5158Smillert    return $man;
53b39c5158Smillert}
54b39c5158Smillert
559f11ffb7Safresh1=item xs_static_lib_is_xs
569f11ffb7Safresh1
579f11ffb7Safresh1=cut
589f11ffb7Safresh1
599f11ffb7Safresh1sub xs_static_lib_is_xs {
609f11ffb7Safresh1    return 1;
619f11ffb7Safresh1}
629f11ffb7Safresh1
63b39c5158Smillert=back
64b39c5158Smillert
65b39c5158Smillert=head1 AUTHOR
66b39c5158Smillert
67b39c5158SmillertMichael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
68b39c5158Smillert
69b39c5158Smillert=head1 SEE ALSO
70b39c5158Smillert
71b39c5158SmillertL<ExtUtils::MM_Unix>, L<ExtUtils::MakeMaker>
72b39c5158Smillert
73b39c5158Smillert=cut
74b39c5158Smillert
75b39c5158Smillert1;
76