Index: trunk/Ohana/Makefile.Common
===================================================================
--- trunk/Ohana/Makefile.Common	(revision 12160)
+++ trunk/Ohana/Makefile.Common	(revision 12840)
@@ -62,8 +62,22 @@
 	@echo ""
 
+$(LIB)/%.$(ARCH).dylib:
+	@if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi
+	rm -f $@
+	gcc -dynamiclib -o $@ $^ -lc
+	@echo "compiled shared library $*"
+	@echo ""
+
 # shared objects have a different compilation on solaris:
 # gcc -shared -o $@ $^ -lc
 
 $(DESTLIB)/%.so: $(LIB)/%.$(ARCH).so
+	@if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi
+	rm -f $@
+	cp $< $@
+	@echo "installed shared library $*"
+	@echo ""
+
+$(DESTLIB)/%.dylib: $(LIB)/%.$(ARCH).dylib
 	@if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi
 	rm -f $@
