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

Unified Diff: native_client_sdk/src/examples/Makefile

Issue 23919004: [NaCl SDK] Create a resources/ directory and move files to it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move httpd.cmd too Created 7 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/build_tools/template.mk ('k') | native_client_sdk/src/examples/Makefile_gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/Makefile
diff --git a/native_client_sdk/src/examples/Makefile b/native_client_sdk/src/examples/Makefile
deleted file mode 100644
index 84110b5e0b1157ca9bcdd27549749261e0568a30..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/examples/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-#
-# GNU Make based build file.  For details on GNU Make see:
-#   http://www.gnu.org/software/make/manual/make.html
-#
-
-PROJECTS:= \
-[[for project in projects:]]
- {{project}} \
-[[]]
-
-HTTPD:={{rel_sdk}}/tools/httpd.py
-
-ifeq ($(TOOLCHAIN),all)
-TOOLCHAIN_ARG:=TOOLCHAIN=all
-endif
-
-# Define the default target
-all:
-
-#
-# Target Macro
-#
-# Macro defines a phony target for each example, and adds it to a list of
-# targets.
-#
-# Note: We use targets for each project (instead of an explicit recipe) so
-# each project can be built in parallel.
-#
-define TARGET
-ALL_TARGET_LIST+=$(1)_ALL_TARGET
-.PHONY: $(1)_ALL_TARGET
-$(1)_ALL_TARGET:
- +$(MAKE) -C $(1) $(TOOLCHAIN_ARG) all
-
-CLEAN_TARGET_LIST+=$(1)_CLEAN_TARGET
-.PHONY: $(1)_CLEAN_TARGET
-$(1)_CLEAN_TARGET:
- +$(MAKE) -C $(1) $(TOOLCHAIN_ARG) clean
-endef
-
-
-# Define the various targets via the Macro
-$(foreach proj,$(PROJECTS),$(eval $(call TARGET,$(proj))))
-
-.PHONY: all
-all: $(ALL_TARGET_LIST)
- @echo Done building targets.
-
-.PHONY: clean
-clean: $(CLEAN_TARGET_LIST)
- @echo Done cleaning targets.
-
-.PHONY: run
-run: all
- @echo Starting up python webserver.
- python $(HTTPD)
-
-# Phony aliases for backward compatibility
-RUN: run
-
-all_versions:
- +$(MAKE) TOOLCHAIN=all
-
-.PHONY: RUN all_versions
« no previous file with comments | « native_client_sdk/src/build_tools/template.mk ('k') | native_client_sdk/src/examples/Makefile_gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698