Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: ports/libgit2-demo/Makefile

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/less/nacl.patch ('k') | ports/libgit2-demo/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Native Client Authors. All rights reserved. 1 # Copyright 2014 The Native Client 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 NACL_LDFLAGS += ${NACL_CLI_MAIN_LIB}
8 PNACL_LDFLAGS += ${NACL_CLI_MAIN_LIB}
9 TARGET = libgit2-demo 7 TARGET = libgit2-demo
10 8
11 LIBS = git2 ssh2 ssl crypto z 9 LIBS = git2 ssh2 ssl crypto z
12 ifeq ($(TOOLCHAIN),newlib) 10 ifeq ($(TOOLCHAIN),newlib)
13 LIBS += glibc-compat 11 LIBS += glibc-compat
14 endif 12 endif
15 ifeq ($(TOOLCHAIN),pnacl) 13 ifeq ($(TOOLCHAIN),pnacl)
16 LIBS += glibc-compat 14 LIBS += glibc-compat
17 endif 15 endif
18 ifeq ($(TOOLCHAIN),clang-newlib) 16 ifeq ($(TOOLCHAIN),clang-newlib)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 cp -r $(OUTDIR)/lib* $(INSTALL_DIR) 57 cp -r $(OUTDIR)/lib* $(INSTALL_DIR)
60 endif 58 endif
61 cp httpd.py $(INSTALL_DIR) 59 cp httpd.py $(INSTALL_DIR)
62 cp index.html $(INSTALL_DIR) 60 cp index.html $(INSTALL_DIR)
63 cp background.js $(INSTALL_DIR) 61 cp background.js $(INSTALL_DIR)
64 cp libgit2.js $(INSTALL_DIR) 62 cp libgit2.js $(INSTALL_DIR)
65 cp manifest.json $(INSTALL_DIR) 63 cp manifest.json $(INSTALL_DIR)
66 ifeq ($(TOOLCHAIN),pnacl) 64 ifeq ($(TOOLCHAIN),pnacl)
67 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html 65 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html
68 endif 66 endif
OLDNEW
« no previous file with comments | « ports/less/nacl.patch ('k') | ports/libgit2-demo/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698