]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
MacOs Fixes.
[osl.git] / Makefile
index 3ce4567c36a98edb1ccdd20308d92f3605dffd63..fc134bfed0a7059809cbbdfd7bf379b1a554d92a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ ifeq ($(uname_s),Darwin)
        # Darwin has its own idea on version numbers:
        realname := lib$(libname).$(x).dylib
        soname := $(realname)
-       linkername := lib$(libname).so
+       linkername := lib$(libname).dylib
        # The minor version number is an incremental number using the format
        # X[.Y[.Z]]. To set the minor version number of a dynamic library, use
        # the gcc -current_version option.
@@ -168,10 +168,10 @@ distclean: clean
        rm -rf web/doxygen
 
 install: all
-       $(MKDIR) $(libdir) $(includedir)
+       $(MKDIR) $(libdir) $(includedir) $(mandir) $(bindir)
        $(RM) $(libdir)/$(linkername)
        $(LN) -s $(libdir)/$(soname) $(libdir)/$(linkername)
-       $(INSTALL) -s -m 755 $(realname) $(libdir)
+       $(INSTALL) -m 755 $(realname) $(libdir)
        $(INSTALL) -m 644 $(headers) $(includedir)
        $(INSTALL) -m 755 $(executables) $(bindir)
        $(INSTALL) -m 644 $(man_pages) $(mandir)