ref: 5e562c77db7e7675100bd17577e073ae9ecacd34
parent: e96131705a3ce05fa271388434d1aaef7e3942c3
author: John Koleszar <jkoleszar@google.com>
date: Fri Aug 12 10:59:10 EDT 2011
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
--- a/libs.mk
+++ b/libs.mk
@@ -132,6 +132,14 @@
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)
--
⑨