X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=blobdiff_plain;f=Makefile;h=fc134bfed0a7059809cbbdfd7bf379b1a554d92a;hp=fde1e3088c184977007f9d8680513a0f305ade69;hb=9ff6afb33c187fd992dd80e34bba30f118044b85;hpb=db45ec1397a2fec0e5a617e31e91a7263d3ffbcc diff --git a/Makefile b/Makefile index fde1e30..fc134bf 100644 --- 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. @@ -124,7 +124,7 @@ fsck.cmdline.o: fsck.cmdline.c fsck.cmdline.h $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LIBCFLAGS) $< fsck.cmdline.h fsck.cmdline.c: fsck.ggo Makefile - gengetopt $$O \ + gengetopt \ --conf-parser \ --unamed-opts=table \ --no-handle-version \ @@ -168,12 +168,12 @@ 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 644 $(executables) $(bindir) + $(INSTALL) -m 755 $(executables) $(bindir) $(INSTALL) -m 644 $(man_pages) $(mandir) .PHONY: all clean install