Author: raja
Date: 2005-04-21 05:55:49 -0400 (Thu, 21 Apr 2005)
New Revision: 43389
Modified:
trunk/mcs/ilasm/ChangeLog
trunk/mcs/ilasm/Makefile
Log:
* Makefile (PROGRAM): Make profile-specific.
Modified: trunk/mcs/ilasm/ChangeLog
===================================================================
--- trunk/mcs/ilasm/ChangeLog 2005-04-21 09:55:13 UTC (rev 43388)
+++ trunk/mcs/ilasm/ChangeLog 2005-04-21 09:55:49 UTC (rev 43389)
@@ -1,3 +1,7 @@
+2005-04-21 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (PROGRAM): Make profile-specific.
+
2004-12-08 Sebastien Pouliot <[EMAIL PROTECTED]>
* Driver.cs: Added support for /key option to strongname assemblies
Modified: trunk/mcs/ilasm/Makefile
===================================================================
--- trunk/mcs/ilasm/Makefile 2005-04-21 09:55:13 UTC (rev 43388)
+++ trunk/mcs/ilasm/Makefile 2005-04-21 09:55:49 UTC (rev 43389)
@@ -2,9 +2,9 @@
SUBDIRS =
include ../build/rules.make
-PROGRAM = ilasm.exe
+PROGRAM = $(topdir)/class/lib/$(PROFILE)/ilasm.exe
BUILT_SOURCES = ILParser.cs
-LOCAL_MCS_FLAGS = /lib:../class/lib/default /r:PEAPI.dll
/r:Mono.CompilerServices.SymbolWriter.dll /r:Mono.Security.dll
+LOCAL_MCS_FLAGS = /lib:../class/lib/$(PROFILE) /r:PEAPI.dll
/r:Mono.CompilerServices.SymbolWriter.dll /r:Mono.Security.dll
CLEAN_FILES = parser/y.output
@@ -19,3 +19,11 @@
$(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
include ../build/executable.make
+
+ifeq (default, $(PROFILE))
+# Utility rule to make debugging somewhat easier.
+all-local: ilasm.exe
+ilasm.exe: $(PROGRAM)
+ cp -p $< $@
+ test ! -f $<.mdb || cp -p $<.mdb [EMAIL PROTECTED]
+endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches