aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-23 06:51:44 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-23 06:51:44 +0000
commit71fa13e8757700d817ae3058fac3c5c55eaed839 (patch)
tree0dadfa2e34d83ea6f828f38875bb0e39935e276e /common.mak
parent39fe9d79ad27a9bed9bdfcb3973382237247d7a3 (diff)
downloadffmpeg-71fa13e8757700d817ae3058fac3c5c55eaed839.tar.gz
Simplify install-libs prerequisite generation.
Originally committed as revision 10844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak10
1 files 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)"