# HG changeset patch # User diego # Date 1139683845 0 # Node ID 7082e2e7a3cd2d1c041cf6b8ae92967bced13395 # Parent 4e7a66723f1d12d5ae287ccf93d1e38d7d6d9060 Separate library install into static and shared installation. diff -r 4e7a66723f1d -r 7082e2e7a3cd Makefile --- a/Makefile Sat Feb 11 18:27:57 2006 +0000 +++ b/Makefile Sat Feb 11 18:50:45 2006 +0000 @@ -124,25 +124,20 @@ depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.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: