1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-06 08:29:25 +02:00

Separate library install into static and shared installation.

Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun
2006-02-11 18:50:45 +00:00
parent e60b4ced1f
commit b12f8273fa
6 changed files with 26 additions and 38 deletions

View File

@@ -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: