annotate src/Make_bc5.mak @ 16211:5fb0f15fafea v8.1.1110

patch 8.1.1110: composing chars on space wrong when 'listchars' is set commit https://github.com/vim/vim/commit/e5e4e22c1c15c8c22b14935affe969569acc8df9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 4 13:28:45 2019 +0200 patch 8.1.1110: composing chars on space wrong when 'listchars' is set Problem: Composing chars on space wrong when 'listchars' is set. Solution: Do not use "space" and "nbsp" entries of 'listchars' when there is a composing character. (Yee Cheng Chin, closes #4197)
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Apr 2019 13:30:05 +0200
parents 570a296aa0b4
children 1dcbaa780b8e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # Compiler: Borland C++ 5.0 and later 32-bit compiler
9536
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
4 # Targets: Win32 (Windows NT and Windows 95) (with/without GUI)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
7435
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
6 # NOTE: THIS IS OLD AND PROBABLY NO LONGER WORKS.
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
7 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # Contributed by Ben Singer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # Updated 4/1997 by Ron Aaron
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
10 # 2016: removed support for 16 bit DOS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # 6/1997 - added support for 16 bit DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # Note: this has been tested, and works, for BC5. Your mileage may vary.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # Has been reported NOT to work with BC 4.52. Maybe it can be fixed?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # 10/1997 - ron - fixed bugs w/ BC 5.02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 # 8/1998 - ron - updated with new targets, fixed some stuff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # 3/2000 - Bram: Made it work with BC 5.5 free command line compiler,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 # cleaned up variables.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # 6/2001 - Dan - Added support for compiling Python and TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 # 7/2001 - Dan - Added support for compiling Ruby
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 # It builds on Windows 95 and NT-Intel, producing the same binary in either
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 # case. To build using Microsoft Visual C++, use Make_mvc.mak.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # This should work with the free Borland command line compiler, version 5.5.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # You need at least sp1 (service pack 1). With sp2 it compiles faster.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # Use a command like this:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 # <path>\bin\make /f Make_bc5.mak BOR=<path>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 # let the make utility do the hard work:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 .AUTODEPEND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 .CACHEAUTODEPEND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 # VARIABLES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 # name value (default)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # BOR path to root of Borland C install (c:\bc5)
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
38 # LINK name of the linker ($(BOR)\bin\ilink32)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # GUI no or yes: set to yes if you want the GUI version (yes)
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
40 # LUA define to path to Lua dir to get Lua support (not defined)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
41 # LUA_VER define to version of Lua being used (51)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
42 # DYNAMIC_LUA no or yes: set to yes to load the Lua DLL dynamically (no)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 # PERL define to path to Perl dir to get Perl support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 # PERL_VER define to version of Perl being used (56)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # DYNAMIC_PERL no or yes: set to yes to load the Perl DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 # PYTHON define to path to Python dir to get PYTHON support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # PYTHON_VER define to version of Python being used (22)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # DYNAMIC_PYTHON no or yes: use yes to load the Python DLL dynamically (no)
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
49 # PYTHON3 define to path to Python3 dir to get PYTHON3 support (not defined)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
50 # PYTHON3_VER define to version of Python3 being used (31)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
51 # DYNAMIC_PYTHON3 no or yes: use yes to load the Python3 DLL dynamically (no)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # TCL define to path to TCL dir to get TCL support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # TCL_VER define to version of TCL being used (83)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 # RUBY define to path to Ruby dir to get Ruby support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # NOTE: You may have to remove the defines for uid_t and gid_t
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 # from the Ruby config.h header file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 # RUBY_VER define to version of Ruby being used (16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 # NOTE: compilation on WinNT/2K/XP requires
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 # at least version 1.6.5 of Ruby. Earlier versions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 # of Ruby will cause a compile error on these systems.
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 799
diff changeset
62 # RUBY_VER_LONG same, but in format with dot. (1.6)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # IME no or yes: set to yes for multi-byte IME support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # DYNAMIC_IME no or yes: set to yes to load imm32.dll dynamically (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # GETTEXT no or yes: set to yes for multi-language support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 # ICONV no or yes: set to yes for dynamic iconv support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # OLE no or yes: set to yes to make OLE gvim (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # DEBUG no or yes: set to yes if you wish a DEBUGging build (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # CODEGUARD no or yes: set to yes if you want to use CODEGUARD (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 # CPUNR 1 through 6: select -CPU argument to compile with (3)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # 3 for 386, 4 for 486, 5 for pentium, 6 for pentium pro.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # USEDLL no or yes: set to yes to use the Runtime library DLL (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # For USEDLL=yes the cc3250.dll is required to run Vim.
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
75 # ALIGN 1, 2 or 4: Alignment to use (4 for Win32)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # FASTCALL no or yes: set to yes to use register-based function protocol (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # OPTIMIZE SPACE, SPEED, or MAXSPEED: type of optimization (MAXSPEED)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # POSTSCRIPT no or yes: set to yes for PostScript printing
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
79 # FEATURES TINY, SMALL, NORMAL, BIG or HUGE (BIG for WIN32)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # WINVER 0x0400 or 0x0500: minimum Win32 version to support (0x0400)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # CSCOPE no or yes: include support for Cscope interface (yes)
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
82 # NETBEANS no or yes: include support for Netbeans interface; also
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
83 # requires CHANNEL (yes if GUI
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 # is yes)
856
8cd729851562 updated for version 7.0g
vimboss
parents: 819
diff changeset
85 # NBDEBUG no or yes: include support for debugging Netbeans interface (no)
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
86 # CHANNEL no or yes: include support for inter process communication (yes
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
87 # if GUI is yes)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # XPM define to path to XPM dir to get support for loading XPM images.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 ### BOR: root of the BC installation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 !if ("$(BOR)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 BOR = c:\bc5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
95 ### LINK: Name of the linker: ilink32 (this is below)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 ### GUI: yes for GUI version, no for console version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 !if ("$(GUI)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 GUI = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 ### IME: yes for multibyte support, no to disable it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 !if ("$(IME)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 IME = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 !if ("$(DYNAMIC_IME)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 DYNAMIC_IME = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 ### GETTEXT: yes for multilanguage support, no to disable it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 !if ("$(GETTEXT)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 GETTEXT = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 ### ICONV: yes to enable dynamic-iconv support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 !if ("$(ICONV)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 ICONV = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 ### CSCOPE: yes to enable Cscope support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 !if ("$(CSCOPE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 CSCOPE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 ### NETBEANS: yes to enable NetBeans interface support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 !if ("$(NETBEANS)"=="") && ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 NETBEANS = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
130 ### CHANNEL: yes to enable inter process communication, no to disable it
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
131 !if ("$(CHANNEL)"=="") && ("$(GUI)"=="yes")
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
132 CHANNEL = yes
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
133 !endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
134
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
135 ### LUA: uncomment this line if you want lua support in vim
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
136 # LUA=c:\lua
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
137
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 ### PERL: uncomment this line if you want perl support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 # PERL=c:\perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 ### PYTHON: uncomment this line if you want python support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 # PYTHON=c:\python22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
144 ### PYTHON3: uncomment this line if you want python3 support in vim
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
145 # PYTHON3=c:\python31
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
146
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 ### RUBY: uncomment this line if you want ruby support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 # RUBY=c:\ruby
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 ### TCL: uncomment this line if you want tcl support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 # TCL=c:\tcl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 ### OLE: no for normal gvim, yes for OLE-capable gvim (only works with GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 #OLE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 ### DEBUG: Uncomment to make an executable for debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 # DEBUG = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 DEBUG_FLAG = -v
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 ### CODEGUARD: Uncomment to use the CODEGUARD stuff (BC 5.0 or later):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 # CODEGUARD = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 CODEGUARD_FLAG = -vG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 ### CPUNR: set your target processor (3 to 6)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 !if ("$(CPUNR)" == "i386") || ("$(CPUNR)" == "3")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 CPUNR = 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 !elif ("$(CPUNR)" == "i486") || ("$(CPUNR)" == "4")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 CPUNR = 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 !elif ("$(CPUNR)" == "i586") || ("$(CPUNR)" == "5")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 CPUNR = 5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 !elif ("$(CPUNR)" == "i686") || ("$(CPUNR)" == "6")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 CPUNR = 6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 CPUNR = 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 ### Comment out to use precompiled headers (faster, but uses lots of disk!)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 HEADERS = -H -H=vim.csm -Hc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 ### USEDLL: no for statically linked version of run-time, yes for DLL runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 !if ("$(USEDLL)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 USEDLL = no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
189 ### ALIGN: alignment you desire: (1,2 or 4: s/b 4 for Win32)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 !if ("$(ALIGN)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 ALIGN = 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 ### FASTCALL: yes to use FASTCALL calling convention (RECOMMENDED!), no otherwise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 # Incompatible when calling external functions (like MSVC-compiled DLLs), so
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 # don't use FASTCALL when linking with external libs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 !if ("$(FASTCALL)"=="") && \
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
198 ("$(LUA)"=="") && \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 ("$(PYTHON)"=="") && \
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
200 ("$(PYTHON3)"=="") && \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 ("$(PERL)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 ("$(TCL)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 ("$(RUBY)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 ("$(ICONV)"!="yes") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 ("$(IME)"!="yes") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 ("$(XPM)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 FASTCALL = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 ### OPTIMIZE: SPEED to optimize for speed, SPACE otherwise (SPEED RECOMMENDED)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 !if ("$(OPTIMIZE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 OPTIMIZE = MAXSPEED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
215 ### FEATURES: TINY, SMALL, NORMAL, BIG or HUGE (BIG for WIN32)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 !if ("$(FEATURES)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 FEATURES = BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 ### POSTSCRIPT: uncomment this line if you want PostScript printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 #POSTSCRIPT = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 ###
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 # default, use these lines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 #VIMRCLOC = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 #VIMRUNTIMEDIR = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 ### Set the default $(WINVER) to make it work with Bcc 5.5.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 !ifndef WINVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 WINVER = 0x0400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 # Sanity checks for the above options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
238 OSTYPE = WIN32
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 # Optimizations: change as desired (RECOMMENDATION: Don't change!):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 OPT = -Od -N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 !if ("$(OPTIMIZE)"=="SPACE")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 OPT = -O1 -f- -d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 !elif ("$(OPTIMIZE)"=="MAXSPEED")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 OPT = -O2 -f- -d -Ocavi -O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 OPT = -O2 -f- -d -Oc -O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 !if ("$(FASTCALL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 OPT = $(OPT) -pr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 !if ("$(CODEGUARD)"!="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 OPT = $(OPT) -vi-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 # shouldn't have to change:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 LIB = $(BOR)\lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 INCLUDE = $(BOR)\include;.;proto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 DEFINES = -DFEAT_$(FEATURES) -DWIN32 -DHAVE_PATHDEF \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
266 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
267 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
268 INCLUDE = $(LUA)\include;$(INCLUDE)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
269 ! ifndef LUA_VER
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
270 LUA_VER = 51
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
271 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
272 ! if ("$(DYNAMIC_LUA)" == "yes")
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
273 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
274 LUA_LIB_FLAG = /nodefaultlib:
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
275 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
276 !endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
277
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 INCLUDE = $(PERL)\lib\core;$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 ! ifndef PERL_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 PERL_VER = 56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 ! if ("$(DYNAMIC_PERL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 ! if ($(PERL_VER) > 55)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 PERL_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 ! else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 ! message "Cannot dynamically load Perl versions less than 5.6. Loading statically..."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 !ifdef PYTHON
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
295 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
296 DYNAMIC_PYTHON=yes
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
297 DYNAMIC_PYTHON3=yes
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
298 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
299 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
300
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
301 !ifdef PYTHON
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 !ifndef PYTHON_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 PYTHON_VER = 22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 !if "$(DYNAMIC_PYTHON)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 PYTHON_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
312 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
313 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
314 !ifndef PYTHON3_VER
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
315 PYTHON3_VER = 31
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
316 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
317 !if "$(DYNAMIC_PYTHON3)" == "yes"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
318 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python$(PYTHON3_VER).dll\"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
319 PYTHON3_LIB_FLAG = /nodefaultlib:
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
320 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
321 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
322
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
323
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 !ifndef RUBY_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 RUBY_VER = 16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 !ifndef RUBY_VER_LONG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 RUBY_VER_LONG = 1.6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 !if "$(RUBY_VER)" == "16"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 !ifndef RUBY_PLATFORM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 RUBY_PLATFORM = i586-mswin32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 !ifndef RUBY_INSTALL_NAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 !ifndef RUBY_PLATFORM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 RUBY_PLATFORM = i386-mswin32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 !ifndef RUBY_INSTALL_NAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 INCLUDE = $(RUBY)\lib\ruby\$(RUBY_VER_LONG)\$(RUBY_PLATFORM);$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 !if "$(DYNAMIC_RUBY)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_RUBY_VER=$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 RUBY_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 INCLUDE = $(TCL)\include;$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 !ifndef TCL_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 TCL_VER = 83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 TCL_LIB = $(TCL)\lib\tcl$(TCL_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 TCL_LIB_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 !if "$(DYNAMIC_TCL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 TCL_LIB = tclstub$(TCL_VER)-bor.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 TCL_LIB_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 # DO NOT change below:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 CPUARG = -$(CPUNR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 ALIGNARG = -a$(ALIGN)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 !if ("$(DEBUG)"=="yes")
5588
2ca470c6096e updated for version 7.4.141
Bram Moolenaar <bram@vim.org>
parents: 4724
diff changeset
379 DEFINES=$(DEFINES) -DDEBUG -D_DEBUG
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 DEFINES = $(DEFINES) -DFEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 !if ("$(IME)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 MBDEFINES = $(MBDEFINES) -DFEAT_MBYTE_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 !if ("$(DYNAMIC_IME)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 MBDEFINES = $(MBDEFINES) -DDYNAMIC_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 !if ("$(ICONV)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 MBDEFINES = $(MBDEFINES) -DDYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 !if ("$(GETTEXT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 MBDEFINES = $(MBDEFINES) -DDYNAMIC_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 DEFINES = $(DEFINES) -DFEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 !if ("$(GUI)"=="yes")
15886
cdb9cbe731b3 patch 8.1.0949: MS-windows defines GUI macros different than other systems
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
404 DEFINES = $(DEFINES) -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 TARGET = gvimd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 TARGET = gvim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 EXETYPE=-W
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 STARTUPOBJ = c0w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 LINK2 = -aa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 RESFILE = vim.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 !else
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
415 !undef NETBEANS
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
416 !undef CHANNEL
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
417 !undef XPM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 TARGET = vimd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 # for now, anyway: VIMDLL is only for the GUI version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 TARGET = vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 EXETYPE=-WC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 STARTUPOBJ = c0x32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 LINK2 = -ap -OS -o -P
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 RESFILE = vim.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
430 !if ("$(NETBEANS)"=="yes")
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
431 !if ("$(CHANNEL)"!="yes")
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
432 # cannot use Netbeans without CHANNEL
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
433 NETBEANS = no
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
434 !else
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
435 DEFINES = $(DEFINES) -DFEAT_NETBEANS_INTG
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
436 !if ("$(NBDEBUG)"=="yes")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
437 DEFINES = $(DEFINES) -DNBDEBUG
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
438 NBDEBUG_DEP = nbdebug.h nbdebug.c
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
439 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
440 !endif
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
441 !endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
442
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
443 !if ("$(CHANNEL)"=="yes")
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
444 DEFINES = $(DEFINES) -DFEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
445 !endif
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
446
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
447 !ifdef XPM
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
448 !if ("$(GUI)"=="yes")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
449 DEFINES = $(DEFINES) -DFEAT_XPM_W32
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
450 INCLUDE = $(XPM)\include;$(INCLUDE)
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
451 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
452 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
453
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 DEFINES = $(DEFINES) -D_RTLDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 OBJDIR = $(OSTYPE)\objdbg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 OBJDIR = $(OSTYPE)\oleobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 OBJDIR = $(OSTYPE)\gobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 OBJDIR = $(OSTYPE)\obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 !if ("$(POSTSCRIPT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 DEFINES = $(DEFINES) -DMSWINPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 ##### BASE COMPILER/TOOLS RULES #####
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 MAKE = $(BOR)\bin\make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 CFLAGS = -w-aus -w-par -w-pch -w-ngu -w-csu -I$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 BRC = $(BOR)\BIN\brc32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 !if ("$(LINK)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 LINK = $(BOR)\BIN\ILink32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 CC = $(BOR)\BIN\Bcc32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 LFLAGS = -OS -Tpe -c -m -L$(LIB) $(DEBUG_FLAG) $(LINK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 LFLAGSDLL = -Tpd -c -m -L$(LIB) $(DEBUG_FLAG) $(LINK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 CFLAGS = $(CFLAGS) -d -RT- -k- -Oi $(HEADERS) -f-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 CC1 = -c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 CC2 = -o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 CCARG = +$(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 # implicit rules:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 # Without the following, the implicit rule in BUILTINS.MAK is picked up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 # for a rule for .c.obj rather than the local implicit rule
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 .SUFFIXES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 .SUFFIXES .c .obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 .path.c = .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 {.}.c{$(OBJDIR)}.obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 $(CC) $(CCARG) $(CC1) -n$(OBJDIR)\ {$< }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 .cpp.obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 $(CC) $(CCARG) $(CC1) $(CC2)$@ $*.cpp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 vimmain = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 $(OBJDIR)\os_w32exe.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 vimwinmain = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 $(OBJDIR)\os_w32exe.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 vimobj = \
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
512 $(OBJDIR)\arabic.obj \
15634
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15450
diff changeset
513 $(OBJDIR)\autocmd.obj \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
514 $(OBJDIR)\blowfish.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 $(OBJDIR)\buffer.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 $(OBJDIR)\charset.obj \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 5588
diff changeset
517 $(OBJDIR)\crypt.obj \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 5588
diff changeset
518 $(OBJDIR)\crypt_zip.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
519 $(OBJDIR)\dict.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 $(OBJDIR)\diff.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 $(OBJDIR)\digraph.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 $(OBJDIR)\edit.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 $(OBJDIR)\eval.obj \
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9564
diff changeset
524 $(OBJDIR)\evalfunc.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 $(OBJDIR)\ex_cmds.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 $(OBJDIR)\ex_cmds2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 $(OBJDIR)\ex_docmd.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 $(OBJDIR)\ex_eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 $(OBJDIR)\ex_getln.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 $(OBJDIR)\fileio.obj \
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
531 $(OBJDIR)\findfile.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 $(OBJDIR)\fold.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 $(OBJDIR)\getchar.obj \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 226
diff changeset
534 $(OBJDIR)\hardcopy.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 539
diff changeset
535 $(OBJDIR)\hashtab.obj \
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
536 $(OBJDIR)\indent.obj \
16142
570a296aa0b4 patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents: 16123
diff changeset
537 $(OBJDIR)\insexpand.obj \
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7435
diff changeset
538 $(OBJDIR)\json.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
539 $(OBJDIR)\list.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 $(OBJDIR)\main.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 $(OBJDIR)\mark.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 $(OBJDIR)\memfile.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 $(OBJDIR)\memline.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 $(OBJDIR)\menu.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 $(OBJDIR)\message.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 $(OBJDIR)\misc1.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 $(OBJDIR)\misc2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 $(OBJDIR)\move.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 $(OBJDIR)\mbyte.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 $(OBJDIR)\normal.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 $(OBJDIR)\ops.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 $(OBJDIR)\option.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 539
diff changeset
553 $(OBJDIR)\popupmnu.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 $(OBJDIR)\quickfix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 $(OBJDIR)\regexp.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 $(OBJDIR)\screen.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 $(OBJDIR)\search.obj \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
558 $(OBJDIR)\sha256.obj \
15330
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 14925
diff changeset
559 $(OBJDIR)\sign.obj \
226
4e7dca477fee updated for version 7.0063
vimboss
parents: 185
diff changeset
560 $(OBJDIR)\spell.obj \
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
561 $(OBJDIR)\spellfile.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 $(OBJDIR)\syntax.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 $(OBJDIR)\tag.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 $(OBJDIR)\term.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 $(OBJDIR)\ui.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 $(OBJDIR)\undo.obj \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
567 $(OBJDIR)\userfunc.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 $(OBJDIR)\version.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 $(OBJDIR)\window.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 $(OBJDIR)\pathdef.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 $(OBJDIR)\if_ole.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
577 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
578 vimobj = $(vimobj) \
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
579 $(OBJDIR)\if_lua.obj
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
580 !endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
581
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 $(OBJDIR)\if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 $(OBJDIR)\if_python.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
592 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
593 vimobj = $(vimobj) \
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
594 $(OBJDIR)\if_python3.obj
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
595 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
596
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 $(OBJDIR)\if_ruby.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 $(OBJDIR)\if_tcl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 $(OBJDIR)\if_cscope.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 !if ("$(NETBEANS)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 vimobj = $(vimobj) \
185
037369688e14 updated for version 7.0057
vimboss
parents: 119
diff changeset
614 $(OBJDIR)\netbeans.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
617 !if ("$(CHANNEL)"=="yes")
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
618 vimobj = $(vimobj) \
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
619 $(OBJDIR)\channel.obj
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
620 !endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
621
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 $(OBJDIR)\xpm_w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 $(vimwinmain) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 $(OBJDIR)\gui.obj \
185
037369688e14 updated for version 7.0057
vimboss
parents: 119
diff changeset
631 $(OBJDIR)\gui_beval.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 $(OBJDIR)\gui_w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 vimobj = $(vimobj) \
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 2329
diff changeset
636 $(OBJDIR)\os_win32.obj $(OBJDIR)\os_mswin.obj $(OBJDIR)\winclip.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 # Blab what we are going to do:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 MSG = Compiling $(OSTYPE) $(TARGET) $(OLETARGET), with:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 MSG = $(MSG) GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 MSG = $(MSG) OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 MSG = $(MSG) USEDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 !if ("$(FASTCALL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 MSG = $(MSG) FASTCALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 !if ("$(IME)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 MSG = $(MSG) IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 ! if "$(DYNAMIC_IME)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 !if ("$(GETTEXT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 MSG = $(MSG) GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 !if ("$(ICONV)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 MSG = $(MSG) ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 MSG = $(MSG) DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 MSG = $(MSG) CODEGUARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 MSG = $(MSG) CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 !if ("$(NETBEANS)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 MSG = $(MSG) NETBEANS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 !endif
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
675 !if ("$(CHANNEL)"=="yes")
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
676 MSG = $(MSG) CHANNEL
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
677 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 MSG = $(MSG) XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 !endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
681 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
682 MSG = $(MSG) LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
683 ! if "$(DYNAMIC_LUA)" == "yes"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
684 MSG = $(MSG)(dynamic)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
685 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
686 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 MSG = $(MSG) PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 ! if "$(DYNAMIC_PERL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 MSG = $(MSG) PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 ! if "$(DYNAMIC_PYTHON)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
699 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
700 MSG = $(MSG) PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
701 ! if "$(DYNAMIC_PYTHON3)" == "yes"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
702 MSG = $(MSG)(dynamic)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
703 ! endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
704 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 MSG = $(MSG) RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 ! if "$(DYNAMIC_RUBY)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 MSG = $(MSG) TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 ! if "$(DYNAMIC_TCL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 MSG = $(MSG) cpu=$(CPUARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 MSG = $(MSG) Align=$(ALIGNARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 !message $(MSG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 TARGETS = $(TARGETS) $(TARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 # Targets:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 all: vim vimrun.exe install.exe xxd uninstal.exe GvimExt/gvimext.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 vim: $(OSTYPE) $(OBJDIR) $(OBJDIR)\bcc.cfg $(TARGETS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 @if exist $(OBJDIR)\version.obj del $(OBJDIR)\version.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 @if exist auto\pathdef.c del auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 $(OSTYPE):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 -@md $(OSTYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 $(OBJDIR):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 -@md $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 xxd:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 @cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" BCC="$(CC)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 @cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 $(MAKE) /f Make_bc5.mak USEDLL=$(USEDLL) BOR=$(BOR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 install.exe: dosinst.c $(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 $(CC) $(CCARG) -WC -DWIN32 -einstall dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 uninstal.exe: uninstal.c $(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 $(CC) $(CCARG) -WC -DWIN32 -O2 -euninstal uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 !if "$(OS)" == "Windows_NT"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 # For Windows NT/2000, doesn't work on Windows 95/98...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 # $(COMSPEC) needed to ensure rmdir.exe is not run
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 -@$(COMSPEC) /C rmdir /Q /S $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 # For Windows 95/98, doesn't work on Windows NT/2000...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 -@deltree /y $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 -@del *.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 -@del vim32*.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 -@del vim32*.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 -@del *vim*.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 -@del *install*.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 -@del *.csm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 -@del *.map
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 -@del *.ilc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 -@del *.ild
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 -@del *.ilf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 -@del *.ils
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 -@del *.tds
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
774 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
775 -@del lua.lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
776 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 -@del perl.lib
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
779 -@del if_perl.c
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
780 -@del auto\if_perl.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 -@del python.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
785 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
786 -@del python3.lib
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
787 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 -@del ruby.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 -@del tcl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 -@del xpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 $(TARGET): $(OBJDIR) $(vimobj) $(OBJDIR)\$(RESFILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 $(LINK) @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 $(LFLAGS) +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 $(STARTUPOBJ) +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 $(vimobj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 $<,$*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 cg32.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 # $(OSTYPE)==WIN32 causes os_mswin.c compilation. FEAT_SHORTCUT in it needs OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 ole2w32.lib +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 import32.lib+
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
817 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
818 $(LUA_LIB_FLAG)lua.lib+
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
819 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 $(PERL_LIB_FLAG)perl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 $(PYTHON_LIB_FLAG)python.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
826 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
827 $(PYTHON3_LIB_FLAG)python3.lib+
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
828 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 $(RUBY_LIB_FLAG)ruby.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 $(TCL_LIB_FLAG)tcl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836 xpm.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 cw32i.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 cw32.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 $(OBJDIR)\$(RESFILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 cd testdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 $(MAKE) /NOLOGO -f Make_dos.mak win32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 $(OBJDIR)\ex_docmd.obj: ex_docmd.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 $(OBJDIR)\ex_eval.obj: ex_eval.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 $(OBJDIR)\if_ole.obj: if_ole.cpp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
858 $(OBJDIR)\if_lua.obj: if_lua.c lua.lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
859 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_lua.c
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
860
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
861 $(OBJDIR)\if_perl.obj: auto/if_perl.c perl.lib
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
862 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc auto/if_perl.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
864 auto/if_perl.c: if_perl.xs typemap
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 $(PERL)\bin\perl.exe $(PERL)\lib\ExtUtils\xsubpp -prototypes -typemap \
14925
8b1b3228c410 patch 8.1.0474: directory where if_perl.c is written is inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 9583
diff changeset
866 $(PERL)\lib\ExtUtils\typemap if_perl.xs -output $@
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
868 $(OBJDIR)\if_python.obj: if_python.c if_py_both.h python.lib
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
869 $(CC) -I$(PYTHON)\include $(CCARG) $(CC1) $(CC2)$@ -pc if_python.c
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
870
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
871 $(OBJDIR)\if_python3.obj: if_python3.c if_py_both.h python3.lib
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
872 $(CC) -I$(PYTHON3)\include $(CCARG) $(CC1) $(CC2)$@ -pc if_python3.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 $(OBJDIR)\if_ruby.obj: if_ruby.c ruby.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_ruby.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 $(OBJDIR)\if_tcl.obj: if_tcl.c tcl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 $(OBJDIR)\xpm_w32.obj: xpm_w32.c xpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc xpm_w32.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 $(OBJDIR)\netbeans.obj: netbeans.c $(NBDEBUG_DEP)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 $(CC) $(CCARG) $(CC1) $(CC2)$@ netbeans.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
886 $(OBJDIR)\channel.obj: channel.c
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
887 $(CC) $(CCARG) $(CC1) $(CC2)$@ channel.c
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
888
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 $(OBJDIR)\vim.res: vim.rc version.h tools.bmp tearoff.bmp \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 $(BRC) -fo$(OBJDIR)\vim.res -i $(BOR)\include -w32 -r vim.rc @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 $(OBJDIR)\pathdef.obj: auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 $(CC) $(CCARG) $(CC1) $(CC2)$@ auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 # Need to escape both quotes and backslashes in $INTERP_DEFINES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 INTERP_DEFINES_ESC_BKS=$(INTERP_DEFINES:\=\\)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 INTERP_DEFINES_ESC=$(INTERP_DEFINES_ESC_BKS:"=\")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 # Note: the silly /*"*/ below are there to trick make into accepting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 # the # character as something other than a comment without messing up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 # the preprocessor directive.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 auto\pathdef.c::
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 -@md auto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 @echo creating auto/pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 @copy /y &&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 /* pathdef.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 /*"*/#include "vim.h"/*"*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
913 char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
914 char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 char_u *all_cflags = (char_u *)"$(CC:\=\\) $(CFLAGS:\=\\) $(DEFINES) $(MBDEFINES) $(INTERP_DEFINES_ESC) $(OPT) $(EXETYPE) $(CPUARG) $(ALIGNARG) $(DEBUG_FLAG) $(CODEGUARD_FLAG)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 char_u *all_lflags = (char_u *)"$(LINK:\=\\) $(LFLAGS:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 char_u *compiled_user = (char_u *)"$(USERNAME)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 char_u *compiled_sys = (char_u *)"$(USERDOMAIN)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 | auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
921 lua.lib: $(LUA)\lib\lua$(LUA_VER).lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
922 coff2omf $(LUA)\lib\lua$(LUA_VER).lib $@
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
923
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 perl.lib: $(PERL)\lib\CORE\perl$(PERL_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 coff2omf $(PERL)\lib\CORE\perl$(PERL_VER).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 python.lib: $(PYTHON)\libs\python$(PYTHON_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 coff2omf $(PYTHON)\libs\python$(PYTHON_VER).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
930 python3.lib: $(PYTHON3)\libs\python$(PYTHON3_VER).lib
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
931 coff2omf $(PYTHON3)\libs\python$(PYTHON3_VER).lib $@
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
932
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 ruby.lib: $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 coff2omf $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 # For some reason, the coff2omf method doesn't work on libXpm.lib, so
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 # we have to manually generate an import library straight from the DLL.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 xpm.lib: $(XPM)\lib\libXpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 implib -a $@ $(XPM)\bin\libXpm.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 tcl.lib: $(TCL_LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 !if ("$(DYNAMIC_TCL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 copy $(TCL_LIB) $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 coff2omf $(TCL_LIB) $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 !if ("$(DYNAMIC_TCL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 tclstub$(TCL_VER)-bor.lib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 -@IF NOT EXIST $@ ECHO You must download tclstub$(TCL_VER)-bor.lib separately and\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 place it in the src directory in order to compile a dynamic TCL-enabled\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 (g)vim with the Borland compiler. You can get the tclstub$(TCL_VER)-bor.lib file\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 at http://mywebpage.netscape.com/sharppeople/vim/tclstub$(TCL_VER)-bor.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 # vimrun.exe:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 vimrun.exe: vimrun.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 $(CC) -WC -O1 -I$(INCLUDE) -L$(LIB) -D_RTLDLL vimrun.c cw32mti.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 $(CC) -WC -O1 -I$(INCLUDE) -L$(LIB) vimrun.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 # The dependency on $(OBJDIR) is to have bcc.cfg generated each time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 $(OBJDIR)\bcc.cfg: Make_bc5.mak $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 copy /y &&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 $(CFLAGS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 -L$(LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 $(MBDEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 $(INTERP_DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 $(EXETYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 $(DEBUG_FLAG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 $(OPT)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 $(CODEGUARD_FLAG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 $(CPUARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 $(ALIGNARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 | $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 # vi:set sts=4 sw=4:
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
981