summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2009-01-10 17:06:22 +0100
committerSteffen Mueller <smueller@cpan.org>2009-01-10 18:01:27 +0100
commit0fb8cc817dbacc47257069b641af9fb56c42fbc6 (patch)
treeb9e460e4133c50480807df78798ca04071c145ad
parent8ddb446c41c4af03d69bcc1fe3b6b13e932a6fa0 (diff)
downloadperl-0fb8cc817dbacc47257069b641af9fb56c42fbc6.tar.gz
move ext/utils/make_ext to ext/utils/make_ext.pl
-rw-r--r--MANIFEST2
-rw-r--r--Makefile.SH14
-rw-r--r--ext/util/make_ext.pl (renamed from ext/util/make_ext)0
3 files changed, 8 insertions, 8 deletions
diff --git a/MANIFEST b/MANIFEST
index f2e2ad35ee..748676f703 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1400,7 +1400,7 @@ ext/Unicode/Normalize/t/proto.t Unicode::Normalize
ext/Unicode/Normalize/t/split.t Unicode::Normalize
ext/Unicode/Normalize/t/test.t Unicode::Normalize
ext/Unicode/Normalize/t/tie.t Unicode::Normalize
-ext/util/make_ext Used by Makefile to execute extension Makefiles
+ext/util/make_ext.pl Used by Makefile to execute extension Makefiles
ext/util/make_ext_cross Cross-compilation
ext/Win32API/File/buffers.h Win32API::File extension
ext/Win32API/File/cFile.h Win32API::File extension
diff --git a/Makefile.SH b/Makefile.SH
index 7773f099b3..c91df2cfe6 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -276,7 +276,7 @@ SHRPENV = $shrpenv
# if building a shared libperl.so that might later be linked into
# another application, then it might be appropriate to also build static
# extensions (usually just DynaLoader) with relocatable code (e.g. -fPIC
-# for GNU cc). This is handled by ext/util/make_ext.
+# for GNU cc). This is handled by ext/util/make_ext.pl.
STATIC = $static_target
# The following is used to include the current directory in
@@ -1156,16 +1156,16 @@ manicheck: FORCE
# DynaLoader may be needed for extensions that use Makefile.PL.
$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary FORCE
- @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
!NO!SUBS!
$spitshell >>$Makefile <<EOF
@@ -1225,7 +1225,7 @@ _tidy:
-cd x2p; $(LDLIBPTH) $(MAKE) clean
-rm -f lib/Config_git.pl git_version.h
-@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
- $(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl clean $$x MAKE=$(MAKE) ; \
done
_cleaner1:
@@ -1234,7 +1234,7 @@ _cleaner1:
-cd utils; $(LDLIBPTH) $(MAKE) $(CLEAN)
-cd x2p; $(LDLIBPTH) $(MAKE) $(CLEAN)
-@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
- $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
+ $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) ext/util/make_ext.pl $(CLEAN) $$x MAKE=$(MAKE) ; \
done
-@test ! -f $(RUN) ./miniperl$(EXE_EXT) || $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport --clean
diff --git a/ext/util/make_ext b/ext/util/make_ext.pl
index 6152aa8a7c..6152aa8a7c 100644
--- a/ext/util/make_ext
+++ b/ext/util/make_ext.pl