From: Paul Marquess Date: Tue, 27 Nov 2001 11:52:31 +0000 (+0000) Subject: RE: [PATCH @ 13283] Devel::PPPort X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d5046a7d809295fd807448ca1062d09572cc79d5;p=p5sagit%2Fp5-mst-13.2.git RE: [PATCH @ 13283] Devel::PPPort Message-ID: p4raw-id: //depot/perl@13311 --- diff --git a/ext/Devel/PPPort/harness/Makefile.PL b/ext/Devel/PPPort/harness/Makefile.PL index 2d513be..8b23eb5 100644 --- a/ext/Devel/PPPort/harness/Makefile.PL +++ b/ext/Devel/PPPort/harness/Makefile.PL @@ -2,27 +2,18 @@ use ExtUtils::MakeMaker; WriteMakefile( - NAME => "Devel::PPPort::Harness", - VERSION_FROM => 'Harness.pm', - - - XSPROTOARG => '-noprototypes', - #PM => {'Harness.pm' => '$(INST_LIBDIR)/Harness.pm'}, - #XS => {'Harness.xs' => 'Harness.c'}, - OBJECT => 'Harness$(OBJ_EXT) module2$(OBJ_EXT) module3$(OBJ_EXT)', - 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, - 'clean' => { FILES => 'ppport.h'}, - 'depend' => { 'Harness.c' => 'ppport.h', - 'module2.c' => 'ppport.h', - 'module3.c' => 'ppport.h', - }, + NAME => "Devel::PPPort::Harness", + VERSION_FROM=> 'Harness.pm', + XSPROTOARG => '-noprototypes', + OBJECT => 'Harness$(OBJ_EXT) module2$(OBJ_EXT) module3$(OBJ_EXT)', + 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, + 'clean' => { FILES => 'ppport.h'}, ); sub MY::postamble { my $pmfile; - my $Ilibdir = ''; if ($^O eq 'VMS') { $pmfile = '[-]PPPort.pm'; @@ -36,6 +27,9 @@ sub MY::postamble { ppport.h: $pmfile \$(PERL) "-I\$(PERL_ARCHLIB)" "-I\$(PERL_LIB)" -e "require qq{$pmfile}; Devel::PPPort::WriteFile(qq{ppport.h})" +Harness.xs module2.c module3.c : ppport.h + \$(TOUCH) \$@ + EOM return $retval;