Mercurial > vim
annotate src/Make_mvc.mak @ 28970:77cd4bf3ad7d v8.2.5007
patch 8.2.5007: spell suggestion may use uninitialized memory
Commit: https://github.com/vim/vim/commit/6d24b4ff69913270ce1e5267dd6bd8454f75e2b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 23 12:01:50 2022 +0100
patch 8.2.5007: spell suggestion may use uninitialized memory
Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
Solution: Avoid going over the end of the word.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 May 2022 13:15:04 +0200 |
parents | ef7d9789919d |
children | d8a962d7b008 |
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, |
18662
652ac5edf8d0
patch 8.1.2323: Old MSVC version no longer tested.
Bram Moolenaar <Bram@vim.org>
parents:
18404
diff
changeset
|
2 # using the Microsoft Visual C++ compilers. Known to work with VC10 (VS2010), |
652ac5edf8d0
patch 8.1.2323: Old MSVC version no longer tested.
Bram Moolenaar <Bram@vim.org>
parents:
18404
diff
changeset
|
3 # VC11 (VS2012), VC12 (VS2013), VC14 (VS2015), VC14.1 (VS2017) and |
652ac5edf8d0
patch 8.1.2323: Old MSVC version no longer tested.
Bram Moolenaar <Bram@vim.org>
parents:
18404
diff
changeset
|
4 # VC14.2 (VS2019). |
7 | 5 # |
840 | 6 # To build using other Windows compilers, see INSTALLpc.txt |
381 | 7 # |
7 | 8 # This makefile can build the console, GUI, OLE-enable, Perl-enabled and |
1907 | 9 # Python-enabled versions of Vim for Win32 platforms. |
7 | 10 # |
1907 | 11 # The basic command line to build Vim is: |
7 | 12 # |
13 # nmake -f Make_mvc.mak | |
381 | 14 # |
1907 | 15 # This will build the console version of Vim with no additional interfaces. |
381 | 16 # To add features, define any of the following: |
17 # | |
22880
a9292e0a7157
patch 8.2.1987: MS-Windows: Win32.mak is no longer needed
Bram Moolenaar <Bram@vim.org>
parents:
22095
diff
changeset
|
18 # !!!! After changing any features do "nmake clean" first !!!! |
381 | 19 # |
7699
854302b82ff9
commit https://github.com/vim/vim/commit/e5f2be61595fbbba77261f3bf1e032fe03a1966d
Christian Brabandt <cb@256bit.org>
parents:
7609
diff
changeset
|
20 # Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is HUGE) |
381 | 21 # |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
22 # Name to add to the version: MODIFIED_BY=[name of modifier] |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
23 # |
7 | 24 # GUI interface: GUI=yes (default is no) |
381 | 25 # |
13028
cfce9ac1d1e8
patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents:
13018
diff
changeset
|
26 # 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
|
27 # (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
|
28 # |
cfce9ac1d1e8
patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents:
13018
diff
changeset
|
29 # 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
|
30 # (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.) |
6110 | 31 # |
7 | 32 # OLE interface: OLE=yes (usually with GUI=yes) |
381 | 33 # |
19159
352b74803d3e
patch 8.2.0139: MS-Windows: default for IME is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
19106
diff
changeset
|
34 # IME support: IME=yes (default is yes) |
7 | 35 # DYNAMIC_IME=[yes or no] (to load the imm32.dll dynamically, default |
36 # is yes) | |
381 | 37 # |
19697
a8b2821181c2
patch 8.2.0405: MSVC: build fails with some combination of features
Bram Moolenaar <Bram@vim.org>
parents:
19519
diff
changeset
|
38 # Terminal support: TERMINAL=yes (default is yes if FEATURES is HUGE) |
a8b2821181c2
patch 8.2.0405: MSVC: build fails with some combination of features
Bram Moolenaar <Bram@vim.org>
parents:
19519
diff
changeset
|
39 # Will also enable CHANNEL |
17131
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
40 # |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
41 # 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
|
42 # |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
43 # Sodium support: SODIUM=[Path to Sodium directory] |
27231
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
44 # DYNAMIC_SODIUM=yes (to load the Sodium DLL dynamically) |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
45 # You need to install the msvc package from |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
46 # https://download.libsodium.org/libsodium/releases/ |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
47 # and package the libsodium.dll with Vim |
24990
85d1e82ed134
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
48 # |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
49 # |
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
|
50 # 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
|
51 # 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
|
52 # 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
|
53 # 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
|
54 # 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
|
55 # |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
56 # Lua interface: |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
57 # LUA=[Path to Lua directory] |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
58 # 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
|
59 # LUA_VER=[Lua version] (default is 53) |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
60 # |
146 | 61 # MzScheme interface: |
62 # MZSCHEME=[Path to MzScheme directory] | |
63 # 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
|
64 # 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
|
65 # 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
|
66 # C:\Program Files (x86)\Racket\lib\libracket3m_XXXXXX.dll |
1894 | 67 # MZSCHEME_DEBUG=no |
381 | 68 # |
7 | 69 # Perl interface: |
70 # PERL=[Path to Perl directory] | |
71 # DYNAMIC_PERL=yes (to load the Perl DLL dynamically) | |
6326 | 72 # PERL_VER=[Perl version, in the form 55 (5.005), 56 (5.6.x), |
73 # 510 (5.10.x), etc] | |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
74 # (default is 524) |
381 | 75 # |
7 | 76 # Python interface: |
77 # PYTHON=[Path to Python directory] | |
78 # 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
|
79 # PYTHON_VER=[Python version, eg 22, 23, ..., 27] (default is 27) |
381 | 80 # |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
81 # Python3 interface: |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
82 # PYTHON3=[Path to Python3 directory] |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
83 # 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
|
84 # 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
|
85 # |
7 | 86 # Ruby interface: |
87 # RUBY=[Path to Ruby directory] | |
88 # 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
|
89 # 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
|
90 # 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
|
91 # (default is 2.2.0) |
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
92 # You must set RUBY_API_VER_LONG when change RUBY_VER. |
6326 | 93 # Note: If you use Ruby 1.9.3, set as follows: |
94 # RUBY_VER=19 | |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
95 # RUBY_API_VER_LONG=1.9.1 (not 1.9.3, because the API version is 1.9.1.) |
381 | 96 # |
7 | 97 # Tcl interface: |
98 # TCL=[Path to Tcl directory] | |
99 # 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
|
100 # 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
|
101 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6) |
7 | 102 # 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
|
103 # TCL_DLL=[Tcl dll name, e.g. tcl86.dll] (default is tcl86.dll) |
381 | 104 # |
105 # Cscope support: CSCOPE=yes | |
106 # | |
107 # Iconv library support (always dynamically loaded): | |
108 # ICONV=[yes or no] (default is yes) | |
109 # | |
110 # Intl library support (always dynamically loaded): | |
111 # GETTEXT=[yes or no] (default is yes) | |
112 # See http://sourceforge.net/projects/gettext/ | |
113 # | |
4446 | 114 # PostScript printing: POSTSCRIPT=yes (default is no) |
381 | 115 # |
4446 | 116 # Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes) |
19697
a8b2821181c2
patch 8.2.0405: MSVC: build fails with some combination of features
Bram Moolenaar <Bram@vim.org>
parents:
19519
diff
changeset
|
117 # Requires CHANNEL. |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
118 # |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
119 # 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
|
120 # doesn't work) |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
121 # |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
122 # Inter process communication: CHANNEL=[yes or no] (default is yes if GUI |
19697
a8b2821181c2
patch 8.2.0405: MSVC: build fails with some combination of features
Bram Moolenaar <Bram@vim.org>
parents:
19519
diff
changeset
|
123 # is yes or TERMINAL is yes) |
381 | 124 # |
4446 | 125 # XPM Image Support: XPM=[path to XPM directory] |
126 # Default is "xpm", using the files included in the distribution. | |
127 # Use "no" to disable this feature. | |
381 | 128 # |
4446 | 129 # Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED) |
381 | 130 # |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
131 # 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
|
132 # any) |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
133 # 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
|
134 # avx2 is available on Visual C++ 2013 Update 2 and after. |
381 | 135 # |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
136 # 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
|
137 # 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
|
138 # 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
|
139 # See https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt |
381 | 140 # |
7 | 141 # Debug version: DEBUG=yes |
142 # Mapfile: MAP=[no, yes or lines] (default is yes) | |
143 # no: Don't write a mapfile. | |
144 # yes: Write a normal mapfile. | |
145 # lines: Write a mapfile with line numbers (only for VC6 and later) | |
381 | 146 # |
10264
c036c0f636d5
commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents:
10149
diff
changeset
|
147 # Static Code Analysis: ANALYZE=yes (works with VS2012 or later) |
1419 | 148 # |
26589
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
149 # Address Sanitizer: ASAN=yes (works with VS2019 or later) |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
150 # |
7 | 151 # You can combine any of these interfaces |
152 # | |
153 # Example: To build the non-debug, GUI version with Perl interface: | |
154 # nmake -f Make_mvc.mak GUI=yes PERL=C:\Perl | |
155 | |
156 ### See feature.h for a list of optionals. | |
157 # If you want to build some optional features without modifying the source, | |
158 # you can set DEFINES on the command line, e.g., | |
714 | 159 # nmake -f Make_mvc.mvc "DEFINES=-DEMACS_TAGS" |
7 | 160 |
10264
c036c0f636d5
commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents:
10149
diff
changeset
|
161 # Build on Windows NT/XP |
7 | 162 |
10264
c036c0f636d5
commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Christian Brabandt <cb@256bit.org>
parents:
10149
diff
changeset
|
163 TARGETOS = WINNT |
7 | 164 |
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
|
165 !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
|
166 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
|
167 !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
|
168 |
13468
539436dcb134
patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
13200
diff
changeset
|
169 !ifndef DIRECTX |
539436dcb134
patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
13200
diff
changeset
|
170 DIRECTX = $(GUI) |
539436dcb134
patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
13200
diff
changeset
|
171 !endif |
539436dcb134
patch 8.0.1608: Win32: directx not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
13200
diff
changeset
|
172 |
16507
7c6fe15778cf
patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents:
16451
diff
changeset
|
173 # Select a code directory, depends on GUI, OLE, DEBUG, interfaces and etc. |
7 | 174 # 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
|
175 !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
|
176 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
|
177 !elseif "$(GUI)" == "yes" |
7 | 178 OBJDIR = .\ObjG |
179 !else | |
180 OBJDIR = .\ObjC | |
181 !endif | |
16507
7c6fe15778cf
patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents:
16451
diff
changeset
|
182 !if "$(DIRECTX)" == "yes" && "$(GUI)" == "yes" |
6110 | 183 OBJDIR = $(OBJDIR)X |
184 !endif | |
7 | 185 !if "$(OLE)" == "yes" |
186 OBJDIR = $(OBJDIR)O | |
187 !endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
188 !ifdef LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
189 OBJDIR = $(OBJDIR)U |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
190 !endif |
323 | 191 !ifdef PERL |
192 OBJDIR = $(OBJDIR)L | |
193 !endif | |
194 !ifdef PYTHON | |
195 OBJDIR = $(OBJDIR)Y | |
196 !endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
197 !ifdef PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
198 OBJDIR = $(OBJDIR)H |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
199 !endif |
323 | 200 !ifdef TCL |
201 OBJDIR = $(OBJDIR)T | |
202 !endif | |
203 !ifdef RUBY | |
204 OBJDIR = $(OBJDIR)R | |
205 !endif | |
14 | 206 !ifdef MZSCHEME |
207 OBJDIR = $(OBJDIR)Z | |
208 !endif | |
16507
7c6fe15778cf
patch 8.1.1257: MSVC: name of object directory now always right
Bram Moolenaar <Bram@vim.org>
parents:
16451
diff
changeset
|
209 !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
|
210 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
|
211 !endif |
7 | 212 !if "$(DEBUG)" == "yes" |
213 OBJDIR = $(OBJDIR)d | |
214 !endif | |
215 | |
216 !ifdef PROCESSOR_ARCHITECTURE | |
714 | 217 # We're on Windows NT or using VC 6+ |
840 | 218 ! ifdef CPU |
219 ASSEMBLY_ARCHITECTURE=$(CPU) | |
842 | 220 # 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
|
221 ! if "$(CPU)" == "I386" |
7 | 222 CPU = i386 |
835 | 223 ! endif |
7324
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
224 ! else # !CPU |
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
225 CPU = i386 |
7591
4447dc38bc22
commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents:
7555
diff
changeset
|
226 ! if !defined(PLATFORM) && defined(TARGET_CPU) |
4447dc38bc22
commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents:
7555
diff
changeset
|
227 PLATFORM = $(TARGET_CPU) |
4447dc38bc22
commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents:
7555
diff
changeset
|
228 ! endif |
7324
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
229 ! ifdef PLATFORM |
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
230 ! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64") |
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
231 CPU = AMD64 |
16229
081522b02c2d
patch 8.1.1119: no support for Windows on ARM64.
Bram Moolenaar <Bram@vim.org>
parents:
16198
diff
changeset
|
232 ! 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
|
233 CPU = ARM64 |
7324
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
234 ! elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86") |
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
235 ! 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
|
236 ! endif |
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
237 ! endif # !PLATFORM |
7 | 238 ! endif |
239 !else # !PROCESSOR_ARCHITECTURE | |
240 # We're on Windows 95 | |
241 CPU = i386 | |
242 !endif # !PROCESSOR_ARCHITECTURE | |
7324
a3b8a63c88ef
commit https://github.com/vim/vim/commit/6b90351786eb0915336b576cc930300bf5c9ac63
Christian Brabandt <cb@256bit.org>
parents:
7309
diff
changeset
|
243 ASSEMBLY_ARCHITECTURE=$(CPU) |
3790 | 244 OBJDIR = $(OBJDIR)$(CPU) |
7 | 245 |
246 # Build a retail version by default | |
247 | |
248 !if "$(DEBUG)" != "yes" | |
249 NODEBUG = 1 | |
250 !else | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
251 ! undef NODEBUG |
7 | 252 MAKEFLAGS_GVIMEXT = DEBUG=yes |
253 !endif | |
254 | |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
255 LINK = link |
7 | 256 |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
257 # Check VC version. |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
258 !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
|
259 ! message *** ERROR |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
260 ! 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
|
261 ! 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
|
262 ! error Make aborted. |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
263 !else |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
264 ! include msvcver.~ |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
265 ! 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
|
266 ! endif |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
267 !endif |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
268 |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
269 !if $(MSVCVER) < 1900 |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
270 MSVC_MAJOR = ($(MSVCVER) / 100 - 6) |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
271 MSVCRT_VER = ($(MSVCVER) / 10 - 60) |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
272 !else |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
273 MSVC_MAJOR = ($(MSVCVER) / 100 - 5) |
18662
652ac5edf8d0
patch 8.1.2323: Old MSVC version no longer tested.
Bram Moolenaar <Bram@vim.org>
parents:
18404
diff
changeset
|
274 MSVCRT_VER = ($(MSVCVER) / 100 * 10 - 50) |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
275 !endif |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
276 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
277 # Calculate MSVC_FULL. |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
278 !if [echo MSVC_FULL=_MSC_FULL_VER> msvcfullver.c && $(CC) /EP msvcfullver.c > msvcfullver.~ 2> nul] |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
279 ! message *** ERROR |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
280 ! message Cannot run Visual C to determine its version. Make sure cl.exe is in your PATH. |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
281 ! message This can usually be done by running "vcvarsall.bat", located in the bin directory where Visual Studio was installed. |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
282 ! error Make aborted. |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
283 !else |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
284 ! include msvcfullver.~ |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
285 ! if [del msvcfullver.c msvcfullver.~] |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
286 ! endif |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
287 !endif |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
288 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
289 |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
290 # Calculate MSVCRT_VER |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
291 !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
|
292 ! include msvcrtver.~ |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
293 ! if [del msvcrtver.~] |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
294 ! endif |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
295 !endif |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
296 |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
297 # Base name of the msvcrXX.dll |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
298 !if $(MSVCRT_VER) <= 60 |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
299 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
|
300 !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
|
301 MSVCRT_NAME = msvcr$(MSVCRT_VER) |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
302 !else |
10779
9b2073149118
patch 8.0.0279: MSVC 2015 uses a different dll name
Christian Brabandt <cb@256bit.org>
parents:
10503
diff
changeset
|
303 MSVCRT_NAME = vcruntime$(MSVCRT_VER) |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
304 !endif |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
305 |
20077
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
306 ### Set the default $(WINVER) to make it work with VC++7.0 (VS.NET) |
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
307 !ifndef WINVER |
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
308 WINVER = 0x0501 |
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
309 !endif |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
310 |
10398
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
311 # Use multiprocess build |
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
312 USE_MP = yes |
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
313 |
7 | 314 #>>>>> path of the compiler and linker; name of include and lib directories |
315 # PATH = c:\msvc20\bin;$(PATH) | |
316 # INCLUDE = c:\msvc20\include | |
317 # LIB = c:\msvc20\lib | |
318 | |
9193
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
319 !if "$(FEATURES)"=="" |
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
320 FEATURES = HUGE |
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
321 !endif |
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
322 |
7 | 323 !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
|
324 # this assumes ctags is Exuberant ctags |
19042
4be592d96c20
patch 8.2.0081: MS-Windows also need the change to support INIT4()
Bram Moolenaar <Bram@vim.org>
parents:
18884
diff
changeset
|
325 CTAGS = ctags -I INIT+,INIT2+,INIT3+,INIT4+,INIT5+ --fields=+S |
7 | 326 !endif |
327 | |
328 !ifndef CSCOPE | |
329 CSCOPE = yes | |
330 !endif | |
331 | |
332 !if "$(CSCOPE)" == "yes" | |
333 # CSCOPE - Include support for Cscope | |
334 CSCOPE_DEFS = -DFEAT_CSCOPE | |
335 !endif | |
336 | |
12628
c3bb4552d15d
patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
12600
diff
changeset
|
337 !ifndef TERMINAL |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
338 ! 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
|
339 TERMINAL = yes |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
340 ! else |
12628
c3bb4552d15d
patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
12600
diff
changeset
|
341 TERMINAL = no |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
342 ! endif |
12628
c3bb4552d15d
patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
12600
diff
changeset
|
343 !endif |
c3bb4552d15d
patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Christian Brabandt <cb@256bit.org>
parents:
12600
diff
changeset
|
344 |
11696
0a6136dfce35
patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11510
diff
changeset
|
345 !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
|
346 TERM_OBJ = \ |
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
347 $(OBJDIR)/terminal.obj \ |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
348 $(OBJDIR)/vterm_encoding.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
349 $(OBJDIR)/vterm_keyboard.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
350 $(OBJDIR)/vterm_mouse.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
351 $(OBJDIR)/vterm_parser.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
352 $(OBJDIR)/vterm_pen.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
353 $(OBJDIR)/vterm_screen.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
354 $(OBJDIR)/vterm_state.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
355 $(OBJDIR)/vterm_unicode.obj \ |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
356 $(OBJDIR)/vterm_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
|
357 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
|
358 TERM_DEPS = \ |
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
359 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
|
360 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
|
361 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
|
362 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
|
363 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
|
364 !endif |
0a6136dfce35
patch 8.0.0731: cannot build the terminal feature on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11510
diff
changeset
|
365 |
17131
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
366 !ifndef SOUND |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
367 ! if "$(FEATURES)"=="HUGE" || "$(FEATURES)"=="BIG" |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
368 SOUND = yes |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
369 ! else |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
370 SOUND = no |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
371 ! endif |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
372 !endif |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
373 |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
374 !ifndef SODIUM |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
375 SODIUM = no |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
376 !endif |
27231
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
377 !ifndef DYNAMIC_SODIUM |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
378 DYNAMIC_SODIUM = yes |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
379 !endif |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
380 |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
381 !if "$(SODIUM)" != "no" |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
382 ! if "$(CPU)" == "AMD64" |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
383 SOD_LIB = $(SODIUM)\x64\Release\v140\dynamic |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
384 ! elseif "$(CPU)" == "i386" |
24990
85d1e82ed134
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
385 SOD_LIB = $(SODIUM)\Win32\Release\v140\dynamic |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
386 ! else |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
387 SODIUM = no |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
388 ! endif |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
389 !endif |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
390 |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
391 !if "$(SODIUM)" != "no" |
24990
85d1e82ed134
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
392 SOD_INC = /I "$(SODIUM)\include" |
27231
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
393 ! if "$(DYNAMIC_SODIUM)" == "yes" |
27998
ef7d9789919d
patch 8.2.4524: MS-Windows: cannot build with some sodium libraries
Bram Moolenaar <Bram@vim.org>
parents:
27932
diff
changeset
|
394 SODIUM_DLL = libsodium.dll |
ef7d9789919d
patch 8.2.4524: MS-Windows: cannot build with some sodium libraries
Bram Moolenaar <Bram@vim.org>
parents:
27932
diff
changeset
|
395 SOD_DEFS = -DHAVE_SODIUM -DDYNAMIC_SODIUM -DDYNAMIC_SODIUM_DLL=\"$(SODIUM_DLL)\" |
27231
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
396 SOD_LIB = |
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
397 ! else |
25427
2fffc285871d
patch 8.2.3250: MS-Windows: cannot build with libsodium
Bram Moolenaar <Bram@vim.org>
parents:
25206
diff
changeset
|
398 SOD_DEFS = -DHAVE_SODIUM |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
399 SOD_LIB = $(SOD_LIB)\libsodium.lib |
27231
e1cedf009920
patch 8.2.4144: cannot load libsodium dynamically
Bram Moolenaar <Bram@vim.org>
parents:
27203
diff
changeset
|
400 ! endif |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
401 !endif |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
402 |
7 | 403 !ifndef NETBEANS |
404 NETBEANS = $(GUI) | |
405 !endif | |
406 | |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
407 !ifndef CHANNEL |
19697
a8b2821181c2
patch 8.2.0405: MSVC: build fails with some combination of features
Bram Moolenaar <Bram@vim.org>
parents:
19519
diff
changeset
|
408 ! if "$(FEATURES)"=="HUGE" || "$(TERMINAL)"=="yes" |
9193
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
409 CHANNEL = yes |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
410 ! else |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
411 CHANNEL = $(GUI) |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
412 ! endif |
9193
0378a3bdf0fe
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
413 !endif |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
414 |
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
|
415 # GUI specific features. |
12 | 416 !if "$(GUI)" == "yes" |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
417 # 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
|
418 ! if "$(NETBEANS)" == "yes" && "$(CHANNEL)" == "yes" |
7 | 419 # NETBEANS - Include support for Netbeans integration |
420 NETBEANS_PRO = proto/netbeans.pro | |
184 | 421 NETBEANS_OBJ = $(OBJDIR)/netbeans.obj |
7 | 422 NETBEANS_DEFS = -DFEAT_NETBEANS_INTG |
12 | 423 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
424 ! if "$(NBDEBUG)" == "yes" |
7 | 425 NBDEBUG_DEFS = -DNBDEBUG |
426 NBDEBUG_INCL = nbdebug.h | |
427 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
|
428 ! endif |
416 | 429 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
|
430 ! endif |
7 | 431 |
13028
cfce9ac1d1e8
patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Christian Brabandt <cb@256bit.org>
parents:
13018
diff
changeset
|
432 # DirectWrite (DirectX) |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
433 ! if "$(DIRECTX)" == "yes" |
6110 | 434 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
|
435 ! 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
|
436 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
|
437 ! endif |
6110 | 438 DIRECTX_INCL = gui_dwrite.h |
439 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
|
440 ! endif |
6110 | 441 |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
442 # 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
|
443 ! ifndef XPM |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
444 ! ifndef USE_MSVCRT |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
445 # 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
|
446 # on the architecture. |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
447 ! if "$(CPU)" == "AMD64" |
3762 | 448 XPM = xpm\x64 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
449 ! elseif "$(CPU)" == "ARM64" |
16229
081522b02c2d
patch 8.1.1119: no support for Windows on ARM64.
Bram Moolenaar <Bram@vim.org>
parents:
16198
diff
changeset
|
450 XPM = xpm\arm64 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
451 ! elseif "$(CPU)" == "i386" |
3790 | 452 XPM = xpm\x86 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
453 ! else |
3790 | 454 XPM = no |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
455 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
456 ! else # USE_MSVCRT |
9324
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
457 XPM = no |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
458 ! endif # USE_MSVCRT |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
459 ! endif # XPM |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
460 ! if "$(XPM)" != "no" |
7 | 461 # XPM - Include support for XPM signs |
3762 | 462 # See the xpm directory for more information. |
7 | 463 XPM_OBJ = $(OBJDIR)/xpm_w32.obj |
464 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
|
465 ! 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
|
466 # 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
|
467 # Universal CRT. |
11a83cdeedf9
commit https://github.com/vim/vim/commit/b5b95750a688d1fabafc6dbc2f31df90d5b5a17e
Christian Brabandt <cb@256bit.org>
parents:
9193
diff
changeset
|
468 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
|
469 ! else |
7 | 470 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
|
471 ! endif |
3762 | 472 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
|
473 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
474 !endif # GUI |
7 | 475 |
17131
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
476 !if "$(SOUND)" == "yes" |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
477 SOUND_PRO = proto/sound.pro |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
478 SOUND_OBJ = $(OBJDIR)/sound.obj |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
479 SOUND_DEFS = -DFEAT_SOUND |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
480 SOUND_LIB = winmm.lib |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
481 !endif |
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
482 |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
483 !if "$(CHANNEL)" == "yes" |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
484 CHANNEL_PRO = proto/job.pro proto/channel.pro |
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
485 CHANNEL_OBJ = $(OBJDIR)/job.obj $(OBJDIR)/channel.obj |
20071
385e2f8aa8c1
patch 8.2.0591: MS-Windows: should always support IPv6
Bram Moolenaar <Bram@vim.org>
parents:
20003
diff
changeset
|
486 CHANNEL_DEFS = -DFEAT_JOB_CHANNEL -DFEAT_IPV6 |
20077
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
487 ! if $(WINVER) >= 0x600 |
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
488 CHANNEL_DEFS = $(CHANNEL_DEFS) -DHAVE_INET_NTOP |
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20071
diff
changeset
|
489 ! endif |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
490 |
20003
e373843e2980
patch 8.2.0557: no IPv6 support for channels
Bram Moolenaar <Bram@vim.org>
parents:
19920
diff
changeset
|
491 NETBEANS_LIB = WSock32.lib Ws2_32.lib |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
492 !endif |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
493 |
7 | 494 # need advapi32.lib for GetUserName() |
495 # 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
|
496 # need netapi32.lib for NetUserEnum() |
7 | 497 # gdi32.lib and comdlg32.lib for printing support |
498 # ole32.lib and uuid.lib are needed for FEAT_SHORTCUT | |
1569 | 499 CON_LIB = oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib \ |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
500 comdlg32.lib ole32.lib netapi32.lib uuid.lib user32.lib \ |
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
501 /machine:$(CPU) |
714 | 502 !if "$(DELAYLOAD)" == "yes" |
7 | 503 CON_LIB = $(CON_LIB) /DELAYLOAD:comdlg32.dll /DELAYLOAD:ole32.dll DelayImp.lib |
504 !endif | |
505 | |
506 # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal | |
507 # default, use these lines. | |
508 #VIMRCLOC = somewhere | |
509 #VIMRUNTIMEDIR = somewhere | |
510 | |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
511 CFLAGS = -c /W3 /GF /nologo -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
|
512 $(CSCOPE_DEFS) $(TERM_DEFS) $(SOUND_DEFS) $(NETBEANS_DEFS) $(CHANNEL_DEFS) \ |
24990
85d1e82ed134
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
513 $(NBDEBUG_DEFS) $(XPM_DEFS) $(SOD_DEFS) $(SOD_INC) \ |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
514 $(DEFINES) -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) |
7 | 515 |
516 #>>>>> end of choices | |
517 ########################################################################### | |
518 | |
519 DEL_TREE = rmdir /s /q | |
520 | |
521 INTDIR=$(OBJDIR) | |
522 OUTDIR=$(OBJDIR) | |
523 | |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
524 ### Validate CPUNR |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
525 !ifndef CPUNR |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
526 # default to untargeted code |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
527 CPUNR = any |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
528 !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
|
529 # 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
|
530 ! 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
|
531 ! 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
|
532 ! message architecture of i586. |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
533 ! message Retargeting to i586 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
534 CPUNR = i586 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
535 !elseif "$(CPUNR)" == "pentium4" |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
536 # alias pentium4 to sse2 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
537 ! 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
|
538 ! message Retargeting to sse2. |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
539 CPUNR = sse2 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
540 !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
|
541 ! 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
|
542 !endif |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
543 |
7 | 544 # Convert processor ID to MVC-compatible number |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
545 # IA32/SSE/SSE2 are only supported on x86 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
546 !if "$(ASSEMBLY_ARCHITECTURE)" == "i386" && ("$(CPUNR)" == "i586" || "$(CPUNR)" == "i686" || "$(CPUNR)" == "any") |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
547 # VC<11 generates fp87 code by default |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
548 ! if $(MSVC_MAJOR) < 11 |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
549 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
|
550 # VC>=11 needs explicit instructions to generate fp87 code |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
551 ! else |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
552 CPUARG = /arch:IA32 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
553 ! endif |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
554 !elseif "$(ASSEMBLY_ARCHITECTURE)" == "i386" && "$(CPUNR)" == "sse" |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
555 CPUARG = /arch:SSE |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
556 !elseif "$(ASSEMBLY_ARCHITECTURE)" == "i386" && "$(CPUNR)" == "sse2" |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
557 CPUARG = /arch:SSE2 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
558 !elseif "$(CPUNR)" == "avx" |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
559 # AVX is only supported by VC 10 and up |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
560 ! if $(MSVC_MAJOR) < 10 |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
561 ! message AVX Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR) |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
562 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386" |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
563 ! message Falling back to SSE2 |
1419 | 564 CPUARG = /arch:SSE2 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
565 ! else |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
566 CPUARG = |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
567 ! endif |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
568 ! else |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
569 CPUARG = /arch:AVX |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
570 ! endif |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
571 !elseif "$(CPUNR)" == "avx2" |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
572 # AVX is only supported by VC 10 and up |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
573 ! if $(MSVC_MAJOR) < 10 |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
574 ! message AVX2 Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR) |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
575 ! if "$(ASSEMBLY_ARCHITECTURE)" == "i386" |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
576 ! message Falling back to SSE2 |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
577 CPUARG = /arch:SSE2 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
578 ! else |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
579 CPUARG = |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
580 ! endif |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
581 # 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
|
582 # 180030501 is the full version number for Visual Studio 2013/VC 12 Update 2 |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
583 ! elseif $(MSVC_FULL) < 180030501 |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
584 ! message AVX2 Instruction Set is not supported by Visual C++ v$(MSVC_MAJOR)-$(MSVC_FULL) |
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
585 ! message Falling back to AVX |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
586 CPUARG = /arch:AVX |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
587 ! else |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
588 CPUARG = /arch:AVX2 |
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
589 ! endif |
1419 | 590 !endif |
11510
deb9295dccda
patch 8.0.0638: cannot build with new MSVC version
Christian Brabandt <cb@256bit.org>
parents:
10779
diff
changeset
|
591 |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
592 # 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
|
593 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
|
594 |
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
|
595 !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
|
596 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
|
597 ! 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
|
598 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
|
599 ! 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
|
600 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
|
601 ! 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
|
602 ! 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
|
603 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
|
604 ! 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
|
605 !endif |
1419 | 606 |
607 LIBC = | |
608 DEBUGINFO = /Zi | |
7 | 609 |
6797 | 610 # 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
|
611 !if $(MSVC_MAJOR) >= 14 |
6797 | 612 NODEFAULTLIB = |
613 !else | |
614 NODEFAULTLIB = /nodefaultlib | |
615 !endif | |
616 | |
19382
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
617 # Specify source code charset to suppress warning C4819 on non-English |
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
618 # environment. Only available from MSVC 14. |
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
619 !if $(MSVC_MAJOR) >= 14 |
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
620 CFLAGS = $(CFLAGS) /source-charset:utf-8 |
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
621 !endif |
e6f0b4fe0b6d
patch 8.2.0249: MS-Windows: various warnings
Bram Moolenaar <Bram@vim.org>
parents:
19380
diff
changeset
|
622 |
10398
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
623 # 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
|
624 !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
|
625 CFLAGS = $(CFLAGS) /MP |
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
626 !endif |
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
627 |
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
|
628 # 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
|
629 !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
|
630 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
|
631 !endif |
10398
2509ab895055
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Christian Brabandt <cb@256bit.org>
parents:
10264
diff
changeset
|
632 |
16017
6230ff29c39a
patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents:
16005
diff
changeset
|
633 # 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
|
634 # 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
|
635 !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
|
636 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
|
637 !endif |
6230ff29c39a
patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version
Bram Moolenaar <Bram@vim.org>
parents:
16005
diff
changeset
|
638 |
26589
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
639 # Address Sanitizer (ASAN) generally available starting with VS2019 version |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
640 # 16.9 |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
641 !if ("$(ASAN)" == "yes") && ($(MSVC_MAJOR) >= 14) |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
642 CFLAGS = $(CFLAGS) /fsanitize=address |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
643 !endif |
22896e358a90
patch 8.2.3824: no ASAN support for MSVC
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
644 |
7 | 645 !ifdef NODEBUG |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
646 |
7 | 647 VIM = vim |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
648 ! if "$(OPTIMIZE)" == "SPACE" |
7 | 649 OPTFLAG = /O1 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
650 ! elseif "$(OPTIMIZE)" == "SPEED" |
7 | 651 OPTFLAG = /O2 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
652 ! else # MAXSPEED |
7 | 653 OPTFLAG = /Ox |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
654 ! endif |
2242
bc4685345719
Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents:
2220
diff
changeset
|
655 |
1419 | 656 # Use link time code generation if not worried about size |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
657 ! if "$(OPTIMIZE)" != "SPACE" |
1419 | 658 OPTFLAG = $(OPTFLAG) /GL |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
659 ! endif |
2242
bc4685345719
Don't use pointers to store numbers, use a union.
Bram Moolenaar <bram@vim.org>
parents:
2220
diff
changeset
|
660 |
47 | 661 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG) |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
662 RCFLAGS = -DNDEBUG |
7 | 663 ! ifdef USE_MSVCRT |
1419 | 664 CFLAGS = $(CFLAGS) /MD |
7 | 665 LIBC = msvcrt.lib |
714 | 666 ! else |
27370
584f91cc2508
patch 8.2.4213: too much code for supporting old MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
27249
diff
changeset
|
667 CFLAGS = $(CFLAGS) /Zl /MT |
7 | 668 LIBC = libcmt.lib |
669 ! endif | |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
670 |
7 | 671 !else # DEBUG |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
672 |
7 | 673 VIM = vimd |
1569 | 674 ! if ("$(CPU)" == "i386") || ("$(CPU)" == "ix86") |
1419 | 675 DEBUGINFO = /ZI |
676 ! endif | |
268 | 677 CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Od |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
678 RCFLAGS = -D_DEBUG -DDEBUG |
27370
584f91cc2508
patch 8.2.4213: too much code for supporting old MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
27249
diff
changeset
|
679 # The /fixed:no is needed for Quantify. |
7 | 680 LIBC = /fixed:no |
426 | 681 ! ifdef USE_MSVCRT |
1419 | 682 CFLAGS = $(CFLAGS) /MDd |
7 | 683 LIBC = $(LIBC) msvcrtd.lib |
714 | 684 ! else |
27370
584f91cc2508
patch 8.2.4213: too much code for supporting old MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
27249
diff
changeset
|
685 CFLAGS = $(CFLAGS) /Zl /MTd |
426 | 686 LIBC = $(LIBC) libcmtd.lib |
7 | 687 ! endif |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
688 |
7 | 689 !endif # DEBUG |
690 | |
20403
eba6981e3c9c
patch 8.2.0756: MS-Windows: still a compiler warning
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
691 !if "$(CL)" == "/D_USING_V110_SDK71_" |
eba6981e3c9c
patch 8.2.0756: MS-Windows: still a compiler warning
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
692 RCFLAGS = $(RCFLAGS) /D_USING_V110_SDK71_ |
eba6981e3c9c
patch 8.2.0756: MS-Windows: still a compiler warning
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
693 !endif |
eba6981e3c9c
patch 8.2.0756: MS-Windows: still a compiler warning
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
694 |
19519
3e4c401a652f
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
Bram Moolenaar <Bram@vim.org>
parents:
19431
diff
changeset
|
695 # Visual Studio 2005 has 'deprecated' many of the standard CRT functions |
3e4c401a652f
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
Bram Moolenaar <Bram@vim.org>
parents:
19431
diff
changeset
|
696 CFLAGS_DEPR = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE |
3e4c401a652f
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
Bram Moolenaar <Bram@vim.org>
parents:
19431
diff
changeset
|
697 CFLAGS = $(CFLAGS) $(CFLAGS_DEPR) |
3e4c401a652f
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
Bram Moolenaar <Bram@vim.org>
parents:
19431
diff
changeset
|
698 |
14272
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
699 !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
|
700 !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
|
701 |
21789
f84625b961a8
patch 8.2.1444: error messages are spread out and names can be confusing
Bram Moolenaar <Bram@vim.org>
parents:
21779
diff
changeset
|
702 INCL = vim.h alloc.h ascii.h ex_cmds.h feature.h errors.h globals.h \ |
12525
626fb8e8bb8a
patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents:
12489
diff
changeset
|
703 keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \ |
26177
13e09dc59f0f
patch 8.2.3620: memory leak reported in libtlib
Bram Moolenaar <Bram@vim.org>
parents:
25529
diff
changeset
|
704 spell.h structs.h termdefs.h beval.h $(NBDEBUG_INCL) |
7 | 705 |
706 OBJ = \ | |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
25427
diff
changeset
|
707 $(OUTDIR)\alloc.obj \ |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
9389
diff
changeset
|
708 $(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
|
709 $(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
|
710 $(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
|
711 $(OUTDIR)\beval.obj \ |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
712 $(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
|
713 $(OUTDIR)\blowfish.obj \ |
7 | 714 $(OUTDIR)\buffer.obj \ |
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
715 $(OUTDIR)\bufwrite.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
|
716 $(OUTDIR)\change.obj \ |
7 | 717 $(OUTDIR)\charset.obj \ |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18199
diff
changeset
|
718 $(OUTDIR)\cindent.obj \ |
19920
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19774
diff
changeset
|
719 $(OUTDIR)\clientserver.obj \ |
19774
00a1b89256ea
patch 8.2.0443: clipboard code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19697
diff
changeset
|
720 $(OUTDIR)\clipboard.obj \ |
17779
87a8760babec
patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17744
diff
changeset
|
721 $(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
|
722 $(OUTDIR)\cmdhist.obj \ |
6126 | 723 $(OUTDIR)\crypt.obj \ |
724 $(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
|
725 $(OUTDIR)\debugger.obj \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
726 $(OUTDIR)\dict.obj \ |
7 | 727 $(OUTDIR)\diff.obj \ |
728 $(OUTDIR)\digraph.obj \ | |
18124
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
729 $(OUTDIR)\drawline.obj \ |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
730 $(OUTDIR)\drawscreen.obj \ |
7 | 731 $(OUTDIR)\edit.obj \ |
732 $(OUTDIR)\eval.obj \ | |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
733 $(OUTDIR)\evalbuffer.obj \ |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9566
diff
changeset
|
734 $(OUTDIR)\evalfunc.obj \ |
17873
d50a5faa75bd
patch 8.1.1933: the eval.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17861
diff
changeset
|
735 $(OUTDIR)\evalvars.obj \ |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
736 $(OUTDIR)\evalwindow.obj \ |
7 | 737 $(OUTDIR)\ex_cmds.obj \ |
738 $(OUTDIR)\ex_cmds2.obj \ | |
739 $(OUTDIR)\ex_docmd.obj \ | |
740 $(OUTDIR)\ex_eval.obj \ | |
741 $(OUTDIR)\ex_getln.obj \ | |
742 $(OUTDIR)\fileio.obj \ | |
17966
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17873
diff
changeset
|
743 $(OUTDIR)\filepath.obj \ |
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
15699
diff
changeset
|
744 $(OUTDIR)\findfile.obj \ |
24780
7bc92a651472
patch 8.2.2928: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
24689
diff
changeset
|
745 $(OUTDIR)\float.obj \ |
7 | 746 $(OUTDIR)\fold.obj \ |
747 $(OUTDIR)\getchar.obj \ | |
20637
6c5b11458f31
patch 8.2.0872: XIM code is mixed with multi-byte code
Bram Moolenaar <Bram@vim.org>
parents:
20587
diff
changeset
|
748 $(OUTDIR)\gui_xim.obj \ |
440 | 749 $(OUTDIR)\hardcopy.obj \ |
799 | 750 $(OUTDIR)\hashtab.obj \ |
21423
5db63c2c6929
patch 8.2.1262: src/ex_cmds.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
751 $(OUTDIR)\help.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
|
752 $(OUTDIR)\highlight.obj \ |
27370
584f91cc2508
patch 8.2.4213: too much code for supporting old MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
27249
diff
changeset
|
753 $(OUTDIR)\if_cscope.obj \ |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
15634
diff
changeset
|
754 $(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
|
755 $(OUTDIR)\insexpand.obj \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7699
diff
changeset
|
756 $(OUTDIR)\json.obj \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
757 $(OUTDIR)\list.obj \ |
21437
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
21423
diff
changeset
|
758 $(OUTDIR)\locale.obj \ |
7 | 759 $(OUTDIR)\main.obj \ |
17576
97a750e8707f
patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents:
17536
diff
changeset
|
760 $(OUTDIR)\map.obj \ |
7 | 761 $(OUTDIR)\mark.obj \ |
21054
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
20723
diff
changeset
|
762 $(OUTDIR)\match.obj \ |
7 | 763 $(OUTDIR)\mbyte.obj \ |
764 $(OUTDIR)\memfile.obj \ | |
765 $(OUTDIR)\memline.obj \ | |
766 $(OUTDIR)\menu.obj \ | |
767 $(OUTDIR)\message.obj \ | |
768 $(OUTDIR)\misc1.obj \ | |
769 $(OUTDIR)\misc2.obj \ | |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
18124
diff
changeset
|
770 $(OUTDIR)\mouse.obj \ |
7 | 771 $(OUTDIR)\move.obj \ |
772 $(OUTDIR)\normal.obj \ | |
773 $(OUTDIR)\ops.obj \ | |
774 $(OUTDIR)\option.obj \ | |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18064
diff
changeset
|
775 $(OUTDIR)\optionstr.obj \ |
7 | 776 $(OUTDIR)\os_mswin.obj \ |
777 $(OUTDIR)\os_win32.obj \ | |
778 $(OUTDIR)\pathdef.obj \ | |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
779 $(OUTDIR)\popupmenu.obj \ |
16778
eda4d65f232c
patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents:
16758
diff
changeset
|
780 $(OUTDIR)\popupwin.obj \ |
17370
ba06a1c42274
patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17157
diff
changeset
|
781 $(OUTDIR)\profiler.obj \ |
7 | 782 $(OUTDIR)\quickfix.obj \ |
783 $(OUTDIR)\regexp.obj \ | |
18164
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
784 $(OUTDIR)\register.obj \ |
17861
0a5c615cd949
patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17779
diff
changeset
|
785 $(OUTDIR)\scriptfile.obj \ |
7 | 786 $(OUTDIR)\screen.obj \ |
787 $(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
|
788 $(OUTDIR)\session.obj \ |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
789 $(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
|
790 $(OUTDIR)\sign.obj \ |
220 | 791 $(OUTDIR)\spell.obj \ |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
792 $(OUTDIR)\spellfile.obj \ |
18172
6e53d83e021d
patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
793 $(OUTDIR)\spellsuggest.obj \ |
25206
dc66d0284518
patch 8.2.3139: functions for string manipulation are spread out
Bram Moolenaar <Bram@vim.org>
parents:
24990
diff
changeset
|
794 $(OUTDIR)\strings.obj \ |
7 | 795 $(OUTDIR)\syntax.obj \ |
796 $(OUTDIR)\tag.obj \ | |
797 $(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
|
798 $(OUTDIR)\testing.obj \ |
20237
918245588b50
patch 8.2.0674: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
20209
diff
changeset
|
799 $(OUTDIR)\textformat.obj \ |
20209
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
20077
diff
changeset
|
800 $(OUTDIR)\textobject.obj \ |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15027
diff
changeset
|
801 $(OUTDIR)\textprop.obj \ |
19396
a961efb326e5
patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19382
diff
changeset
|
802 $(OUTDIR)\time.obj \ |
20587
f502455965c0
patch 8.2.0847: typval related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
20458
diff
changeset
|
803 $(OUTDIR)\typval.obj \ |
7 | 804 $(OUTDIR)\ui.obj \ |
805 $(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
|
806 $(OUTDIR)\usercmd.obj \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
807 $(OUTDIR)\userfunc.obj \ |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
808 $(OUTDIR)\vim9cmds.obj \ |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
809 $(OUTDIR)\vim9compile.obj \ |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
810 $(OUTDIR)\vim9execute.obj \ |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
811 $(OUTDIR)\vim9expr.obj \ |
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
812 $(OUTDIR)\vim9instr.obj \ |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
813 $(OUTDIR)\vim9script.obj \ |
21711
d2dee69de7c7
patch 8.2.1405: Vim9: vim9compile.c is getting too big
Bram Moolenaar <Bram@vim.org>
parents:
21662
diff
changeset
|
814 $(OUTDIR)\vim9type.obj \ |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17397
diff
changeset
|
815 $(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
|
816 $(OUTDIR)\winclip.obj \ |
7 | 817 $(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
|
818 |
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
|
819 !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
|
820 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
|
821 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
|
822 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
|
823 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
|
824 !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
|
825 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
|
826 !endif |
7 | 827 |
828 !if "$(OLE)" == "yes" | |
829 CFLAGS = $(CFLAGS) -DFEAT_OLE | |
830 RCFLAGS = $(RCFLAGS) -DFEAT_OLE | |
831 OLE_OBJ = $(OUTDIR)\if_ole.obj | |
832 OLE_IDL = if_ole.idl | |
833 OLE_LIB = oleaut32.lib | |
834 !endif | |
835 | |
19159
352b74803d3e
patch 8.2.0139: MS-Windows: default for IME is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
19106
diff
changeset
|
836 !ifndef IME |
352b74803d3e
patch 8.2.0139: MS-Windows: default for IME is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
19106
diff
changeset
|
837 IME = yes |
352b74803d3e
patch 8.2.0139: MS-Windows: default for IME is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
19106
diff
changeset
|
838 !endif |
7 | 839 !if "$(IME)" == "yes" |
840 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
|
841 ! ifndef DYNAMIC_IME |
7 | 842 DYNAMIC_IME = yes |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
843 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
844 ! if "$(DYNAMIC_IME)" == "yes" |
7 | 845 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
|
846 ! else |
7 | 847 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
|
848 ! endif |
7 | 849 !endif |
850 | |
851 !if "$(GUI)" == "yes" | |
852 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
|
853 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
|
854 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
|
855 ! 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
|
856 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
|
857 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
|
858 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
|
859 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
|
860 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
|
861 ! else |
7 | 862 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
|
863 ! endif |
7 | 864 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
|
865 gui.h |
7 | 866 GUI_OBJ = \ |
867 $(OUTDIR)\gui.obj \ | |
184 | 868 $(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
|
869 $(OUTDIR)\gui_w32.obj |
7 | 870 GUI_LIB = \ |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
871 version.lib $(IME_LIB) winspool.lib comctl32.lib |
7 | 872 !else |
873 SUBSYSTEM = console | |
9363
f9dda6450c76
commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents:
9324
diff
changeset
|
874 CUI_INCL = iscygpty.h |
f9dda6450c76
commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents:
9324
diff
changeset
|
875 CUI_OBJ = $(OUTDIR)\iscygpty.obj |
7 | 876 !endif |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
877 SUBSYSTEM_TOOLS = console |
7 | 878 |
14696
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
879 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
|
880 $(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
|
881 $(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
|
882 $(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
|
883 $(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
|
884 $(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
|
885 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
886 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
|
887 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
|
888 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
|
889 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
|
890 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
|
891 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
|
892 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
|
893 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
|
894 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
|
895 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
896 |
6149 | 897 !if "$(SUBSYSTEM_VER)" != "" |
898 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
|
899 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
|
900 ! 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
|
901 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
|
902 ! endif |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
903 # 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
|
904 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
|
905 MAKEFLAGS_TOOLS = $(MAKEFLAGS_TOOLS) SUBSYSTEM_VER=$(SUBSYSTEM_VER) |
6149 | 906 !endif |
907 | |
6110 | 908 !if "$(GUI)" == "yes" && "$(DIRECTX)" == "yes" |
909 CFLAGS = $(CFLAGS) $(DIRECTX_DEFS) | |
910 GUI_INCL = $(GUI_INCL) $(DIRECTX_INCL) | |
911 GUI_OBJ = $(GUI_OBJ) $(DIRECTX_OBJ) | |
912 !endif | |
913 | |
7 | 914 # iconv.dll library (dynamically loaded) |
915 !ifndef ICONV | |
916 ICONV = yes | |
917 !endif | |
918 !if "$(ICONV)" == "yes" | |
919 CFLAGS = $(CFLAGS) -DDYNAMIC_ICONV | |
920 !endif | |
921 | |
922 # libintl.dll library | |
923 !ifndef GETTEXT | |
924 GETTEXT = yes | |
925 !endif | |
926 !if "$(GETTEXT)" == "yes" | |
927 CFLAGS = $(CFLAGS) -DDYNAMIC_GETTEXT | |
928 !endif | |
929 | |
930 # TCL interface | |
931 !ifdef TCL | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
932 ! ifndef TCL_VER |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
933 TCL_VER = 86 |
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
934 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
|
935 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
936 ! 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
|
937 ! if "$(DYNAMIC_TCL)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
938 ! 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
|
939 ! ifndef TCL_DLL |
7 | 940 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
|
941 ! endif |
416 | 942 CFLAGS = $(CFLAGS) -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" \ |
943 -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\" | |
7 | 944 TCL_OBJ = $(OUTDIR)\if_tcl.obj |
945 TCL_INC = /I "$(TCL)\Include" /I "$(TCL)" | |
3369 | 946 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
|
947 ! else |
7 | 948 CFLAGS = $(CFLAGS) -DFEAT_TCL |
949 TCL_OBJ = $(OUTDIR)\if_tcl.obj | |
950 TCL_INC = /I "$(TCL)\Include" /I "$(TCL)" | |
951 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
|
952 ! endif |
7 | 953 !endif |
954 | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
955 # Lua interface |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
956 !ifdef LUA |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
957 ! ifndef LUA_VER |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
958 LUA_VER = 53 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
959 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
960 ! 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
|
961 ! if "$(DYNAMIC_LUA)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
962 ! 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
|
963 ! endif |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
964 CFLAGS = $(CFLAGS) -DFEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
965 LUA_OBJ = $(OUTDIR)\if_lua.obj |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
966 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
|
967 ! if "$(DYNAMIC_LUA)" == "yes" |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
968 CFLAGS = $(CFLAGS) -DDYNAMIC_LUA \ |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
969 -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\" |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
970 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
|
971 ! else |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
972 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
|
973 ! endif |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
974 !endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
975 |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
976 !ifdef PYTHON |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
977 ! ifdef PYTHON3 |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
978 DYNAMIC_PYTHON=yes |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
979 DYNAMIC_PYTHON3=yes |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
980 ! endif |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
981 !endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
982 |
7 | 983 # PYTHON interface |
984 !ifdef PYTHON | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
985 ! ifndef PYTHON_VER |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
986 PYTHON_VER = 27 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
987 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
988 ! 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
|
989 ! if "$(DYNAMIC_PYTHON)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
990 ! 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
|
991 ! endif |
7 | 992 CFLAGS = $(CFLAGS) -DFEAT_PYTHON |
993 PYTHON_OBJ = $(OUTDIR)\if_python.obj | |
994 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
|
995 ! if "$(DYNAMIC_PYTHON)" == "yes" |
416 | 996 CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON \ |
997 -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\" | |
7 | 998 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
|
999 ! else |
7 | 1000 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
|
1001 ! endif |
7 | 1002 !endif |
1003 | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1004 # PYTHON3 interface |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1005 !ifdef PYTHON3 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1006 ! ifndef PYTHON3_VER |
13018
8862bf5adf7b
patch 8.0.1385: Python 3.5 is getting old
Christian Brabandt <cb@256bit.org>
parents:
12871
diff
changeset
|
1007 PYTHON3_VER = 36 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1008 ! endif |
21662
21304d9c47e9
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Bram Moolenaar <Bram@vim.org>
parents:
21437
diff
changeset
|
1009 ! ifndef DYNAMIC_PYTHON3_DLL |
21304d9c47e9
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Bram Moolenaar <Bram@vim.org>
parents:
21437
diff
changeset
|
1010 DYNAMIC_PYTHON3_DLL = python$(PYTHON3_VER).dll |
21304d9c47e9
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Bram Moolenaar <Bram@vim.org>
parents:
21437
diff
changeset
|
1011 ! endif |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1012 ! 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
|
1013 ! if "$(DYNAMIC_PYTHON3)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1014 ! 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
|
1015 ! endif |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1016 CFLAGS = $(CFLAGS) -DFEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1017 PYTHON3_OBJ = $(OUTDIR)\if_python3.obj |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1018 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
|
1019 ! if "$(DYNAMIC_PYTHON3)" == "yes" |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1020 CFLAGS = $(CFLAGS) -DDYNAMIC_PYTHON3 \ |
21662
21304d9c47e9
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Bram Moolenaar <Bram@vim.org>
parents:
21437
diff
changeset
|
1021 -DDYNAMIC_PYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\" |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1022 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
|
1023 ! else |
21662
21304d9c47e9
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Bram Moolenaar <Bram@vim.org>
parents:
21437
diff
changeset
|
1024 CFLAGS = $(CFLAGS) -DPYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\" |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1025 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
|
1026 ! endif |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1027 !endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1028 |
14 | 1029 # MzScheme interface |
1030 !ifdef MZSCHEME | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1031 ! 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
|
1032 ! ifndef MZSCHEME_VER |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
1033 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
|
1034 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1035 ! ifndef MZSCHEME_COLLECTS |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1036 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
|
1037 ! endif |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1038 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
|
1039 ! if EXIST("$(MZSCHEME)\lib\msvc\libmzsch$(MZSCHEME_VER).lib") |
2628 | 1040 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
|
1041 ! else |
2628 | 1042 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
|
1043 ! endif |
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).dll") \ |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1045 && !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
|
1046 || (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
|
1047 && !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
|
1048 ! message Building with Precise GC |
1894 | 1049 MZSCHEME_PRECISE_GC = yes |
1050 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
|
1051 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1052 ! if "$(DYNAMIC_MZSCHEME)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1053 ! 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
|
1054 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
|
1055 ! if "$(MZSCHEME_PRECISE_GC)" == "yes" |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1056 # 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
|
1057 CFLAGS = $(CFLAGS) \ |
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1058 -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
|
1059 -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
|
1060 ! else |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1061 CFLAGS = $(CFLAGS) \ |
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1062 -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
|
1063 -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
|
1064 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1065 ! else |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1066 ! if "$(MZSCHEME_DEBUG)" == "yes" |
1894 | 1067 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
|
1068 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1069 ! if "$(MZSCHEME_PRECISE_GC)" == "yes" |
1894 | 1070 # 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
|
1071 ! 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
|
1072 # create .lib from .def |
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1073 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
|
1074 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
|
1075 ! else |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1076 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
|
1077 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1078 ! else |
7609
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1079 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
|
1080 "$(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
|
1081 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1082 ! endif |
14 | 1083 MZSCHEME_OBJ = $(OUTDIR)\if_mzsch.obj |
3348 | 1084 # increase stack size |
1085 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
|
1086 MZSCHEME_INCL = if_mzsch.h |
14 | 1087 !endif |
1088 | |
7 | 1089 # Perl interface |
1090 !ifdef PERL | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1091 ! ifndef PERL_VER |
10149
cd9823840f2e
commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents:
10138
diff
changeset
|
1092 PERL_VER = 524 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1093 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1094 ! 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
|
1095 ! if "$(DYNAMIC_PERL)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1096 ! if $(PERL_VER) >= 56 |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1097 ! 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
|
1098 ! else |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1099 ! 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
|
1100 ! 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
|
1101 ! undef DYNAMIC_PERL |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1102 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1103 ! endif |
7 | 1104 |
1105 # 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
|
1106 ! if exist($(PERL)\Bin\MSWin32-x86) |
7 | 1107 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
|
1108 ! endif |
7 | 1109 |
1110 PERL_INCDIR = $(PERL)\Lib$(PERL_ARCH)\Core | |
1111 | |
1112 # Version-dependent stuff | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1113 ! if $(PERL_VER) == 55 |
7 | 1114 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
|
1115 ! else |
7 | 1116 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
|
1117 ! if exist($(PERL_INCDIR)\perl$(PERL_VER).lib) |
7 | 1118 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
|
1119 ! else |
5560 | 1120 # For ActivePerl 5.18 and later |
1121 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
|
1122 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1123 ! endif |
7 | 1124 |
6872 | 1125 CFLAGS = $(CFLAGS) -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS |
7 | 1126 |
1127 # 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
|
1128 ! if "$(DYNAMIC_PERL)" == "yes" |
7 | 1129 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
|
1130 ! undef PERL_LIB |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1131 ! endif |
7 | 1132 |
1133 PERL_EXE = $(PERL)\Bin$(PERL_ARCH)\perl | |
1134 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
|
1135 ! if $(MSVC_MAJOR) <= 11 |
7414
d467ca80d3c1
commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Christian Brabandt <cb@256bit.org>
parents:
7324
diff
changeset
|
1136 # 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
|
1137 # Use a stub stdbool.h. |
d467ca80d3c1
commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Christian Brabandt <cb@256bit.org>
parents:
7324
diff
changeset
|
1138 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
|
1139 ! endif |
7 | 1140 PERL_OBJ = $(OUTDIR)\if_perl.obj $(OUTDIR)\if_perlsfio.obj |
1141 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
|
1142 ! if exist($(XSUBPP)) |
3064 | 1143 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
|
1144 ! else |
3064 | 1145 XSUBPP = xsubpp |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1146 ! endif |
7 | 1147 XSUBPP_TYPEMAP = $(PERL)\lib\ExtUtils\typemap |
1148 | |
1149 !endif | |
1150 | |
1151 # | |
1152 # Support Ruby interface | |
1153 # | |
1154 !ifdef RUBY | |
1155 # Set default value | |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1156 ! ifndef RUBY_VER |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
1157 RUBY_VER = 22 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1158 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1159 ! ifndef RUBY_VER_LONG |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
1160 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
|
1161 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1162 ! ifndef RUBY_API_VER_LONG |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
1163 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
|
1164 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1165 ! ifndef RUBY_API_VER |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
1166 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
|
1167 ! endif |
7 | 1168 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1169 ! if $(RUBY_VER) >= 18 |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1170 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1171 ! ifndef RUBY_PLATFORM |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1172 ! if "$(CPU)" == "i386" |
7 | 1173 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
|
1174 ! else # CPU |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1175 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
|
1176 ! endif # CPU |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1177 ! 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
|
1178 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
|
1179 ! endif # MSVCRT_VER |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1180 ! endif # RUBY_PLATFORM |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1181 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1182 ! ifndef RUBY_INSTALL_NAME |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1183 ! ifndef RUBY_MSVCRT_NAME |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1184 # 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
|
1185 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
|
1186 ! endif # RUBY_MSVCRT_NAME |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1187 ! if "$(CPU)" == "i386" |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1188 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
|
1189 ! else # CPU |
27486
c7e18e99dbe8
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Bram Moolenaar <Bram@vim.org>
parents:
27484
diff
changeset
|
1190 ! if EXIST($(RUBY)/lib/ruby/$(RUBY_API_VER_LONG)/x64-mingw-ucrt) |
c7e18e99dbe8
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Bram Moolenaar <Bram@vim.org>
parents:
27484
diff
changeset
|
1191 RUBY_INSTALL_NAME = x64-ucrt-ruby$(RUBY_API_VER) |
c7e18e99dbe8
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Bram Moolenaar <Bram@vim.org>
parents:
27484
diff
changeset
|
1192 ! else |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1193 RUBY_INSTALL_NAME = x64-$(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER) |
27486
c7e18e99dbe8
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Bram Moolenaar <Bram@vim.org>
parents:
27484
diff
changeset
|
1194 ! endif |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1195 ! endif # CPU |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1196 ! endif # RUBY_INSTALL_NAME |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1197 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1198 ! else # $(RUBY_VER) >= 18 |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1199 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1200 ! ifndef RUBY_PLATFORM |
7 | 1201 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
|
1202 ! endif |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1203 ! ifndef RUBY_INSTALL_NAME |
3722 | 1204 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
|
1205 ! endif |
7521
665330ac1d78
commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
1206 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1207 ! endif # $(RUBY_VER) >= 18 |
7 | 1208 |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1209 ! message Ruby requested (version $(RUBY_VER)) - root dir is "$(RUBY)" |
7 | 1210 CFLAGS = $(CFLAGS) -DFEAT_RUBY |
1211 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
|
1212 ! 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
|
1213 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
|
1214 ! else |
10138
8bfcb960e6bd
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents:
10062
diff
changeset
|
1215 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
|
1216 ! endif |
7 | 1217 RUBY_LIB = $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib |
1218 # 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
|
1219 ! if "$(DYNAMIC_RUBY)" == "yes" |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1220 ! message Ruby DLL will be loaded dynamically |
19079
23df4b83fd31
patch 8.2.0100: macros for Ruby are too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19042
diff
changeset
|
1221 CFLAGS = $(CFLAGS) -DDYNAMIC_RUBY \ |
23df4b83fd31
patch 8.2.0100: macros for Ruby are too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19042
diff
changeset
|
1222 -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
|
1223 ! undef RUBY_LIB |
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1224 ! endif |
19079
23df4b83fd31
patch 8.2.0100: macros for Ruby are too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19042
diff
changeset
|
1225 CFLAGS = $(CFLAGS) -DRUBY_VERSION=$(RUBY_VER) |
7 | 1226 !endif # RUBY |
1227 | |
1228 # | |
1229 # Support PostScript printing | |
1230 # | |
1231 !if "$(POSTSCRIPT)" == "yes" | |
1232 CFLAGS = $(CFLAGS) -DMSWINPS | |
1233 !endif # POSTSCRIPT | |
1234 | |
1235 # | |
1236 # FEATURES: TINY, SMALL, NORMAL, BIG or HUGE | |
1237 # | |
1238 CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES) | |
1239 | |
1240 # | |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1241 # MODIFIED_BY - Name of who modified a release version |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1242 # |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1243 !if "$(MODIFIED_BY)" != "" |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1244 CFLAGS = $(CFLAGS) -DMODIFIED_BY=\"$(MODIFIED_BY)\" |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1245 !endif |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1246 |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1247 # |
268 | 1248 # Always generate the .pdb file, so that we get debug symbols that can be used |
1249 # on a crash (doesn't add overhead to the executable). | |
1419 | 1250 # Generate edit-and-continue debug info when no optimization - allows to |
1251 # debug more conveniently (able to look at variables which are in registers) | |
268 | 1252 # |
1419 | 1253 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
|
1254 !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
|
1255 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
|
1256 !else |
1419 | 1257 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
|
1258 !endif |
268 | 1259 |
1260 # | |
1261 # End extra feature include | |
7 | 1262 # |
1263 !message | |
1264 | |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1265 # 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
|
1266 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
|
1267 |
659 | 1268 PATHDEF_SRC = $(OUTDIR)\pathdef.c |
1269 | |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1270 LINKARGS1 = /nologo |
27203
01cd3323e4cf
patch 8.2.4130: MS-Windows: MSVC build may have libraries duplicated
Bram Moolenaar <Bram@vim.org>
parents:
27104
diff
changeset
|
1271 LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(NODEFAULTLIB) $(LIBC) $(OLE_LIB) \ |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1272 $(LUA_LIB) $(MZSCHEME_LIB) $(PERL_LIB) $(PYTHON_LIB) $(PYTHON3_LIB) $(RUBY_LIB) \ |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24780
diff
changeset
|
1273 $(TCL_LIB) $(SOUND_LIB) $(NETBEANS_LIB) $(XPM_LIB) $(SOD_LIB) $(LINK_PDB) |
7 | 1274 |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1275 !ifdef NODEBUG |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1276 # Add /opt:ref to remove unreferenced functions and data even when /DEBUG is |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1277 # added. |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1278 LINKARGS1 = $(LINKARGS1) /opt:ref |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1279 !else |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1280 LINKARGS1 = $(LINKARGS1) /opt:noref /opt:noicf |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1281 !endif |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1282 |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1283 !if "$(MAP)" == "yes" |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1284 # "/map" is for debugging |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1285 LINKARGS1 = $(LINKARGS1) /map |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1286 !elseif "$(MAP)" == "lines" |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1287 # "/mapinfo:lines" is for debugging, only works for VC6 and later |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1288 LINKARGS1 = $(LINKARGS1) /map /mapinfo:lines |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1289 !endif |
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1290 |
27388
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1291 # Enable link time code generation if needed. |
1419 | 1292 !ifdef NODEBUG |
27384
0b1acd38c7de
patch 8.2.4220: MS-Windows: some old compiler support remains
Bram Moolenaar <Bram@vim.org>
parents:
27370
diff
changeset
|
1293 ! if "$(OPTIMIZE)" != "SPACE" |
27388
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1294 ! if "$(CI)" == "true" || "$(CI)" == "True" |
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1295 # Enable link time code generation, but do not show the progress. |
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1296 LINKARGS1 = $(LINKARGS1) /LTCG |
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1297 ! else |
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1298 # Report link time code generation progress. |
1419 | 1299 LINKARGS1 = $(LINKARGS1) /LTCG:STATUS |
27388
83bd6e25d0b6
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents:
27384
diff
changeset
|
1300 ! endif |
16623
23a9d0c624fa
patch 8.1.1314: MSVC makefile is not nicely indented
Bram Moolenaar <Bram@vim.org>
parents:
16580
diff
changeset
|
1301 ! endif |
1419 | 1302 !endif |
1303 | |
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
|
1304 !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
|
1305 # 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
|
1306 # 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
|
1307 # 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
|
1308 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
|
1309 !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
|
1310 |
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
|
1311 !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
|
1312 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
|
1313 !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
|
1314 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
|
1315 !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
|
1316 |
18404
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1317 # Target to run individual tests. |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1318 VIMTESTTARGET = $(VIM).exe |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1319 |
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
|
1320 all: $(MAIN_TARGET) \ |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1321 vimrun.exe \ |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1322 install.exe \ |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
1323 uninstall.exe \ |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1324 xxd/xxd.exe \ |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1325 tee/tee.exe \ |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1326 GvimExt/gvimext.dll |
7 | 1327 |
17395
119a53a4cb0e
patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
1328 # To get around the command line limit: Make use of nmake's response files to |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1329 # capture the arguments for $(LINK) in a file using the @<<ARGS<< syntax. |
17395
119a53a4cb0e
patch 8.1.1696: MSVC: link command line is too long
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
1330 |
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
|
1331 !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
|
1332 |
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
|
1333 $(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
|
1334 $(LUA_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) $(TCL_OBJ) \ |
17996
03a53a45c2ca
patch 8.1.1994: MS-Windows: cannot build with eval but without cscope
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
1335 $(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
|
1336 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
|
1337 $(CC) $(CFLAGS_OUTDIR) version.c |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1338 $(LINK) @<< |
17397
aa5faf7dca24
patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents:
17395
diff
changeset
|
1339 $(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
|
1340 $(LUA_OBJ) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) |
17996
03a53a45c2ca
patch 8.1.1994: MS-Windows: cannot build with eval but without cscope
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
1341 $(TCL_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
|
1342 $(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
|
1343 << |
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
|
1344 |
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
|
1345 $(GVIM).exe: $(OUTDIR) $(EXEOBJG) $(VIMDLLBASE).dll |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1346 $(LINK) $(LINKARGS1) /subsystem:$(SUBSYSTEM) -out:$(GVIM).exe $(EXEOBJG) $(VIMDLLBASE).lib $(LIBC) |
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
|
1347 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
|
1348 |
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
|
1349 $(VIM).exe: $(OUTDIR) $(EXEOBJC) $(VIMDLLBASE).dll |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1350 $(LINK) $(LINKARGS1) /subsystem:$(SUBSYSTEM_CON) -out:$(VIM).exe $(EXEOBJC) $(VIMDLLBASE).lib $(LIBC) |
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
|
1351 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
|
1352 |
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
|
1353 !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
|
1354 |
14696
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1355 $(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
|
1356 $(LUA_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) $(TCL_OBJ) \ |
17996
03a53a45c2ca
patch 8.1.1994: MS-Windows: cannot build with eval but without cscope
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
1357 $(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
|
1358 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
|
1359 $(CC) $(CFLAGS_OUTDIR) version.c |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1360 $(LINK) @<< |
17397
aa5faf7dca24
patch 8.1.1697: cannot build with MSVC
Bram Moolenaar <Bram@vim.org>
parents:
17395
diff
changeset
|
1361 $(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
|
1362 $(LUA_OBJ) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) |
17996
03a53a45c2ca
patch 8.1.1994: MS-Windows: cannot build with eval but without cscope
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
1363 $(TCL_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
|
1364 $(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
|
1365 << |
5925 | 1366 if exist $(VIM).exe.manifest mt.exe -nologo -manifest $(VIM).exe.manifest -updateresource:$(VIM).exe;1 |
7 | 1367 |
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
|
1368 !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
|
1369 |
388 | 1370 $(VIM): $(VIM).exe |
7 | 1371 |
1372 $(OUTDIR): | |
39 | 1373 if not exist $(OUTDIR)/nul mkdir $(OUTDIR) |
7 | 1374 |
19431
9800e126eaa2
patch 8.2.0273: MS-Windows uninstall may delete wrong batch file
Bram Moolenaar <Bram@vim.org>
parents:
19396
diff
changeset
|
1375 CFLAGS_INST = /nologo /O2 -DNDEBUG -DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) $(CFLAGS_DEPR) |
19380
1e78bf92f168
patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19376
diff
changeset
|
1376 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1377 install.exe: dosinst.c dosinst.h version.h |
19380
1e78bf92f168
patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19376
diff
changeset
|
1378 $(CC) $(CFLAGS_INST) 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
|
1379 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
|
1380 -link -subsystem:$(SUBSYSTEM_TOOLS) |
7 | 1381 - if exist install.exe del install.exe |
1382 ren dosinst.exe install.exe | |
1383 | |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1384 uninstall.exe: uninstall.c dosinst.h version.h |
19380
1e78bf92f168
patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated
Bram Moolenaar <Bram@vim.org>
parents:
19376
diff
changeset
|
1385 $(CC) $(CFLAGS_INST) uninstall.c shell32.lib advapi32.lib \ |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
1386 -link -subsystem:$(SUBSYSTEM_TOOLS) |
7 | 1387 |
1388 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
|
1389 $(CC) /nologo -DNDEBUG vimrun.c -link -subsystem:$(SUBSYSTEM_TOOLS) |
7 | 1390 |
1391 xxd/xxd.exe: xxd/xxd.c | |
1392 cd xxd | |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
1393 $(MAKE) /NOLOGO -f Make_mvc.mak $(MAKEFLAGS_TOOLS) |
7 | 1394 cd .. |
1395 | |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1396 tee/tee.exe: tee/tee.c |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1397 cd tee |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12525
diff
changeset
|
1398 $(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
|
1399 cd .. |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
7433
diff
changeset
|
1400 |
7 | 1401 GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h |
1402 cd GvimExt | |
1403 $(MAKE) /NOLOGO -f Makefile $(MAKEFLAGS_GVIMEXT) | |
1404 cd .. | |
1405 | |
1406 | |
1407 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
|
1408 $(CTAGS) $(TAGS_FILES) |
7 | 1409 |
1410 notags: | |
1411 - if exist tags del tags | |
1412 | |
18404
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1413 clean: testclean |
444 | 1414 - if exist $(OUTDIR)/nul $(DEL_TREE) $(OUTDIR) |
7 | 1415 - if exist *.obj del *.obj |
1416 - if exist $(VIM).exe del $(VIM).exe | |
1417 - if exist $(VIM).ilk del $(VIM).ilk | |
1418 - if exist $(VIM).pdb del $(VIM).pdb | |
1419 - if exist $(VIM).map del $(VIM).map | |
1420 - 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
|
1421 !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
|
1422 - 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
|
1423 - 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
|
1424 - if exist $(VIMDLLBASE).dll del $(VIMDLLBASE).dll |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1425 - if exist $(VIMDLLBASE).ilk del $(VIMDLLBASE).ilk |
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 - 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
|
1427 - 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
|
1428 - 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
|
1429 - 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
|
1430 !endif |
7 | 1431 - if exist vimrun.exe del vimrun.exe |
1432 - if exist install.exe del install.exe | |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
1433 - if exist uninstall.exe del uninstall.exe |
7 | 1434 - 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
|
1435 - if exist auto\if_perl.c del auto\if_perl.c |
7 | 1436 - if exist dosinst.exe del dosinst.exe |
1437 cd xxd | |
1438 $(MAKE) /NOLOGO -f Make_mvc.mak clean | |
1439 cd .. | |
7555
5bbfac219f20
commit https://github.com/vim/vim/commit/d08a8d4a31ed10225aca6be7565220fa541c32ac
Christian Brabandt <cb@256bit.org>
parents:
7521
diff
changeset
|
1440 cd tee |
5bbfac219f20
commit https://github.com/vim/vim/commit/d08a8d4a31ed10225aca6be7565220fa541c32ac
Christian Brabandt <cb@256bit.org>
parents:
7521
diff
changeset
|
1441 $(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
|
1442 cd .. |
7 | 1443 cd GvimExt |
1444 $(MAKE) /NOLOGO -f Makefile clean | |
1445 cd .. | |
1446 | |
18853
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1447 # Run vim script to generate the Ex command lookup table. |
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1448 # This only needs to be run when a command name has been added or changed. |
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1449 # If this fails because you don't have Vim yet, first build and install Vim |
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1450 # without changes. |
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1451 cmdidxs: ex_cmds.h |
27484
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1452 vim --clean -N -X --not-a-term -u create_cmdidxs.vim -c quit |
18853
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1453 |
27447
4050f0554902
patch 8.2.4252: generating the normal command table at runtime is inefficient
Bram Moolenaar <Bram@vim.org>
parents:
27432
diff
changeset
|
1454 # Run vim script to generate the normal/visual mode command lookup table. |
4050f0554902
patch 8.2.4252: generating the normal command table at runtime is inefficient
Bram Moolenaar <Bram@vim.org>
parents:
27432
diff
changeset
|
1455 # This only needs to be run when a new normal/visual mode command has been |
4050f0554902
patch 8.2.4252: generating the normal command table at runtime is inefficient
Bram Moolenaar <Bram@vim.org>
parents:
27432
diff
changeset
|
1456 # added. If this fails because you don't have Vim yet: |
27484
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1457 # - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command. |
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1458 # - run "make nvcmdidxs" to generate nv_cmdidxs.h |
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1459 nvcmdidxs: nv_cmds.h |
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1460 $(CC) /nologo -I. -Iproto -DNDEBUG create_nvcmdidxs.c -link -subsystem:$(SUBSYSTEM_TOOLS) |
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1461 vim --clean -N -X --not-a-term -u create_nvcmdidxs.vim -c quit |
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1462 -del create_nvcmdidxs.exe |
27447
4050f0554902
patch 8.2.4252: generating the normal command table at runtime is inefficient
Bram Moolenaar <Bram@vim.org>
parents:
27432
diff
changeset
|
1463 |
7 | 1464 test: |
1465 cd testdir | |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1466 $(MAKE) /NOLOGO -f Make_dos.mak |
7 | 1467 cd .. |
1468 | |
7433
b5d07f5e78ba
commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents:
7414
diff
changeset
|
1469 testgvim: |
b5d07f5e78ba
commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents:
7414
diff
changeset
|
1470 cd testdir |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1471 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\gvim |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1472 cd .. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1473 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1474 testtiny: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1475 cd testdir |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1476 $(MAKE) /NOLOGO -f Make_dos.mak tiny |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1477 cd .. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1478 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1479 testgvimtiny: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1480 cd testdir |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1481 $(MAKE) /NOLOGO -f Make_dos.mak tiny VIMPROG=..\gvim |
7433
b5d07f5e78ba
commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents:
7414
diff
changeset
|
1482 cd .. |
b5d07f5e78ba
commit https://github.com/vim/vim/commit/7eae47af89580df07a72079405a0e7b8aad784a8
Christian Brabandt <cb@256bit.org>
parents:
7414
diff
changeset
|
1483 |
47 | 1484 testclean: |
1485 cd testdir | |
1486 $(MAKE) /NOLOGO -f Make_dos.mak clean | |
1487 cd .. | |
1488 | |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1489 # Run individual OLD style test. |
18404
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1490 # These do not depend on the executable, compile it when needed. |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
1491 $(SCRIPTS_TINY): |
18404
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1492 cd testdir |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1493 - if exist $@.out del $@.out |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1494 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) nolog |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1495 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) $@.out |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1496 @ if exist test.log ( type test.log & exit /b 1 ) |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1497 cd .. |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1498 |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1499 # Run individual NEW style test. |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1500 # These do not depend on the executable, compile it when needed. |
14272
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
1501 $(NEW_TESTS): |
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
1502 cd testdir |
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
1503 - if exist $@.res del $@.res |
18404
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1504 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) nolog |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1505 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) $@.res |
b1a10a018f83
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Bram Moolenaar <Bram@vim.org>
parents:
18271
diff
changeset
|
1506 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) report |
14272
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
1507 cd .. |
5403d789674f
patch 8.1.0152: cannot easily run individual tests on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
14133
diff
changeset
|
1508 |
23986
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1509 # Run Vim9 tests. |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1510 # These do not depend on the executable, compile it when needed. |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1511 test_vim9: |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1512 cd testdir |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1513 -del test_vim9_*.res |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1514 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) nolog |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1515 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) $(TEST_VIM9_RES) |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1516 $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) report |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1517 cd .. |
c1ba42fa843f
patch 8.2.2535: MS-Windows: cannot run all vim9 tests
Bram Moolenaar <Bram@vim.org>
parents:
22880
diff
changeset
|
1518 |
7 | 1519 ########################################################################### |
1520 | |
1521 # Create a default rule for transforming .c files to .obj files in $(OUTDIR) | |
1522 .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
|
1523 $(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
|
1524 |
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
|
1525 # 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
|
1526 {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
|
1527 $(CC) $(CFLAGS_OUTDIR) $< |
7 | 1528 |
1529 # Create a default rule for transforming .cpp files to .obj files in $(OUTDIR) | |
1530 .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
|
1531 $(CC) $(CFLAGS_OUTDIR) $< |
7 | 1532 |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
25427
diff
changeset
|
1533 $(OUTDIR)/alloc.obj: $(OUTDIR) alloc.c $(INCL) |
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
25427
diff
changeset
|
1534 |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
9389
diff
changeset
|
1535 $(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
|
1536 |
17744
4a3dca734d36
patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
1537 $(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
|
1538 |
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
|
1539 $(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
|
1540 |
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
|
1541 $(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
|
1542 |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1543 $(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
|
1544 |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
2101
diff
changeset
|
1545 $(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
|
1546 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1547 $(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL) version.h |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
2101
diff
changeset
|
1548 |
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
1549 $(OUTDIR)/bufwrite.obj: $(OUTDIR) bufwrite.c $(INCL) |
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
1550 |
16632
30de89c1d090
patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents:
16623
diff
changeset
|
1551 $(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
|
1552 |
7 | 1553 $(OUTDIR)/charset.obj: $(OUTDIR) charset.c $(INCL) |
1554 | |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18199
diff
changeset
|
1555 $(OUTDIR)/cindent.obj: $(OUTDIR) cindent.c $(INCL) |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18199
diff
changeset
|
1556 |
19920
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19774
diff
changeset
|
1557 $(OUTDIR)/clientserver.obj: $(OUTDIR) clientserver.c $(INCL) |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19774
diff
changeset
|
1558 |
19774
00a1b89256ea
patch 8.2.0443: clipboard code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19697
diff
changeset
|
1559 $(OUTDIR)/clipboard.obj: $(OUTDIR) clipboard.c $(INCL) |
00a1b89256ea
patch 8.2.0443: clipboard code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19697
diff
changeset
|
1560 |
17779
87a8760babec
patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17744
diff
changeset
|
1561 $(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
|
1562 |
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17576
diff
changeset
|
1563 $(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
|
1564 |
6126 | 1565 $(OUTDIR)/crypt.obj: $(OUTDIR) crypt.c $(INCL) |
1566 | |
1567 $(OUTDIR)/crypt_zip.obj: $(OUTDIR) crypt_zip.c $(INCL) | |
1568 | |
16381
1dcbaa780b8e
patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
16229
diff
changeset
|
1569 $(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
|
1570 |
9566
9ea5a5f6cba2
commit https://github.com/vim/vim/commit/a9093fe0946032b1bcaecaad82bfaf6763195aa4
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
1571 $(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
|
1572 |
7 | 1573 $(OUTDIR)/diff.obj: $(OUTDIR) diff.c $(INCL) |
1574 | |
14696
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1575 $(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
|
1576 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1577 $(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
|
1578 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1579 $(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
|
1580 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1581 $(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
|
1582 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1583 $(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
|
1584 |
195e8b1fcbbf
patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
14272
diff
changeset
|
1585 $(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
|
1586 |
7 | 1587 $(OUTDIR)/digraph.obj: $(OUTDIR) digraph.c $(INCL) |
1588 | |
18124
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1589 $(OUTDIR)/drawline.obj: $(OUTDIR) drawline.c $(INCL) |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1590 |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1591 $(OUTDIR)/drawscreen.obj: $(OUTDIR) drawscreen.c $(INCL) |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1592 |
7 | 1593 $(OUTDIR)/edit.obj: $(OUTDIR) edit.c $(INCL) |
1594 | |
1595 $(OUTDIR)/eval.obj: $(OUTDIR) eval.c $(INCL) | |
1596 | |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1597 $(OUTDIR)/evalbuffer.obj: $(OUTDIR) evalbuffer.c $(INCL) |
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1598 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1599 $(OUTDIR)/evalfunc.obj: $(OUTDIR) evalfunc.c $(INCL) version.h |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9566
diff
changeset
|
1600 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1601 $(OUTDIR)/evalvars.obj: $(OUTDIR) evalvars.c $(INCL) version.h |
17873
d50a5faa75bd
patch 8.1.1933: the eval.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17861
diff
changeset
|
1602 |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1603 $(OUTDIR)/evalwindow.obj: $(OUTDIR) evalwindow.c $(INCL) |
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1604 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1605 $(OUTDIR)/ex_cmds.obj: $(OUTDIR) ex_cmds.c $(INCL) version.h |
7 | 1606 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1607 $(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL) version.h |
7 | 1608 |
18853
5ecefcbd12a1
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
18844
diff
changeset
|
1609 $(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL) ex_cmdidxs.h |
7 | 1610 |
12525
626fb8e8bb8a
patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents:
12489
diff
changeset
|
1611 $(OUTDIR)/ex_eval.obj: $(OUTDIR) ex_eval.c $(INCL) |
7 | 1612 |
1613 $(OUTDIR)/ex_getln.obj: $(OUTDIR) ex_getln.c $(INCL) | |
1614 | |
1615 $(OUTDIR)/fileio.obj: $(OUTDIR) fileio.c $(INCL) | |
1616 | |
17966
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17873
diff
changeset
|
1617 $(OUTDIR)/filepath.obj: $(OUTDIR) filepath.c $(INCL) |
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17873
diff
changeset
|
1618 |
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
15699
diff
changeset
|
1619 $(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
|
1620 |
24780
7bc92a651472
patch 8.2.2928: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
24689
diff
changeset
|
1621 $(OUTDIR)/float.obj: $(OUTDIR) float.c $(INCL) |
7bc92a651472
patch 8.2.2928: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
24689
diff
changeset
|
1622 |
7 | 1623 $(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL) |
1624 | |
1625 $(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL) | |
1626 | |
20637
6c5b11458f31
patch 8.2.0872: XIM code is mixed with multi-byte code
Bram Moolenaar <Bram@vim.org>
parents:
20587
diff
changeset
|
1627 $(OUTDIR)/gui_xim.obj: $(OUTDIR) gui_xim.c $(INCL) |
6c5b11458f31
patch 8.2.0872: XIM code is mixed with multi-byte code
Bram Moolenaar <Bram@vim.org>
parents:
20587
diff
changeset
|
1628 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1629 $(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL) version.h |
440 | 1630 |
799 | 1631 $(OUTDIR)/hashtab.obj: $(OUTDIR) hashtab.c $(INCL) |
119 | 1632 |
21423
5db63c2c6929
patch 8.2.1262: src/ex_cmds.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
1633 $(OUTDIR)/help.obj: $(OUTDIR) help.c $(INCL) |
5db63c2c6929
patch 8.2.1262: src/ex_cmds.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
1634 |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
17377
diff
changeset
|
1635 $(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
|
1636 |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
15634
diff
changeset
|
1637 $(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
|
1638 |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16068
diff
changeset
|
1639 $(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
|
1640 |
7 | 1641 $(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL) |
1642 | |
184 | 1643 $(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL) |
1644 | |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1645 $(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL) version.h |
7 | 1646 |
16758
bb4071e79ade
patch 8.1.1381: MS-Windows: missing build dependency
Bram Moolenaar <Bram@vim.org>
parents:
16756
diff
changeset
|
1647 $(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp gui_dwrite.h |
6110 | 1648 |
27104
92e0b1f2b72f
patch 8.2.4081: CodeQL reports problem in if_cscope causing it to fail
Bram Moolenaar <Bram@vim.org>
parents:
26662
diff
changeset
|
1649 $(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL) |
7 | 1650 |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
1651 $(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
|
1652 $(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2311
diff
changeset
|
1653 |
14925
8b1b3228c410
patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
14818
diff
changeset
|
1654 auto/if_perl.c : if_perl.xs typemap |
19374
f123c6732cf3
patch 8.2.0245: MSVC: error message if the auto directory already exists
Bram Moolenaar <Bram@vim.org>
parents:
19181
diff
changeset
|
1655 -if not exist auto/nul mkdir auto |
3064 | 1656 $(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
|
1657 -typemap typemap if_perl.xs -output $@ |
7 | 1658 |
14925
8b1b3228c410
patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
14818
diff
changeset
|
1659 $(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
|
1660 $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) auto/if_perl.c |
7 | 1661 |
1662 $(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
|
1663 $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perlsfio.c |
7 | 1664 |
12525
626fb8e8bb8a
patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents:
12489
diff
changeset
|
1665 $(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
|
1666 $(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
|
1667 -DMZSCHEME_COLLECTS="\"$(MZSCHEME_COLLECTS:\=\\)\"" |
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1668 |
77a14f3bc18b
commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents:
7591
diff
changeset
|
1669 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
|
1670 lib /DEF:"$(MZSCHEME)\lib\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).def" |
14 | 1671 |
4724
450e13fe1621
updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents:
4446
diff
changeset
|
1672 $(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
|
1673 $(CC) $(CFLAGS_OUTDIR) $(PYTHON_INC) if_python.c |
7 | 1674 |
4724
450e13fe1621
updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents:
4446
diff
changeset
|
1675 $(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
|
1676 $(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
|
1677 |
7 | 1678 $(OUTDIR)/if_ole.obj: $(OUTDIR) if_ole.cpp $(INCL) if_ole.h |
1679 | |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1680 $(OUTDIR)/if_ruby.obj: $(OUTDIR) if_ruby.c $(INCL) 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
|
1681 $(CC) $(CFLAGS_OUTDIR) $(RUBY_INC) if_ruby.c |
7 | 1682 |
1683 $(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
|
1684 $(CC) $(CFLAGS_OUTDIR) $(TCL_INC) if_tcl.c |
7 | 1685 |
9363
f9dda6450c76
commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents:
9324
diff
changeset
|
1686 $(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
|
1687 $(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
|
1688 |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
1689 $(OUTDIR)/job.obj: $(OUTDIR) job.c $(INCL) |
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
1690 |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7699
diff
changeset
|
1691 $(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
|
1692 |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
1693 $(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
|
1694 |
21437
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
21423
diff
changeset
|
1695 $(OUTDIR)/locale.obj: $(OUTDIR) locale.c $(INCL) |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
21423
diff
changeset
|
1696 |
9363
f9dda6450c76
commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents:
9324
diff
changeset
|
1697 $(OUTDIR)/main.obj: $(OUTDIR) main.c $(INCL) $(CUI_INCL) |
7 | 1698 |
17576
97a750e8707f
patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents:
17536
diff
changeset
|
1699 $(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
|
1700 |
7 | 1701 $(OUTDIR)/mark.obj: $(OUTDIR) mark.c $(INCL) |
1702 | |
21054
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
20723
diff
changeset
|
1703 $(OUTDIR)/match.obj: $(OUTDIR) match.c $(INCL) |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
20723
diff
changeset
|
1704 |
7 | 1705 $(OUTDIR)/memfile.obj: $(OUTDIR) memfile.c $(INCL) |
1706 | |
1707 $(OUTDIR)/memline.obj: $(OUTDIR) memline.c $(INCL) | |
1708 | |
1709 $(OUTDIR)/menu.obj: $(OUTDIR) menu.c $(INCL) | |
1710 | |
1711 $(OUTDIR)/message.obj: $(OUTDIR) message.c $(INCL) | |
1712 | |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1713 $(OUTDIR)/misc1.obj: $(OUTDIR) misc1.c $(INCL) version.h |
7 | 1714 |
1715 $(OUTDIR)/misc2.obj: $(OUTDIR) misc2.c $(INCL) | |
1716 | |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
18124
diff
changeset
|
1717 $(OUTDIR)/mouse.obj: $(OUTDIR) mouse.c $(INCL) |
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
18124
diff
changeset
|
1718 |
7 | 1719 $(OUTDIR)/move.obj: $(OUTDIR) move.c $(INCL) |
1720 | |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
1721 $(OUTDIR)/mbyte.obj: $(OUTDIR) mbyte.c $(INCL) |
7 | 1722 |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
1723 $(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL) version.h |
7 | 1724 |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21789
diff
changeset
|
1725 $(OUTDIR)/channel.obj: $(OUTDIR) channel.c $(INCL) |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
1726 |
27484
ee1019e59bef
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
27447
diff
changeset
|
1727 $(OUTDIR)/normal.obj: $(OUTDIR) normal.c $(INCL) nv_cmdidxs.h nv_cmds.h |
7 | 1728 |
18054
88b5c2b4e3d2
patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18019
diff
changeset
|
1729 $(OUTDIR)/option.obj: $(OUTDIR) option.c $(INCL) optiondefs.h |
7 | 1730 |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18064
diff
changeset
|
1731 $(OUTDIR)/optionstr.obj: $(OUTDIR) optionstr.c $(INCL) |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18064
diff
changeset
|
1732 |
7 | 1733 $(OUTDIR)/ops.obj: $(OUTDIR) ops.c $(INCL) |
1734 | |
1735 $(OUTDIR)/os_mswin.obj: $(OUTDIR) os_mswin.c $(INCL) | |
1736 | |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1737 $(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
|
1738 |
4168 | 1739 $(OUTDIR)/winclip.obj: $(OUTDIR) winclip.c $(INCL) |
1740 | |
12525
626fb8e8bb8a
patch 8.0.1141: MS-Windows build dependencies are incomplete
Christian Brabandt <cb@256bit.org>
parents:
12489
diff
changeset
|
1741 $(OUTDIR)/os_win32.obj: $(OUTDIR) os_win32.c $(INCL) $(MZSCHEME_INCL) |
7 | 1742 |
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
|
1743 $(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
|
1744 |
7 | 1745 $(OUTDIR)/os_w32exe.obj: $(OUTDIR) os_w32exe.c $(INCL) |
1746 | |
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
|
1747 $(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
|
1748 $(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
|
1749 |
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
|
1750 $(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
|
1751 $(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
|
1752 |
659 | 1753 $(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
|
1754 $(CC) $(CFLAGS_OUTDIR) $(PATHDEF_SRC) |
7 | 1755 |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
1756 $(OUTDIR)/popupmenu.obj: $(OUTDIR) popupmenu.c $(INCL) |
539 | 1757 |
16778
eda4d65f232c
patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents:
16758
diff
changeset
|
1758 $(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
|
1759 |
17370
ba06a1c42274
patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17157
diff
changeset
|
1760 $(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
|
1761 |
7 | 1762 $(OUTDIR)/quickfix.obj: $(OUTDIR) quickfix.c $(INCL) |
1763 | |
18019
68fd5296bf73
patch 8.1.2005: the regexp.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18010
diff
changeset
|
1764 $(OUTDIR)/regexp.obj: $(OUTDIR) regexp.c regexp_bt.c regexp_nfa.c $(INCL) |
7 | 1765 |
18164
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
1766 $(OUTDIR)/register.obj: $(OUTDIR) register.c $(INCL) |
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
1767 |
17861
0a5c615cd949
patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17779
diff
changeset
|
1768 $(OUTDIR)/scriptfile.obj: $(OUTDIR) scriptfile.c $(INCL) |
0a5c615cd949
patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17779
diff
changeset
|
1769 |
7 | 1770 $(OUTDIR)/screen.obj: $(OUTDIR) screen.c $(INCL) |
1771 | |
1772 $(OUTDIR)/search.obj: $(OUTDIR) search.c $(INCL) | |
1773 | |
17536
e00d12c085a5
patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17458
diff
changeset
|
1774 $(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
|
1775 |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
1776 $(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
|
1777 |
15330
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
15201
diff
changeset
|
1778 $(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
|
1779 |
220 | 1780 $(OUTDIR)/spell.obj: $(OUTDIR) spell.c $(INCL) |
1781 | |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
1782 $(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
|
1783 |
18172
6e53d83e021d
patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
1784 $(OUTDIR)/spellsuggest.obj: $(OUTDIR) spellsuggest.c $(INCL) |
6e53d83e021d
patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
1785 |
25206
dc66d0284518
patch 8.2.3139: functions for string manipulation are spread out
Bram Moolenaar <Bram@vim.org>
parents:
24990
diff
changeset
|
1786 $(OUTDIR)/strings.obj: $(OUTDIR) strings.c $(INCL) |
dc66d0284518
patch 8.2.3139: functions for string manipulation are spread out
Bram Moolenaar <Bram@vim.org>
parents:
24990
diff
changeset
|
1787 |
7 | 1788 $(OUTDIR)/syntax.obj: $(OUTDIR) syntax.c $(INCL) |
1789 | |
1790 $(OUTDIR)/tag.obj: $(OUTDIR) tag.c $(INCL) | |
1791 | |
1792 $(OUTDIR)/term.obj: $(OUTDIR) term.c $(INCL) | |
1793 | |
17377
cb008de2a6ec
patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17370
diff
changeset
|
1794 $(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
|
1795 |
20237
918245588b50
patch 8.2.0674: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
20209
diff
changeset
|
1796 $(OUTDIR)/textformat.obj: $(OUTDIR) textformat.c $(INCL) |
918245588b50
patch 8.2.0674: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
20209
diff
changeset
|
1797 |
20209
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
20077
diff
changeset
|
1798 $(OUTDIR)/textobject.obj: $(OUTDIR) textobject.c $(INCL) |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
20077
diff
changeset
|
1799 |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15027
diff
changeset
|
1800 $(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
|
1801 |
19396
a961efb326e5
patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19382
diff
changeset
|
1802 $(OUTDIR)/time.obj: $(OUTDIR) time.c $(INCL) |
a961efb326e5
patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19382
diff
changeset
|
1803 |
20587
f502455965c0
patch 8.2.0847: typval related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
20458
diff
changeset
|
1804 $(OUTDIR)/typval.obj: $(OUTDIR) typval.c $(INCL) |
f502455965c0
patch 8.2.0847: typval related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
20458
diff
changeset
|
1805 |
7 | 1806 $(OUTDIR)/ui.obj: $(OUTDIR) ui.c $(INCL) |
1807 | |
1808 $(OUTDIR)/undo.obj: $(OUTDIR) undo.c $(INCL) | |
1809 | |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16381
diff
changeset
|
1810 $(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
|
1811 |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
1812 $(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
|
1813 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1814 $(OUTDIR)/version.obj: $(OUTDIR) version.c $(INCL) version.h |
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1815 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1816 $(OUTDIR)/vim9cmds.obj: $(OUTDIR) vim9cmds.c $(INCL) vim9.h |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
1817 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1818 $(OUTDIR)/vim9compile.obj: $(OUTDIR) vim9compile.c $(INCL) vim9.h |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
1819 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1820 $(OUTDIR)/vim9execute.obj: $(OUTDIR) vim9execute.c $(INCL) vim9.h |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
1821 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1822 $(OUTDIR)/vim9expr.obj: $(OUTDIR) vim9expr.c $(INCL) vim9.h |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
1823 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1824 $(OUTDIR)/vim9instr.obj: $(OUTDIR) vim9instr.c $(INCL) vim9.h |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
1825 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1826 $(OUTDIR)/vim9script.obj: $(OUTDIR) vim9script.c $(INCL) vim9.h |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
1827 |
27932
e9e493983e11
patch 8.2.4491: MS-Windows makefile dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
27486
diff
changeset
|
1828 $(OUTDIR)/vim9type.obj: $(OUTDIR) vim9type.c $(INCL) vim9.h |
21711
d2dee69de7c7
patch 8.2.1405: Vim9: vim9compile.c is getting too big
Bram Moolenaar <Bram@vim.org>
parents:
21662
diff
changeset
|
1829 |
18884
9a723f1e2d4e
patch 8.2.0003: Build file dependencies are incomplete
Bram Moolenaar <Bram@vim.org>
parents:
18853
diff
changeset
|
1830 $(OUTDIR)/viminfo.obj: $(OUTDIR) viminfo.c $(INCL) version.h |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17397
diff
changeset
|
1831 |
7 | 1832 $(OUTDIR)/window.obj: $(OUTDIR) window.c $(INCL) |
1833 | |
1834 $(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
|
1835 $(CC) $(CFLAGS_OUTDIR) $(XPM_INC) xpm_w32.c |
7 | 1836 |
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
|
1837 !if "$(VIMDLL)" == "yes" |
24689
2e6cc2bf37d8
patch 8.2.2883: MS-Windows manifest file name is misleading
Bram Moolenaar <Bram@vim.org>
parents:
24506
diff
changeset
|
1838 $(OUTDIR)/vimc.res: $(OUTDIR) vim.rc vim.manifest version.h gui_w32_rc.h \ |
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
|
1839 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
|
1840 $(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
|
1841 |
24689
2e6cc2bf37d8
patch 8.2.2883: MS-Windows manifest file name is misleading
Bram Moolenaar <Bram@vim.org>
parents:
24506
diff
changeset
|
1842 $(OUTDIR)/vimg.res: $(OUTDIR) vim.rc vim.manifest version.h gui_w32_rc.h \ |
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
|
1843 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
|
1844 $(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
|
1845 |
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
|
1846 $(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
|
1847 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
|
1848 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
|
1849 $(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
|
1850 !else |
24689
2e6cc2bf37d8
patch 8.2.2883: MS-Windows manifest file name is misleading
Bram Moolenaar <Bram@vim.org>
parents:
24506
diff
changeset
|
1851 $(OUTDIR)/vim.res: $(OUTDIR) vim.rc vim.manifest version.h gui_w32_rc.h \ |
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
|
1852 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
|
1853 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
|
1854 $(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
|
1855 !endif |
7 | 1856 |
388 | 1857 iid_ole.c if_ole.h vim.tlb: if_ole.idl |
416 | 1858 midl /nologo /error none /proxy nul /iid iid_ole.c /tlb vim.tlb \ |
1859 /header if_ole.h if_ole.idl | |
7 | 1860 |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1861 |
12210
b9b06aa0b6d9
patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents:
12001
diff
changeset
|
1862 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
|
1863 -DVSNPRINTF=vim_vsnprintf \ |
20458
ffadba5f898c
patch 8.2.0783: libvterm code lags behind the upstream version
Bram Moolenaar <Bram@vim.org>
parents:
20403
diff
changeset
|
1864 -DSNPRINTF=vim_snprintf \ |
12210
b9b06aa0b6d9
patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents:
12001
diff
changeset
|
1865 -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
|
1866 -DWCWIDTH_FUNCTION=utf_uint2cells \ |
18064
8b4f9be5db73
patch 8.1.2027: MS-Windows: problem with ambiwidth characters
Bram Moolenaar <Bram@vim.org>
parents:
18054
diff
changeset
|
1867 -DGET_SPECIAL_PTY_TYPE_FUNCTION=get_special_pty_type \ |
12210
b9b06aa0b6d9
patch 8.0.0985: libvterm has its own idea of character width
Christian Brabandt <cb@256bit.org>
parents:
12001
diff
changeset
|
1868 -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
|
1869 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1870 $(OUTDIR)/vterm_encoding.obj: $(OUTDIR) libvterm/src/encoding.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1871 $(CCCTERM) /Fo$@ libvterm/src/encoding.c |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1872 |
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1873 $(OUTDIR)/vterm_keyboard.obj: $(OUTDIR) libvterm/src/keyboard.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1874 $(CCCTERM) /Fo$@ libvterm/src/keyboard.c |
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
|
1875 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1876 $(OUTDIR)/vterm_mouse.obj: $(OUTDIR) libvterm/src/mouse.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1877 $(CCCTERM) /Fo$@ libvterm/src/mouse.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1878 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1879 $(OUTDIR)/vterm_parser.obj: $(OUTDIR) libvterm/src/parser.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1880 $(CCCTERM) /Fo$@ libvterm/src/parser.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1881 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1882 $(OUTDIR)/vterm_pen.obj: $(OUTDIR) libvterm/src/pen.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1883 $(CCCTERM) /Fo$@ libvterm/src/pen.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1884 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1885 $(OUTDIR)/vterm_screen.obj: $(OUTDIR) libvterm/src/screen.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1886 $(CCCTERM) /Fo$@ libvterm/src/screen.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1887 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1888 $(OUTDIR)/vterm_state.obj: $(OUTDIR) libvterm/src/state.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1889 $(CCCTERM) /Fo$@ libvterm/src/state.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1890 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1891 $(OUTDIR)/vterm_unicode.obj: $(OUTDIR) libvterm/src/unicode.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1892 $(CCCTERM) /Fo$@ libvterm/src/unicode.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1893 |
18267
da6a7491e148
patch 8.1.2128: renamed libvterm sources makes merging difficult
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
1894 $(OUTDIR)/vterm_vterm.obj: $(OUTDIR) libvterm/src/vterm.c $(TERM_DEPS) |
18271
b506809f5d38
patch 8.1.2130: MSVC build fails
Bram Moolenaar <Bram@vim.org>
parents:
18267
diff
changeset
|
1895 $(CCCTERM) /Fo$@ libvterm/src/vterm.c |
11782
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1896 |
112427b2de52
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails
Christian Brabandt <cb@256bit.org>
parents:
11774
diff
changeset
|
1897 |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1898 # $CFLAGS may contain backslashes, quotes and chevrons, escape them all. |
19 | 1899 E0_CFLAGS = $(CFLAGS:\=\\) |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1900 E00_CFLAGS = $(E0_CFLAGS:"=\") |
1072 | 1901 # ") stop the string |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1902 E000_CFLAGS = $(E00_CFLAGS:<=^^<) |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1903 E_CFLAGS = $(E000_CFLAGS:>=^^>) |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1904 # $LINKARGS2 may contain backslashes, quotes and chevrons, escape them all. |
2708 | 1905 E0_LINKARGS2 = $(LINKARGS2:\=\\) |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1906 E00_LINKARGS2 = $(E0_LINKARGS2:"=\") |
2708 | 1907 # ") stop the string |
20723
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1908 E000_LINKARGS2 = $(E00_LINKARGS2:<=^^<) |
8b2d3cd55f97
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
Bram Moolenaar <Bram@vim.org>
parents:
20637
diff
changeset
|
1909 E_LINKARGS2 = $(E000_LINKARGS2:>=^^>) |
19 | 1910 |
17157
bbd454d155a9
patch 8.1.1578: MS-Windows: pathdef.c should depend on build options
Bram Moolenaar <Bram@vim.org>
parents:
17131
diff
changeset
|
1911 $(PATHDEF_SRC): Make_mvc.mak |
659 | 1912 @echo creating $(PATHDEF_SRC) |
1913 @echo /* pathdef.c */ > $(PATHDEF_SRC) | |
1914 @echo #include "vim.h" >> $(PATHDEF_SRC) | |
1915 @echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)"; >> $(PATHDEF_SRC) | |
1916 @echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)"; >> $(PATHDEF_SRC) | |
1917 @echo char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)"; >> $(PATHDEF_SRC) | |
27432
b63028cbe307
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Bram Moolenaar <Bram@vim.org>
parents:
27388
diff
changeset
|
1918 @echo char_u *all_lflags = (char_u *)"$(LINK:\=\\) $(LINKARGS1:\=\\) $(E_LINKARGS2)"; >> $(PATHDEF_SRC) |
659 | 1919 @echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC) |
1920 @echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC) | |
7 | 1921 |
1922 # End Custom Build | |
1923 proto.h: \ | |
25529
bb1097899693
patch 8.2.3301: memory allocation functions don't have their own place
Bram Moolenaar <Bram@vim.org>
parents:
25427
diff
changeset
|
1924 proto/alloc.pro \ |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
9389
diff
changeset
|
1925 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
|
1926 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
|
1927 proto/autocmd.pro \ |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1928 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
|
1929 proto/blowfish.pro \ |
7 | 1930 proto/buffer.pro \ |
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
1931 proto/bufwrite.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
|
1932 proto/change.pro \ |
7 | 1933 proto/charset.pro \ |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18199
diff
changeset
|
1934 proto/cindent.pro \ |
19920
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19774
diff
changeset
|
1935 proto/clientserver.pro \ |
19774
00a1b89256ea
patch 8.2.0443: clipboard code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19697
diff
changeset
|
1936 proto/clipboard.pro \ |
17779
87a8760babec
patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17744
diff
changeset
|
1937 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
|
1938 proto/cmdhist.pro \ |
6126 | 1939 proto/crypt.pro \ |
1940 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
|
1941 proto/debugger.pro \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
1942 proto/dict.pro \ |
7 | 1943 proto/diff.pro \ |
1944 proto/digraph.pro \ | |
18124
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1945 proto/drawline.pro \ |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
1946 proto/drawscreen.pro \ |
7 | 1947 proto/edit.pro \ |
1948 proto/eval.pro \ | |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1949 proto/evalbuffer.pro \ |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9566
diff
changeset
|
1950 proto/evalfunc.pro \ |
17873
d50a5faa75bd
patch 8.1.1933: the eval.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17861
diff
changeset
|
1951 proto/evalvars.pro \ |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17996
diff
changeset
|
1952 proto/evalwindow.pro \ |
7 | 1953 proto/ex_cmds.pro \ |
1954 proto/ex_cmds2.pro \ | |
1955 proto/ex_docmd.pro \ | |
1956 proto/ex_eval.pro \ | |
1957 proto/ex_getln.pro \ | |
1958 proto/fileio.pro \ | |
17966
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17873
diff
changeset
|
1959 proto/filepath.pro \ |
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
15699
diff
changeset
|
1960 proto/findfile.pro \ |
24780
7bc92a651472
patch 8.2.2928: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
24689
diff
changeset
|
1961 proto/float.pro \ |
7 | 1962 proto/getchar.pro \ |
20637
6c5b11458f31
patch 8.2.0872: XIM code is mixed with multi-byte code
Bram Moolenaar <Bram@vim.org>
parents:
20587
diff
changeset
|
1963 proto/gui_xim.pro \ |
440 | 1964 proto/hardcopy.pro \ |
799 | 1965 proto/hashtab.pro \ |
21423
5db63c2c6929
patch 8.2.1262: src/ex_cmds.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
1966 proto/help.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
|
1967 proto/highlight.pro \ |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
15634
diff
changeset
|
1968 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
|
1969 proto/insexpand.pro \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7699
diff
changeset
|
1970 proto/json.pro \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
1971 proto/list.pro \ |
21437
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
21423
diff
changeset
|
1972 proto/locale.pro \ |
7 | 1973 proto/main.pro \ |
17576
97a750e8707f
patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents:
17536
diff
changeset
|
1974 proto/map.pro \ |
7 | 1975 proto/mark.pro \ |
21054
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
20723
diff
changeset
|
1976 proto/match.pro \ |
7 | 1977 proto/memfile.pro \ |
1978 proto/memline.pro \ | |
1979 proto/menu.pro \ | |
1980 proto/message.pro \ | |
1981 proto/misc1.pro \ | |
1982 proto/misc2.pro \ | |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
18124
diff
changeset
|
1983 proto/mouse.pro \ |
7 | 1984 proto/move.pro \ |
1985 proto/mbyte.pro \ | |
1986 proto/normal.pro \ | |
1987 proto/ops.pro \ | |
1988 proto/option.pro \ | |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18064
diff
changeset
|
1989 proto/optionstr.pro \ |
7 | 1990 proto/os_mswin.pro \ |
4168 | 1991 proto/winclip.pro \ |
7 | 1992 proto/os_win32.pro \ |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
1993 proto/popupmenu.pro \ |
16778
eda4d65f232c
patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents:
16758
diff
changeset
|
1994 proto/popupwin.pro \ |
17370
ba06a1c42274
patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17157
diff
changeset
|
1995 proto/profiler.pro \ |
7 | 1996 proto/quickfix.pro \ |
1997 proto/regexp.pro \ | |
18164
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
1998 proto/register.pro \ |
17861
0a5c615cd949
patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17779
diff
changeset
|
1999 proto/scriptfile.pro \ |
7 | 2000 proto/screen.pro \ |
2001 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
|
2002 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
|
2003 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
|
2004 proto/sign.pro \ |
220 | 2005 proto/spell.pro \ |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
2006 proto/spellfile.pro \ |
18172
6e53d83e021d
patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
2007 proto/spellsuggest.pro \ |
25206
dc66d0284518
patch 8.2.3139: functions for string manipulation are spread out
Bram Moolenaar <Bram@vim.org>
parents:
24990
diff
changeset
|
2008 proto/strings.pro \ |
7 | 2009 proto/syntax.pro \ |
2010 proto/tag.pro \ | |
2011 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
|
2012 proto/testing.pro \ |
20237
918245588b50
patch 8.2.0674: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
20209
diff
changeset
|
2013 proto/textformat.pro \ |
20209
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
20077
diff
changeset
|
2014 proto/textobject.pro \ |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15027
diff
changeset
|
2015 proto/textprop.pro \ |
19396
a961efb326e5
patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
19382
diff
changeset
|
2016 proto/time.pro \ |
20587
f502455965c0
patch 8.2.0847: typval related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
20458
diff
changeset
|
2017 proto/typval.pro \ |
7 | 2018 proto/ui.pro \ |
2019 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
|
2020 proto/usercmd.pro \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
2021 proto/userfunc.pro \ |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
2022 proto/vim9cmds.pro \ |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
2023 proto/vim9compile.pro \ |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
2024 proto/vim9execute.pro \ |
26662
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
2025 proto/vim9expr.pro \ |
4b23672d1f0e
patch 8.2.3860: Vim9: codecov struggles with the file size
Bram Moolenaar <Bram@vim.org>
parents:
26589
diff
changeset
|
2026 proto/vim9instr.pro \ |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
19159
diff
changeset
|
2027 proto/vim9script.pro \ |
21711
d2dee69de7c7
patch 8.2.1405: Vim9: vim9compile.c is getting too big
Bram Moolenaar <Bram@vim.org>
parents:
21662
diff
changeset
|
2028 proto/vim9type.pro \ |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17397
diff
changeset
|
2029 proto/viminfo.pro \ |
7 | 2030 proto/window.pro \ |
17131
be5a5cfc991a
patch 8.1.1565: MS-Windows: no sound support
Bram Moolenaar <Bram@vim.org>
parents:
16792
diff
changeset
|
2031 $(SOUND_PRO) \ |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
2032 $(NETBEANS_PRO) \ |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
2033 $(CHANNEL_PRO) |
7 | 2034 |
844 | 2035 .SUFFIXES: .cod .i |
843 | 2036 |
2037 # Generate foo.cod (mixed source and assembly listing) from foo.c via "nmake | |
2038 # foo.cod" | |
2039 .c.cod: | |
2040 $(CC) $(CFLAGS) /FAcs $< | |
2041 | |
2042 # Generate foo.i (preprocessor listing) from foo.c via "nmake foo.i" | |
2043 .c.i: | |
2044 $(CC) $(CFLAGS) /P /C $< | |
714 | 2045 |
7 | 2046 # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0: |