| OLD | NEW |
| 1 # Copyright 2010 The Native Client Authors. All rights reserved. | 1 # Copyright 2010 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can | 2 # Use of this source code is governed by a BSD-style license that can |
| 3 # be found in the LICENSE file. | 3 # be found in the LICENSE file. |
| 4 | 4 |
| 5 ###################################################################### | 5 ###################################################################### |
| 6 # CONFIG | 6 # CONFIG |
| 7 ###################################################################### | 7 ###################################################################### |
| 8 | 8 |
| 9 # NOTE: we assume you have a symlink "CLIENT" in this directory pointing | 9 # NOTE: we assume you have a symlink "CLIENT" in this directory pointing |
| 10 # to your .../native_client directory | 10 # to your .../native_client directory |
| 11 | 11 |
| 12 ifndef BUILD_PLATFORM | 12 ifndef BUILD_PLATFORM |
| 13 BUILD_PLATFORM="build_platform_undefined" | 13 BUILD_PLATFORM="build_platform_undefined" |
| 14 endif | 14 endif |
| 15 | 15 |
| 16 ifndef SCONS_BUILD_PLATFORM | 16 ifndef SCONS_BUILD_PLATFORM |
| 17 SCONS_BUILD_PLATFORM="scons_build_platform_undefined" | 17 SCONS_BUILD_PLATFORM="scons_build_platform_undefined" |
| 18 endif | 18 endif |
| 19 | 19 |
| 20 ifndef BUILD_ARCH | 20 ifndef BUILD_ARCH |
| 21 BUILD_ARCH="build_arch_undefined" | 21 BUILD_ARCH="build_arch_undefined" |
| 22 endif | 22 endif |
| 23 | 23 |
| 24 TC_ROOT=../../../toolchain | 24 TC_ROOT=../../../toolchain |
| 25 | 25 |
| 26 NNACL_ROOT=$(TC_ROOT)/$(SCONS_BUILD_PLATFORM)_x86 | 26 NNACL_ROOT=$(TC_ROOT)/$(SCONS_BUILD_PLATFORM)_x86 |
| 27 PNACL_ROOT=$(TC_ROOT)/linux_arm-untrusted | 27 PNACL_ROOT=$(TC_ROOT)/pnacl_$(BUILD_PLATFORM)_$(BUILD_ARCH) |
| 28 ARM_ROOT=$(TC_ROOT)/linux_arm-trusted | 28 ARM_ROOT=$(TC_ROOT)/linux_arm-trusted |
| 29 | 29 |
| 30 CFLAGS = $(CFLAGS_EXTRA) | 30 CFLAGS = $(CFLAGS_EXTRA) |
| 31 | 31 |
| 32 ###################################################################### | 32 ###################################################################### |
| 33 .PHONY = clean | 33 .PHONY = clean |
| 34 | 34 |
| 35 .SUFFIXES : .c .cc .o .bc | 35 .SUFFIXES : .c .cc .o .bc |
| 36 | 36 |
| 37 ###################################################################### | 37 ###################################################################### |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 $(PNACL_TRANSLATOR) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 | 301 $(PNACL_TRANSLATOR) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 |
| 302 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) | 302 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) |
| 303 | 303 |
| 304 $(IT).pnacl_translator.x8664: $(IT).preopt.pexe | 304 $(IT).pnacl_translator.x8664: $(IT).preopt.pexe |
| 305 $(PNACL_TRANSLATOR_SB) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 | 305 $(PNACL_TRANSLATOR_SB) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 |
| 306 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) | 306 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) |
| 307 | 307 |
| 308 $(IT).pnacl_translator.opt.x8664: $(IT).opt.pexe | 308 $(IT).pnacl_translator.opt.x8664: $(IT).opt.pexe |
| 309 $(PNACL_TRANSLATOR_SB) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 | 309 $(PNACL_TRANSLATOR_SB) $(PNACL_FLAGS) $^ -o $@ -arch x86-64 |
| 310 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) | 310 @$(call LOG_TRANSLATE_TIME,$@,$(IT)) |
| OLD | NEW |