Devel::PPPort Makefile.PL umpteenth try
[p5sagit/p5-mst-13.2.git] / ext / Devel / PPPort / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 WriteMakefile(
4     NAME        => "Devel::PPPort",
5     DISTNAME    => "Devel-PPPort",
6     VERSION_FROM=> 'PPPort.pm',
7
8     #PM         => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'},
9     C           => [qw(module2.c module3.c)],
10     H           => [qw(ppport.h)],
11     OBJECT      => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
12     XSPROTOARG  => '-noprototypes',
13     'dist'      => { COMPRESS=>"gzip", SUFFIX=>"gz" },
14     'clean'     => { FILES => qw($(H_FILES))}
15 );
16
17 sub MY::postamble {
18     return <<"EOM";
19
20 \$(H_FILES)  :  ppport_h.PL
21         \$(PERLRUNINST) ppport_h.PL
22
23 \$(OBJECT)   :  \$(H_FILES)
24
25 EOM
26 }