X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=runtime%2FMakefile.am;h=1b9881a2f08c33dc45b4de4f3a5533dba65f5df1;hb=091388926071aa0ac58a6ff103047204fd8d1d73;hp=457c7f9fda9c667fef5e031be77206dce9de519f;hpb=3c22594b57224fa7acd07162c91de60053cfdee4;p=mono.git diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 457c7f9fda9..1b9881a2f08 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -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