summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-17 18:55:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-17 18:55:49 +0000
commit170ba846c2d283ae8d0859b912bd0da9fa32df89 (patch)
tree432a472ae1d190e975c16d9e3db8012d49251415 /Makefile.SH
parentffbc3676b32c79cfa805d4bc7a6def891f69f1a6 (diff)
downloadperl-170ba846c2d283ae8d0859b912bd0da9fa32df89.tar.gz
Add prerequisites for the perl.third target.
p4raw-id: //depot/perl@9189
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index a5c4690f0d..5e74b27e42 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -505,7 +505,12 @@ purecovperl: $& perlmain$(OBJ_EXT) $(LIBPERL) $(DYNALOADER) $(static_ext) ext.li
quantperl: $& perlmain$(OBJ_EXT) $(LIBPERL) $(DYNALOADER) $(static_ext) ext.libs $(PERLEXPORT)
$(SHRPENV) $(LDLIBPTH) quantify $(CC) -o quantperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(DYNALOADER) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
-perl.third: perl
+perl.third.config: config.sh
+ @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."
+ @grep "^optimize='-g'" config.sh || exit 1
+ @grep "^config_args='.*-Uusemymalloc.*'" config.sh || exit 1
+
+perl.third: perl.third.config perl
atom -tool third -L. -all -gp -toolargs="-quiet -invalid -uninit heap+stack+partword+copy -min 0" perl
# This version, if specified in Configure, does ONLY those scripts which need