summaryrefslogtreecommitdiff
path: root/ext/Devel
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2002-01-03 11:32:20 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-04 14:33:09 +0000
commit2dbf9b0f3c399df627598abb67a1f1c5a4ac732c (patch)
tree7d2d69a62a6b5eca41ea9e034e1f2d94238e4978 /ext/Devel
parentb773c84a12439c61e52594efeb5b4d3283ee218c (diff)
downloadperl-2dbf9b0f3c399df627598abb67a1f1c5a4ac732c.tar.gz
Devel::PPPort Makefile.PL umpteenth try
Message-Id: <a05101004b85a82bb7352@[172.16.52.1]> p4raw-id: //depot/perl@14055
Diffstat (limited to 'ext/Devel')
-rw-r--r--ext/Devel/PPPort/Makefile.PL13
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/Devel/PPPort/Makefile.PL b/ext/Devel/PPPort/Makefile.PL
index 21aedf3f24..0259a05e5a 100644
--- a/ext/Devel/PPPort/Makefile.PL
+++ b/ext/Devel/PPPort/Makefile.PL
@@ -1,4 +1,3 @@
-
use ExtUtils::MakeMaker;
WriteMakefile(
@@ -7,19 +6,21 @@ WriteMakefile(
VERSION_FROM=> 'PPPort.pm',
#PM => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'},
- OBJECT => 'PPPort$(OBJ_EXT) module2$(OBJ_EXT) module3$(OBJ_EXT)',
+ C => [qw(module2.c module3.c)],
+ H => [qw(ppport.h)],
+ OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
XSPROTOARG => '-noprototypes',
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
- 'clean' => { FILES => "ppport.h ppport_h"},
+ 'clean' => { FILES => qw($(H_FILES))}
);
sub MY::postamble {
return <<"EOM";
-ppport.h: ppport_h
- \$(TOUCH) ppport_h
+\$(H_FILES) : ppport_h.PL
+ \$(PERLRUNINST) ppport_h.PL
-PPPort\$(OBJ_EXT) module2\$(OBJ_EXT) module3\$(OBJ_EXT): ppport.h
+\$(OBJECT) : \$(H_FILES)
EOM
}