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 # Paths to Tools | 11 # Paths to Tools |
12 # | 12 # |
13 PNACL_BIN = $(TC_PATH)/$(OSNAME)_x86_$(TOOLCHAIN)/newlib/bin | 13 PNACL_BIN = $(TC_PATH)/$(OSNAME)_$(TOOLCHAIN)/newlib/bin |
14 PNACL_CC ?= $(PNACL_BIN)/pnacl-clang -c | 14 PNACL_CC ?= $(PNACL_BIN)/pnacl-clang -c |
15 PNACL_CXX ?= $(PNACL_BIN)/pnacl-clang++ -c | 15 PNACL_CXX ?= $(PNACL_BIN)/pnacl-clang++ -c |
16 PNACL_LINK ?= $(PNACL_BIN)/pnacl-clang++ | 16 PNACL_LINK ?= $(PNACL_BIN)/pnacl-clang++ |
17 PNACL_LIB ?= $(PNACL_BIN)/pnacl-ar | 17 PNACL_LIB ?= $(PNACL_BIN)/pnacl-ar |
18 PNACL_STRIP ?= $(PNACL_BIN)/pnacl-strip | 18 PNACL_STRIP ?= $(PNACL_BIN)/pnacl-strip |
19 PNACL_FINALIZE ?= $(PNACL_BIN)/pnacl-finalize | 19 PNACL_FINALIZE ?= $(PNACL_BIN)/pnacl-finalize |
20 PNACL_TRANSLATE ?= $(PNACL_BIN)/pnacl-translate | 20 PNACL_TRANSLATE ?= $(PNACL_BIN)/pnacl-translate |
21 | 21 |
22 # | 22 # |
23 # Compile Macro | 23 # Compile Macro |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 $(OUTDIR)/$(1).html: $(EXECUTABLES) | 185 $(OUTDIR)/$(1).html: $(EXECUTABLES) |
186 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) -o $$@ $$^) | 186 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) -o $$@ $$^) |
187 endef | 187 endef |
188 | 188 |
189 | 189 |
190 # | 190 # |
191 # Determine which executable to pass into the debugger. For pnacl, this is | 191 # Determine which executable to pass into the debugger. For pnacl, this is |
192 # the .bc -> .nexe translated app. | 192 # the .bc -> .nexe translated app. |
193 # | 193 # |
194 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe | 194 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe |
OLD | NEW |