summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-07-11 20:51:07 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-07-12 07:01:26 +0000
commit28e8609dd7177ef09fbbf211ede76ea895529a3d (patch)
treea1b66ef1c3639b0d05339e202d75663eb55e01f7 /Makefile.SH
parent8d9b2e3c6958e5856b03a00694b8ae02817ed002 (diff)
downloadperl-28e8609dd7177ef09fbbf211ede76ea895529a3d.tar.gz
generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVS
Message-Id: <199807111451.RAA27010@alpha.hut.fi> Subject: M3 "generic" parts p4raw-id: //depot/perl@1451
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile.SH b/Makefile.SH
index ea72dec323..f0a70e828d 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -177,6 +177,9 @@ ARCHOBJS = $archobjs
# grrr
SHELL = $sh
+# how to tr(anslate) newlines
+TRNL = '$trnl'
+
!GROK!THIS!
## In the following dollars and backticks do not need the extra backslash.
@@ -300,6 +303,7 @@ $(LIBPERL): $& perl$(OBJ_EXT) $(obj)
case "$osname" in
aix)
$spitshell >>Makefile <<'!NO!SUBS!'
+ rm -f libperl$(OBJ_EXT)
mv $@ libperl$(OBJ_EXT)
$(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
!NO!SUBS!
@@ -379,7 +383,7 @@ lib/Config.pm: config.sh miniperl configpm
sh mv-if-diff tmp lib/Config.pm
lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl minimod.pl lib/Config.pm
- $(LDLIBPTH) ./miniperl minimod.pl > tmp && mv tmp $@
+ $(LDLIBPTH) ./miniperl minimod.pl > tmp && ( rm -f $@ ; mv tmp $@ )
lib/re.pm: ext/re/re.pm
cat ext/re/re.pm > $@
@@ -600,16 +604,16 @@ nok: utilities
$(LBLIBPTH) ./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
clist: $(c)
- echo $(c) | tr ' ' '\012' >.clist
+ echo $(c) | tr ' ' $(TRNL) >.clist
hlist: $(h)
- echo $(h) | tr ' ' '\012' >.hlist
+ echo $(h) | tr ' ' $(TRNL) >.hlist
shlist: $(sh)
- echo $(sh) | tr ' ' '\012' >.shlist
+ echo $(sh) | tr ' ' $(TRNL) >.shlist
pllist: $(pl)
- echo $(pl) | tr ' ' '\012' >.pllist
+ echo $(pl) | tr ' ' $(TRNL) >.pllist
Makefile: Makefile.SH ./config.sh
$(SHELL) Makefile.SH