comparison src/Make_cyg.mak @ 2628:5c4b2fc4f067 v7.3.049

updated for version 7.3.049 Problem: PLT has rebranded their Scheme to Racket. Solution: Add support for Racket 5.x. (Sergey Khorev)
author Bram Moolenaar <bram@vim.org>
date Wed, 03 Nov 2010 21:59:30 +0100
parents ad2889f48843
children d3758064ff99
comparison
equal deleted inserted replaced
2627:fae6fb779a6b 2628:5c4b2fc4f067
1 # 1 #
2 # Makefile for VIM on Win32, using Cygnus gcc 2 # Makefile for VIM on Win32, using Cygnus gcc
3 # Last updated by Dan Sharp. Last Change: 2010 Feb 24 3 # Last updated by Dan Sharp. Last Change: 2010 Nov 03
4 # 4 #
5 # Also read INSTALLpc.txt! 5 # Also read INSTALLpc.txt!
6 # 6 #
7 # This compiles Vim as a Windows application. If you want Vim to run as a 7 # This compiles Vim as a Windows application. If you want Vim to run as a
8 # Cygwin application use the Makefile (just like on Unix). 8 # Cygwin application use the Makefile (just like on Unix).
25 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes) 25 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
26 # MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined) 26 # MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined)
27 # MZSCHEME_VER define to version of MzScheme being used (209_000) 27 # MZSCHEME_VER define to version of MzScheme being used (209_000)
28 # DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes) 28 # DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes)
29 # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build. 29 # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build.
30 # MZSCHEME_USE_RACKET define to use "racket" instead of "mzsch".
30 # LUA define to path to Lua dir to get Lua support (not defined) 31 # LUA define to path to Lua dir to get Lua support (not defined)
31 # LUA_VER define to version of Lua being used (51) 32 # LUA_VER define to version of Lua being used (51)
32 # DYNAMIC_LUA no or yes: use yes to load the Lua DLL dynamically (yes) 33 # DYNAMIC_LUA no or yes: use yes to load the Lua DLL dynamically (yes)
33 # GETTEXT no or yes: set to yes for dynamic gettext support (yes) 34 # GETTEXT no or yes: set to yes for dynamic gettext support (yes)
34 # ICONV no or yes: set to yes for dynamic iconv support (yes) 35 # ICONV no or yes: set to yes for dynamic iconv support (yes)
252 # for version 4.x we need to generate byte-code for Scheme base 253 # for version 4.x we need to generate byte-code for Scheme base
253 ifndef MZSCHEME_GENERATE_BASE 254 ifndef MZSCHEME_GENERATE_BASE
254 MZSCHEME_GENERATE_BASE=no 255 MZSCHEME_GENERATE_BASE=no
255 endif 256 endif
256 257
258 ifndef MZSCHEME_USE_RACKET
259 MZSCHEME_MAIN_LIB=mzsch
260 else
261 MZSCHEME_MAIN_LIB=racket
262 endif
263
257 ifeq (yes, $(DYNAMIC_MZSCHEME)) 264 ifeq (yes, $(DYNAMIC_MZSCHEME))
258 DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\" 265 DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
259 else 266 else
260 ifndef MZSCHEME_DLLS 267 ifndef MZSCHEME_DLLS
261 MZSCHEME_DLLS = $(MZSCHEME) 268 MZSCHEME_DLLS = $(MZSCHEME)
262 endif 269 endif
263 ifeq (yes,$(MZSCHEME_PRECISE_GC)) 270 ifeq (yes,$(MZSCHEME_PRECISE_GC))
264 MZSCHEME_LIB=-lmzsch$(MZSCHEME_VER) 271 MZSCHEME_LIB=-l$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER)
265 else 272 else
266 MZSCHEME_LIB = -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER) 273 MZSCHEME_LIB = -l$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
267 endif 274 endif
268 EXTRA_LIBS += -L$(MZSCHEME_DLLS) -L$(MZSCHEME_DLLS)/lib $(MZSCHEME_LIB) 275 EXTRA_LIBS += -L$(MZSCHEME_DLLS) -L$(MZSCHEME_DLLS)/lib $(MZSCHEME_LIB)
269 endif 276 endif
270 ifeq (yes,$(MZSCHEME_GENERATE_BASE)) 277 ifeq (yes,$(MZSCHEME_GENERATE_BASE))
271 DEFINES += -DINCLUDE_MZSCHEME_BASE 278 DEFINES += -DINCLUDE_MZSCHEME_BASE