Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2017-11-01 00:35:29 +0300
committerRodrigo Kumpera <kumpera@gmail.com>2017-11-02 00:15:28 +0300
commit55cae500f55c18866001bf484c2b7f327d77ba62 (patch)
treee59ee5ba71a0a423b21bc9b74402a81cb062457a /sdks/builds/Makefile
parentf124b4d1b8ac3774717e2d5042833bcbdec7911a (diff)
[wasm] Add wasm-interp target to build the wasm interpreter based runtime.
Diffstat (limited to 'sdks/builds/Makefile')
-rw-r--r--sdks/builds/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sdks/builds/Makefile b/sdks/builds/Makefile
index 02779db7bae..722bed13c1f 100644
--- a/sdks/builds/Makefile
+++ b/sdks/builds/Makefile
@@ -13,6 +13,9 @@ $(TOP)/configure: $(TOP)/configure.ac $(TOP)/autogen.sh
cd $(TOP) && PATH=$(EXTRA_PATH):$$PATH NOCONFIGURE=1 ./autogen.sh
TARGETS=
+#Targets with custom build rules should append themselves here and we won't generate a generic target
+CUSTOM_BUILD_TARGETS=
+
## BCL targets
ifndef DISABLE_BCL
@@ -29,6 +32,10 @@ ifndef DISABLE_IOS
include ios.mk
endif
+## WASM targets
+ifndef DISABLE_WASM
+include wasm.mk
+endif
## Generic targets
.PHONY: $(foreach target,$(TARGETS),toolchain-$(target))
@@ -38,7 +45,7 @@ $(foreach target,$(TARGETS),toolchain-$(target)): toolchain-%: .stamp-%-toolchai
$(foreach target,$(TARGETS),configure-$(target)): configure-%: .stamp-%-configure
.PHONY: $(foreach target,$(TARGETS),build-$(target))
-$(foreach target,$(TARGETS),build-$(target)): build-%: .stamp-%-configure
+$(filter-out $(CUSTOM_BUILD_TARGETS), $(foreach target,$(TARGETS),build-$(target))): build-%: .stamp-%-configure
$(MAKE) -C $*
.PHONY: $(foreach target,$(TARGETS),setup-$(target))