diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-02-11 18:50:45 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-02-11 18:50:45 +0000 |
commit | b12f8273fa62978511ebe7b86d68269459c5921d (patch) | |
tree | 3780f186aa71a612550ea07f3e35f891b6a6b088 /Makefile | |
parent | e60b4ced1fe43a270ef425ed4966cb1a77162322 (diff) | |
download | ffmpeg-b12f8273fa62978511ebe7b86d68269459c5921d.tar.gz |
Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -108,10 +108,7 @@ documentation: .PHONY: install -install: all install-progs install-headers install-man $(INSTALLVHOOK) - $(MAKE) -C libavutil install - $(MAKE) -C libavcodec install - $(MAKE) -C libavformat install +install: install-progs install-libs install-headers install-man $(INSTALLVHOOK) install-progs: $(PROG) install -d "$(bindir)" @@ -133,10 +130,19 @@ endif install-vhook: $(MAKE) -C vhook install -installlib: - $(MAKE) -C libavutil installlib - $(MAKE) -C libavcodec installlib - $(MAKE) -C libavformat installlib +install-libs: + install -d $(libdir) +ifeq ($(BUILD_SHARED),yes) + $(MAKE) -C libavutil install-lib-shared + $(MAKE) -C libavcodec install-lib-shared + $(MAKE) -C libavformat install-lib-shared + $(LDCONFIG) || true +endif +ifeq ($(BUILD_STATIC),yes) + $(MAKE) -C libavutil install-lib-static + $(MAKE) -C libavcodec install-lib-static + $(MAKE) -C libavformat install-lib-static +endif install-headers: $(MAKE) -C libavutil install-headers |