+.PHONY: compiler-tests mcs-do-compiler-tests
+compiler-tests:
+ $(MAKE) test_select='TEST_SUBDIRS="tests errors"' validate
+mcs-do-compiler-tests:
+ $(MAKE) test_select='TEST_SUBDIRS="tests errors"' mcs-do-tests
+
+.PHONY: bootstrap-world
+bootstrap-world: compiler-tests
+ $(MAKE) install
+
+if MOONLIGHT
+moon-do-build: config.h
+ @list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
+ 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 runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-build)
+
+moon-do-clean:
+ @list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
+ 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 runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-clean)
+
+endif
+