Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2004-06-11 16:03:28 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-06-11 16:03:28 +0400
commit30922fd1758a8f969125f69d02c12133167ec65f (patch)
tree6bd84b8d86f367006aa715e589ce618db264a76c /Makefile.am
parentb1d4529fd248873e65cf15f1e5dbefed6a60ac1f (diff)
Now 'make bootstrap && make install' should install signed assemblies.
(populate-runtime-subdir): New target. Does a controlled "make install" in the 'mcs/' directory to populate the 'runtime' directory. (fasterstrap): Use it. svn path=/trunk/mono/; revision=29335
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am18
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 1a457c69f24..3d263775f60 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,8 +58,20 @@ faststrap: tmpinst-mcs-short-build
$(MAKE) mono-do-runtime-only
$(MAKE) fasterstrap
+.PHONY: populate-runtime-subdir
+## *** warning ***: tested only with GNU make
+populate-runtime-subdir:
+ srcdir=`cd $(srcdir) && pwd`; tmpinst=`pwd`/$(tmpinst) ; \
+ cd $(mcs_topdir) \
+ && $(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime LIBRARY_INSTALL_DIR=$$srcdir/runtime/net_1_1 prefix=$$tmpinst/prefix PROFILE=default install \
+ && $(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime LIBRARY_INSTALL_DIR=$$srcdir/runtime/net_2_0 prefix=$$tmpinst/prefix PROFILE=net_2_0 install
+ test -z "`find $(tmpinst)/prefix -name '*.dll'`"
+ test -z "`find $(tmpinst)/prefix -name '*.exe'`"
+ set fnord `find $(tmpinst)/prefix -type f | wc -l` ; test "$$2" = 9
+ rm -rf $(tmpinst)/prefix
+
fasterstrap: tmpinst-mcs-full-build
- rm -f $(top_srcdir)/runtime/*/*.dll $(top_srcdir)/runtime/*.exe
+ $(MAKE) populate-runtime-subdir
$(MAKE)
bootstrap-clean: clean mcs-do-clean-profiles
@@ -80,10 +92,10 @@ monolite-bootstrap: tmpinst-monolite mono-do-runtime-only
tmpinst-mcs-basic-build: mcs-do-basic-build tmpinst-dir
mv -f $(MCS_BASIC_FILES) $(tmpinst)/lib
-tmpinst-mcs-short-build: mcs-do-short-build
+tmpinst-mcs-short-build: mcs-do-short-build tmpinst-dir
mv -f $(MCS_FILES) $(tmpinst)/lib
-tmpinst-mcs-full-build: mcs-do-full-build
+tmpinst-mcs-full-build: mcs-do-full-build tmpinst-dir
cp -f $(MCS_FILES) $(tmpinst)/lib
tmpinst-monolite: tmpinst-dir