From 71fa13e8757700d817ae3058fac3c5c55eaed839 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 23 Oct 2007 06:51:44 +0000 Subject: [PATCH] Simplify install-libs prerequisite generation. Originally committed as revision 10844 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/common.mak b/common.mak index 823cc8ef59..9030a6969f 100644 --- a/common.mak +++ b/common.mak @@ -58,16 +58,12 @@ clean:: distclean: clean rm -f .depend -ifeq ($(BUILD_SHARED),yes) -INSTLIBTARGETS += install-lib-shared -endif -ifeq ($(BUILD_STATIC),yes) -INSTLIBTARGETS += install-lib-static -endif +INSTALL_TARGETS-$(BUILD_SHARED) += install-lib-shared +INSTALL_TARGETS-$(BUILD_STATIC) += install-lib-static install: install-libs install-headers -install-libs: $(INSTLIBTARGETS) +install-libs: $(INSTALL_TARGETS-yes) install-lib-shared: $(SLIBNAME) install -d "$(SHLIBDIR)"