| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # | 5 # |
| 6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
| 7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
| 8 # | 8 # |
| 9 | 9 |
| 10 # | 10 # |
| 11 # Get pepper directory for toolchain and includes. | 11 # Get pepper directory for toolchain and includes. |
| 12 # | 12 # |
| 13 # If NACL_SDK_ROOT is not set, then assume it can be found a two directories up, | 13 # If NACL_SDK_ROOT is not set, then assume it can be found a two directories up, |
| 14 # from the default example directory location. | 14 # from the default example directory location. |
| 15 # | 15 # |
| 16 THIS_MAKEFILE:=$(abspath $(lastword $(MAKEFILE_LIST))) | 16 THIS_MAKEFILE:=$(abspath $(lastword $(MAKEFILE_LIST))) |
| 17 NACL_SDK_ROOT?=$(abspath $(dir $(THIS_MAKEFILE))../..) | 17 NACL_SDK_ROOT?=$(abspath $(dir $(THIS_MAKEFILE))../..) |
| 18 CHROME_PATH?=Undefined | 18 CHROME_PATH?=Undefined |
| 19 | 19 |
| 20 # | 20 # |
| 21 # Defaults | 21 # Defaults |
| 22 # | 22 # |
| 23 NACL_WARNINGS:=-Wno-long-long -Wall -Wswitch-enum -Werror -pedantic | 23 NACL_WARNINGS:=-Wno-long-long |
| 24 | 24 |
| 25 | 25 |
| 26 # | 26 # |
| 27 # Compute path to requested NaCl Toolchain | 27 # Compute path to requested NaCl Toolchain |
| 28 # | 28 # |
| 29 OSNAME:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py) | 29 OSNAME:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py) |
| 30 TC_PATH:=$(abspath $(NACL_SDK_ROOT)/toolchain) | 30 TC_PATH:=$(abspath $(NACL_SDK_ROOT)/toolchain) |
| 31 | 31 |
| 32 | 32 |
| 33 # | 33 # |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 export CYGWIN | 79 export CYGWIN |
| 80 | 80 |
| 81 | 81 |
| 82 # | 82 # |
| 83 # Defaults for TOOLS | 83 # Defaults for TOOLS |
| 84 # | 84 # |
| 85 __PROJECT_TOOLS__ | 85 __PROJECT_TOOLS__ |
| 86 | 86 |
| 87 __PROJECT_RULES__ | 87 __PROJECT_RULES__ |
| 88 | 88 |
| OLD | NEW |