* XmlCodeExporterTests.cs: Added tests for arrays. Fixed usage of
[mono.git] / runtime / Makefile.am
index 457c7f9fda9c667fef5e031be77206dce9de519f..1b9881a2f08c33dc45b4de4f3a5533dba65f5df1 100644 (file)
@@ -16,17 +16,19 @@ $(symlinks):
 
 SUPPORT_FILES = $(symlinks) mono-wrapper wrapper-config
 
-# The write check is to foil 'make distcheck'
-all-local: $(SUPPORT_FILES)
-       if test -w $(mcs_topdir); then :; else chmod -R +w $(mcs_topdir); fi
-       cd $(mcs_topdir) && $(MAKE) PROFILES='$(build_profiles)' all-profiles
-
 if INSTALL_2_0
 build_profiles = default net_2_0
 else
 build_profiles = default
 endif
 
+if BUILD_MCS
+
+# The write check is to foil 'make distcheck'
+all-local: $(SUPPORT_FILES)
+       if test -w $(mcs_topdir); then :; else chmod -R +w $(mcs_topdir); fi
+       cd $(mcs_topdir) && $(MAKE) PROFILES='$(build_profiles)' CC='$(CC)' all-profiles
+
 # override automake
 install: install-exec install-data
 
@@ -48,6 +50,8 @@ clean-local:
        -./semdel-wrapper
        -rm -fr $(etctmp) $(tmpinst) .wapi
 
+endif BUILD_MCS
+
 if INSTALL_2_0
 TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm $(tmpinst)/bin/gmcs
 else