diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-09-27 13:54:29 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-09-27 13:54:29 +0400 |
commit | 7e2cbb2e570c89a7ab1d79d1a3f0cad8e49c3cb6 (patch) | |
tree | 6ca19d4ea962f1c2e327f2d75c807c0228c6bd7b /runtime | |
parent | f6eb9cb62509f3556cf1fa54c854f79f727b8876 (diff) |
* configure.in (BUILD_MCS): New automake conditional. Used to
disable building the mcs/ tree if cross-compiling.
($mcsdir/build/config.make): Don't clobber if we're cross-compiling.
* runtime/Makefile.am (all-local, install, uninstall, clean-local):
Disable building in the mcs/ tree if !BUILD_MCS.
svn path=/trunk/mono/; revision=50834
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 457c7f9fda9..e32ad736c64 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)' 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 |