From: Nicholas Clark Date: Tue, 8 Sep 2009 15:30:46 +0000 (+0100) Subject: Build the nonxs extensions before running mkppport. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1a2168615d3;p=p5sagit%2Fp5-mst-13.2.git Build the nonxs extensions before running mkppport. (It requires several modules that we'd like to move from lib/ to ext/ In turn, as it runs before the dynamic extensions are built, it means that all modules *they* require at configure and build time will already be in lib, which simplifies things considerably. We then only need to worry about a subset of pure-perl modules in ext/ that require each other to build.) --- diff --git a/Makefile.SH b/Makefile.SH index e9ffdca..db5e90e 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -935,7 +935,7 @@ makeppport: miniperl\$(EXE_EXT) \$(CONFIGPM) *) $spitshell >>$Makefile <<'!NO!SUBS!' .PHONY: makeppport -makeppport: miniperl$(EXE_EXT) $(CONFIGPM) +makeppport: miniperl$(EXE_EXT) $(CONFIGPM) $(nonxs_ext) $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib mkppport !NO!SUBS! diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index b65fa0c..e256b16 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -750,7 +750,7 @@ preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) @ Create/Directory [.lib.auto] @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm [.lib.*.*]*.pm -makeppport : $(MINIPERL_EXE) $(ARCHDIR)Config.pm +makeppport : $(MINIPERL_EXE) $(ARCHDIR)Config.pm nonxsext $(MINIPERL) mkppport [.lib.pods]perl.pod : [.pod]perl.pod diff --git a/win32/Makefile b/win32/Makefile index 29e1452..7add678 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1051,7 +1051,7 @@ $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs -MakePPPort: $(MINIPERL) $(CONFIGPM) +MakePPPort: $(MINIPERL) $(CONFIGPM) Extensions_nonxs $(MINIPERL) -I..\lib ..\mkppport MakePPPort_clean: diff --git a/win32/makefile.mk b/win32/makefile.mk index 1b5cff1..dd6320a 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1380,7 +1380,7 @@ $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs -MakePPPort: $(MINIPERL) $(CONFIGPM) +MakePPPort: $(MINIPERL) $(CONFIGPM) Extensions_nonxs $(MINIPERL) -I..\lib ..\mkppport MakePPPort_clean: