| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 include $(NACL_SDK_ROOT)/tools/common.mk | 5 include $(NACL_SDK_ROOT)/tools/common.mk |
| 6 | 6 |
| 7 TARGET = ruby | 7 TARGET = ruby |
| 8 LIBS = ruby-static readline ncurses ppapi_simple tar nacl_io ppapi | 8 LIBS = ruby-static readline ncurses ppapi_simple tar nacl_io ppapi |
| 9 NACL_LDFLAGS += $(NACL_CLI_MAIN_LIB) | |
| 10 PNACL_LDFLAGS += $(NACL_CLI_MAIN_LIB) | |
| 11 ifeq ($(TOOLCHAIN),glibc) | 9 ifeq ($(TOOLCHAIN),glibc) |
| 12 ifneq ($(NACL_ARCH),arm) | 10 ifneq ($(NACL_ARCH),arm) |
| 13 LIBS += util | 11 LIBS += util |
| 14 endif | 12 endif |
| 15 LIBS += dl rt crypt | 13 LIBS += dl rt crypt |
| 16 NACL_LDFLAGS += -Wl,-export-dynamic | 14 NACL_LDFLAGS += -Wl,-export-dynamic |
| 17 else | 15 else |
| 18 LIBS += c glibc-compat | 16 LIBS += c glibc-compat |
| 19 endif | 17 endif |
| 20 SOURCES = main.c | 18 SOURCES = main.c |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 cp background.js ${INSTALL_DIR} | 95 cp background.js ${INSTALL_DIR} |
| 98 cp icon_16.png ${INSTALL_DIR} | 96 cp icon_16.png ${INSTALL_DIR} |
| 99 cp icon_48.png ${INSTALL_DIR} | 97 cp icon_48.png ${INSTALL_DIR} |
| 100 cp icon_128.png ${INSTALL_DIR} | 98 cp icon_128.png ${INSTALL_DIR} |
| 101 ifeq ($(TOOLCHAIN),glibc) | 99 ifeq ($(TOOLCHAIN),glibc) |
| 102 cp -r $(OUTDIR)/lib* $(INSTALL_DIR) | 100 cp -r $(OUTDIR)/lib* $(INSTALL_DIR) |
| 103 endif | 101 endif |
| 104 cd $(INSTALL_DIR) && rm -f ruby.zip && zip -r ruby.zip . | 102 cd $(INSTALL_DIR) && rm -f ruby.zip && zip -r ruby.zip . |
| 105 | 103 |
| 106 .PHONY: install-hterm | 104 .PHONY: install-hterm |
| OLD | NEW |