annotate src/Make_mvc.mak @ 32936:c517845bd10e v9.0.1776

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