comparison src/Make_cyg.mak @ 3959:d3158bf4dee9 v7.3.735

updated for version 7.3.735 Problem: Cannot build Ruby 1.9 with MingW or Cygwin. Solution: Add another include directory. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Wed, 28 Nov 2012 16:18:29 +0100
parents 8393a16069fb
children a6e60677aea7
comparison
equal deleted inserted replaced
3958:de934a4d6e3d 3959:d3158bf4dee9
19 # DYNAMIC_PYTHON3 no or yes: use yes to load the Python3 DLL dynamically (yes) 19 # DYNAMIC_PYTHON3 no or yes: use yes to load the Python3 DLL dynamically (yes)
20 # TCL define to path to TCL dir to get TCL support (not defined) 20 # TCL define to path to TCL dir to get TCL support (not defined)
21 # TCL_VER define to version of TCL being used (83) 21 # TCL_VER define to version of TCL being used (83)
22 # DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes) 22 # DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes)
23 # RUBY define to path to Ruby dir to get Ruby support (not defined) 23 # RUBY define to path to Ruby dir to get Ruby support (not defined)
24 # RUBY_VER define to version of Ruby being used (16) 24 # RUBY_VER define to version of Ruby being used (16)
25 # RUBY_VER_LONG same, but in format with dot. (1.6)
26 # You must set RUBY_VER_LONG when changing RUBY_VER.
27 # You must set RUBY_API_VER version to RUBY_VER_LONG.
28 # Don't set ruby API version to RUBY_VER like 191.
25 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes) 29 # 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) 30 # 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) 31 # 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) 32 # 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. 33 # MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch), for "static" build.
215 ifndef RUBY_INSTALL_NAME 219 ifndef RUBY_INSTALL_NAME
216 RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER) 220 RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
217 endif 221 endif
218 endif 222 endif
219 223
224 ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
225 RUBY_19_OR_LATER = 1
226 endif
227
220 DEFINES += -DFEAT_RUBY 228 DEFINES += -DFEAT_RUBY
221 INCLUDES += -I$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM) 229 INCLUDES += -I$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
230 ifdef RUBY_19_OR_LATER
231 INCLUDES += -I$(RUBY)/include/ruby-$(RUBY_VER_LONG) -I$(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
232 endif
222 EXTRA_OBJS += $(OUTDIR)/if_ruby.o 233 EXTRA_OBJS += $(OUTDIR)/if_ruby.o
223 234
224 ifeq (yes, $(DYNAMIC_RUBY)) 235 ifeq (yes, $(DYNAMIC_RUBY))
225 DEFINES += -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\" 236 DEFINES += -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
226 DEFINES += -DDYNAMIC_RUBY_VER=$(RUBY_VER) 237 DEFINES += -DDYNAMIC_RUBY_VER=$(RUBY_VER)