summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/Makefile.PL
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-06-17 02:09:19 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-06-17 02:09:19 +0000
commitd2cedf73b8eb6fdc231c00e6da4718c055e8fd2c (patch)
tree21c0a19610bcc55e49f05d372446cf86d4629de4 /ext/DynaLoader/Makefile.PL
parent881083260db7aee4fc680f97d1f1f05d04ae707c (diff)
downloadperl-d2cedf73b8eb6fdc231c00e6da4718c055e8fd2c.tar.gz
Use explicit dependency to select XS file, and suffix rules from there
Diffstat (limited to 'ext/DynaLoader/Makefile.PL')
-rw-r--r--ext/DynaLoader/Makefile.PL8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/DynaLoader/Makefile.PL b/ext/DynaLoader/Makefile.PL
index 64ee4d0259..5ccdc68a0e 100644
--- a/ext/DynaLoader/Makefile.PL
+++ b/ext/DynaLoader/Makefile.PL
@@ -1,21 +1,21 @@
use ExtUtils::MakeMaker;
WriteMakefile(
- NAME => 'DynaLoader',
+ NAME => 'DynaLoader',
LINKTYPE => 'static',
DEFINE => '-DLIBC="$(LIBC)"',
MAN3PODS => ' ', # Pods will be built by installman.
SKIP => [qw(dynamic dynamic_lib dynamic_bs)],
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'DynaLoader.pm',
- clean => {FILES => 'DynaLoader.c'},
+ clean => {FILES => 'DynaLoader.c DynaLoader.xs'},
);
sub MY::postamble {
'
-DynaLoader.c: $(DLSRC)
- $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(DLSRC) >tmp && mv tmp $@
+DynaLoader.xs: $(DLSRC)
+ $(CP) $? $@
# Perform very simple tests just to check for major gaffs.
# We can\'t do much more for platforms we are not executing on.