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