From: John Koleszar Date: Fri, 12 Aug 2011 18:59:10 +0000 (-0400) Subject: Generate libvpx_srcs.txt from current configuration X-Git-Tag: v0.9.7-p1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e562c77db7e7675100bd17577e073ae9ecacd34;p=libvpx Generate libvpx_srcs.txt from current configuration To get a list of files that the libvpx library depends on in the current configuration, run: $ make target=libs libvpx_srcs.txt Change-Id: I68a69648ecf212f0fe29c325297728ac2a9393d9 --- diff --git a/libs.mk b/libs.mk index 757e068d2..fecc0dab1 100644 --- a/libs.mk +++ b/libs.mk @@ -132,6 +132,14 @@ CODEC_SRCS=$(call enabled,CODEC_SRCS) INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(CODEC_SRCS) INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(call enabled,CODEC_EXPORTS) + +# Generate a list of all enabled sources, in particular for exporting to gyp +# based build systems. +libvpx_srcs.txt: + @echo " [CREATE] $@" + @echo $(CODEC_SRCS) | xargs -n1 echo | sort -u > $@ + + ifeq ($(CONFIG_EXTERNAL_BUILD),yes) ifeq ($(CONFIG_MSVS),yes)