From 5e562c77db7e7675100bd17577e073ae9ecacd34 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Fri, 12 Aug 2011 14:59:10 -0400 Subject: [PATCH] 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 --- libs.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.50.1