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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-06-25 18:54:09 +0400
committerAlan McGovern <alan@xamarin.com>2013-06-25 19:01:40 +0400
commit1437a3a6875bdfce565657ee2ca69f4cb64f608a (patch)
tree99c95003baf9dcbe5ebca7f32d204efaf66df01b /Makefile
parent66229e0adaa5e2ded25ab453efec4b94577ba611 (diff)
[build] Ensure the addins can be AOT'ed when they reference core libs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b6a7348ff8..7c55083308 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
include main/monodevelop_version
EXTRA_DIST = configure
+MONO_AOT=MONO_PATH=main/build/bin:$(MONO_PATH) mono --aot
all: update_submodules all-recursive
@@ -78,10 +79,10 @@ dist: update_submodules remove-stale-tarballs dist-recursive
@cd tarballs && rm -rf monodevelop-$(PACKAGE_VERSION)
aot:
- @for i in main/build/bin/*.dll; do (mono --aot $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
- @for i in main/build/AddIns/*.dll; do (mono --aot $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
- @for i in main/build/AddIns/*/*.dll; do (mono --aot $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
- @for i in main/build/AddIns/*/*/*.dll; do (mono --aot $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
+ @for i in main/build/bin/*.dll; do ($(MONO_AOT) $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
+ @for i in main/build/AddIns/*.dll; do ($(MONO_AOT) $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
+ @for i in main/build/AddIns/*/*.dll; do ($(MONO_AOT) $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
+ @for i in main/build/AddIns/*/*/*.dll; do ($(MONO_AOT) $$i && echo AOT successful: $$i) || (echo AOT failed: $$i); done
run:
cd main && $(MAKE) run