Increase generic trampoline sizes on amd64 to avoid an assertion introduced by 948f06...
[mono.git] / mono / Makefile.am
index 0c1c2e3ad53d86c8a9ec482d01e08697cc4249e3..2d796f1c480105b4658f3f3cb75993c6ee6a9e85 100644 (file)
@@ -1,7 +1,33 @@
-# the handles dir doesn't apply to windows
-if ! PLATFORM_WIN32
-HANDLES = handles
-endif
+if CROSS_COMPILING
+SUBDIRS = arch utils io-layer cil metadata $(interpreter_dir) mini dis
+else
+if MOONLIGHT
+SUBDIRS = arch utils io-layer metadata mini
+
+moon-do-build:
+       @list='$(SUBDIRS)'; for subdir in $$list; do \
+         case "x$$subdir" in \
+               xmetadata ) target="moon-do-build" ;; \
+               xmini ) target="moon-do-build" ;; \
+               * ) target="all" ;; \
+         esac; \
+         echo "Making $$target in $$subdir"; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
+    done;
+
+moon-do-clean:
+       @list='$(SUBDIRS)'; for subdir in $$list; do \
+         case "x$$subdir" in \
+               xmetadata ) target="moon-do-clean" ;; \
+               xmini ) target="moon-do-clean" ;; \
+               * ) target="clean" ;; \
+         esac; \
+         echo "Making $$target in $$subdir"; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
+    done;
 
-SUBDIRS = utils io-layer monoburg os cil metadata dis \
-      arch monograph interpreter mini tests benchmark $(HANDLES) profiler
+else
+SUBDIRS = arch utils io-layer cil metadata $(interpreter_dir) mini dis monograph tests benchmark profiler
+endif
+endif
+DIST_SUBDIRS = arch utils io-layer cil metadata interpreter mini dis monograph tests benchmark profiler