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