aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-30 16:50:02 +0000
committerrsc <devnull@localhost>2005-01-30 16:50:02 +0000
commit66c1faee8dd835e8a6a5f6a743506c03df7272d2 (patch)
tree751e2506b62b880d493bf760b944e60e3084dd46 /unix
parent38c087aa6de2776139e7b4cbacd36942fa0b98de (diff)
downloadplan9port-66c1faee8dd835e8a6a5f6a743506c03df7272d2.tar.gz
plan9port-66c1faee8dd835e8a6a5f6a743506c03df7272d2.tar.bz2
plan9port-66c1faee8dd835e8a6a5f6a743506c03df7272d2.zip
add ranlib for mac
Diffstat (limited to 'unix')
-rw-r--r--unix/make/Make.Darwin-PowerMacintosh1
-rw-r--r--unix/make/Makefile.LIB1
-rw-r--r--unix/make/Makefile.TOP2
3 files changed, 4 insertions, 0 deletions
diff --git a/unix/make/Make.Darwin-PowerMacintosh b/unix/make/Make.Darwin-PowerMacintosh
index 14b8d4e7..21ede6f2 100644
--- a/unix/make/Make.Darwin-PowerMacintosh
+++ b/unix/make/Make.Darwin-PowerMacintosh
@@ -4,3 +4,4 @@ O=o
AR=ar
ARFLAGS=rvc
NAN=nan64.$O
+RANLIB=ranlib
diff --git a/unix/make/Makefile.LIB b/unix/make/Makefile.LIB
index 9ebf5606..bd655ce5 100644
--- a/unix/make/Makefile.LIB
+++ b/unix/make/Makefile.LIB
@@ -1,4 +1,5 @@
$(LIB): $(OFILES)
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
+ $(RANLIB) $(LIB)
NUKEFILES+=$(LIB)
diff --git a/unix/make/Makefile.TOP b/unix/make/Makefile.TOP
index c5a613de..d2a73de0 100644
--- a/unix/make/Makefile.TOP
+++ b/unix/make/Makefile.TOP
@@ -10,6 +10,8 @@ OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'
# the gnu rules will mess up bsd but not vice versa,
# hence the gnu rules come first.
+RANLIB=true
+
include Make.$(SYSNAME)-$(OBJTYPE)
PREFIX=/usr/local