summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-03 11:32:44 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-03 11:32:44 +0000
commit9f3ef600c170f61e00dffe61519e60790c132cbe (patch)
treeed4801153bdb18aa178698c2a47425e3ab5a1dde /Makefile.SH
parentf3f1a2d8b86b4e98226148e5f6cbaed401f4f44f (diff)
downloadperl-9f3ef600c170f61e00dffe61519e60790c132cbe.tar.gz
Two modules in ext/ have dependencies that are post-miniperl.
Encode this information in the Makefile for now. p4raw-id: //depot/perl@27704
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH19
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index f61d0db359..6097954c68 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 <<EOF
+$extra_dep
+EOF
+
+$spitshell >>Makefile <<'!NO!SUBS!'
.PHONY: printconfig
printconfig: