Wireshark-dev: Re: [Wireshark-dev] override config.nmake

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 19 Jul 2011 14:49:31 +0100
On 19/07/2011 14:32, Bill Meier wrote:
> On 7/19/2011 9:15 AM, Helge Kruse wrote:
>> The config.nmake defines general settings like
>>
>> WIRESHARK_LIBS=C:\wireshark-$(WIRESHARK_TARGET_PLATFORM)-libs-1.6
>>
>> This is useful on most machines. But I have to build Wireshark on a
>> machine where the system partition is on drive B:
>>
>> My build steps are:
>> - getting the Wireshark files with SVN from
>> http://anonsvn.wireshark.org/wireshark/releases/wireshark-1.6.0
>> - setup the build environment like WIRESHARK_TARGET_PLATFORM
>> - call nmake -f Makefile.nmake
>>
>> Is there a way to get the wiresharklibs to a different location without
>> modifying the files that I get from the repository?
>
> Yes: Set a value foe WIRESHARK_LIBS in the environment and then
> do nmake /E ...
>
>
>
> set WIRESHARK_LIBS=...
> nmake /E ....
>
>
> See http://msdn.microsoft.com/en-us/library/99at5bh3%28v=VS.71%29.aspx
>
>
For over a decade I've adjusted config.nmake for my environment as I thought
that was its purpose.  Very occasionally I might see a conflict but that's
easily fixed.  The only gotcha is to make sure you don't accidentally commit
your local changes.

-- 
Regards,

Graham Bloice