Simplify install-libs prerequisite generation.

Originally committed as revision 10844 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-10-23 06:51:44 +00:00
parent 39fe9d79ad
commit 71fa13e875

View File

@ -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)"