summaryrefslogtreecommitdiffstats
path: root/src/Make_cyg.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-25 21:53:18 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-25 21:53:18 +0000
commit281bdcec60a64ccd0b613ecaf2379e46b21c9912 (patch)
treeee9ae0d64a0d6a1a9c79af614acb00f380e4e0f1 /src/Make_cyg.mak
parentaab21c3533cde8f667e06548db858237870b70e7 (diff)
updated for version 7.0044
Diffstat (limited to 'src/Make_cyg.mak')
-rw-r--r--src/Make_cyg.mak37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Make_cyg.mak b/src/Make_cyg.mak
index 962e22e6bd..5319994ead 100644
--- a/src/Make_cyg.mak
+++ b/src/Make_cyg.mak
@@ -18,6 +18,16 @@
# RUBY define to path to Ruby dir to get Ruby support (not defined)
# RUBY_VER define to version of Ruby being used (16)
# DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
+# MZSCHEME define to path to MzScheme dir to get MZSCHEME support (not defined)
+# MZSCHEME_VER define to version of MzScheme being used (209_000)
+# DYNAMIC_MZSCHEME no or yes: use yes to load the MzScheme DLLs dynamically (yes)
+# MZSCHEME_DLLS path to MzScheme DLLs (libmzgc and libmzsch).
+# Is used for DYNAMIC_MZSCHEME=no only.
+# c:/windows/system32 isn't a good idea, copy them to some
+# dir and point MZSCHEME_DLLS to this dir.
+# By default $(MZSCHEME) will be used. You can remove
+# these DLLs from $(MZSCHEME_DLLS) after you
+# built Vim (they are used for dll "static" linking only)
# GETTEXT no or yes: set to yes for dynamic gettext support (yes)
# ICONV no or yes: set to yes for dynamic iconv support (yes)
# MBYTE no or yes: set to yes to include multibyte support (yes)
@@ -190,6 +200,33 @@ endif
endif
##############################
+# DYNAMIC_MZSCHEME=yes works
+# DYNAMIC_MZSCHEME=no works too
+##############################
+ifdef MZSCHEME
+DEFINES += -DFEAT_MZSCHEME
+INCLUDES += -I$(MZSCHEME)/include
+EXTRA_OBJS += $(OUTDIR)/if_mzsch.o
+
+ifndef DYNAMIC_MZSCHEME
+DYNAMIC_MZSCHEME = yes
+endif
+
+ifndef MZSCHEME_VER
+MZSCHEME_VER = 209_000
+endif
+
+ifeq (yes, $(DYNAMIC_MZSCHEME))
+DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
+else
+ifndef MZSCHEME_DLLS
+MZSCHEME_DLLS = $(MZSCHEME)
+endif
+EXTRA_LIBS += -L$(MZSCHEME_DLLS) -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
+endif
+endif
+
+##############################
# DYNAMIC_TCL=yes and no both work.
##############################
ifdef TCL