Mercurial > vim
comparison src/Make_mvc.mak @ 10264:c036c0f636d5 v8.0.0029
commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 12 14:20:24 2016 +0200
patch 8.0.0029
Problem: Code for MS-Windows is complicated because of the exceptions for
old systems.
Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 12 Oct 2016 14:30:05 +0200 |
parents | cd9823840f2e |
children | 2509ab895055 |
comparison
equal
deleted
inserted
replaced
10263:b758a787983a | 10264:c036c0f636d5 |
---|---|
1 # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me) | 1 # Makefile for Vim on Win32 (Windows XP/2003/Vista/7/8/10) and Win64, |
2 # and Win64, using the Microsoft Visual C++ compilers. Known to work with | 2 # using the Microsoft Visual C++ compilers. Known to work with VC5, VC6 (VS98), |
3 # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), | 3 # VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), VC9 (VS2008), VC10 (VS2010), |
4 # VC9 (VS2008), VC10 (VS2010) and VC11 (VS2012) | 4 # VC11 (VS2012), VC12 (VS2013) and VC14 (VS2015) |
5 # | 5 # |
6 # To build using other Windows compilers, see INSTALLpc.txt | 6 # To build using other Windows compilers, see INSTALLpc.txt |
7 # | 7 # |
8 # This makefile can build the console, GUI, OLE-enable, Perl-enabled and | 8 # This makefile can build the console, GUI, OLE-enable, Perl-enabled and |
9 # Python-enabled versions of Vim for Win32 platforms. | 9 # Python-enabled versions of Vim for Win32 platforms. |
117 # Mapfile: MAP=[no, yes or lines] (default is yes) | 117 # Mapfile: MAP=[no, yes or lines] (default is yes) |
118 # no: Don't write a mapfile. | 118 # no: Don't write a mapfile. |
119 # yes: Write a normal mapfile. | 119 # yes: Write a normal mapfile. |
120 # lines: Write a mapfile with line numbers (only for VC6 and later) | 120 # lines: Write a mapfile with line numbers (only for VC6 and later) |
121 # | 121 # |
122 # Static Code Analysis: ANALYZE=yes (works with VS2012 only) | 122 # Static Code Analysis: ANALYZE=yes (works with VS2012 or later) |
123 # | 123 # |
124 # You can combine any of these interfaces | 124 # You can combine any of these interfaces |
125 # | 125 # |
126 # Example: To build the non-debug, GUI version with Perl interface: | 126 # Example: To build the non-debug, GUI version with Perl interface: |
127 # nmake -f Make_mvc.mak GUI=yes PERL=C:\Perl | 127 # nmake -f Make_mvc.mak GUI=yes PERL=C:\Perl |
160 ### See feature.h for a list of optionals. | 160 ### See feature.h for a list of optionals. |
161 # If you want to build some optional features without modifying the source, | 161 # If you want to build some optional features without modifying the source, |
162 # you can set DEFINES on the command line, e.g., | 162 # you can set DEFINES on the command line, e.g., |
163 # nmake -f Make_mvc.mvc "DEFINES=-DEMACS_TAGS" | 163 # nmake -f Make_mvc.mvc "DEFINES=-DEMACS_TAGS" |
164 | 164 |
165 # Build on both Windows NT/XP and Windows 9x | 165 # Build on Windows NT/XP |
166 | 166 |
167 TARGETOS = BOTH | 167 TARGETOS = WINNT |
168 | 168 |
169 # Select one of eight object code directories, depends on GUI, OLE, DEBUG and | 169 # Select one of eight object code directories, depends on GUI, OLE, DEBUG and |
170 # interfaces. | 170 # interfaces. |
171 # If you change something else, do "make clean" first! | 171 # If you change something else, do "make clean" first! |
172 !if "$(GUI)" == "yes" | 172 !if "$(GUI)" == "yes" |
434 /Fo$(OUTDIR)/ | 434 /Fo$(OUTDIR)/ |
435 | 435 |
436 #>>>>> end of choices | 436 #>>>>> end of choices |
437 ########################################################################### | 437 ########################################################################### |
438 | 438 |
439 !ifdef OS | |
440 OS_TYPE = winnt | |
441 DEL_TREE = rmdir /s /q | 439 DEL_TREE = rmdir /s /q |
442 !else | |
443 OS_TYPE = win95 | |
444 DEL_TREE = deltree /y | |
445 !endif | |
446 | 440 |
447 INTDIR=$(OBJDIR) | 441 INTDIR=$(OBJDIR) |
448 OUTDIR=$(OBJDIR) | 442 OUTDIR=$(OBJDIR) |
449 | 443 |
450 # Convert processor ID to MVC-compatible number | 444 # Convert processor ID to MVC-compatible number |