Author: raja
Date: 2005-04-21 05:53:36 -0400 (Thu, 21 Apr 2005)
New Revision: 43387
Added:
trunk/mono/runtime/monodis-wrapper.in
Modified:
trunk/mono/ChangeLog
trunk/mono/configure.in
trunk/mono/runtime/Makefile.am
Log:
2005-04-21 Raja R Harinath <[EMAIL PROTECTED]>
* runtime/Makefile.am: Update. Pass 'monodis-wrapper' as ILDISASM
to sub-makes.
* runtime/monodis-wrapper.in: New file.
* configure.in (runtime/monodis-wrapper): Create.
Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog 2005-04-21 09:50:37 UTC (rev 43386)
+++ trunk/mono/ChangeLog 2005-04-21 09:53:36 UTC (rev 43387)
@@ -1,3 +1,10 @@
+2005-04-21 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * runtime/Makefile.am: Update. Pass 'monodis-wrapper' as ILDISASM
+ to sub-makes.
+ * runtime/monodis-wrapper.in: New file.
+ * configure.in (runtime/monodis-wrapper): Create.
+
2005-04-20 Rafael Teixeira <[EMAIL PROTECTED]>
* data/net_1_1/machine.config, data/net_2_0/machine.config:
added ' explicit="true" strict="false" ' to system.web/compilation
Modified: trunk/mono/configure.in
===================================================================
--- trunk/mono/configure.in 2005-04-21 09:50:37 UTC (rev 43386)
+++ trunk/mono/configure.in 2005-04-21 09:53:36 UTC (rev 43387)
@@ -1651,6 +1651,7 @@
AC_SUBST(mono_cfg_dir)
AC_CONFIG_FILES([runtime/mono-wrapper],[chmod +x runtime/mono-wrapper])
+AC_CONFIG_FILES([runtime/monodis-wrapper],[chmod +x runtime/monodis-wrapper])
AC_CONFIG_COMMANDS([runtime/etc/mono/1.0/machine.config],
[ depth=../../../..
Modified: trunk/mono/runtime/Makefile.am
===================================================================
--- trunk/mono/runtime/Makefile.am 2005-04-21 09:50:37 UTC (rev 43386)
+++ trunk/mono/runtime/Makefile.am 2005-04-21 09:53:36 UTC (rev 43387)
@@ -7,7 +7,7 @@
tmpinst = _tmpinst
-noinst_SCRIPTS = mono-wrapper
+noinst_SCRIPTS = mono-wrapper monodis-wrapper
symlinks = etc/mono/1.0/machine.config etc/mono/2.0/machine.config
@@ -22,7 +22,7 @@
# 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
- d=`pwd`; cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
PROFILES='$(build_profiles)' all-profiles
+ d=`pwd`; cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
ILDISASM=$$d/monodis-wrapper PROFILES='$(build_profiles)' all-profiles
if INSTALL_2_0
build_profiles = default net_2_0
@@ -37,7 +37,7 @@
install-exec: $(SUPPORT_FILES)
d=`pwd`; \
cd $(mcs_topdir) && $(MAKE) PROFILES='$(build_profiles)' \
- RUNTIME=$$d/mono-wrapper
RUNTIME_HAS_CONSISTENT_GACDIR=yes install-profiles
+ RUNTIME=$$d/mono-wrapper
ILDISASM=$$d/monodis-wrapper RUNTIME_HAS_CONSISTENT_GACDIR=yes install-profiles
# override automake
install-data:
@@ -47,7 +47,7 @@
uninstall:
d=`pwd`; \
cd $(mcs_topdir) && $(MAKE) PROFILES='$(build_profiles)' \
- RUNTIME=$$d/mono-wrapper
RUNTIME_HAS_CONSISTENT_GACDIR=yes uninstall-profiles
+ RUNTIME=$$d/mono-wrapper
ILDISASM=$$d/monodis-wrapper RUNTIME_HAS_CONSISTENT_GACDIR=yes
uninstall-profiles
clean-local:
d=`pwd`; cd $(mcs_topdir) && $(MAKE) PROFILES='$(build_profiles)'
clean-profiles
@@ -67,11 +67,11 @@
endif
mcs-do-test-profiles:
- d=`pwd`; cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
PROFILES='$(build_profiles)' test-profiles
+ d=`pwd`; cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
ILDISASM=$$d/monodis-wrapper PROFILES='$(build_profiles)' test-profiles
mcs-do-run-test-profiles: test-support-files
d=`pwd`; PATH=$$d/$(tmpinst)/bin:$$PATH ; export PATH ; \
- ( cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
PROFILES='$(build_profiles)' run-test-profiles ) || ret=false ; \
+ ( cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper
ILDISASM=$$d/monodis-wrapper PROFILES='$(build_profiles)' run-test-profiles )
|| ret=false ; \
rm -fr $(tmpinst); $$ret
if PLATFORM_WIN32
Added: trunk/mono/runtime/monodis-wrapper.in
===================================================================
--- trunk/mono/runtime/monodis-wrapper.in 2005-04-21 09:50:37 UTC (rev
43386)
+++ trunk/mono/runtime/monodis-wrapper.in 2005-04-21 09:53:36 UTC (rev
43387)
@@ -0,0 +1,6 @@
+#! /bin/sh
+r='@mono_build_root@'
+MONO_CFG_DIR='@mono_cfg_dir@'
+MONO_SHARED_DIR=$r/runtime
+export MONO_CFG_DIR MONO_SHARED_DIR
+exec "$r/libtool" --mode=execute "$r/mono/dis/monodis" "$@"
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches