[Mono-dev] [PATCH] 2.0 profile version of resgen
Raja R Harinath
rharinath at novell.com
Tue Apr 11 05:37:34 EDT 2006
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.
- Hari
More information about the Mono-devel-list
mailing list