From: Nicholas Clark Date: Mon, 3 Apr 2006 11:32:44 +0000 (+0000) Subject: Two modules in ext/ have dependencies that are post-miniperl. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f3ef600c170f61e00dffe61519e60790c132cbe;p=p5sagit%2Fp5-mst-13.2.git Two modules in ext/ have dependencies that are post-miniperl. Encode this information in the Makefile for now. p4raw-id: //depot/perl@27704 --- diff --git a/Makefile.SH b/Makefile.SH index f61d0db..6097954 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -155,10 +155,20 @@ esac : Prepare dependency lists for Makefile. dynamic_list=' ' +extra_dep='' for f in $dynamic_ext; do : the dependency named here will never exist base=`echo "$f" | sed 's/.*\///'` - dynamic_list="$dynamic_list lib/auto/$f/$base.$dlext" + this_target="lib/auto/$f/$base.$dlext" + dynamic_list="$dynamic_list $this_target" + + : Parallel makes reveal that we have some interdependencies + case $f in + Math/BigInt/FastCalc) extra_dep="$extra_dep +$this_target: lib/auto/List/Util/Util.$dlext" ;; + Unicode/Normalize) extra_dep="$extra_dep +$this_target: uni.data" ;; + esac done static_list=' ' @@ -985,6 +995,13 @@ s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) +!NO!SUBS! + +$spitshell >>Makefile <>Makefile <<'!NO!SUBS!' .PHONY: printconfig printconfig: