summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-02-11 18:50:45 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-11 18:50:45 +0000
commitb12f8273fa62978511ebe7b86d68269459c5921d (patch)
tree3780f186aa71a612550ea07f3e35f891b6a6b088 /libavutil
parente60b4ced1fe43a270ef425ed4966cb1a77162322 (diff)
Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/libavutil/Makefile b/libavutil/Makefile
index a27ed55a8b..2a75cb3a4e 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -60,25 +60,19 @@ distclean: clean
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: