Mercurial > libavformat.hg
changeset 944:7082e2e7a3cd libavformat
Separate library install into static and shared installation.
author | diego |
---|---|
date | Sat, 11 Feb 2006 18:50:45 +0000 |
parents | 4e7a66723f1d |
children | cff8bd30adfb |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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: