Author: jbevain
Date: 2007-08-27 18:19:38 -0400 (Mon, 27 Aug 2007)
New Revision: 84921
Modified:
trunk/mcs/tools/tuner/ChangeLog
trunk/mcs/tools/tuner/Makefile
Log:
2007-08-28 Jb Evain <[EMAIL PROTECTED]>
* Makefile: mdb support.
Modified: trunk/mcs/tools/tuner/ChangeLog
===================================================================
--- trunk/mcs/tools/tuner/ChangeLog 2007-08-27 21:32:30 UTC (rev 84920)
+++ trunk/mcs/tools/tuner/ChangeLog 2007-08-27 22:19:38 UTC (rev 84921)
@@ -1,3 +1,7 @@
+2007-08-28 Jb Evain <[EMAIL PROTECTED]>
+
+ * Makefile: mdb support.
+
2007-08-21 Jb Evain <[EMAIL PROTECTED]>
* Makefile: tune on `all`, and only re-installed the tuned
Modified: trunk/mcs/tools/tuner/Makefile
===================================================================
--- trunk/mcs/tools/tuner/Makefile 2007-08-27 21:32:30 UTC (rev 84920)
+++ trunk/mcs/tools/tuner/Makefile 2007-08-27 22:19:38 UTC (rev 84921)
@@ -64,24 +64,26 @@
wget -O masterinfos.zip $(MASTER_INFOS_ZIP)
unzip masterinfos.zip
-LINKER_FLAGS = -d $(WORKING_DIR) -o $(OUTPUT_DIR) -l none -c link -a smcs
+LINKER_FLAGS = -d $(WORKING_DIR) -o $(OUTPUT_DIR) -l none -c link -a smcs -b
true
LINKER_STEPS = \
Mono.Tuner.PrintStatus,PrintStatus:OutputStep \
Mono.Tuner.RemoveSerialization,RemoveSerialization:OutputStep \
Mono.Tuner.CheckVisibility,CheckVisibility \
tune: $(MCS_MASTER_INFOS)
-
MONO_PATH="Mono.Tuner$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
$(RUNTIME) $(RUNTIME_FLAGS) $(LINKER) $(LINKER_FLAGS) $(LINKER_DESCS:%=-x %)
$(LINKER_STEPS:%=-s %) $(MCS_MASTER_INFOS:%=-i %)
+
MONO_PATH="Mono.Tuner$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/default$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
$(RUNTIME) $(RUNTIME_FLAGS) $(LINKER) $(LINKER_FLAGS) $(LINKER_DESCS:%=-x %)
$(LINKER_STEPS:%=-s %) $(MCS_MASTER_INFOS:%=-i %)
gacutil = $(topdir)/class/lib/net_1_1_bootstrap/gacutil.exe
GACUTIL =
MONO_PATH="$(topdir)/class/lib/net_1_1_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
$(RUNTIME) $(RUNTIME_FLAGS) $(gacutil)
-end-install:
- $(INSTALL_LIB) $(OUTPUT_DIR)/mscorlib.dll
$(mono_libdir)/mono/2.1/mscorlib.dll
- $(INSTALL_LIB) $(OUTPUT_DIR)/smcs.exe $(mono_libdir)/mono/2.1/smcs.exe
- $(GACUTIL) /i $(OUTPUT_DIR)/System.dll /f /root $(mono_libdir) /package
2.1
- $(GACUTIL) /i $(OUTPUT_DIR)/System.Core.dll /f /root $(mono_libdir)
/package 2.1
- $(GACUTIL) /i $(OUTPUT_DIR)/System.Xml.Core.dll /f /root $(mono_libdir)
/package 2.1
+end-install: inst-mscorlib.dll inst-smcs.exe gac-System gac-System.Xml.Core
gac-System.Core
+inst-%:
+ $(INSTALL_LIB) $(OUTPUT_DIR)/$*.mdb $(mono_libdir)/mono/2.1/$*.mdb
+ test ! -f $(OUTPUT_DIR)/$*.mdb || $(INSTALL_LIB) $(OUTPUT_DIR)/$*.mdb
$(mono_libdir)/mono/2.1/$*.mdb
+
+gac-%:
+ $(GACUTIL) /i $(OUTPUT_DIR)/$*.dll /f /root $(mono_libdir) /package 2.1
+
%.dll: %.cs
$(CSCOMPILE) /t:library $^
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches