Merge pull request #487 from mayerwin/patch-1
[mono.git] / runtime / Makefile.am
index 184c0425ce918bdec0466875763f14f2c49ef5dd..c12d4a7c89693a6b8db58d063240845399b9df1c 100644 (file)
@@ -34,6 +34,9 @@ moon-do-basic-clean:
        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
@@ -75,16 +78,17 @@ build_profiles += monodroid
 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)
@@ -171,6 +175,9 @@ mcs-compileall: mono-wrapper etc/mono/config
 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