1# Output variables:
2# libvpx_config_dir_x86_64
3# libvpx_codec_srcs_c_x86_64
4# libvpx_codec_srcs_asm_x86_64
5
6libvpx_target := config/generic
7
8libvpx_config_dir_x86_64 := $(LOCAL_PATH)/$(libvpx_target)
9libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_x86_64)/libvpx_srcs.txt))
10
11# vpx_config.c is an auto-generated file in $(libvpx_target).
12libvpx_codec_srcs_c_x86_64 := $(addprefix libvpx/, $(filter-out vpx_config.c, \
13    $(filter %.c, $(libvpx_codec_srcs)))) \
14    $(libvpx_target)/vpx_config.c
15
16# X86_64 asm files are processed by the system and sent to yasm
17libvpx_codec_srcs_c_x86_64 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs)))
18