summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-21 14:47:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-21 14:47:48 +0000
commitf57ac8dbeab4977aa1ae2fa8c58ac73827401689 (patch)
tree176aed5c26ce3a82eab3350636bf528e86bbf25f /Makefile.SH
parent49a8b3e520d195e64c754cf0f5ea986f7fde2750 (diff)
downloadperl-f57ac8dbeab4977aa1ae2fa8c58ac73827401689.tar.gz
Cross-configuration changes: make $from to rm the files
before copying them over (this means that he rm can be removed from the fflushall test), create $targetmkdir (not documented in install since it is supposed to internal use only), make $run to copy over the executable only if a stamp file .xok doesn't already exist (to avoid unnecessary copying of the executable) p4raw-id: //depot/perl@10788
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 133fd339cd..808ca9c504 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -481,6 +481,7 @@ miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
*)
$spitshell >>Makefile <<'!NO!SUBS!'
miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
+ -@rm -f miniperl.xok
$(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
$(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
@@ -491,6 +492,7 @@ miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
$spitshell >>Makefile <<'!NO!SUBS!'
perl: $& perlmain$(OBJ_EXT) $(LIBPERL) $(DYNALOADER) $(static_ext) ext.libs $(PERLEXPORT)
+ -@rm -f miniperl.xok
$(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX) $(PERL_PROFILING) $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(DYNALOADER) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)
# Purify/Quantify Perls.
@@ -823,7 +825,7 @@ _mopup:
-rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap
-rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log
-rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs
- -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts
+ -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok
rm -f perl suidperl miniperl $(LIBPERL) libperl.* microperl
# Do not 'make _tidy' directly.