| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 BUILD_ROOT?=. | 67 BUILD_ROOT?=. |
| 68 VPATH=$(SRC_PATH_BARE) | 68 VPATH=$(SRC_PATH_BARE) |
| 69 CFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) | 69 CFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) |
| 70 CXXFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) | 70 CXXFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) |
| 71 ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/ | 71 ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/ |
| 72 DIST_DIR?=dist | 72 DIST_DIR?=dist |
| 73 HOSTCC?=gcc | 73 HOSTCC?=gcc |
| 74 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) | 74 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) |
| 75 TGT_OS:=$(word 2, $(subst -, ,$(TOOLCHAIN))) | 75 TGT_OS:=$(word 2, $(subst -, ,$(TOOLCHAIN))) |
| 76 TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN))) | 76 TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN))) |
| 77 quiet:=$(if $(verbose),,yes) | 77 quiet:=$(if $(or $(verbose), $(V)),, yes) |
| 78 qexec=$(if $(quiet),@) | 78 qexec=$(if $(quiet),@) |
| 79 | 79 |
| 80 # Cancel built-in implicit rules | 80 # Cancel built-in implicit rules |
| 81 %: %.o | 81 %: %.o |
| 82 %.asm: | 82 %.asm: |
| 83 %.a: | 83 %.a: |
| 84 %: %.cc | 84 %: %.cc |
| 85 | 85 |
| 86 # | 86 # |
| 87 # Common rules" | 87 # Common rules" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 DIST-SRCS-yes += build/make/Makefile | 373 DIST-SRCS-yes += build/make/Makefile |
| 374 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_def.sh | 374 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_def.sh |
| 375 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_proj.sh | 375 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_proj.sh |
| 376 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_sln.sh | 376 DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_sln.sh |
| 377 DIST-SRCS-$(CONFIG_MSVS) += build/x86-msvs/yasm.rules | 377 DIST-SRCS-$(CONFIG_MSVS) += build/x86-msvs/yasm.rules |
| 378 DIST-SRCS-$(CONFIG_MSVS) += build/x86-msvs/obj_int_extract.bat | 378 DIST-SRCS-$(CONFIG_MSVS) += build/x86-msvs/obj_int_extract.bat |
| 379 DIST-SRCS-$(CONFIG_RVCT) += build/make/armlink_adapter.sh | 379 DIST-SRCS-$(CONFIG_RVCT) += build/make/armlink_adapter.sh |
| 380 # Include obj_int_extract if we use offsets from asm_*_offsets | 380 # Include obj_int_extract if we use offsets from asm_*_offsets |
| 381 DIST-SRCS-$(ARCH_ARM)$(ARCH_X86)$(ARCH_X86_64) += build/make/obj_int_extr
act.c | 381 DIST-SRCS-$(ARCH_ARM)$(ARCH_X86)$(ARCH_X86_64) += build/make/obj_int_extr
act.c |
| 382 DIST-SRCS-$(ARCH_ARM) += build/make/ads2gas.pl | 382 DIST-SRCS-$(ARCH_ARM) += build/make/ads2gas.pl |
| 383 DIST-SRCS-$(ARCH_ARM) += build/make/ads2gas_apple.pl |
| 383 DIST-SRCS-yes += $(target:-$(TOOLCHAIN)=).mk | 384 DIST-SRCS-yes += $(target:-$(TOOLCHAIN)=).mk |
| 384 endif | 385 endif |
| 385 INSTALL-SRCS := $(call cond_enabled,CONFIG_INSTALL_SRCS,INSTALL-SRCS) | 386 INSTALL-SRCS := $(call cond_enabled,CONFIG_INSTALL_SRCS,INSTALL-SRCS) |
| 386 ifeq ($(MAKECMDGOALS),dist) | 387 ifeq ($(MAKECMDGOALS),dist) |
| 387 INSTALL-SRCS += $(call cond_enabled,CONFIG_INSTALL_SRCS,DIST-SRCS) | 388 INSTALL-SRCS += $(call cond_enabled,CONFIG_INSTALL_SRCS,DIST-SRCS) |
| 388 endif | 389 endif |
| 389 .install-srcs: $(addprefix $(DIST_DIR)/src/,$(INSTALL-SRCS)) | 390 .install-srcs: $(addprefix $(DIST_DIR)/src/,$(INSTALL-SRCS)) |
| 390 @touch $@ | 391 @touch $@ |
| 391 | 392 |
| 392 clean:: | 393 clean:: |
| 393 rm -f .install-srcs | 394 rm -f .install-srcs |
| 394 | 395 |
| 395 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) | 396 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) |
| 396 BUILD_TARGETS += .projects | 397 BUILD_TARGETS += .projects |
| 397 INSTALL_TARGETS += .install-projects | 398 INSTALL_TARGETS += .install-projects |
| 398 endif | 399 endif |
| 399 BUILD_TARGETS += .docs .libs .bins | 400 BUILD_TARGETS += .docs .libs .bins |
| 400 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins | 401 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins |
| 401 all: $(BUILD_TARGETS) | 402 all: $(BUILD_TARGETS) |
| 402 install:: $(INSTALL_TARGETS) | 403 install:: $(INSTALL_TARGETS) |
| 403 dist: $(INSTALL_TARGETS) | 404 dist: $(INSTALL_TARGETS) |
| 404 test:: | 405 test:: |
| OLD | NEW |