cd $(mcs_topdir)/ && $(MAKE) NO_DIR_CHECK=1 PROFILE=moonlight_raw clean
endif
+if ONLY_MONOTOUCH
+build_profiles = monotouch
+else
if ONLY_MOONLIGHT
build_profiles = moonlight_raw
test_profiles = moonlight_raw
endif
if INSTALL_MONOTOUCH
-build_profiles += monotouch
+build_profiles += monotouch monotouch_runtime
endif
test_profiles = $(build_profiles)
+endif
endif
if BUILD_MCS
-MAKE_FLAGS=$(if $(V),,-s)
+MAKE_FLAGS=$(if $(V),,--no-print-directory -s)
# The write check is to foil 'make distcheck'
all-local: $(SUPPORT_FILES) $(TEST_SUPPORT_FILES)
check-local: mcs-compileall mcs-do-test-profiles
$(MAKE) $(test_select) mcs-do-run-test-profiles
+# Compile all mcs tests
+test: mcs-do-test-profiles
+
CLEANFILES = etc/mono/config
# depend on $(symlinks) to ensure 'etc/mono' directory exists