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:
authorAndreia Gaita <shana@jitted.com>2010-11-24 07:13:22 +0300
committerAndreia Gaita <shana@jitted.com>2010-11-24 07:17:58 +0300
commit23f5d3a41e7021ff22ef492a8fb8b17085f690e1 (patch)
tree6dd6b8f1924a102c2fa299ff310f42a15848f8fb /Makefile.am
parentab6b3727ed13b181a91cfa191fd315b29bcab653 (diff)
[Moon] Speed up the moonlight build by stripping it down to the bare basics
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 16 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index b688ff54c56..c45f6ba032f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
-MOONLIGHT_SUBDIRS = $(libgc_dir) eglib mono $(ikvm_native_dir) data
+MOONLIGHT_SUBDIRS = $(libgc_dir) eglib/src mono
if CROSS_COMPILING
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) data runtime scripts man samples msvc $(docs_dir)
@@ -72,17 +72,26 @@ bootstrap-world: compiler-tests
if MOONLIGHT
moon-do-build: config.h
@list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
- echo "Making all in $$subdir"; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) all); \
+ case "x$$subdir" in \
+ xmono ) target="moon-do-build";; \
+ * ) target="all";; \
+ esac; \
+ echo "Making $$target in $$subdir"; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
- cd $(mcs_topdir) && NO_DIR_CHECK=1 $(MAKE) PROFILE=moonlight_raw all
+ (cd runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-build)
moon-do-clean:
@list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
- echo "Making clean in $$subdir"; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean); \
+ case "x$$subdir" in \
+ xmono ) target="moon-do-clean";; \
+ * ) target="clean";; \
+ esac; \
+ echo "Making $$target in $$subdir"; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
- cd $(mcs_topdir) && NO_DIR_CHECK=1 $(MAKE) PROFILE=moonlight_raw clean
+ (cd runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-clean)
+
endif
win32getdeps: