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