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