Wireshark-dev: Re: [Wireshark-dev] override config.nmake
From: Bill Meier <[email protected]>
Date: Tue, 19 Jul 2011 09:32:20 -0400
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