diff Makefile @ 26:254a8d098e95 libavutil

Separate library install into static and shared installation.
author diego
date Sat, 11 Feb 2006 18:50:45 +0000
parents d25a948e2019
children 3e908b79ab11
line wrap: on
line diff
--- 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: