summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-26 03:10:47 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-26 03:10:47 +0000
commitf556e5b971932902a6d49815d5094657f50eb262 (patch)
tree0750a2d843d582c15866cc7adef8a7886166a684 /Makefile.SH
parent10cc9d2a36974e2e1175dbda57d8d05e2b0ce49e (diff)
downloadperl-f556e5b971932902a6d49815d5094657f50eb262.tar.gz
Rhapsody/Darwin patches from Wilfredo Sanchez.
p4raw-id: //depot/cfgperl@5262
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.SH b/Makefile.SH
index bfb5610195..0817c99c2e 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -45,6 +45,14 @@ true)
-compatibility_version 1 -current_version $patchlevel \
-prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
;;
+ rhapsody*|darwin*)
+ shrpldflags="${ldflags} -dynamiclib \
+ -compatibility_version 1 \
+ -current_version \
+ ${api_version}.${api_subversion} \
+ -image_base 0x4be00000 \
+ -install_name \$(shrpdir)/\$@"
+ ;;
cygwin*)
linklibperl="-lperl"
;;
@@ -76,9 +84,6 @@ true)
os2)
ldlibpth=''
;;
- rhapsody)
- eval "ldlibpth=\"$ldlibpthname=`pwd`/Perl:\$$ldlibpthname\""
- ;;
*)
eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
;;
@@ -532,6 +537,9 @@ extra.pods: miniperl
-@test -f README.vms && $(LNS) ../README.vms pod/README_vms.pod && echo "pod/README_vms.pod" >> extra.pods
-@test -f vms/perlvms.pod && $(LNS) ../vms/perlvms.pod pod/perlvms.pod && echo "pod/perlvms.pod" >> extra.pods
+install-strip:
+ $(MAKE) STRIPFLAGS=-s install
+
install: all install.perl install.man
install.perl: all installperl
@@ -542,7 +550,7 @@ install.perl: all installperl
cd ../pod; $(MAKE) compile; \
else :; \
fi
- $(LDLIBPTH) ./perl installperl
+ $(LDLIBPTH) ./perl installperl $(STRIPFLAGS)
install.man: all installman
$(LDLIBPTH) ./perl installman