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