annotate src/Make_mvc.mak @ 17837:f71ee7b04f0b v8.1.1915

patch 8.1.1915: more functions can be used as methods Commit: https://github.com/vim/vim/commit/1a3a89168d61c2fed91cbca812cf1c6983901b79 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 23 22:31:37 2019 +0200 patch 8.1.1915: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
author Bram Moolenaar <Bram@vim.org>
date Fri, 23 Aug 2019 22:45:04 +0200
parents 87a8760babec
children 0a5c615cd949
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10264
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
1 # Makefile for Vim on Win32 (Windows XP/2003/Vista/7/8/10) and Win64,
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
2 # using the Microsoft Visual C++ compilers. Known to work with VC5, VC6 (VS98),
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
3 # VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), VC9 (VS2008), VC10 (VS2010),
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
4 # VC11 (VS2012), VC12 (VS2013), VC14 (VS2015) and VC15 (VS2017)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
840
2c885fab04e3 updated for version 7.0e06
vimboss
parents: 835
diff changeset
6 # To build using other Windows compilers, see INSTALLpc.txt
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
7 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # This makefile can build the console, GUI, OLE-enable, Perl-enabled and
1907
9bc164a2c814 updated for version 7.2-204
vimboss
parents: 1894
diff changeset
9 # Python-enabled versions of Vim for Win32 platforms.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #
1907
9bc164a2c814 updated for version 7.2-204
vimboss
parents: 1894
diff changeset
11 # The basic command line to build Vim is:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # nmake -f Make_mvc.mak
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
14 #
1907
9bc164a2c814 updated for version 7.2-204
vimboss
parents: 1894
diff changeset
15 # This will build the console version of Vim with no additional interfaces.
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
16 # To add features, define any of the following:
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
17 #
12001
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
18 # For MSVC 11, if you want to include Win32.mak, you need to specify
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
19 # where the file is, e.g.:
3816
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
20 # SDK_INCLUDE_DIR="C:\Program Files\Microsoft SDKs\Windows\v7.1\Include"
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
21 #
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
22 # !!!! After changing features do "nmake clean" first !!!!
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
23 #
7699
854302b82ff9 commit https://github.com/vim/vim/commit/e5f2be61595fbbba77261f3bf1e032fe03a1966d
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
24 # Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is HUGE)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
25 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # GUI interface: GUI=yes (default is no)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
27 #
13028
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
28 # GUI with DirectWrite (DirectX): DIRECTX=yes
15450
bb421f682528 patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents: 15430
diff changeset
29 # (default is yes if GUI=yes, requires GUI=yes)
13028
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
30 #
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
31 # Color emoji support: COLOR_EMOJI=yes
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
32 # (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.)
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
33 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 # OLE interface: OLE=yes (usually with GUI=yes)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
35 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # IME support: IME=yes (requires GUI=yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # DYNAMIC_IME=[yes or no] (to load the imm32.dll dynamically, default
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 # is yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # Global IME support: GIME=yes (requires GUI=yes)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
40 #
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
41 # Terminal support: TERMINAL=yes (default is yes)
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
42 #
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
43 # Sound support: SOUND=yes (default is yes)
11747
9dd958aba769 patch 8.0.0756: cannot build libvterm with MSVC
Christian Brabandt <cb@256bit.org>
parents: 11696
diff changeset
44 #
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
45 # DLL support (EXPERIMENTAL): VIMDLL=yes (default is no)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
46 # Creates vim{32,64}.dll, and stub gvim.exe and vim.exe.
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
47 # The shared codes between the GUI and the console are built into
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
48 # the DLL. This reduces the total file size and memory usage.
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
49 # Also supports `vim -g` and the `:gui` command.
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
50 #
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
51 # Lua interface:
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
52 # LUA=[Path to Lua directory]
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
53 # DYNAMIC_LUA=yes (to load the Lua DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
54 # LUA_VER=[Lua version] (default is 53)
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
55 #
146
5cc0aca13a3f updated for version 7.0046
vimboss
parents: 127
diff changeset
56 # MzScheme interface:
5cc0aca13a3f updated for version 7.0046
vimboss
parents: 127
diff changeset
57 # MZSCHEME=[Path to MzScheme directory]
5cc0aca13a3f updated for version 7.0046
vimboss
parents: 127
diff changeset
58 # DYNAMIC_MZSCHEME=yes (to load the MzScheme DLLs dynamically)
12489
7e6cb73e5ce0 patch 8.0.1124: use of MZSCHEME_VER is unclear
Christian Brabandt <cb@256bit.org>
parents: 12305
diff changeset
59 # MZSCHEME_VER=[MzScheme version] (default is 3m_a0solc (6.6))
7e6cb73e5ce0 patch 8.0.1124: use of MZSCHEME_VER is unclear
Christian Brabandt <cb@256bit.org>
parents: 12305
diff changeset
60 # Used for the DLL file name. E.g.:
7e6cb73e5ce0 patch 8.0.1124: use of MZSCHEME_VER is unclear
Christian Brabandt <cb@256bit.org>
parents: 12305
diff changeset
61 # C:\Program Files (x86)\Racket\lib\libracket3m_XXXXXX.dll
1894
afb740b5dfab updated for version 7.2-191
vimboss
parents: 1803
diff changeset
62 # MZSCHEME_DEBUG=no
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
63 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # Perl interface:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # PERL=[Path to Perl directory]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # DYNAMIC_PERL=yes (to load the Perl DLL dynamically)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents: 6149
diff changeset
67 # PERL_VER=[Perl version, in the form 55 (5.005), 56 (5.6.x),
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents: 6149
diff changeset
68 # 510 (5.10.x), etc]
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
69 # (default is 524)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
70 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 # Python interface:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # PYTHON=[Path to Python directory]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # DYNAMIC_PYTHON=yes (to load the Python DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
74 # PYTHON_VER=[Python version, eg 22, 23, ..., 27] (default is 27)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
75 #
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
76 # Python3 interface:
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
77 # PYTHON3=[Path to Python3 directory]
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
78 # DYNAMIC_PYTHON3=yes (to load the Python3 DLL dynamically)
13018
8862bf5adf7b patch 8.0.1385: Python 3.5 is getting old
Christian Brabandt <cb@256bit.org>
parents: 12871
diff changeset
79 # PYTHON3_VER=[Python3 version, eg 30, 31] (default is 36)
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
80 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # Ruby interface:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 # RUBY=[Path to Ruby directory]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 # DYNAMIC_RUBY=yes (to load the Ruby DLL dynamically)
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
84 # RUBY_VER=[Ruby version, eg 19, 22] (default is 22)
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
85 # RUBY_API_VER_LONG=[Ruby API version, eg 1.8, 1.9.1, 2.2.0]
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
86 # (default is 2.2.0)
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
87 # You must set RUBY_API_VER_LONG when change RUBY_VER.
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents: 6149
diff changeset
88 # Note: If you use Ruby 1.9.3, set as follows:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents: 6149
diff changeset
89 # RUBY_VER=19
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
90 # RUBY_API_VER_LONG=1.9.1 (not 1.9.3, because the API version is 1.9.1.)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
91 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 # Tcl interface:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 # TCL=[Path to Tcl directory]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 # DYNAMIC_TCL=yes (to load the Tcl DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
95 # TCL_VER=[Tcl version, e.g. 80, 83] (default is 86)
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
96 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 # You must set TCL_VER_LONG when you set TCL_VER.
12218
cd366d80d53e patch 8.0.0989: ActiveTcl dll name has changed in 8.6.6
Christian Brabandt <cb@256bit.org>
parents: 12210
diff changeset
98 # TCL_DLL=[Tcl dll name, e.g. tcl86.dll] (default is tcl86.dll)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
99 #
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
100 # Cscope support: CSCOPE=yes
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
101 #
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
102 # Iconv library support (always dynamically loaded):
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
103 # ICONV=[yes or no] (default is yes)
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
104 #
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
105 # Intl library support (always dynamically loaded):
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
106 # GETTEXT=[yes or no] (default is yes)
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
107 # See http://sourceforge.net/projects/gettext/
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
108 #
4446
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
109 # PostScript printing: POSTSCRIPT=yes (default is no)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
110 #
4446
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
111 # Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes)
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
112 # Requires CHANNEL.
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
113 #
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
114 # Netbeans Debugging Support: NBDEBUG=[yes or no] (should be no, yes
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
115 # doesn't work)
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
116 #
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
117 # Inter process communication: CHANNEL=[yes or no] (default is yes if GUI
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
118 # is yes)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
119 #
4446
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
120 # XPM Image Support: XPM=[path to XPM directory]
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
121 # Default is "xpm", using the files included in the distribution.
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
122 # Use "no" to disable this feature.
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
123 #
4446
8d6bb2338a58 updated for version 7.3.971
Bram Moolenaar <bram@vim.org>
parents: 4444
diff changeset
124 # Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
125 #
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
126 # Processor Version: CPUNR=[any, i586, i686, sse, sse2, avx, avx2] (default is
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
127 # any)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
128 # avx is available on Visual C++ 2010 and after.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
129 # avx2 is available on Visual C++ 2013 Update 2 and after.
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
130 #
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
131 # Version Support: WINVER=[0x0501, 0x0502, 0x0600, 0x0601, 0x0602,
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
132 # 0x0603, 0x0A00] (default is 0x0501)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
133 # Supported versions depends on your target SDK, check SDKDDKVer.h
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
134 # See https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
135 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 # Debug version: DEBUG=yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 # Mapfile: MAP=[no, yes or lines] (default is yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 # no: Don't write a mapfile.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 # yes: Write a normal mapfile.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 # lines: Write a mapfile with line numbers (only for VC6 and later)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 323
diff changeset
141 #
10264
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
142 # Static Code Analysis: ANALYZE=yes (works with VS2012 or later)
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
143 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 # You can combine any of these interfaces
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 # Example: To build the non-debug, GUI version with Perl interface:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 # nmake -f Make_mvc.mak GUI=yes PERL=C:\Perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 ### See feature.h for a list of optionals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 # If you want to build some optional features without modifying the source,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 # you can set DEFINES on the command line, e.g.,
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
152 # nmake -f Make_mvc.mvc "DEFINES=-DEMACS_TAGS"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
10264
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
154 # Build on Windows NT/XP
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
10264
c036c0f636d5 commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents: 10149
diff changeset
156 TARGETOS = WINNT
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
158 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
159 GUI = yes
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
160 !endif
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
161
13468
539436dcb134 patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 13200
diff changeset
162 !ifndef DIRECTX
539436dcb134 patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 13200
diff changeset
163 DIRECTX = $(GUI)
539436dcb134 patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 13200
diff changeset
164 !endif
539436dcb134 patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 13200
diff changeset
165
16507
7c6fe15778cf patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
166 # Select a code directory, depends on GUI, OLE, DEBUG, interfaces and etc.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 # If you change something else, do "make clean" first!
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
168 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
169 OBJDIR = .\ObjD
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
170 !elseif "$(GUI)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 OBJDIR = .\ObjG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 OBJDIR = .\ObjC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 !endif
16507
7c6fe15778cf patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
175 !if "$(DIRECTX)" == "yes" && "$(GUI)" == "yes"
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
176 OBJDIR = $(OBJDIR)X
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
177 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 !if "$(OLE)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 OBJDIR = $(OBJDIR)O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 !endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
181 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
182 OBJDIR = $(OBJDIR)U
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
183 !endif
323
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
184 !ifdef PERL
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
185 OBJDIR = $(OBJDIR)L
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
186 !endif
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
187 !ifdef PYTHON
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
188 OBJDIR = $(OBJDIR)Y
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
189 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
190 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
191 OBJDIR = $(OBJDIR)H
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
192 !endif
323
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
193 !ifdef TCL
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
194 OBJDIR = $(OBJDIR)T
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
195 !endif
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
196 !ifdef RUBY
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
197 OBJDIR = $(OBJDIR)R
03b3684919e3 updated for version 7.0084
vimboss
parents: 268
diff changeset
198 !endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
199 !ifdef MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
200 OBJDIR = $(OBJDIR)Z
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
201 !endif
16507
7c6fe15778cf patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
202 !ifdef USE_MSVCRT
7c6fe15778cf patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
203 OBJDIR = $(OBJDIR)V
7c6fe15778cf patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
204 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 !if "$(DEBUG)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 OBJDIR = $(OBJDIR)d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
12001
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
209 # If you include Win32.mak, it requires that CPU be set appropriately.
835
8bebcabccc2c updated for version 7.0e01
vimboss
parents: 799
diff changeset
210 # To cross-compile for Win64, set CPU=AMD64 or CPU=IA64.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 !ifdef PROCESSOR_ARCHITECTURE
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
213 # We're on Windows NT or using VC 6+
840
2c885fab04e3 updated for version 7.0e06
vimboss
parents: 835
diff changeset
214 ! ifdef CPU
2c885fab04e3 updated for version 7.0e06
vimboss
parents: 835
diff changeset
215 ASSEMBLY_ARCHITECTURE=$(CPU)
842
a209672376fd updated for version 7.0f
vimboss
parents: 840
diff changeset
216 # Using I386 for $ASSEMBLY_ARCHITECTURE doesn't work for VC7.
7324
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
217 ! if "$(CPU)" == "I386"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 CPU = i386
835
8bebcabccc2c updated for version 7.0e01
vimboss
parents: 799
diff changeset
219 ! endif
7324
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
220 ! else # !CPU
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
221 CPU = i386
7591
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7555
diff changeset
222 ! if !defined(PLATFORM) && defined(TARGET_CPU)
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7555
diff changeset
223 PLATFORM = $(TARGET_CPU)
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7555
diff changeset
224 ! endif
7324
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
225 ! ifdef PLATFORM
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
226 ! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
227 CPU = AMD64
16229
081522b02c2d patch 8.1.1119: no support for Windows on ARM64.
Bram Moolenaar <Bram@vim.org>
parents: 16198
diff changeset
228 ! elseif ("$(PLATFORM)" == "arm64") || ("$(PLATFORM)" == "ARM64")
081522b02c2d patch 8.1.1119: no support for Windows on ARM64.
Bram Moolenaar <Bram@vim.org>
parents: 16198
diff changeset
229 CPU = ARM64
7324
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
230 ! elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86")
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
231 ! error *** ERROR Unknown target platform "$(PLATFORM)". Make aborted.
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
232 ! endif
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
233 ! endif # !PLATFORM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 !else # !PROCESSOR_ARCHITECTURE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 # We're on Windows 95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 CPU = i386
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 !endif # !PROCESSOR_ARCHITECTURE
7324
a3b8a63c88ef commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents: 7309
diff changeset
239 ASSEMBLY_ARCHITECTURE=$(CPU)
3790
fd0c7452fa51 updated for version 7.3.653
Bram Moolenaar <bram@vim.org>
parents: 3762
diff changeset
240 OBJDIR = $(OBJDIR)$(CPU)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 # Build a retail version by default
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 !if "$(DEBUG)" != "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 NODEBUG = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 !else
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
247 ! undef NODEBUG
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 MAKEFLAGS_GVIMEXT = DEBUG=yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
12001
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
252 # Get all sorts of useful, standard macros from the Platform SDK,
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
253 # if SDK_INCLUDE_DIR is set or USE_WIN32MAK is set to "yes".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
3816
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
255 !ifdef SDK_INCLUDE_DIR
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
256 ! include $(SDK_INCLUDE_DIR)\Win32.mak
12001
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
257 !elseif "$(USE_WIN32MAK)"=="yes"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
258 ! include <Win32.mak>
3816
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
259 !else
12001
fecb0ff6e8cf patch 8.0.0881: win32.mak no longer included in Windows SDK
Christian Brabandt <cb@256bit.org>
parents: 11820
diff changeset
260 link = link
3816
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
261 !endif
1e22adc6176e updated for version 7.3.666
Bram Moolenaar <bram@vim.org>
parents: 3814
diff changeset
262
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
264 # Check VC version.
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
265 !if [echo MSVCVER=_MSC_VER> msvcver.c && $(CC) /EP msvcver.c > msvcver.~ 2> nul]
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
266 ! message *** ERROR
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
267 ! message Cannot run Visual C to determine its version. Make sure cl.exe is in your PATH.
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
268 ! message This can usually be done by running "vcvarsall.bat", located in the bin directory where Visual Studio was installed.
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
269 ! error Make aborted.
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
270 !else
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
271 ! include msvcver.~
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
272 ! if [del msvcver.c msvcver.~]
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
273 ! endif
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
274 !endif
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
275
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
276 !if $(MSVCVER) < 1900
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
277 MSVC_MAJOR = ($(MSVCVER) / 100 - 6)
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
278 MSVCRT_VER = ($(MSVCVER) / 10 - 60)
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
279 # Visual C++ 2017 needs special handling
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
280 # it has an _MSC_VER of 1910->14.1, but is actually v15 with runtime v140
13200
017a81187128 patch 8.0.1474: Visual C 2017 has multiple MSVCVER numbers
Christian Brabandt <cb@256bit.org>
parents: 13198
diff changeset
281 # TODO: what's the maximum value?
017a81187128 patch 8.0.1474: Visual C 2017 has multiple MSVCVER numbers
Christian Brabandt <cb@256bit.org>
parents: 13198
diff changeset
282 !elseif $(MSVCVER) >= 1910
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
283 MSVC_MAJOR = 15
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
284 MSVCRT_VER = 140
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
285 !else
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
286 MSVC_MAJOR = ($(MSVCVER) / 100 - 5)
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
287 MSVCRT_VER = ($(MSVCVER) / 10 - 50)
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
288 !endif
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
289
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
290 # Calculate MSVC_FULL for Visual C++ 8 and up.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
291 !if $(MSVC_MAJOR) >= 8
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
292 ! if [echo MSVC_FULL=_MSC_FULL_VER> msvcfullver.c && $(CC) /EP msvcfullver.c > msvcfullver.~ 2> nul]
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
293 ! message *** ERROR
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
294 ! message Cannot run Visual C to determine its version. Make sure cl.exe is in your PATH.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
295 ! message This can usually be done by running "vcvarsall.bat", located in the bin directory where Visual Studio was installed.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
296 ! error Make aborted.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
297 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
298 ! include msvcfullver.~
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
299 ! if [del msvcfullver.c msvcfullver.~]
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
300 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
301 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
302 !endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
303
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
304
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
305 # Calculate MSVCRT_VER
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
306 !if [(set /a MSVCRT_VER="$(MSVCRT_VER)" > nul) && set MSVCRT_VER > msvcrtver.~] == 0
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
307 ! include msvcrtver.~
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
308 ! if [del msvcrtver.~]
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
309 ! endif
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
310 !endif
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
311
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
312 # Base name of the msvcrXX.dll
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
313 !if $(MSVCRT_VER) <= 60
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
314 MSVCRT_NAME = msvcrt
10779
9b2073149118 patch 8.0.0279: MSVC 2015 uses a different dll name
Christian Brabandt <cb@256bit.org>
parents: 10503
diff changeset
315 !elseif $(MSVCRT_VER) <= 130
9b2073149118 patch 8.0.0279: MSVC 2015 uses a different dll name
Christian Brabandt <cb@256bit.org>
parents: 10503
diff changeset
316 MSVCRT_NAME = msvcr$(MSVCRT_VER)
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
317 !else
10779
9b2073149118 patch 8.0.0279: MSVC 2015 uses a different dll name
Christian Brabandt <cb@256bit.org>
parents: 10503
diff changeset
318 MSVCRT_NAME = vcruntime$(MSVCRT_VER)
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
319 !endif
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
320
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
321 !if $(MSVC_MAJOR) == 6
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
322 CPU = ix86
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
323 !endif
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
325
2243
03a5f2897db3 Fix completion of file names with '%' and '*'.
Bram Moolenaar <bram@vim.org>
parents: 2242
diff changeset
326 # Flag to turn on Win64 compatibility warnings for VC7.x and VC8.
2242
bc4685345719 Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents: 2220
diff changeset
327 WP64CHECK = /Wp64
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328
10398
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
329 # Use multiprocess build
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
330 USE_MP = yes
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
331
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 #>>>>> path of the compiler and linker; name of include and lib directories
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 # PATH = c:\msvc20\bin;$(PATH)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 # INCLUDE = c:\msvc20\include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 # LIB = c:\msvc20\lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336
9193
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
337 !if "$(FEATURES)"==""
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
338 FEATURES = HUGE
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
339 !endif
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
340
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 !ifndef CTAGS
12305
d4a3ad146204 patch 8.0.1032: "make tags" doesn't work well on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12218
diff changeset
342 # this assumes ctags is Exuberant ctags
d4a3ad146204 patch 8.0.1032: "make tags" doesn't work well on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12218
diff changeset
343 CTAGS = ctags -I INIT+ --fields=+S
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 !ifndef CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 CSCOPE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 !if "$(CSCOPE)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 # CSCOPE - Include support for Cscope
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 CSCOPE_INCL = if_cscope.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 CSCOPE_OBJ = $(OBJDIR)/if_cscope.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 CSCOPE_DEFS = -DFEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356
12628
c3bb4552d15d patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 12600
diff changeset
357 !ifndef TERMINAL
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
358 ! if "$(FEATURES)"=="HUGE"
12628
c3bb4552d15d patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 12600
diff changeset
359 TERMINAL = yes
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
360 ! else
12628
c3bb4552d15d patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 12600
diff changeset
361 TERMINAL = no
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
362 ! endif
12628
c3bb4552d15d patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 12600
diff changeset
363 !endif
c3bb4552d15d patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents: 12600
diff changeset
364
11696
0a6136dfce35 patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11510
diff changeset
365 !if "$(TERMINAL)" == "yes"
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
366 TERM_OBJ = \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
367 $(OBJDIR)/terminal.obj \
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
368 $(OBJDIR)/encoding.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
369 $(OBJDIR)/keyboard.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
370 $(OBJDIR)/mouse.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
371 $(OBJDIR)/parser.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
372 $(OBJDIR)/pen.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
373 $(OBJDIR)/termscreen.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
374 $(OBJDIR)/state.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
375 $(OBJDIR)/unicode.obj \
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
376 $(OBJDIR)/vterm.obj
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
377 TERM_DEFS = -DFEAT_TERMINAL
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
378 TERM_DEPS = \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
379 libvterm/include/vterm.h \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
380 libvterm/include/vterm_keycodes.h \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
381 libvterm/src/rect.h \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
382 libvterm/src/utf8.h \
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
383 libvterm/src/vterm_internal.h
11696
0a6136dfce35 patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11510
diff changeset
384 !endif
0a6136dfce35 patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11510
diff changeset
385
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
386 !ifndef SOUND
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
387 ! if "$(FEATURES)"=="HUGE" || "$(FEATURES)"=="BIG"
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
388 SOUND = yes
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
389 ! else
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
390 SOUND = no
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
391 ! endif
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
392 !endif
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
393
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 !ifndef NETBEANS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 NETBEANS = $(GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
398 !ifndef CHANNEL
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
399 ! if "$(FEATURES)"=="HUGE"
9193
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
400 CHANNEL = yes
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
401 ! else
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
402 CHANNEL = $(GUI)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
403 ! endif
9193
0378a3bdf0fe commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
404 !endif
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
405
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
406 # GUI specific features.
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
407 !if "$(GUI)" == "yes"
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
408 # Only allow NETBEANS for a GUI build and CHANNEL.
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
409 ! if "$(NETBEANS)" == "yes" && "$(CHANNEL)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 # NETBEANS - Include support for Netbeans integration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 NETBEANS_PRO = proto/netbeans.pro
184
476198990769 updated for version 7.0057
vimboss
parents: 146
diff changeset
412 NETBEANS_OBJ = $(OBJDIR)/netbeans.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 NETBEANS_DEFS = -DFEAT_NETBEANS_INTG
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
414
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
415 ! if "$(NBDEBUG)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 NBDEBUG_DEFS = -DNBDEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 NBDEBUG_INCL = nbdebug.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 NBDEBUG_SRC = nbdebug.c
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
419 ! endif
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
420 NETBEANS_LIB = WSock32.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
421 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422
13028
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
423 # DirectWrite (DirectX)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
424 ! if "$(DIRECTX)" == "yes"
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
425 DIRECTX_DEFS = -DFEAT_DIRECTX -DDYNAMIC_DIRECTX
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
426 ! if "$(COLOR_EMOJI)" != "no"
13028
cfce9ac1d1e8 patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents: 13018
diff changeset
427 DIRECTX_DEFS = $(DIRECTX_DEFS) -DFEAT_DIRECTX_COLOR_EMOJI
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
428 ! endif
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
429 DIRECTX_INCL = gui_dwrite.h
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
430 DIRECTX_OBJ = $(OUTDIR)\gui_dwrite.obj
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
431 ! endif
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
432
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
433 # Only allow XPM for a GUI build.
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
434 ! ifndef XPM
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
435 ! ifndef USE_MSVCRT
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
436 # Both XPM and USE_MSVCRT are not set, use the included xpm files, depending
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
437 # on the architecture.
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
438 ! if "$(CPU)" == "AMD64"
3762
1ec385a8faf4 updated for version 7.3.639
Bram Moolenaar <bram@vim.org>
parents: 3726
diff changeset
439 XPM = xpm\x64
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
440 ! elseif "$(CPU)" == "ARM64"
16229
081522b02c2d patch 8.1.1119: no support for Windows on ARM64.
Bram Moolenaar <Bram@vim.org>
parents: 16198
diff changeset
441 XPM = xpm\arm64
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
442 ! elseif "$(CPU)" == "i386"
3790
fd0c7452fa51 updated for version 7.3.653
Bram Moolenaar <bram@vim.org>
parents: 3762
diff changeset
443 XPM = xpm\x86
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
444 ! else
3790
fd0c7452fa51 updated for version 7.3.653
Bram Moolenaar <bram@vim.org>
parents: 3762
diff changeset
445 XPM = no
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
446 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
447 ! else # USE_MSVCRT
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
448 XPM = no
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
449 ! endif # USE_MSVCRT
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
450 ! endif # XPM
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
451 ! if "$(XPM)" != "no"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 # XPM - Include support for XPM signs
3762
1ec385a8faf4 updated for version 7.3.639
Bram Moolenaar <bram@vim.org>
parents: 3726
diff changeset
453 # See the xpm directory for more information.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 XPM_OBJ = $(OBJDIR)/xpm_w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 XPM_DEFS = -DFEAT_XPM_W32
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
456 ! if $(MSVC_MAJOR) >= 14
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
457 # VC14 cannot use a library built by VC12 or earlier, because VC14 uses
9324
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
458 # Universal CRT.
11a83cdeedf9 commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents: 9193
diff changeset
459 XPM_LIB = $(XPM)\lib-vc14\libXpm.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
460 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 XPM_LIB = $(XPM)\lib\libXpm.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
462 ! endif
3762
1ec385a8faf4 updated for version 7.3.639
Bram Moolenaar <bram@vim.org>
parents: 3726
diff changeset
463 XPM_INC = -I $(XPM)\include -I $(XPM)\..\include
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
464 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
465 !endif # GUI
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
467 !if "$(SOUND)" == "yes"
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
468 SOUND_PRO = proto/sound.pro
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
469 SOUND_OBJ = $(OBJDIR)/sound.obj
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
470 SOUND_DEFS = -DFEAT_SOUND
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
471 SOUND_LIB = winmm.lib
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
472 !endif
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
473
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
474 !if "$(CHANNEL)" == "yes"
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
475 CHANNEL_PRO = proto/channel.pro
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
476 CHANNEL_OBJ = $(OBJDIR)/channel.obj
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8281
diff changeset
477 CHANNEL_DEFS = -DFEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
478
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
479 NETBEANS_LIB = WSock32.lib
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
480 !endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
481
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
482 # Set which version of the CRT to use
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 !if defined(USE_MSVCRT)
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
484 # CVARS = $(cvarsdll)
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
485 # !elseif defined(MULTITHREADED)
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
486 # CVARS = $(cvarsmt)
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
487 !else
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
488 # CVARS = $(cvars)
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
489 # CVARS = $(cvarsmt)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 # need advapi32.lib for GetUserName()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 # need shell32.lib for ExtractIcon()
14133
352c2832d17f patch 8.1.0084: user name completion does not work on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 13545
diff changeset
494 # need netapi32.lib for NetUserEnum()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 # gdi32.lib and comdlg32.lib for printing support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 # ole32.lib and uuid.lib are needed for FEAT_SHORTCUT
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 1419
diff changeset
497 CON_LIB = oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib \
14133
352c2832d17f patch 8.1.0084: user name completion does not work on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 13545
diff changeset
498 comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:$(CPU)
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
499 !if "$(DELAYLOAD)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 CON_LIB = $(CON_LIB) /DELAYLOAD:comdlg32.dll /DELAYLOAD:ole32.dll DelayImp.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 ### Set the default $(WINVER) to make it work with VC++7.0 (VS.NET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 !ifndef WINVER
8120
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8023
diff changeset
505 WINVER = 0x0501
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 # default, use these lines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 #VIMRCLOC = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 #VIMRUNTIMEDIR = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 CFLAGS = -c /W3 /nologo $(CVARS) -I. -Iproto -DHAVE_PATHDEF -DWIN32 \
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
514 $(CSCOPE_DEFS) $(TERM_DEFS) $(SOUND_DEFS) $(NETBEANS_DEFS) $(CHANNEL_DEFS) \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 $(NBDEBUG_DEFS) $(XPM_DEFS) \
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
516 $(DEFINES) -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 #>>>>> end of choices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 DEL_TREE = rmdir /s /q
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 INTDIR=$(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 OUTDIR=$(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
526 ### Validate CPUNR
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
527 !ifndef CPUNR
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
528 # default to untargeted code
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
529 CPUNR = any
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
530 !elseif "$(CPUNR)" == "i386" || "$(CPUNR)" == "i486"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
531 # alias i386 and i486 to i586
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
532 ! message *** WARNING CPUNR=$(CPUNR) is not a valid target architecture.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
533 ! message Windows XP is the minimum target OS, with a minimum target
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
534 ! message architecture of i586.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
535 ! message Retargeting to i586
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
536 CPUNR = i586
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
537 !elseif "$(CPUNR)" == "pentium4"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
538 # alias pentium4 to sse2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
539 ! message *** WARNING CPUNR=pentium4 is deprecated in favour of sse2.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
540 ! message Retargeting to sse2.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
541 CPUNR = sse2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
542 !elseif "$(CPUNR)" != "any" && "$(CPUNR)" != "i586" && "$(CPUNR)" != "i686" && "$(CPUNR)" != "sse" && "$(CPUNR)" != "sse2" && "$(CPUNR)" != "avx" && "$(CPUNR)" != "avx2"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
543 ! error *** ERROR Unknown target architecture "$(CPUNR)". Make aborted.
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
544 !endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
545
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 # Convert processor ID to MVC-compatible number
7309
c412b0922c27 commit https://github.com/vim/vim/commit/90f5d0a5c3bbfeefcbc4d6eac59cf225ec714b28
Christian Brabandt <cb@256bit.org>
parents: 6952
diff changeset
547 !if $(MSVC_MAJOR) < 8
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
548 ! if "$(CPUNR)" == "i586"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 CPUARG = /G5
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
550 ! elseif "$(CPUNR)" == "i686"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 CPUARG = /G6
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
552 ! elseif "$(CPUNR)" == "sse"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
553 CPUARG = /G6 /arch:SSE
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
554 ! elseif "$(CPUNR)" == "sse2"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
555 CPUARG = /G7 /arch:SSE2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
556 ! elseif "$(CPUNR)" == "avx" || "$(CPUNR)" == "avx2"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
557 ! message AVX/AVX2 Instruction Sets are not supported by Visual C++ v$(MSVC_MAJOR)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
558 ! message Falling back to SSE2
47
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
559 CPUARG = /G7 /arch:SSE2
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
560 ! elseif "$(CPUNR)" == "any"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 CPUARG =
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
562 ! endif
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
563 !else
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
564 # IA32/SSE/SSE2 are only supported on x86
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
565 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386" && ("$(CPUNR)" == "i586" || "$(CPUNR)" == "i686" || "$(CPUNR)" == "any")
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
566 # VC<11 generates fp87 code by default
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
567 ! if $(MSVC_MAJOR) < 11
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
568 CPUARG =
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
569 # VC>=11 needs explicit instructions to generate fp87 code
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
570 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
571 CPUARG = /arch:IA32
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
572 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
573 ! elseif "$(ASSEMBLY_ARCHITECTURE)" == "i386" && "$(CPUNR)" == "sse"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
574 CPUARG = /arch:SSE
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
575 ! elseif "$(ASSEMBLY_ARCHITECTURE)" == "i386" && "$(CPUNR)" == "sse2"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
576 CPUARG = /arch:SSE2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
577 ! elseif "$(CPUNR)" == "avx"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
578 # AVX is only supported by VC 10 and up
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
579 ! if $(MSVC_MAJOR) < 10
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
580 ! message AVX Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
581 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
582 ! message Falling back to SSE2
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
583 CPUARG = /arch:SSE2
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
584 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
585 CPUARG =
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
586 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
587 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
588 CPUARG = /arch:AVX
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
589 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
590 ! elseif "$(CPUNR)" == "avx2"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
591 # AVX is only supported by VC 10 and up
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
592 ! if $(MSVC_MAJOR) < 10
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
593 ! message AVX2 Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
594 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
595 ! message Falling back to SSE2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
596 CPUARG = /arch:SSE2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
597 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
598 CPUARG =
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
599 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
600 # AVX2 is only supported by VC 12U2 and up
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
601 # 180030501 is the full version number for Visual Studio 2013/VC 12 Update 2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
602 ! elseif $(MSVC_FULL) < 180030501
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
603 ! message AVX2 Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR)-$(MSVC_FULL)
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
604 ! message Falling back to AVX
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
605 CPUARG = /arch:AVX
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
606 ! else
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
607 CPUARG = /arch:AVX2
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
608 ! endif
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
609 ! endif
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
610 !endif
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
611
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
612 # Pass CPUARG to GvimExt, to avoid using version-dependent defaults
11510
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
613 MAKEFLAGS_GVIMEXT = $(MAKEFLAGS_GVIMEXT) CPUARG="$(CPUARG)"
deb9295dccda patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents: 10779
diff changeset
614
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
615 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
616 VIMDLLBASE = vim
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
617 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
618 VIMDLLBASE = $(VIMDLLBASE)32
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
619 ! else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
620 VIMDLLBASE = $(VIMDLLBASE)64
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
621 ! endif
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
622 ! if "$(DEBUG)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
623 VIMDLLBASE = $(VIMDLLBASE)d
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
624 ! endif
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
625 !endif
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
626
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
627 LIBC =
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
628 DEBUGINFO = /Zi
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629
6797
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
630 # Don't use /nodefaultlib on MSVC 14
7309
c412b0922c27 commit https://github.com/vim/vim/commit/90f5d0a5c3bbfeefcbc4d6eac59cf225ec714b28
Christian Brabandt <cb@256bit.org>
parents: 6952
diff changeset
631 !if $(MSVC_MAJOR) >= 14
6797
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
632 NODEFAULTLIB =
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
633 !else
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
634 NODEFAULTLIB = /nodefaultlib
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
635 !endif
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
636
10398
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
637 # Use multiprocess build on MSVC 10
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
638 !if ("$(USE_MP)" == "yes") && ($(MSVC_MAJOR) >= 10)
10398
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
639 CFLAGS = $(CFLAGS) /MP
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
640 !endif
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
641
16005
ce8f501c9ce2 patch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
642 # VC10 or later has stdint.h.
ce8f501c9ce2 patch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
643 !if $(MSVC_MAJOR) >= 10
ce8f501c9ce2 patch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
644 CFLAGS = $(CFLAGS) -DHAVE_STDINT_H
ce8f501c9ce2 patch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
645 !endif
10398
2509ab895055 commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents: 10264
diff changeset
646
16017
6230ff29c39a patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 16005
diff changeset
647 # Static code analysis generally available starting with VS2012 (VC11) or
6230ff29c39a patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 16005
diff changeset
648 # Windows SDK 7.1 (VC10)
6230ff29c39a patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 16005
diff changeset
649 !if ("$(ANALYZE)" == "yes") && ($(MSVC_MAJOR) >= 10)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
650 CFLAGS = $(CFLAGS) /analyze
16017
6230ff29c39a patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 16005
diff changeset
651 !endif
6230ff29c39a patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents: 16005
diff changeset
652
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 !ifdef NODEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 VIM = vim
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
655 ! if "$(OPTIMIZE)" == "SPACE"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 OPTFLAG = /O1
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
657 ! elseif "$(OPTIMIZE)" == "SPEED"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 OPTFLAG = /O2
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
659 ! else # MAXSPEED
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 OPTFLAG = /Ox
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
661 ! endif
2242
bc4685345719 Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents: 2220
diff changeset
662
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
663 ! if $(MSVC_MAJOR) >= 8
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
664 # Use link time code generation if not worried about size
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
665 ! if "$(OPTIMIZE)" != "SPACE"
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
666 OPTFLAG = $(OPTFLAG) /GL
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
667 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
668 ! endif
2242
bc4685345719 Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents: 2220
diff changeset
669
bc4685345719 Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents: 2220
diff changeset
670 # (/Wp64 is deprecated in VC9 and generates an obnoxious warning.)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
671 ! if ($(MSVC_MAJOR) == 7) || ($(MSVC_MAJOR) == 8)
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
672 CFLAGS = $(CFLAGS) $(WP64CHECK)
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
673 ! endif
2242
bc4685345719 Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents: 2220
diff changeset
674
47
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
675 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 ! ifdef USE_MSVCRT
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
678 CFLAGS = $(CFLAGS) /MD
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 LIBC = msvcrt.lib
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
680 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 LIBC = libcmt.lib
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 1419
diff changeset
682 CFLAGS = $(CFLAGS) /Zl /MT
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 !else # DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 VIM = vimd
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 1419
diff changeset
686 ! if ("$(CPU)" == "i386") || ("$(CPU)" == "ix86")
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
687 DEBUGINFO = /ZI
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
688 ! endif
268
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
689 CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Od
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 RCFLAGS = $(rcflags) $(rcvars) -D_DEBUG -DDEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 # The /fixed:no is needed for Quantify. Assume not 4.? as unsupported in VC4.0.
7309
c412b0922c27 commit https://github.com/vim/vim/commit/90f5d0a5c3bbfeefcbc4d6eac59cf225ec714b28
Christian Brabandt <cb@256bit.org>
parents: 6952
diff changeset
692 ! if $(MSVC_MAJOR) == 4
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 LIBC =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 ! else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 LIBC = /fixed:no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 ! endif
426
eaf8b83ac767 updated for version 7.0111
vimboss
parents: 416
diff changeset
697 ! ifdef USE_MSVCRT
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
698 CFLAGS = $(CFLAGS) /MDd
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 LIBC = $(LIBC) msvcrtd.lib
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
700 ! else
426
eaf8b83ac767 updated for version 7.0111
vimboss
parents: 416
diff changeset
701 LIBC = $(LIBC) libcmtd.lib
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 1419
diff changeset
702 CFLAGS = $(CFLAGS) /Zl /MTd
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 !endif # DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705
14272
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
706 !include Make_all.mak
15430
d94901eeb762 patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents: 15330
diff changeset
707 !include testdir\Make_all.mak
14272
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
708
16068
8c160339de22 patch 8.1.1039: MS-Windows build fails
Bram Moolenaar <Bram@vim.org>
parents: 16017
diff changeset
709 INCL = vim.h alloc.h ascii.h ex_cmds.h feature.h globals.h \
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
710 keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
12871
1a450ce6980c patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents: 12628
diff changeset
711 spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 OBJ = \
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
714 $(OUTDIR)\arabic.obj \
17744
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
715 $(OUTDIR)\arglist.obj \
15634
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
716 $(OUTDIR)\autocmd.obj \
12871
1a450ce6980c patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents: 12628
diff changeset
717 $(OUTDIR)\beval.obj \
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15450
diff changeset
718 $(OUTDIR)\blob.obj \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
719 $(OUTDIR)\blowfish.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 $(OUTDIR)\buffer.obj \
16632
30de89c1d090 patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents: 16623
diff changeset
721 $(OUTDIR)\change.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 $(OUTDIR)\charset.obj \
17779
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
723 $(OUTDIR)\cmdexpand.obj \
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17576
diff changeset
724 $(OUTDIR)\cmdhist.obj \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
725 $(OUTDIR)\crypt.obj \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
726 $(OUTDIR)\crypt_zip.obj \
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents: 16229
diff changeset
727 $(OUTDIR)\debugger.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
728 $(OUTDIR)\dict.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 $(OUTDIR)\diff.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 $(OUTDIR)\digraph.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 $(OUTDIR)\edit.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 $(OUTDIR)\eval.obj \
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9566
diff changeset
733 $(OUTDIR)\evalfunc.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 $(OUTDIR)\ex_cmds.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 $(OUTDIR)\ex_cmds2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 $(OUTDIR)\ex_docmd.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 $(OUTDIR)\ex_eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 $(OUTDIR)\ex_getln.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 $(OUTDIR)\fileio.obj \
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
740 $(OUTDIR)\findfile.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 $(OUTDIR)\fold.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 $(OUTDIR)\getchar.obj \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 434
diff changeset
743 $(OUTDIR)\hardcopy.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
744 $(OUTDIR)\hashtab.obj \
17389
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
745 $(OUTDIR)\highlight.obj \
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
746 $(OUTDIR)\indent.obj \
16142
570a296aa0b4 patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents: 16068
diff changeset
747 $(OUTDIR)\insexpand.obj \
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7699
diff changeset
748 $(OUTDIR)\json.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
749 $(OUTDIR)\list.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 $(OUTDIR)\main.obj \
17576
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
751 $(OUTDIR)\map.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 $(OUTDIR)\mark.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 $(OUTDIR)\mbyte.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 $(OUTDIR)\memfile.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 $(OUTDIR)\memline.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 $(OUTDIR)\menu.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 $(OUTDIR)\message.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 $(OUTDIR)\misc1.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 $(OUTDIR)\misc2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 $(OUTDIR)\move.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 $(OUTDIR)\normal.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 $(OUTDIR)\ops.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 $(OUTDIR)\option.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 $(OUTDIR)\os_mswin.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 $(OUTDIR)\os_win32.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 $(OUTDIR)\pathdef.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
767 $(OUTDIR)\popupmnu.obj \
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16758
diff changeset
768 $(OUTDIR)\popupwin.obj \
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17157
diff changeset
769 $(OUTDIR)\profiler.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 $(OUTDIR)\quickfix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 $(OUTDIR)\regexp.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 $(OUTDIR)\screen.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 $(OUTDIR)\search.obj \
17536
e00d12c085a5 patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17458
diff changeset
774 $(OUTDIR)\session.obj \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
775 $(OUTDIR)\sha256.obj \
15330
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15201
diff changeset
776 $(OUTDIR)\sign.obj \
220
01e77186b20a updated for version 7.0062
vimboss
parents: 184
diff changeset
777 $(OUTDIR)\spell.obj \
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
778 $(OUTDIR)\spellfile.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 $(OUTDIR)\syntax.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 $(OUTDIR)\tag.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 $(OUTDIR)\term.obj \
17377
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
782 $(OUTDIR)\testing.obj \
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 15027
diff changeset
783 $(OUTDIR)\textprop.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 $(OUTDIR)\ui.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 $(OUTDIR)\undo.obj \
16411
5b5c5daf57de patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
786 $(OUTDIR)\usercmd.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
787 $(OUTDIR)\userfunc.obj \
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17397
diff changeset
788 $(OUTDIR)\viminfo.obj \
16198
b0e19f135e50 patch 8.1.1104: MS-Windows: not all environment variables can be used
Bram Moolenaar <Bram@vim.org>
parents: 16142
diff changeset
789 $(OUTDIR)\winclip.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 $(OUTDIR)\window.obj \
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
791
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
792 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
793 OBJ = $(OBJ) $(OUTDIR)\os_w32dll.obj $(OUTDIR)\vimd.res
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
794 EXEOBJC = $(OUTDIR)\os_w32exec.obj $(OUTDIR)\vimc.res
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
795 EXEOBJG = $(OUTDIR)\os_w32exeg.obj $(OUTDIR)\vimg.res
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
796 CFLAGS = $(CFLAGS) -DVIMDLL
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
797 !else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
798 OBJ = $(OBJ) $(OUTDIR)\os_w32exe.obj $(OUTDIR)\vim.res
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
799 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 !if "$(OLE)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 CFLAGS = $(CFLAGS) -DFEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 RCFLAGS = $(RCFLAGS) -DFEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 OLE_OBJ = $(OUTDIR)\if_ole.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 OLE_IDL = if_ole.idl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 OLE_LIB = oleaut32.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 !if "$(IME)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 CFLAGS = $(CFLAGS) -DFEAT_MBYTE_IME
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
811 ! ifndef DYNAMIC_IME
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 DYNAMIC_IME = yes
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
813 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
814 ! if "$(DYNAMIC_IME)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 CFLAGS = $(CFLAGS) -DDYNAMIC_IME
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
816 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 IME_LIB = imm32.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
818 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 !if "$(GIME)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 CFLAGS = $(CFLAGS) -DGLOBAL_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 OBJ = $(OBJ) $(OUTDIR)\dimm_i.obj $(OUTDIR)\glbl_ime.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 !if "$(GUI)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 SUBSYSTEM = windows
15886
cdb9cbe731b3 patch 8.1.0949: MS-windows defines GUI macros different than other systems
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
828 CFLAGS = $(CFLAGS) -DFEAT_GUI_MSWIN
cdb9cbe731b3 patch 8.1.0949: MS-windows defines GUI macros different than other systems
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
829 RCFLAGS = $(RCFLAGS) -DFEAT_GUI_MSWIN
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
830 ! if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
831 SUBSYSTEM_CON = console
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
832 GVIM = g$(VIM)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
833 CUI_INCL = iscygpty.h
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
834 CUI_OBJ = $(OUTDIR)\iscygpty.obj
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
835 RCFLAGS = $(RCFLAGS) -DVIMDLL
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
836 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 VIM = g$(VIM)
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
838 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 GUI_INCL = \
12871
1a450ce6980c patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents: 12628
diff changeset
840 gui.h
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 GUI_OBJ = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 $(OUTDIR)\gui.obj \
184
476198990769 updated for version 7.0057
vimboss
parents: 146
diff changeset
843 $(OUTDIR)\gui_beval.obj \
16198
b0e19f135e50 patch 8.1.1104: MS-Windows: not all environment variables can be used
Bram Moolenaar <Bram@vim.org>
parents: 16142
diff changeset
844 $(OUTDIR)\gui_w32.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 GUI_LIB = \
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 1419
diff changeset
846 gdi32.lib version.lib $(IME_LIB) \
14133
352c2832d17f patch 8.1.0084: user name completion does not work on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 13545
diff changeset
847 winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib \
6797
56a735cff1a0 patch 7.4.720
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
848 /machine:$(CPU)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 SUBSYSTEM = console
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9324
diff changeset
851 CUI_INCL = iscygpty.h
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9324
diff changeset
852 CUI_OBJ = $(OUTDIR)\iscygpty.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 !endif
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
854 SUBSYSTEM_TOOLS = console
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
856 XDIFF_OBJ = $(OBJDIR)/xdiffi.obj \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
857 $(OBJDIR)/xemit.obj \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
858 $(OBJDIR)/xprepare.obj \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
859 $(OBJDIR)/xutils.obj \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
860 $(OBJDIR)/xhistogram.obj \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
861 $(OBJDIR)/xpatience.obj
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
862
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
863 XDIFF_DEPS = \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
864 xdiff/xdiff.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
865 xdiff/xdiffi.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
866 xdiff/xemit.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
867 xdiff/xinclude.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
868 xdiff/xmacros.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
869 xdiff/xprepare.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
870 xdiff/xtypes.h \
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
871 xdiff/xutils.h
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
872
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
873
6149
4c845a1600d2 updated for version 7.4.412
Bram Moolenaar <bram@vim.org>
parents: 6126
diff changeset
874 !if "$(SUBSYSTEM_VER)" != ""
4c845a1600d2 updated for version 7.4.412
Bram Moolenaar <bram@vim.org>
parents: 6126
diff changeset
875 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
876 SUBSYSTEM_TOOLS = $(SUBSYSTEM_TOOLS),$(SUBSYSTEM_VER)
16756
ad0ef98aa5ed patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set
Bram Moolenaar <Bram@vim.org>
parents: 16632
diff changeset
877 ! if "$(VIMDLL)" == "yes"
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
878 SUBSYSTEM_CON = $(SUBSYSTEM_CON),$(SUBSYSTEM_VER)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
879 ! endif
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
880 # Pass SUBSYSTEM_VER to GvimExt and other tools
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
881 MAKEFLAGS_GVIMEXT = $(MAKEFLAGS_GVIMEXT) SUBSYSTEM_VER=$(SUBSYSTEM_VER)
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
882 MAKEFLAGS_TOOLS = $(MAKEFLAGS_TOOLS) SUBSYSTEM_VER=$(SUBSYSTEM_VER)
6149
4c845a1600d2 updated for version 7.4.412
Bram Moolenaar <bram@vim.org>
parents: 6126
diff changeset
883 !endif
4c845a1600d2 updated for version 7.4.412
Bram Moolenaar <bram@vim.org>
parents: 6126
diff changeset
884
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
885 !if "$(GUI)" == "yes" && "$(DIRECTX)" == "yes"
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
886 CFLAGS = $(CFLAGS) $(DIRECTX_DEFS)
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
887 GUI_INCL = $(GUI_INCL) $(DIRECTX_INCL)
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
888 GUI_OBJ = $(GUI_OBJ) $(DIRECTX_OBJ)
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
889 !endif
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
890
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 # iconv.dll library (dynamically loaded)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 !ifndef ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 ICONV = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 !if "$(ICONV)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 CFLAGS = $(CFLAGS) -DDYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 # libintl.dll library
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 !ifndef GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 GETTEXT = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 !if "$(GETTEXT)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 CFLAGS = $(CFLAGS) -DDYNAMIC_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 # TCL interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 !ifdef TCL
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
909 ! ifndef TCL_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
910 TCL_VER = 86
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
911 TCL_VER_LONG = 8.6
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
912 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
913 ! message Tcl requested (version $(TCL_VER)) - root dir is "$(TCL)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
914 ! if "$(DYNAMIC_TCL)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
915 ! message Tcl DLL will be loaded dynamically
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
916 ! ifndef TCL_DLL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 TCL_DLL = tcl$(TCL_VER).dll
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
918 ! endif
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
919 CFLAGS = $(CFLAGS) -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" \
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
920 -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 TCL_OBJ = $(OUTDIR)\if_tcl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 TCL_INC = /I "$(TCL)\Include" /I "$(TCL)"
3369
045fdc5b6056 updated for version 7.3.451
Bram Moolenaar <bram@vim.org>
parents: 3348
diff changeset
923 TCL_LIB = "$(TCL)\lib\tclstub$(TCL_VER).lib"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
924 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 CFLAGS = $(CFLAGS) -DFEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 TCL_OBJ = $(OUTDIR)\if_tcl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 TCL_INC = /I "$(TCL)\Include" /I "$(TCL)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 TCL_LIB = $(TCL)\lib\tcl$(TCL_VER)vc.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
929 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
932 # Lua interface
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
933 !ifdef LUA
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
934 ! ifndef LUA_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
935 LUA_VER = 53
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
936 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
937 ! message Lua requested (version $(LUA_VER)) - root dir is "$(LUA)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
938 ! if "$(DYNAMIC_LUA)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
939 ! message Lua DLL will be loaded dynamically
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
940 ! endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
941 CFLAGS = $(CFLAGS) -DFEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
942 LUA_OBJ = $(OUTDIR)\if_lua.obj
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
943 LUA_INC = /I "$(LUA)\include" /I "$(LUA)"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
944 ! if "$(DYNAMIC_LUA)" == "yes"
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
945 CFLAGS = $(CFLAGS) -DDYNAMIC_LUA \
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
946 -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
947 LUA_LIB = /nodefaultlib:lua$(LUA_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
948 ! else
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
949 LUA_LIB = "$(LUA)\lib\lua$(LUA_VER).lib"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
950 ! endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
951 !endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
952
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
953 !ifdef PYTHON
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
954 ! ifdef PYTHON3
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
955 DYNAMIC_PYTHON=yes
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
956 DYNAMIC_PYTHON3=yes
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
957 ! endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
958 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
959
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 # PYTHON interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 !ifdef PYTHON
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
962 ! ifndef PYTHON_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
963 PYTHON_VER = 27
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
964 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
965 ! message Python requested (version $(PYTHON_VER)) - root dir is "$(PYTHON)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
966 ! if "$(DYNAMIC_PYTHON)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
967 ! message Python DLL will be loaded dynamically
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
968 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 CFLAGS = $(CFLAGS) -DFEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 PYTHON_OBJ = $(OUTDIR)\if_python.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 PYTHON_INC = /I "$(PYTHON)\Include" /I "$(PYTHON)\PC"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
972 ! if "$(DYNAMIC_PYTHON)" == "yes"
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
973 CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON \
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
974 -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 PYTHON_LIB = /nodefaultlib:python$(PYTHON_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
976 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 PYTHON_LIB = $(PYTHON)\libs\python$(PYTHON_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
978 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
981 # PYTHON3 interface
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
982 !ifdef PYTHON3
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
983 ! ifndef PYTHON3_VER
13018
8862bf5adf7b patch 8.0.1385: Python 3.5 is getting old
Christian Brabandt <cb@256bit.org>
parents: 12871
diff changeset
984 PYTHON3_VER = 36
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
985 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
986 ! message Python3 requested (version $(PYTHON3_VER)) - root dir is "$(PYTHON3)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
987 ! if "$(DYNAMIC_PYTHON3)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
988 ! message Python3 DLL will be loaded dynamically
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
989 ! endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
990 CFLAGS = $(CFLAGS) -DFEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
991 PYTHON3_OBJ = $(OUTDIR)\if_python3.obj
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
992 PYTHON3_INC = /I "$(PYTHON3)\Include" /I "$(PYTHON3)\PC"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
993 ! if "$(DYNAMIC_PYTHON3)" == "yes"
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
994 CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON3 \
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
995 -DDYNAMIC_PYTHON3_DLL=\"python$(PYTHON3_VER).dll\"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
996 PYTHON3_LIB = /nodefaultlib:python$(PYTHON3_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
997 ! else
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
998 PYTHON3_LIB = $(PYTHON3)\libs\python$(PYTHON3_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
999 ! endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1000 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1001
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1002 # MzScheme interface
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1003 !ifdef MZSCHEME
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1004 ! message MzScheme requested - root dir is "$(MZSCHEME)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1005 ! ifndef MZSCHEME_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
1006 MZSCHEME_VER = 3m_a0solc
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1007 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1008 ! ifndef MZSCHEME_COLLECTS
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1009 MZSCHEME_COLLECTS=$(MZSCHEME)\collects
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1010 ! endif
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1011 CFLAGS = $(CFLAGS) -DFEAT_MZSCHEME -I "$(MZSCHEME)\include"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1012 ! if EXIST("$(MZSCHEME)\lib\msvc\libmzsch$(MZSCHEME_VER).lib")
2628
5c4b2fc4f067 updated for version 7.3.049
Bram Moolenaar <bram@vim.org>
parents: 2342
diff changeset
1013 MZSCHEME_MAIN_LIB=mzsch
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1014 ! else
2628
5c4b2fc4f067 updated for version 7.3.049
Bram Moolenaar <bram@vim.org>
parents: 2342
diff changeset
1015 MZSCHEME_MAIN_LIB=racket
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1016 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1017 ! if (EXIST("$(MZSCHEME)\lib\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll") \
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1018 && !EXIST("$(MZSCHEME)\lib\libmzgc$(MZSCHEME_VER).dll")) \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1019 || (EXIST("$(MZSCHEME)\lib\msvc\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib") \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1020 && !EXIST("$(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib"))
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1021 ! message Building with Precise GC
1894
afb740b5dfab updated for version 7.2-191
vimboss
parents: 1803
diff changeset
1022 MZSCHEME_PRECISE_GC = yes
afb740b5dfab updated for version 7.2-191
vimboss
parents: 1803
diff changeset
1023 CFLAGS = $(CFLAGS) -DMZ_PRECISE_GC
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1024 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1025 ! if "$(DYNAMIC_MZSCHEME)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1026 ! message MzScheme DLLs will be loaded dynamically
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1027 CFLAGS = $(CFLAGS) -DDYNAMIC_MZSCHEME
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1028 ! if "$(MZSCHEME_PRECISE_GC)" == "yes"
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1029 # Precise GC does not use separate dll
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1030 CFLAGS = $(CFLAGS) \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1031 -DDYNAMIC_MZSCH_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\" \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1032 -DDYNAMIC_MZGC_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1033 ! else
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1034 CFLAGS = $(CFLAGS) \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1035 -DDYNAMIC_MZSCH_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\" \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1036 -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1037 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1038 ! else
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1039 ! if "$(MZSCHEME_DEBUG)" == "yes"
1894
afb740b5dfab updated for version 7.2-191
vimboss
parents: 1803
diff changeset
1040 CFLAGS = $(CFLAGS) -DMZSCHEME_FORCE_GC
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1041 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1042 ! if "$(MZSCHEME_PRECISE_GC)" == "yes"
1894
afb740b5dfab updated for version 7.2-191
vimboss
parents: 1803
diff changeset
1043 # Precise GC does not use separate dll
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1044 ! if EXIST("$(MZSCHEME)\lib\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).def")
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1045 # create .lib from .def
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1046 MZSCHEME_LIB = lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1047 MZSCHEME_EXTRA_DEP = lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1048 ! else
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1049 MZSCHEME_LIB = "$(MZSCHEME)\lib\msvc\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1050 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1051 ! else
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1052 MZSCHEME_LIB = "$(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib" \
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1053 "$(MZSCHEME)\lib\msvc\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1054 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1055 ! endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1056 MZSCHEME_OBJ = $(OUTDIR)\if_mzsch.obj
3348
af4ed13ca541 updated for version 7.3.441
Bram Moolenaar <bram@vim.org>
parents: 3085
diff changeset
1057 # increase stack size
af4ed13ca541 updated for version 7.3.441
Bram Moolenaar <bram@vim.org>
parents: 3085
diff changeset
1058 MZSCHEME_LIB = $(MZSCHEME_LIB) /STACK:8388608
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1059 MZSCHEME_INCL = if_mzsch.h
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1060 !endif
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1061
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 # Perl interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 !ifdef PERL
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1064 ! ifndef PERL_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
1065 PERL_VER = 524
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1066 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1067 ! message Perl requested (version $(PERL_VER)) - root dir is "$(PERL)"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1068 ! if "$(DYNAMIC_PERL)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1069 ! if $(PERL_VER) >= 56
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1070 ! message Perl DLL will be loaded dynamically
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1071 ! else
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1072 ! message Dynamic loading is not supported for Perl versions earlier than 5.6.0
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1073 ! message Reverting to static loading...
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1074 ! undef DYNAMIC_PERL
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1075 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1076 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 # Is Perl installed in architecture-specific directories?
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1079 ! if exist($(PERL)\Bin\MSWin32-x86)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 PERL_ARCH = \MSWin32-x86
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1081 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 PERL_INCDIR = $(PERL)\Lib$(PERL_ARCH)\Core
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 # Version-dependent stuff
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1086 ! if $(PERL_VER) == 55
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 PERL_LIB = $(PERL_INCDIR)\perl.lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1088 ! else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 PERL_DLL = perl$(PERL_VER).dll
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1090 ! if exist($(PERL_INCDIR)\perl$(PERL_VER).lib)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 PERL_LIB = $(PERL_INCDIR)\perl$(PERL_VER).lib
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1092 ! else
5560
4b92012f6b18 updated for version 7.4.128
Bram Moolenaar <bram@vim.org>
parents: 5462
diff changeset
1093 # For ActivePerl 5.18 and later
4b92012f6b18 updated for version 7.4.128
Bram Moolenaar <bram@vim.org>
parents: 5462
diff changeset
1094 PERL_LIB = $(PERL_INCDIR)\libperl$(PERL_VER).a
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1095 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1096 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097
6872
64ff14cbb665 patch 7.4.756
Bram Moolenaar <bram@vim.org>
parents: 6813
diff changeset
1098 CFLAGS = $(CFLAGS) -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 # Do we want to load Perl dynamically?
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1101 ! if "$(DYNAMIC_PERL)" == "yes"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 CFLAGS = $(CFLAGS) -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"$(PERL_DLL)\"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1103 ! undef PERL_LIB
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1104 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 PERL_EXE = $(PERL)\Bin$(PERL_ARCH)\perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 PERL_INC = /I $(PERL_INCDIR)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1108 ! if $(MSVC_MAJOR) <= 11
7414
d467ca80d3c1 commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Christian Brabandt <cb@256bit.org>
parents: 7324
diff changeset
1109 # ActivePerl 5.20+ requires stdbool.h but VC2012 or earlier doesn't have it.
d467ca80d3c1 commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Christian Brabandt <cb@256bit.org>
parents: 7324
diff changeset
1110 # Use a stub stdbool.h.
d467ca80d3c1 commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Christian Brabandt <cb@256bit.org>
parents: 7324
diff changeset
1111 PERL_INC = $(PERL_INC) /I if_perl_msvc
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1112 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 PERL_OBJ = $(OUTDIR)\if_perl.obj $(OUTDIR)\if_perlsfio.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 XSUBPP = $(PERL)\lib\ExtUtils\xsubpp
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1115 ! if exist($(XSUBPP))
3064
b3a523ced6bd updated for version 7.3.304
Bram Moolenaar <bram@vim.org>
parents: 2867
diff changeset
1116 XSUBPP = $(PERL_EXE) $(XSUBPP)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1117 ! else
3064
b3a523ced6bd updated for version 7.3.304
Bram Moolenaar <bram@vim.org>
parents: 2867
diff changeset
1118 XSUBPP = xsubpp
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1119 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 XSUBPP_TYPEMAP = $(PERL)\lib\ExtUtils\typemap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 # Support Ruby interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 # Set default value
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1129 ! ifndef RUBY_VER
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
1130 RUBY_VER = 22
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1131 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1132 ! ifndef RUBY_VER_LONG
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
1133 RUBY_VER_LONG = 2.2.0
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1134 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1135 ! ifndef RUBY_API_VER_LONG
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
1136 RUBY_API_VER_LONG = $(RUBY_VER_LONG)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1137 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1138 ! ifndef RUBY_API_VER
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
1139 RUBY_API_VER = $(RUBY_API_VER_LONG:.=)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1140 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1142 ! if $(RUBY_VER) >= 18
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1143
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1144 ! ifndef RUBY_PLATFORM
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1145 ! if "$(CPU)" == "i386"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 RUBY_PLATFORM = i386-mswin32
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1147 ! else # CPU
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1148 RUBY_PLATFORM = x64-mswin64
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1149 ! endif # CPU
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1150 ! if $(MSVCRT_VER) >= 70 && $(RUBY_VER) > 19
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1151 RUBY_PLATFORM = $(RUBY_PLATFORM)_$(MSVCRT_VER)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1152 ! endif # MSVCRT_VER
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1153 ! endif # RUBY_PLATFORM
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1154
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1155 ! ifndef RUBY_INSTALL_NAME
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1156 ! ifndef RUBY_MSVCRT_NAME
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1157 # Base name of msvcrXX.dll which is used by ruby's dll.
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1158 RUBY_MSVCRT_NAME = $(MSVCRT_NAME)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1159 ! endif # RUBY_MSVCRT_NAME
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1160 ! if "$(CPU)" == "i386"
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1161 RUBY_INSTALL_NAME = $(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1162 ! else # CPU
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1163 RUBY_INSTALL_NAME = x64-$(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1164 ! endif # CPU
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1165 ! endif # RUBY_INSTALL_NAME
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1166
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1167 ! else # $(RUBY_VER) >= 18
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1168
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1169 ! ifndef RUBY_PLATFORM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 RUBY_PLATFORM = i586-mswin32
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1171 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1172 ! ifndef RUBY_INSTALL_NAME
3722
a6ebae140d89 updated for version 7.3.620
Bram Moolenaar <bram@vim.org>
parents: 3369
diff changeset
1173 RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_API_VER)
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1174 ! endif
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7475
diff changeset
1175
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1176 ! endif # $(RUBY_VER) >= 18
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1178 ! message Ruby requested (version $(RUBY_VER)) - root dir is "$(RUBY)"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 CFLAGS = $(CFLAGS) -DFEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180 RUBY_OBJ = $(OUTDIR)\if_ruby.obj
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1181 ! if $(RUBY_VER) >= 19
14818
63b2ee46537f patch 8.1.0421: MS-Windows: Ruby path is wrong for Ruby 1.9 and later
Christian Brabandt <cb@256bit.org>
parents: 14742
diff changeset
1182 RUBY_INC = /I "$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)" /I "$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)\$(RUBY_PLATFORM)"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1183 ! else
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 10062
diff changeset
1184 RUBY_INC = /I "$(RUBY)\lib\ruby\$(RUBY_API_VER_LONG)\$(RUBY_PLATFORM)"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1185 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 RUBY_LIB = $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 # Do we want to load Ruby dynamically?
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1188 ! if "$(DYNAMIC_RUBY)" == "yes"
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1189 ! message Ruby DLL will be loaded dynamically
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
1190 CFLAGS = $(CFLAGS) -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=$(RUBY_VER) \
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
1191 -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1192 ! undef RUBY_LIB
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1193 ! endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 !endif # RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 # Support PostScript printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 !if "$(POSTSCRIPT)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 CFLAGS = $(CFLAGS) -DMSWINPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 !endif # POSTSCRIPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1204 # FEATURES: TINY, SMALL, NORMAL, BIG or HUGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 #
268
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1209 # Always generate the .pdb file, so that we get debug symbols that can be used
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1210 # on a crash (doesn't add overhead to the executable).
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1211 # Generate edit-and-continue debug info when no optimization - allows to
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1212 # debug more conveniently (able to look at variables which are in registers)
268
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1213 #
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1214 CFLAGS = $(CFLAGS) /Fd$(OUTDIR)/ $(DEBUGINFO)
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1215 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1216 LINK_PDB = /PDB:$(VIMDLLBASE).pdb -debug
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1217 !else
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1218 LINK_PDB = /PDB:$(VIM).pdb -debug
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1219 !endif
268
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1220
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1221 #
8e3c690f1f3c updated for version 7.0072
vimboss
parents: 220
diff changeset
1222 # End extra feature include
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 !message
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1226 # CFLAGS with /Fo$(OUTDIR)/
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1227 CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1228
13545
88c8fc800bcc patch 8.0.1646: MS-Windows: executable contains unreferenced functions
Christian Brabandt <cb@256bit.org>
parents: 13468
diff changeset
1229 # Add /opt:ref to remove unreferenced functions and data even when /DEBUG is
88c8fc800bcc patch 8.0.1646: MS-Windows: executable contains unreferenced functions
Christian Brabandt <cb@256bit.org>
parents: 13468
diff changeset
1230 # added.
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1231 conflags = /nologo /opt:ref
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232
659
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1233 PATHDEF_SRC = $(OUTDIR)\pathdef.c
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1234
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 !IF "$(MAP)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 # "/map" is for debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 conflags = $(conflags) /map
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 !ELSEIF "$(MAP)" == "lines"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 # "/mapinfo:lines" is for debugging, only works for VC6 and later
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240 conflags = $(conflags) /map /mapinfo:lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 !ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1243 LINKARGS1 = $(linkdebug) $(conflags)
8281
74b15ed0a259 commit https://github.com/vim/vim/commit/85b11769ab507c7df93f319fd964fa579701b76b
Christian Brabandt <cb@256bit.org>
parents: 8140
diff changeset
1244 LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(NODEFAULTLIB) $(LIBC) $(OLE_LIB) user32.lib \
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1245 $(LUA_LIB) $(MZSCHEME_LIB) $(PERL_LIB) $(PYTHON_LIB) $(PYTHON3_LIB) $(RUBY_LIB) \
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
1246 $(TCL_LIB) $(SOUND_LIB) $(NETBEANS_LIB) $(XPM_LIB) $(LINK_PDB)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1248 # Report link time code generation progress if used.
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1249 !ifdef NODEBUG
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1250 ! if $(MSVC_MAJOR) >= 8
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1251 ! if "$(OPTIMIZE)" != "SPACE"
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1252 LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
16623
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1253 ! endif
23a9d0c624fa patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents: 16580
diff changeset
1254 ! endif
1419
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1255 !endif
7e5284f58094 updated for version 7.1-134
vimboss
parents: 1072
diff changeset
1256
13198
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1257 !if $(MSVC_MAJOR) >= 11 && "$(CPU)" == "AMD64" && "$(GUI)" == "yes"
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1258 # This option is required for VC2012 or later so that 64-bit gvim can
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1259 # accept D&D from 32-bit applications. NOTE: This disables 64-bit ASLR,
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1260 # therefore the security level becomes as same as VC2010.
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1261 LINKARGS1 = $(LINKARGS1) /HIGHENTROPYVA:NO
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1262 !endif
ac68616f0cf7 patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps
Christian Brabandt <cb@256bit.org>
parents: 13028
diff changeset
1263
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1264 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1265 MAIN_TARGET = $(GVIM).exe $(VIM).exe $(VIMDLLBASE).dll
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1266 !else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1267 MAIN_TARGET = $(VIM).exe
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1268 !endif
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1269
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1270 all: $(MAIN_TARGET) \
7475
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1271 vimrun.exe \
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1272 install.exe \
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1273 uninstal.exe \
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1274 xxd/xxd.exe \
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1275 tee/tee.exe \
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1276 GvimExt/gvimext.dll
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277
17395
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1278 # To get around the command line limit: Make use of nmake's response files to
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1279 # capture the arguments for $(link) in a file using the @<<ARGS<< syntax.
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1280
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1281 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1282
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1283 $(VIMDLLBASE).dll: $(OUTDIR) $(OBJ) $(XDIFF_OBJ) $(GUI_OBJ) $(CUI_OBJ) $(OLE_OBJ) $(OLE_IDL) $(MZSCHEME_OBJ) \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1284 $(LUA_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) $(TCL_OBJ) \
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
1285 $(CSCOPE_OBJ) $(TERM_OBJ) $(SOUND_OBJ) $(NETBEANS_OBJ) $(CHANNEL_OBJ) $(XPM_OBJ) \
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1286 version.c version.h
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1287 $(CC) $(CFLAGS_OUTDIR) version.c
17395
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1288 $(link) @<<
17397
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1289 $(LINKARGS1) /dll -out:$(VIMDLLBASE).dll $(OBJ) $(XDIFF_OBJ) $(GUI_OBJ) $(CUI_OBJ) $(OLE_OBJ)
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1290 $(LUA_OBJ) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ)
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1291 $(TCL_OBJ) $(CSCOPE_OBJ) $(TERM_OBJ) $(SOUND_OBJ) $(NETBEANS_OBJ) $(CHANNEL_OBJ)
17395
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1292 $(XPM_OBJ) $(OUTDIR)\version.obj $(LINKARGS2)
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1293 <<
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1294
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1295 $(GVIM).exe: $(OUTDIR) $(EXEOBJG) $(VIMDLLBASE).dll
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1296 $(link) $(LINKARGS1) /subsystem:$(SUBSYSTEM) -out:$(GVIM).exe $(EXEOBJG) $(VIMDLLBASE).lib $(LIBC)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1297 if exist $(GVIM).exe.manifest mt.exe -nologo -manifest $(GVIM).exe.manifest -updateresource:$(GVIM).exe;1
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1298
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1299 $(VIM).exe: $(OUTDIR) $(EXEOBJC) $(VIMDLLBASE).dll
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1300 $(link) $(LINKARGS1) /subsystem:$(SUBSYSTEM_CON) -out:$(VIM).exe $(EXEOBJC) $(VIMDLLBASE).lib $(LIBC)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1301 if exist $(VIM).exe.manifest mt.exe -nologo -manifest $(VIM).exe.manifest -updateresource:$(VIM).exe;1
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1302
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1303 !else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1304
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1305 $(VIM).exe: $(OUTDIR) $(OBJ) $(XDIFF_OBJ) $(GUI_OBJ) $(CUI_OBJ) $(OLE_OBJ) $(OLE_IDL) $(MZSCHEME_OBJ) \
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1306 $(LUA_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) $(TCL_OBJ) \
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
1307 $(CSCOPE_OBJ) $(TERM_OBJ) $(SOUND_OBJ) $(NETBEANS_OBJ) $(CHANNEL_OBJ) $(XPM_OBJ) \
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
1308 version.c version.h
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1309 $(CC) $(CFLAGS_OUTDIR) version.c
17395
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1310 $(link) @<<
17397
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1311 $(LINKARGS1) /subsystem:$(SUBSYSTEM) -out:$(VIM).exe $(OBJ) $(XDIFF_OBJ) $(GUI_OBJ) $(CUI_OBJ) $(OLE_OBJ)
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1312 $(LUA_OBJ) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ)
aa5faf7dca24 patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents: 17395
diff changeset
1313 $(TCL_OBJ) $(CSCOPE_OBJ) $(TERM_OBJ) $(SOUND_OBJ) $(NETBEANS_OBJ) $(CHANNEL_OBJ)
17395
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1314 $(XPM_OBJ) $(OUTDIR)\version.obj $(LINKARGS2)
119a53a4cb0e patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
1315 <<
5925
fed2e0967f81 updated for version 7.4.304
Bram Moolenaar <bram@vim.org>
parents: 5674
diff changeset
1316 if exist $(VIM).exe.manifest mt.exe -nologo -manifest $(VIM).exe.manifest -updateresource:$(VIM).exe;1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1317
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1318 !endif
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1319
388
f92bb1845823 updated for version 7.0101
vimboss
parents: 381
diff changeset
1320 $(VIM): $(VIM).exe
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322 $(OUTDIR):
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
1323 if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 install.exe: dosinst.c
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
1326 $(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib \
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1327 user32.lib ole32.lib advapi32.lib uuid.lib \
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1328 -link -subsystem:$(SUBSYSTEM_TOOLS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 - if exist install.exe del install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 ren dosinst.exe install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 uninstal.exe: uninstal.c
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1333 $(CC) /nologo -DNDEBUG -DWIN32 uninstal.c shell32.lib advapi32.lib \
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1334 -link -subsystem:$(SUBSYSTEM_TOOLS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1335
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1336 vimrun.exe: vimrun.c
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1337 $(CC) /nologo -DNDEBUG vimrun.c -link -subsystem:$(SUBSYSTEM_TOOLS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1339 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1340 cd xxd
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1341 $(MAKE) /NOLOGO -f Make_mvc.mak $(MAKEFLAGS_TOOLS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1342 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343
7475
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1344 tee/tee.exe: tee/tee.c
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1345 cd tee
12600
590424e87b65 patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 12525
diff changeset
1346 $(MAKE) /NOLOGO -f Make_mvc.mak $(MAKEFLAGS_TOOLS)
7475
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1347 cd ..
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents: 7433
diff changeset
1348
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1350 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1351 $(MAKE) /NOLOGO -f Makefile $(MAKEFLAGS_GVIMEXT)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1352 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1353
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1354
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1355 tags: notags
15201
ce92157deb4e patch 8.1.0610: MS-Windows ctags file list differs from Unix
Bram Moolenaar <Bram@vim.org>
parents: 15138
diff changeset
1356 $(CTAGS) $(TAGS_FILES)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1357
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 notags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1359 - if exist tags del tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1361 clean:
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 440
diff changeset
1362 - if exist $(OUTDIR)/nul $(DEL_TREE) $(OUTDIR)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1363 - if exist *.obj del *.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364 - if exist $(VIM).exe del $(VIM).exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 - if exist $(VIM).ilk del $(VIM).ilk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 - if exist $(VIM).pdb del $(VIM).pdb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1367 - if exist $(VIM).map del $(VIM).map
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 - if exist $(VIM).ncb del $(VIM).ncb
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1369 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1370 - if exist $(GVIM).exe del $(GVIM).exe
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1371 - if exist $(GVIM).map del $(GVIM).map
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1372 - if exist $(VIMDLLBASE).dll del $(VIMDLLBASE).dll
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1373 - if exist $(VIMDLLBASE).lib del $(VIMDLLBASE).lib
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1374 - if exist $(VIMDLLBASE).exp del $(VIMDLLBASE).exp
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1375 - if exist $(VIMDLLBASE).pdb del $(VIMDLLBASE).pdb
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1376 - if exist $(VIMDLLBASE).map del $(VIMDLLBASE).map
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1377 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 - if exist vimrun.exe del vimrun.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 - if exist install.exe del install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1380 - if exist uninstal.exe del uninstal.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1381 - if exist if_perl.c del if_perl.c
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 14818
diff changeset
1382 - if exist auto\if_perl.c del auto\if_perl.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1383 - if exist dimm.h del dimm.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 - if exist dimm_i.c del dimm_i.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1385 - if exist dimm.tlb del dimm.tlb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1386 - if exist dosinst.exe del dosinst.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1387 cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1388 $(MAKE) /NOLOGO -f Make_mvc.mak clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1389 cd ..
7555
5bbfac219f20 commit https://github.com/vim/vim/commit/d08a8d4a31ed10225aca6be7565220fa541c32ac
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
1390 cd tee
5bbfac219f20 commit https://github.com/vim/vim/commit/d08a8d4a31ed10225aca6be7565220fa541c32ac
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
1391 $(MAKE) /NOLOGO -f Make_mvc.mak clean
5bbfac219f20 commit https://github.com/vim/vim/commit/d08a8d4a31ed10225aca6be7565220fa541c32ac
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
1392 cd ..
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1393 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1394 $(MAKE) /NOLOGO -f Makefile clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1395 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1396 - if exist testdir\*.out del testdir\*.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1397
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1398 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1399 cd testdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1400 $(MAKE) /NOLOGO -f Make_dos.mak win32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1401 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1402
7433
b5d07f5e78ba commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents: 7414
diff changeset
1403 testgvim:
b5d07f5e78ba commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents: 7414
diff changeset
1404 cd testdir
b5d07f5e78ba commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents: 7414
diff changeset
1405 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\gvim win32
b5d07f5e78ba commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents: 7414
diff changeset
1406 cd ..
b5d07f5e78ba commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents: 7414
diff changeset
1407
47
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
1408 testclean:
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
1409 cd testdir
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
1410 $(MAKE) /NOLOGO -f Make_dos.mak clean
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
1411 cd ..
eff3887963cc updated for version 7.0028
vimboss
parents: 39
diff changeset
1412
14272
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1413 $(NEW_TESTS):
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1414 cd testdir
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1415 - if exist $@.res del $@.res
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1416 $(MAKE) /NOLOGO -f Make_dos.mak nolog
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1417 $(MAKE) /NOLOGO -f Make_dos.mak $@.res
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1418 $(MAKE) /NOLOGO -f Make_dos.mak report
15027
efd7bace40f4 patch 8.1.0525: terminal test skips part on Windows
Bram Moolenaar <Bram@vim.org>
parents: 14925
diff changeset
1419 type messages
14272
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1420 cd ..
5403d789674f patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 14133
diff changeset
1421
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1422 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1423
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1424 # Create a default rule for transforming .c files to .obj files in $(OUTDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1425 .c{$(OUTDIR)/}.obj::
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1426 $(CC) $(CFLAGS_OUTDIR) $<
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1427
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1428 # Create a default rule for xdiff.
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1429 {xdiff/}.c{$(OUTDIR)/}.obj::
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1430 $(CC) $(CFLAGS_OUTDIR) $<
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1431
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1432 # Create a default rule for transforming .cpp files to .obj files in $(OUTDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1433 .cpp{$(OUTDIR)/}.obj::
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1434 $(CC) $(CFLAGS_OUTDIR) $<
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1435
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
1436 $(OUTDIR)/arabic.obj: $(OUTDIR) arabic.c $(INCL)
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
1437
17744
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
1438 $(OUTDIR)/arglist.obj: $(OUTDIR) arglist.c $(INCL)
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
1439
15634
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
1440 $(OUTDIR)/autocmd.obj: $(OUTDIR) autocmd.c $(INCL)
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
1441
12871
1a450ce6980c patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents: 12628
diff changeset
1442 $(OUTDIR)/beval.obj: $(OUTDIR) beval.c $(INCL)
1a450ce6980c patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents: 12628
diff changeset
1443
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15450
diff changeset
1444 $(OUTDIR)/blob.obj: $(OUTDIR) blob.c $(INCL)
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15450
diff changeset
1445
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
1446 $(OUTDIR)/blowfish.obj: $(OUTDIR) blowfish.c $(INCL)
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
1447
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1448 $(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL)
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
1449
16632
30de89c1d090 patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents: 16623
diff changeset
1450 $(OUTDIR)/change.obj: $(OUTDIR) change.c $(INCL)
30de89c1d090 patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents: 16623
diff changeset
1451
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1452 $(OUTDIR)/charset.obj: $(OUTDIR) charset.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1453
17779
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
1454 $(OUTDIR)/cmdexpand.obj: $(OUTDIR) cmdexpand.c $(INCL)
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
1455
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17576
diff changeset
1456 $(OUTDIR)/cmdhist.obj: $(OUTDIR) cmdhist.c $(INCL)
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17576
diff changeset
1457
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1458 $(OUTDIR)/crypt.obj: $(OUTDIR) crypt.c $(INCL)
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1459
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1460 $(OUTDIR)/crypt_zip.obj: $(OUTDIR) crypt_zip.c $(INCL)
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1461
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents: 16229
diff changeset
1462 $(OUTDIR)/debugger.obj: $(OUTDIR) debugger.c $(INCL)
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents: 16229
diff changeset
1463
9566
9ea5a5f6cba2 commit https://github.com/vim/vim/commit/a9093fe0946032b1bcaecaad82bfaf6763195aa4
Christian Brabandt <cb@256bit.org>
parents: 9564
diff changeset
1464 $(OUTDIR)/dict.obj: $(OUTDIR) dict.c $(INCL)
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1465
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1466 $(OUTDIR)/diff.obj: $(OUTDIR) diff.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1467
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1468 $(OUTDIR)/xdiffi.obj: $(OUTDIR) xdiff/xdiffi.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1469
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1470 $(OUTDIR)/xemit.obj: $(OUTDIR) xdiff/xemit.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1471
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1472 $(OUTDIR)/xprepare.obj: $(OUTDIR) xdiff/xprepare.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1473
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1474 $(OUTDIR)/xutils.obj: $(OUTDIR) xdiff/xutils.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1475
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1476 $(OUTDIR)/xhistogram.obj: $(OUTDIR) xdiff/xhistogram.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1477
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1478 $(OUTDIR)/xpatience.obj: $(OUTDIR) xdiff/xpatience.c $(XDIFF_DEPS)
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents: 14272
diff changeset
1479
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1480 $(OUTDIR)/digraph.obj: $(OUTDIR) digraph.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1482 $(OUTDIR)/edit.obj: $(OUTDIR) edit.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1483
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1484 $(OUTDIR)/eval.obj: $(OUTDIR) eval.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1485
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9566
diff changeset
1486 $(OUTDIR)/evalfunc.obj: $(OUTDIR) evalfunc.c $(INCL)
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9566
diff changeset
1487
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1488 $(OUTDIR)/ex_cmds.obj: $(OUTDIR) ex_cmds.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1489
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1490 $(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1491
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1492 $(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1493
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1494 $(OUTDIR)/ex_eval.obj: $(OUTDIR) ex_eval.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1495
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1496 $(OUTDIR)/ex_getln.obj: $(OUTDIR) ex_getln.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1497
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1498 $(OUTDIR)/fileio.obj: $(OUTDIR) fileio.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1499
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
1500 $(OUTDIR)/findfile.obj: $(OUTDIR) findfile.c $(INCL)
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
1501
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1502 $(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1503
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1504 $(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1505
440
eb531146be0e updated for version 7.0114
vimboss
parents: 434
diff changeset
1506 $(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL)
eb531146be0e updated for version 7.0114
vimboss
parents: 434
diff changeset
1507
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
1508 $(OUTDIR)/hashtab.obj: $(OUTDIR) hashtab.c $(INCL)
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 84
diff changeset
1509
17389
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
1510 $(OUTDIR)/highlight.obj: $(OUTDIR) highlight.c $(INCL)
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
1511
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
1512 $(OUTDIR)/indent.obj: $(OUTDIR) indent.c $(INCL)
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
1513
16142
570a296aa0b4 patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents: 16068
diff changeset
1514 $(OUTDIR)/insexpand.obj: $(OUTDIR) insexpand.c $(INCL)
570a296aa0b4 patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents: 16068
diff changeset
1515
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1516 $(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1517
184
476198990769 updated for version 7.0057
vimboss
parents: 146
diff changeset
1518 $(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL)
476198990769 updated for version 7.0057
vimboss
parents: 146
diff changeset
1519
8140
563c923b1584 commit https://github.com/vim/vim/commit/cf7164a088664961e7d70dd100c5874dc5ceb293
Christian Brabandt <cb@256bit.org>
parents: 8120
diff changeset
1520 $(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1521
16758
bb4071e79ade patch 8.1.1381: MS-Windows: missing build dependency
Bram Moolenaar <Bram@vim.org>
parents: 16756
diff changeset
1522 $(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp gui_dwrite.h
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5925
diff changeset
1523
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1524 $(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL) if_cscope.h
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1525
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
1526 $(OUTDIR)/if_lua.obj: $(OUTDIR) if_lua.c $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1527 $(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2311
diff changeset
1528
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 14818
diff changeset
1529 auto/if_perl.c : if_perl.xs typemap
3064
b3a523ced6bd updated for version 7.3.304
Bram Moolenaar <bram@vim.org>
parents: 2867
diff changeset
1530 $(XSUBPP) -prototypes -typemap $(XSUBPP_TYPEMAP) \
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 14818
diff changeset
1531 -typemap typemap if_perl.xs -output $@
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1532
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 14818
diff changeset
1533 $(OUTDIR)/if_perl.obj: $(OUTDIR) auto/if_perl.c $(INCL)
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 14818
diff changeset
1534 $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) auto/if_perl.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1535
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1536 $(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1537 $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perlsfio.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1538
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1539 $(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c $(MZSCHEME_INCL) $(INCL) $(MZSCHEME_EXTRA_DEP)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1540 $(CC) $(CFLAGS_OUTDIR) if_mzsch.c \
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1541 -DMZSCHEME_COLLECTS="\"$(MZSCHEME_COLLECTS:\=\\)\""
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1542
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1543 lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib:
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
1544 lib /DEF:"$(MZSCHEME)\lib\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).def"
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1545
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4446
diff changeset
1546 $(OUTDIR)/if_python.obj: $(OUTDIR) if_python.c if_py_both.h $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1547 $(CC) $(CFLAGS_OUTDIR) $(PYTHON_INC) if_python.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1548
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4446
diff changeset
1549 $(OUTDIR)/if_python3.obj: $(OUTDIR) if_python3.c if_py_both.h $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1550 $(CC) $(CFLAGS_OUTDIR) $(PYTHON3_INC) if_python3.c
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1551
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1552 $(OUTDIR)/if_ole.obj: $(OUTDIR) if_ole.cpp $(INCL) if_ole.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1553
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1554 $(OUTDIR)/if_ruby.obj: $(OUTDIR) if_ruby.c $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1555 $(CC) $(CFLAGS_OUTDIR) $(RUBY_INC) if_ruby.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1556
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1557 $(OUTDIR)/if_tcl.obj: $(OUTDIR) if_tcl.c $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1558 $(CC) $(CFLAGS_OUTDIR) $(TCL_INC) if_tcl.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1559
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9324
diff changeset
1560 $(OUTDIR)/iscygpty.obj: $(OUTDIR) iscygpty.c $(CUI_INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1561 $(CC) $(CFLAGS_OUTDIR) iscygpty.c -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9324
diff changeset
1562
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7699
diff changeset
1563 $(OUTDIR)/json.obj: $(OUTDIR) json.c $(INCL)
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7699
diff changeset
1564
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1565 $(OUTDIR)/list.obj: $(OUTDIR) list.c $(INCL)
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1566
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9324
diff changeset
1567 $(OUTDIR)/main.obj: $(OUTDIR) main.c $(INCL) $(CUI_INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1568
17576
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
1569 $(OUTDIR)/map.obj: $(OUTDIR) map.c $(INCL)
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
1570
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1571 $(OUTDIR)/mark.obj: $(OUTDIR) mark.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1572
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1573 $(OUTDIR)/memfile.obj: $(OUTDIR) memfile.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1574
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1575 $(OUTDIR)/memline.obj: $(OUTDIR) memline.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1576
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1577 $(OUTDIR)/menu.obj: $(OUTDIR) menu.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1578
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1579 $(OUTDIR)/message.obj: $(OUTDIR) message.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1580
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1581 $(OUTDIR)/misc1.obj: $(OUTDIR) misc1.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1582
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1583 $(OUTDIR)/misc2.obj: $(OUTDIR) misc2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1584
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1585 $(OUTDIR)/move.obj: $(OUTDIR) move.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1586
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1587 $(OUTDIR)/mbyte.obj: $(OUTDIR) mbyte.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1588
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1589 $(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1590
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
1591 $(OUTDIR)/channel.obj: $(OUTDIR) channel.c $(INCL)
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
1592
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1593 $(OUTDIR)/normal.obj: $(OUTDIR) normal.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1594
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1595 $(OUTDIR)/option.obj: $(OUTDIR) option.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1596
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1597 $(OUTDIR)/ops.obj: $(OUTDIR) ops.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1598
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1599 $(OUTDIR)/os_mswin.obj: $(OUTDIR) os_mswin.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1600
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1601 $(OUTDIR)/terminal.obj: $(OUTDIR) terminal.c $(INCL) $(TERM_DEPS)
11696
0a6136dfce35 patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11510
diff changeset
1602
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 4074
diff changeset
1603 $(OUTDIR)/winclip.obj: $(OUTDIR) winclip.c $(INCL)
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 4074
diff changeset
1604
12525
626fb8e8bb8a patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 12489
diff changeset
1605 $(OUTDIR)/os_win32.obj: $(OUTDIR) os_win32.c $(INCL) $(MZSCHEME_INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1606
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1607 $(OUTDIR)/os_w32dll.obj: $(OUTDIR) os_w32dll.c
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1608
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1609 $(OUTDIR)/os_w32exe.obj: $(OUTDIR) os_w32exe.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1610
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1611 $(OUTDIR)/os_w32exec.obj: $(OUTDIR) os_w32exe.c $(INCL)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1612 $(CC) $(CFLAGS:-DFEAT_GUI_MSWIN=) /Fo$@ os_w32exe.c
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1613
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1614 $(OUTDIR)/os_w32exeg.obj: $(OUTDIR) os_w32exe.c $(INCL)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1615 $(CC) $(CFLAGS) /Fo$@ os_w32exe.c
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1616
659
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1617 $(OUTDIR)/pathdef.obj: $(OUTDIR) $(PATHDEF_SRC) $(INCL)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1618 $(CC) $(CFLAGS_OUTDIR) $(PATHDEF_SRC)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1619
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
1620 $(OUTDIR)/popupmnu.obj: $(OUTDIR) popupmnu.c $(INCL)
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 444
diff changeset
1621
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16758
diff changeset
1622 $(OUTDIR)/popupwin.obj: $(OUTDIR) popupwin.c $(INCL)
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16758
diff changeset
1623
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17157
diff changeset
1624 $(OUTDIR)/profiler.obj: $(OUTDIR) profiler.c $(INCL)
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17157
diff changeset
1625
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1626 $(OUTDIR)/quickfix.obj: $(OUTDIR) quickfix.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1627
4444
ccecb03e5e8b updated for version 7.3.970
Bram Moolenaar <bram@vim.org>
parents: 4363
diff changeset
1628 $(OUTDIR)/regexp.obj: $(OUTDIR) regexp.c regexp_nfa.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1629
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1630 $(OUTDIR)/screen.obj: $(OUTDIR) screen.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1631
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1632 $(OUTDIR)/search.obj: $(OUTDIR) search.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1633
17536
e00d12c085a5 patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17458
diff changeset
1634 $(OUTDIR)/session.obj: $(OUTDIR) session.c $(INCL)
e00d12c085a5 patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17458
diff changeset
1635
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1636 $(OUTDIR)/sha256.obj: $(OUTDIR) sha256.c $(INCL)
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1637
15330
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15201
diff changeset
1638 $(OUTDIR)/sign.obj: $(OUTDIR) sign.c $(INCL)
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15201
diff changeset
1639
220
01e77186b20a updated for version 7.0062
vimboss
parents: 184
diff changeset
1640 $(OUTDIR)/spell.obj: $(OUTDIR) spell.c $(INCL)
01e77186b20a updated for version 7.0062
vimboss
parents: 184
diff changeset
1641
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
1642 $(OUTDIR)/spellfile.obj: $(OUTDIR) spellfile.c $(INCL)
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
1643
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1644 $(OUTDIR)/syntax.obj: $(OUTDIR) syntax.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1645
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1646 $(OUTDIR)/tag.obj: $(OUTDIR) tag.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1647
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1648 $(OUTDIR)/term.obj: $(OUTDIR) term.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1649
17377
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
1650 $(OUTDIR)/term.obj: $(OUTDIR) testing.c $(INCL)
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
1651
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 15027
diff changeset
1652 $(OUTDIR)/textprop.obj: $(OUTDIR) textprop.c $(INCL)
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 15027
diff changeset
1653
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1654 $(OUTDIR)/ui.obj: $(OUTDIR) ui.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1655
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1656 $(OUTDIR)/undo.obj: $(OUTDIR) undo.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1657
16411
5b5c5daf57de patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
1658 $(OUTDIR)/usercmd.obj: $(OUTDIR) usercmd.c $(INCL)
5b5c5daf57de patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
1659
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1660 $(OUTDIR)/userfunc.obj: $(OUTDIR) userfunc.c $(INCL)
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1661
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17397
diff changeset
1662 $(OUTDIR)/viminfo.obj: $(OUTDIR) viminfo.c $(INCL)
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17397
diff changeset
1663
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1664 $(OUTDIR)/window.obj: $(OUTDIR) window.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1665
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1666 $(OUTDIR)/xpm_w32.obj: $(OUTDIR) xpm_w32.c
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1667 $(CC) $(CFLAGS_OUTDIR) $(XPM_INC) xpm_w32.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1668
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1669 !if "$(VIMDLL)" == "yes"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1670 $(OUTDIR)/vimc.res: $(OUTDIR) vim.rc gvim.exe.mnf version.h gui_w32_rc.h \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1671 vim.ico
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1672 $(RC) /nologo /l 0x409 /Fo$@ $(RCFLAGS:-DFEAT_GUI_MSWIN=) vim.rc
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1673
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1674 $(OUTDIR)/vimg.res: $(OUTDIR) vim.rc gvim.exe.mnf version.h gui_w32_rc.h \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1675 vim.ico
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1676 $(RC) /nologo /l 0x409 /Fo$@ $(RCFLAGS) vim.rc
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1677
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1678 $(OUTDIR)/vimd.res: $(OUTDIR) vim.rc version.h gui_w32_rc.h \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1679 tools.bmp tearoff.bmp vim.ico vim_error.ico \
2311
ccda151dde4e Support completion for ":find". (Nazri Ramliy)
Bram Moolenaar <bram@vim.org>
parents: 2243
diff changeset
1680 vim_alert.ico vim_info.ico vim_quest.ico
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1681 $(RC) /nologo /l 0x409 /Fo$@ $(RCFLAGS) -DRCDLL -DVIMDLLBASE=\"$(VIMDLLBASE)\" vim.rc
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1682 !else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1683 $(OUTDIR)/vim.res: $(OUTDIR) vim.rc gvim.exe.mnf version.h gui_w32_rc.h \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1684 tools.bmp tearoff.bmp vim.ico vim_error.ico \
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1685 vim_alert.ico vim_info.ico vim_quest.ico
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1686 $(RC) /nologo /l 0x409 /Fo$@ $(RCFLAGS) vim.rc
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1687 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1688
388
f92bb1845823 updated for version 7.0101
vimboss
parents: 381
diff changeset
1689 iid_ole.c if_ole.h vim.tlb: if_ole.idl
416
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
1690 midl /nologo /error none /proxy nul /iid iid_ole.c /tlb vim.tlb \
3da34f87c760 updated for version 7.0109
vimboss
parents: 389
diff changeset
1691 /header if_ole.h if_ole.idl
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1692
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1693 dimm.h dimm_i.c: dimm.idl
388
f92bb1845823 updated for version 7.0101
vimboss
parents: 381
diff changeset
1694 midl /nologo /error none /proxy nul dimm.idl
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1695
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1696 $(OUTDIR)/dimm_i.obj: $(OUTDIR) dimm_i.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1697
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1698 $(OUTDIR)/glbl_ime.obj: $(OUTDIR) glbl_ime.cpp dimm.h $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1699
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1700
12210
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1701 CCCTERM = $(CC) $(CFLAGS) -Ilibvterm/include -DINLINE="" \
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1702 -DVSNPRINTF=vim_vsnprintf \
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1703 -DIS_COMBINING_FUNCTION=utf_iscomposing_uint \
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1704 -DWCWIDTH_FUNCTION=utf_uint2cells \
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1705 -D_CRT_SECURE_NO_WARNINGS
b9b06aa0b6d9 patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents: 12001
diff changeset
1706
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1707 # Create a default rule for libvterm.
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1708 {libvterm/src/}.c{$(OUTDIR)/}.obj::
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1709 $(CCCTERM) -Fo$(OUTDIR)/ $<
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
1710
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1711 $(OUTDIR)/encoding.obj: $(OUTDIR) libvterm/src/encoding.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1712
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1713 $(OUTDIR)/keyboard.obj: $(OUTDIR) libvterm/src/keyboard.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1714
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1715 $(OUTDIR)/mouse.obj: $(OUTDIR) libvterm/src/mouse.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1716
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1717 $(OUTDIR)/parser.obj: $(OUTDIR) libvterm/src/parser.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1718
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1719 $(OUTDIR)/pen.obj: $(OUTDIR) libvterm/src/pen.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1720
14742
b65d7aba8d0d patch 8.1.0383: missing source file rename
Christian Brabandt <cb@256bit.org>
parents: 14734
diff changeset
1721 $(OUTDIR)/termscreen.obj: $(OUTDIR) libvterm/src/termscreen.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1722
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1723 $(OUTDIR)/state.obj: $(OUTDIR) libvterm/src/state.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1724
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1725 $(OUTDIR)/unicode.obj: $(OUTDIR) libvterm/src/unicode.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1726
14734
2c72fa16aa70 patch 8.1.0379: build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
1727 $(OUTDIR)/vterm.obj: $(OUTDIR) libvterm/src/vterm.c $(TERM_DEPS)
11782
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1728
112427b2de52 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents: 11774
diff changeset
1729
19
a81bc802c17c updated for version 7.0011
vimboss
parents: 14
diff changeset
1730 # $CFLAGS may contain backslashes and double quotes, escape them both.
a81bc802c17c updated for version 7.0011
vimboss
parents: 14
diff changeset
1731 E0_CFLAGS = $(CFLAGS:\=\\)
a81bc802c17c updated for version 7.0011
vimboss
parents: 14
diff changeset
1732 E_CFLAGS = $(E0_CFLAGS:"=\")
1072
25154b22dc96 updated for version 7.0-198
vimboss
parents: 844
diff changeset
1733 # ") stop the string
2708
e44523d45bf5 updated for version 7.3.125
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
1734 # $LINKARGS2 may contain backslashes and double quotes, escape them both.
e44523d45bf5 updated for version 7.3.125
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
1735 E0_LINKARGS2 = $(LINKARGS2:\=\\)
e44523d45bf5 updated for version 7.3.125
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
1736 E_LINKARGS2 = $(E0_LINKARGS2:"=\")
e44523d45bf5 updated for version 7.3.125
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
1737 # ") stop the string
19
a81bc802c17c updated for version 7.0011
vimboss
parents: 14
diff changeset
1738
17157
bbd454d155a9 patch 8.1.1578: MS-Windows: pathdef.c should depend on build options
Bram Moolenaar <Bram@vim.org>
parents: 17131
diff changeset
1739 $(PATHDEF_SRC): Make_mvc.mak
659
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1740 @echo creating $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1741 @echo /* pathdef.c */ > $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1742 @echo #include "vim.h" >> $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1743 @echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)"; >> $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1744 @echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)"; >> $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1745 @echo char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)"; >> $(PATHDEF_SRC)
2708
e44523d45bf5 updated for version 7.3.125
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
1746 @echo char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\) $(E_LINKARGS2)"; >> $(PATHDEF_SRC)
659
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1747 @echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
d6a69271cb9a updated for version 7.0194
vimboss
parents: 635
diff changeset
1748 @echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1749
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1750 # End Custom Build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1751 proto.h: \
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
1752 proto/arabic.pro \
17744
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
1753 proto/arglist.pro \
15634
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
1754 proto/autocmd.pro \
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15450
diff changeset
1755 proto/blob.pro \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
1756 proto/blowfish.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1757 proto/buffer.pro \
16632
30de89c1d090 patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents: 16623
diff changeset
1758 proto/change.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1759 proto/charset.pro \
17779
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
1760 proto/cmdexpand.pro \
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17576
diff changeset
1761 proto/cmdhist.pro \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1762 proto/crypt.pro \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 6110
diff changeset
1763 proto/crypt_zip.pro \
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents: 16229
diff changeset
1764 proto/debugger.pro \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1765 proto/dict.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1766 proto/diff.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1767 proto/digraph.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1768 proto/edit.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1769 proto/eval.pro \
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9566
diff changeset
1770 proto/evalfunc.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1771 proto/ex_cmds.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1772 proto/ex_cmds2.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1773 proto/ex_docmd.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1774 proto/ex_eval.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1775 proto/ex_getln.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1776 proto/fileio.pro \
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
1777 proto/findfile.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1778 proto/getchar.pro \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 434
diff changeset
1779 proto/hardcopy.pro \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
1780 proto/hashtab.pro \
17389
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
1781 proto/highlight.pro \
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
1782 proto/indent.pro \
16142
570a296aa0b4 patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents: 16068
diff changeset
1783 proto/insexpand.pro \
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7699
diff changeset
1784 proto/json.pro \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1785 proto/list.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1786 proto/main.pro \
17576
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
1787 proto/map.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1788 proto/mark.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1789 proto/memfile.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1790 proto/memline.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1791 proto/menu.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1792 proto/message.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1793 proto/misc1.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1794 proto/misc2.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1795 proto/move.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1796 proto/mbyte.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1797 proto/normal.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1798 proto/ops.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1799 proto/option.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1800 proto/os_mswin.pro \
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 4074
diff changeset
1801 proto/winclip.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1802 proto/os_win32.pro \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 775
diff changeset
1803 proto/popupmnu.pro \
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16758
diff changeset
1804 proto/popupwin.pro \
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17157
diff changeset
1805 proto/profiler.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1806 proto/quickfix.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1807 proto/regexp.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1808 proto/screen.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1809 proto/search.pro \
17536
e00d12c085a5 patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17458
diff changeset
1810 proto/session.pro \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2101
diff changeset
1811 proto/sha256.pro \
15330
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15201
diff changeset
1812 proto/sign.pro \
220
01e77186b20a updated for version 7.0062
vimboss
parents: 184
diff changeset
1813 proto/spell.pro \
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
1814 proto/spellfile.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1815 proto/syntax.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1816 proto/tag.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1817 proto/term.pro \
17377
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
1818 proto/testing.pro \
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 15027
diff changeset
1819 proto/textprop.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1820 proto/ui.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1821 proto/undo.pro \
16411
5b5c5daf57de patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
1822 proto/usercmd.pro \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
1823 proto/userfunc.pro \
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17397
diff changeset
1824 proto/viminfo.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1825 proto/window.pro \
17131
be5a5cfc991a patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents: 16792
diff changeset
1826 $(SOUND_PRO) \
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
1827 $(NETBEANS_PRO) \
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
1828 $(CHANNEL_PRO)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1829
844
d3bbb5dd3913 updated for version 7.0f02
vimboss
parents: 843
diff changeset
1830 .SUFFIXES: .cod .i
843
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1831
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1832 # Generate foo.cod (mixed source and assembly listing) from foo.c via "nmake
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1833 # foo.cod"
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1834 .c.cod:
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1835 $(CC) $(CFLAGS) /FAcs $<
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1836
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1837 # Generate foo.i (preprocessor listing) from foo.c via "nmake foo.i"
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1838 .c.i:
9f279ebda751 updated for version 7.0f01
vimboss
parents: 842
diff changeset
1839 $(CC) $(CFLAGS) /P /C $<
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 659
diff changeset
1840
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1841 # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0: