| OLD | NEW |
| 1 ## | 1 ## |
| 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 ## | 3 ## |
| 4 ## Use of this source code is governed by a BSD-style license | 4 ## Use of this source code is governed by a BSD-style license |
| 5 ## that can be found in the LICENSE file in the root of the source | 5 ## that can be found in the LICENSE file in the root of the source |
| 6 ## tree. An additional intellectual property rights grant can be found | 6 ## tree. An additional intellectual property rights grant can be found |
| 7 ## in the file PATENTS. All contributing project authors may | 7 ## in the file PATENTS. All contributing project authors may |
| 8 ## be found in the AUTHORS file in the root of the source tree. | 8 ## be found in the AUTHORS file in the root of the source tree. |
| 9 ## | 9 ## |
| 10 | 10 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 CODEC_SRCS=$(call enabled,CODEC_SRCS) | 173 CODEC_SRCS=$(call enabled,CODEC_SRCS) |
| 174 INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(CODEC_SRCS) | 174 INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(CODEC_SRCS) |
| 175 INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(call enabled,CODEC_EXPORTS) | 175 INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += $(call enabled,CODEC_EXPORTS) |
| 176 | 176 |
| 177 | 177 |
| 178 # Generate a list of all enabled sources, in particular for exporting to gyp | 178 # Generate a list of all enabled sources, in particular for exporting to gyp |
| 179 # based build systems. | 179 # based build systems. |
| 180 libvpx_srcs.txt: | 180 libvpx_srcs.txt: |
| 181 @echo " [CREATE] $@" | 181 @echo " [CREATE] $@" |
| 182 » @echo $(CODEC_SRCS) | xargs -n1 echo | sort -u > $@ | 182 » @echo $(CODEC_SRCS) | xargs -n1 echo | LC_ALL=C sort -u > $@ |
| 183 CLEAN-OBJS += libvpx_srcs.txt | 183 CLEAN-OBJS += libvpx_srcs.txt |
| 184 | 184 |
| 185 | 185 |
| 186 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) | 186 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) |
| 187 ifeq ($(CONFIG_MSVS),yes) | 187 ifeq ($(CONFIG_MSVS),yes) |
| 188 | 188 |
| 189 vpx.def: $(call enabled,CODEC_EXPORTS) | 189 vpx.def: $(call enabled,CODEC_EXPORTS) |
| 190 @echo " [CREATE] $@" | 190 @echo " [CREATE] $@" |
| 191 $(qexec)$(SRC_PATH_BARE)/build/make/gen_msvs_def.sh\ | 191 $(qexec)$(SRC_PATH_BARE)/build/make/gen_msvs_def.sh\ |
| 192 --name=vpx\ | 192 --name=vpx\ |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 349 |
| 350 include $(SRC_PATH_BARE)/test/test.mk | 350 include $(SRC_PATH_BARE)/test/test.mk |
| 351 LIBVPX_TEST_SRCS=$(addprefix test/,$(call enabled,LIBVPX_TEST_SRCS)) | 351 LIBVPX_TEST_SRCS=$(addprefix test/,$(call enabled,LIBVPX_TEST_SRCS)) |
| 352 LIBVPX_TEST_BINS=./test_libvpx$(EXE_SFX) | 352 LIBVPX_TEST_BINS=./test_libvpx$(EXE_SFX) |
| 353 LIBVPX_TEST_DATA=$(addprefix $(LIBVPX_TEST_DATA_PATH)/,\ | 353 LIBVPX_TEST_DATA=$(addprefix $(LIBVPX_TEST_DATA_PATH)/,\ |
| 354 $(call enabled,LIBVPX_TEST_DATA)) | 354 $(call enabled,LIBVPX_TEST_DATA)) |
| 355 libvpx_test_data_url=http://downloads.webmproject.org/test_data/libvpx/$(1) | 355 libvpx_test_data_url=http://downloads.webmproject.org/test_data/libvpx/$(1) |
| 356 | 356 |
| 357 libvpx_test_srcs.txt: | 357 libvpx_test_srcs.txt: |
| 358 @echo " [CREATE] $@" | 358 @echo " [CREATE] $@" |
| 359 » @echo $(LIBVPX_TEST_SRCS) | xargs -n1 echo | sort -u > $@ | 359 » @echo $(LIBVPX_TEST_SRCS) | xargs -n1 echo | LC_ALL=C sort -u > $@ |
| 360 CLEAN-OBJS += libvpx_test_srcs.txt | 360 CLEAN-OBJS += libvpx_test_srcs.txt |
| 361 | 361 |
| 362 $(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1 | 362 $(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1 |
| 363 @echo " [DOWNLOAD] $@" | 363 @echo " [DOWNLOAD] $@" |
| 364 $(qexec)trap 'rm -f $@' INT TERM &&\ | 364 $(qexec)trap 'rm -f $@' INT TERM &&\ |
| 365 curl -L -o $@ $(call libvpx_test_data_url,$(@F)) | 365 curl -L -o $@ $(call libvpx_test_data_url,$(@F)) |
| 366 | 366 |
| 367 testdata:: $(LIBVPX_TEST_DATA) | 367 testdata:: $(LIBVPX_TEST_DATA) |
| 368 $(qexec)[ -x "$$(which sha1sum)" ] && sha1sum=sha1sum;\ | 368 $(qexec)[ -x "$$(which sha1sum)" ] && sha1sum=sha1sum;\ |
| 369 [ -x "$$(which shasum)" ] && sha1sum=shasum;\ | 369 [ -x "$$(which shasum)" ] && sha1sum=shasum;\ |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 EXAMPLES_BIN_PATH := $(TGT_OS:win64=x64)/Release | 538 EXAMPLES_BIN_PATH := $(TGT_OS:win64=x64)/Release |
| 539 endif | 539 endif |
| 540 exampletest: examples testdata | 540 exampletest: examples testdata |
| 541 $(qexec)$(SRC_PATH_BARE)/test/examples.sh \ | 541 $(qexec)$(SRC_PATH_BARE)/test/examples.sh \ |
| 542 --test-data-path $(LIBVPX_TEST_DATA_PATH) \ | 542 --test-data-path $(LIBVPX_TEST_DATA_PATH) \ |
| 543 --bin-path $(EXAMPLES_BIN_PATH) | 543 --bin-path $(EXAMPLES_BIN_PATH) |
| 544 else | 544 else |
| 545 exampletest: | 545 exampletest: |
| 546 @echo Unit tests must be enabled to make the exampletest target. | 546 @echo Unit tests must be enabled to make the exampletest target. |
| 547 endif | 547 endif |
| OLD | NEW |