Changes #20819 and #20996 break compatibility with perl 5.6.0
[p5sagit/p5-mst-13.2.git] / ext / Devel / PPPort / Makefile.PL
CommitLineData
0a7c7f4f 1use ExtUtils::MakeMaker;
2
9fdbfc11 3unless($ENV{PERL_CORE}) {
4 $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV;
5}
6if ($ENV{PERL_CORE}) {
7 # Pods will be built by installman.
8 @coreopts = ( MAN3PODS => {} );
9}
10else {
11 @coreopts = ();
12}
13
0a7c7f4f 14WriteMakefile(
44284200 15 NAME => "Devel::PPPort",
16 DISTNAME => "Devel-PPPort",
17 VERSION_FROM=> 'PPPort.pm',
18
dc531b29 19 PL_FILES => { 'ppport_h.PL' => 'ppport.h' },
20 'depend' => { '$(OBJECT)' => '$(H_FILES)' },
1b9d2259 21 C => [qw(module2.c module3.c)],
22 H => [qw(ppport.h)],
23 OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
44284200 24 XSPROTOARG => '-noprototypes',
25 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
9fdbfc11 26 'clean' => { FILES => qw($(H_FILES))},
27 @coreopts,
0a7c7f4f 28);