Ying Wang | 08af198 | 2014-03-12 17:49:58 -0700 | [diff] [blame] | 1 | # Output variables: |
| 2 | # libvpx_config_dir_x86_64 |
| 3 | # libvpx_codec_srcs_c_x86_64 |
| 4 | # libvpx_codec_srcs_asm_x86_64 |
| 5 | |
Dirk Vogt | 545b348 | 2016-02-18 19:30:26 +0100 | [diff] [blame] | 6 | libvpx_target := config/generic |
Ying Wang | 08af198 | 2014-03-12 17:49:58 -0700 | [diff] [blame] | 7 | |
| 8 | libvpx_config_dir_x86_64 := $(LOCAL_PATH)/$(libvpx_target) |
| 9 | libvpx_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). |
| 12 | libvpx_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 | |
Dirk Vogt | 545b348 | 2016-02-18 19:30:26 +0100 | [diff] [blame] | 16 | # X86_64 asm files are processed by the system and sent to yasm |
| 17 | libvpx_codec_srcs_c_x86_64 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs))) |