This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move SelfLoader from ext/ to dist/
[perl5.git] / ext / Unicode-Normalize / Makefile.PL
1 require 5.006001;
2 use ExtUtils::MakeMaker;
3
4 my $clean = {};
5
6 if (-f "Normalize.xs") {
7     print STDERR "Making header files for XS...\n";
8
9     do 'mkheader' or die $@ || "mkheader: $!";
10
11     $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
12 }
13
14 WriteMakefile(
15     'INSTALLDIRS'       => $] >= 5.007002 ? 'perl' : 'site',
16     'NAME'              => 'Unicode::Normalize',
17     'VERSION_FROM'      => 'Normalize.pm', # finds $VERSION
18     'clean'             => $clean,
19     'PREREQ_PM'         => {
20         bytes           => 0,
21         Carp            => 0,
22         constant        => 0,
23         DynaLoader      => 0,
24         Exporter        => 0,
25         File::Copy      => 0,
26         File::Spec      => 0,
27         strict          => 0,
28         Test            => 0,
29         warnings        => 0,
30     },
31 );