[Mono-dev] [PATCH] 2.0 profile version of resgen

Gert Driesen gert.driesen at telenet.be
Tue Apr 11 06:27:22 EDT 2006


----- Original Message ----- 
From: "Raja R Harinath" <rharinath at novell.com>
To: "Gert Driesen" <gert.driesen at telenet.be>
Cc: "'Miguel de Icaza'" <miguel at ximian.com>; "'mono-devel mailing list'" 
<mono-devel-list at lists.ximian.com>
Sent: Tuesday, April 11, 2006 11:37 AM
Subject: Re: [Mono-dev] [PATCH] 2.0 profile version of resgen


> Hi,
>
> Raja R Harinath <rharinath at novell.com> writes:
>
>> "Gert Driesen" <gert.driesen at telenet.be> writes:
>>
>>> The attached patch modifies the Makefile for resgen to support a 
>>> different
>>> output assembly for each supported profile, and adds a 'resgen2' wrapper
>>> script for executing the 2.0 profile version of resgen.
>>>
>>> This change was discussed with Miguel a few weeks ago (see below).
>>>
>>> Are there more changes necessary to get the 2.0 version of resgen and 
>>> its
>>> wrapper script in the distribution ?
>> [snip]
>>> Index: mono/scripts/Makefile.am
>>> ===================================================================
>>> --- mono/scripts/Makefile.am (revision 58886)
>>> +++ mono/scripts/Makefile.am (working copy)
>>> @@ -44,6 +44,7 @@
>>>  monop2 \
>>>  nunit-console2 \
>>>  wsdl2 \
>>> + resgen2 \
>>>  xbuild
>>>
>>>  scripts_rpmhelpers = mono-find-provides mono-find-requires
>>> Index: mcs/tools/resgen/Makefile
>>> ===================================================================
>>> --- mcs/tools/resgen/Makefile (revision 58886)
>>> +++ mcs/tools/resgen/Makefile (working copy)
>>> @@ -2,7 +2,7 @@
>>>  SUBDIRS =
>>>  include ../../build/rules.make
>>>
>>> -PROGRAM = resgen.exe
>>> +PROGRAM = $(topdir)/class/lib/$(PROFILE)/resgen.exe
>>>
>>>  PROGRAM_COMPILE = $(BOOT_COMPILE)
>>
>> A good start :-) You'll have to set RESGEN to the correct value in the
>> appropriate makefile (build/rules.make or build/config.make).
>
> And, I took care of that.

Thanks a lot. Should "we" (lol) do the same for other tools as well (meaning 
al, mbas, xsd, ...) ?

Gert 



More information about the Mono-devel-list mailing list