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 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
422 # | 422 # |
423 # HTML file generation | 423 # HTML file generation |
424 # | 424 # |
425 CREATE_HTML := python $(NACL_SDK_ROOT)/tools/create_html.py | 425 CREATE_HTML := python $(NACL_SDK_ROOT)/tools/create_html.py |
426 | 426 |
427 define HTML_RULE | 427 define HTML_RULE |
428 all: $(OUTDIR)/$(1).html | 428 all: $(OUTDIR)/$(1).html |
429 $(OUTDIR)/$(1).html: $(EXECUTABLES) | 429 $(OUTDIR)/$(1).html: $(EXECUTABLES) |
430 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) $(HTML_FLAGS) -o $$@ $$^) | 430 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) $(HTML_FLAGS) -o $$@ $$^) |
431 endef | 431 endef |
432 | |
433 | |
434 # | |
435 # Determine which executable to pass into the debugger. For newlib | |
436 # this is the NEXE which will actually be used. For glibc, runnable-ld.so | |
437 # is the "app", and the "app" is actual an .so we load. | |
binji
2013/08/11 00:39:13
s/actual/actually/
| |
438 # | |
439 ifeq (x86_32,$(SYSARCH)) | |
440 LIB_NAME = lib32 | |
441 else | |
442 LIB_NAME = lib64 | |
443 endif | |
444 | |
445 | |
446 ifeq (newlib,$(TOOLCHAIN)) | |
447 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe | |
448 else | |
449 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(LIB_NAME)/runnable-ld.so | |
450 endif | |
OLD | NEW |