summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2006-07-09 08:19:33 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2006-07-09 08:19:33 +0000
commit42e075623c2bbf1fc51817682bfa7ee74e617478 (patch)
treec96e260ac7d3dfe9e3db09b3713052f646cea074 /Makefile.SH
parent4cadc6a950ca81f5812fc41862e1f34bc2ef21b3 (diff)
downloadperl-42e075623c2bbf1fc51817682bfa7ee74e617478.tar.gz
Integrate mkppport. All ppport.h files in the core will now
be autogenerated at build time (and removed during cleanup). p4raw-id: //depot/perl@28513
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index ecd036b5c3..9230545a0b 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -815,6 +815,10 @@ preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
autosplit_lib_modules(@ARGV)' lib/*/*.pm
$(MAKE) lib/re.pm
+.PHONY: makeppport
+makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
+ $(LDLIBPTH) ./miniperl -Ilib mkppport
+
lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
$(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
@@ -1014,10 +1018,10 @@ manicheck: FORCE
$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
+d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
-s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
+s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
@@ -1090,6 +1094,7 @@ _cleaner1:
-@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
$(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \
done
+ $(LDLIBPTH) ./miniperl -Ilib mkppport --clean
# Some systems do not support "?", so keep these files separate.
_cleaner2: