| 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 |
| 11 | 11 |
| 12 include config.mk | 12 include config.mk |
| 13 quiet?=true | 13 quiet?=true |
| 14 ifeq ($(target),) | 14 ifeq ($(target),) |
| 15 # If a target wasn't specified, invoke for all enabled targets. | 15 # If a target wasn't specified, invoke for all enabled targets. |
| 16 .DEFAULT: | 16 .DEFAULT: |
| 17 @for t in $(ALL_TARGETS); do \ | 17 @for t in $(ALL_TARGETS); do \ |
| 18 $(MAKE) --no-print-directory target=$$t $(MAKECMDGOALS) || exit $$?
;\ | 18 $(MAKE) --no-print-directory target=$$t $(MAKECMDGOALS) || exit $$?
;\ |
| 19 done | 19 done |
| 20 all: .DEFAULT | 20 all: .DEFAULT |
| 21 clean:: .DEFAULT | 21 clean:: .DEFAULT |
| 22 exampletest: .DEFAULT | 22 exampletest: .DEFAULT |
| 23 install:: .DEFAULT | 23 install:: .DEFAULT |
| 24 test:: .DEFAULT | 24 test:: .DEFAULT |
| 25 test-no-data-check:: .DEFAULT |
| 25 testdata:: .DEFAULT | 26 testdata:: .DEFAULT |
| 26 utiltest: .DEFAULT | 27 utiltest: .DEFAULT |
| 28 exampletest-no-data-check utiltest-no-data-check: .DEFAULT |
| 27 | 29 |
| 28 | 30 |
| 29 # Note: md5sum is not installed on OS X, but openssl is. Openssl may not be | 31 # Note: md5sum is not installed on OS X, but openssl is. Openssl may not be |
| 30 # installed on cygwin, so we need to autodetect here. | 32 # installed on cygwin, so we need to autodetect here. |
| 31 md5sum := $(firstword $(wildcard \ | 33 md5sum := $(firstword $(wildcard \ |
| 32 $(foreach e,md5sum openssl,\ | 34 $(foreach e,md5sum openssl,\ |
| 33 $(foreach p,$(subst :, ,$(PATH)),$(p)/$(e)*))\ | 35 $(foreach p,$(subst :, ,$(PATH)),$(p)/$(e)*))\ |
| 34 )) | 36 )) |
| 35 md5sum := $(if $(filter %openssl,$(md5sum)),$(md5sum) dgst -md5,$(md5sum)) | 37 md5sum := $(if $(filter %openssl,$(md5sum)),$(md5sum) dgst -md5,$(md5sum)) |
| 36 | 38 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 .PHONY: exampletest | 108 .PHONY: exampletest |
| 107 exampletest: | 109 exampletest: |
| 108 .PHONY: install | 110 .PHONY: install |
| 109 install:: | 111 install:: |
| 110 .PHONY: test | 112 .PHONY: test |
| 111 test:: | 113 test:: |
| 112 .PHONY: testdata | 114 .PHONY: testdata |
| 113 testdata:: | 115 testdata:: |
| 114 .PHONY: utiltest | 116 .PHONY: utiltest |
| 115 utiltest: | 117 utiltest: |
| 118 .PHONY: test-no-data-check exampletest-no-data-check utiltest-no-data-check |
| 119 test-no-data-check:: |
| 120 exampletest-no-data-check utiltest-no-data-check: |
| 116 | 121 |
| 117 # Add compiler flags for intrinsic files | 122 # Add compiler flags for intrinsic files |
| 118 ifeq ($(TOOLCHAIN), x86-os2-gcc) | 123 ifeq ($(TOOLCHAIN), x86-os2-gcc) |
| 119 STACKREALIGN=-mstackrealign | 124 STACKREALIGN=-mstackrealign |
| 120 else | 125 else |
| 121 STACKREALIGN= | 126 STACKREALIGN= |
| 122 endif | 127 endif |
| 123 | 128 |
| 124 $(BUILD_PFX)%_mmx.c.d: CFLAGS += -mmmx | 129 $(BUILD_PFX)%_mmx.c.d: CFLAGS += -mmmx |
| 125 $(BUILD_PFX)%_mmx.c.o: CFLAGS += -mmmx | 130 $(BUILD_PFX)%_mmx.c.o: CFLAGS += -mmmx |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) | 444 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) |
| 440 BUILD_TARGETS += .projects | 445 BUILD_TARGETS += .projects |
| 441 INSTALL_TARGETS += .install-projects | 446 INSTALL_TARGETS += .install-projects |
| 442 endif | 447 endif |
| 443 BUILD_TARGETS += .docs .libs .bins | 448 BUILD_TARGETS += .docs .libs .bins |
| 444 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins | 449 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins |
| 445 all: $(BUILD_TARGETS) | 450 all: $(BUILD_TARGETS) |
| 446 install:: $(INSTALL_TARGETS) | 451 install:: $(INSTALL_TARGETS) |
| 447 dist: $(INSTALL_TARGETS) | 452 dist: $(INSTALL_TARGETS) |
| 448 test:: | 453 test:: |
| OLD | NEW |