summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorPeter Prymmer <PPrymmer@factset.com>2001-01-19 10:12:05 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-20 22:21:18 +0000
commitac9901e0f0bc12ad100c6e8b5f8bd40595e928ad (patch)
treecd9d5d7d0a39c43a995b189f21e4f449dd007376 /Makefile.SH
parent35a776681335588172b2b70a0fac16df92ac12d8 (diff)
downloadperl-ac9901e0f0bc12ad100c6e8b5f8bd40595e928ad.tar.gz
partial support for dynaloading on OS/390
Message-ID: <Pine.OSF.4.10.10101191646420.61158-100000@aspara.forte.com> p4raw-id: //depot/perl@8487
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH19
1 files changed, 14 insertions, 5 deletions
diff --git a/Makefile.SH b/Makefile.SH
index d0b5465b8a..7a2ee11a21 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -26,6 +26,7 @@ esac
linklibperl='$(LIBPERL)'
shrpldflags='$(LDDLFLAGS)'
ldlibpth=''
+DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
case "$useshrplib" in
true)
# Prefix all runs of 'miniperl' and 'perl' with
@@ -76,6 +77,10 @@ true)
hpux*)
linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
;;
+ os390*)
+ linklibperl='libperl.x'
+ DPERL_EXTERNAL_GLOB=''
+ ;;
esac
case "$ldlibpthname" in
'') ;;
@@ -300,17 +305,21 @@ utilities: miniperl lib/Config.pm $(plextract) lib/lib.pm FORCE
# Apparently some makes require an action for the FORCE target.
FORCE:
@sh -c true
+!NO!SUBS!
+$spitshell >>Makefile <<!GROK!THIS!
# We do a copy of the op.c instead of a symlink because gcc gets huffy
# if we have a symlink forest to another disk (it complains about too many
# levels of symbolic links, even if we have only two)
-opmini$(OBJ_EXT): op.c config.h
- $(RMS) opmini.c
- $(CPS) op.c opmini.c
- $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB opmini.c
- $(RMS) opmini.c
+opmini\$(OBJ_EXT): op.c config.h
+ \$(RMS) opmini.c
+ \$(CPS) op.c opmini.c
+ \$(CCCMD) \$(PLDLFLAGS) $DPERL_EXTERNAL_GLOB opmini.c
+ \$(RMS) opmini.c
+!GROK!THIS!
+$spitshell >>Makefile <<'!NO!SUBS!'
miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
$(CCCMD) $(PLDLFLAGS) $*.c