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

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

Issue 1489523003: Add shared libraries to published version of agg-demo (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 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 TARGET = agg-demo 7 TARGET = agg-demo
8 LIBS = agg ppapi_simple nacl_io ppapi ppapi_cpp 8 LIBS = agg ppapi_simple nacl_io ppapi ppapi_cpp
9 SOURCES = drawing.cc 9 SOURCES = drawing.cc
10 INSTALL_DIR = $(NACL_PACKAGES_PUBLISH)/$(TARGET)/$(TOOLCHAIN) 10 INSTALL_DIR = $(NACL_PACKAGES_PUBLISH)/$(TARGET)/$(TOOLCHAIN)
(...skipping 25 matching lines...) Expand all
36 endif 36 endif
37 37
38 $(eval $(call NMF_RULE,$(TARGET),)) 38 $(eval $(call NMF_RULE,$(TARGET),))
39 39
40 install: 40 install:
41 mkdir -p $(INSTALL_DIR) 41 mkdir -p $(INSTALL_DIR)
42 cp $(OUTDIR)/$(TARGET)*$(EXEEXT) $(INSTALL_DIR) 42 cp $(OUTDIR)/$(TARGET)*$(EXEEXT) $(INSTALL_DIR)
43 rm -f $(INSTALL_DIR)/*_unstripped*$(EXEEXT) 43 rm -f $(INSTALL_DIR)/*_unstripped*$(EXEEXT)
44 cp $(OUTDIR)/$(TARGET).nmf $(INSTALL_DIR) 44 cp $(OUTDIR)/$(TARGET).nmf $(INSTALL_DIR)
45 cp index.html $(INSTALL_DIR) 45 cp index.html $(INSTALL_DIR)
46 ifeq ($(TOOLCHAIN),glibc)
47 cp -r $(OUTDIR)/lib* $(INSTALL_DIR)
48 endif
46 ifeq ($(TOOLCHAIN),pnacl) 49 ifeq ($(TOOLCHAIN),pnacl)
47 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html 50 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html
48 endif 51 endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698