Mercurial > vim
comparison src/Make_cyg.mak @ 2320:966a5609669e vim73
Added Lua interfae. (Luis Carvalho)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Jul 2010 23:23:17 +0200 |
parents | 543ea69d037f |
children | ad2889f48843 |
comparison
equal
deleted
inserted
replaced
2319:c79ccf947487 | 2320:966a5609669e |
---|---|
22 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes) | 22 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes) |
23 # MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined) | 23 # MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined) |
24 # MZSCHEME_VER define to version of MzScheme being used (209_000) | 24 # MZSCHEME_VER define to version of MzScheme being used (209_000) |
25 # DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes) | 25 # DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes) |
26 # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build. | 26 # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build. |
27 # LUA define to path to Lua dir to get Lua support (not defined) | |
28 # LUA_VER define to version of Lua being used (51) | |
29 # DYNAMIC_LUA no or yes: use yes to load the Lua DLL dynamically (yes) | |
27 # GETTEXT no or yes: set to yes for dynamic gettext support (yes) | 30 # GETTEXT no or yes: set to yes for dynamic gettext support (yes) |
28 # ICONV no or yes: set to yes for dynamic iconv support (yes) | 31 # ICONV no or yes: set to yes for dynamic iconv support (yes) |
29 # MBYTE no or yes: set to yes to include multibyte support (yes) | 32 # MBYTE no or yes: set to yes to include multibyte support (yes) |
30 # IME no or yes: set to yes to include IME support (yes) | 33 # IME no or yes: set to yes to include IME support (yes) |
31 # DYNAMIC_IME no or yes: set to yes to load imm32.dll dynamically (yes) | 34 # DYNAMIC_IME no or yes: set to yes to load imm32.dll dynamically (yes) |
267 ifeq (yes, $(DYNAMIC_TCL)) | 270 ifeq (yes, $(DYNAMIC_TCL)) |
268 DEFINES += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" | 271 DEFINES += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" |
269 EXTRA_LIBS += $(TCL)/lib/tclstub$(TCL_VER).lib | 272 EXTRA_LIBS += $(TCL)/lib/tclstub$(TCL_VER).lib |
270 else | 273 else |
271 EXTRA_LIBS += $(TCL)/lib/tcl$(TCL_VER).lib | 274 EXTRA_LIBS += $(TCL)/lib/tcl$(TCL_VER).lib |
275 endif | |
276 endif | |
277 | |
278 ############################## | |
279 # DYNAMIC_LUA=yes works. | |
280 # DYNAMIC_LUA=no does not (unresolved externals on link). | |
281 ############################## | |
282 ifdef LUA | |
283 DEFINES += -DFEAT_LUA | |
284 INCLUDES += -I$(LUA)/include | |
285 EXTRA_OBJS += $(OUTDIR)/if_lua.o | |
286 | |
287 ifndef DYNAMIC_LUA | |
288 DYNAMIC_LUA = yes | |
289 endif | |
290 | |
291 ifndef LUA_VER | |
292 LUA_VER = 51 | |
293 endif | |
294 | |
295 ifeq (yes, $(DYNAMIC_LUA)) | |
296 DEFINES += -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\" | |
297 else | |
298 EXTRA_LIBS += $(LUA)/lib/lua$(LUA_VER).lib | |
272 endif | 299 endif |
273 endif | 300 endif |
274 | 301 |
275 ############################## | 302 ############################## |
276 ifeq (yes, $(GETTEXT)) | 303 ifeq (yes, $(GETTEXT)) |