Relatively minor changes to Make_mvc.mak and GvimExt\Makefile to make
building targeting newer windows versions possible without editing the
makefiles, and to properly propagate such settings to GvimExt when
called by the main mvc makefile.

With this applied calling nmake /NOLOGO -f Make_mvc.mak TARGETOS=WINNT
APPVER=5.01 will build for XP or above, for example. 5.0 for 2k, 5.02
for 2003/XP64, etc.

- We're including win32.mak, which at least in recent SDK versions
will set most things such as version for windows and IE based on
APPVER. So, !ifndef APPVER to 4.0. This sets WINVER to 0x0400 so
default behaviour is unchanged
- Make TARGETOS an !ifndef, defaults to BOTH. Default behaviour unchanged
- win32.mak should set NMAKE_WINVER appropriately based on APPVER. So
set WINVER based on that. If it hasn't been set for whatever reason,
default to 0x0400
- As the three above also in the GvimExt Makefile

- Pass APPVER, TARGETOS, WINVER to GvimExt when calling from Make_mvc.mak

- xxd, VisVim makefiles untouched. Doesn't seem to be much point.

Cheers,
Leonardo

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: mvc.diff
Description: Binary data

Raspunde prin e-mail lui