# HG changeset patch # User diego # Date 1139683845 0 # Node ID 254a8d098e95d1f89b41a232c5e8efaa4f879690 # Parent d25a948e2019267217f9486a1b8b5b03cc43d4f0 Separate library install into static and shared installation. diff -r d25a948e2019 -r 254a8d098e95 Makefile --- a/Makefile Sat Feb 11 17:44:06 2006 +0000 +++ b/Makefile Sat Feb 11 18:50:45 2006 +0000 @@ -60,25 +60,19 @@ rm -f .depend -ifeq ($(BUILD_SHARED),yes) -install: all +install-lib-shared: $(SLIBNAME) ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" else - install -d $(libdir) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ $(libdir)/$(SLIBNAME_WITH_VERSION) ln -sf $(SLIBNAME_WITH_VERSION) \ $(libdir)/$(SLIBNAME_WITH_MAJOR) ln -sf $(SLIBNAME_WITH_VERSION) \ $(libdir)/$(SLIBNAME) - $(LDCONFIG) || true -endif -else -install: endif -installlib: all +install-lib-static: $(LIB) install -m 644 $(LIB) "$(libdir)" install-headers: