diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-05 15:58:32 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-05 15:58:32 +0000 |
commit | 325b7a2fb5b970b77f7b9ec28ba15eb794f6edf8 (patch) | |
tree | a2b0cfed6da973286326442419e56938dc966ea4 /src/Make_ming.mak | |
parent | 592e0a2a1dbc542134c3fd88b4cdfa40e258f41b (diff) | |
download | vim-git-325b7a2fb5b970b77f7b9ec28ba15eb794f6edf8.tar.gz |
updated for version 7.0006
Diffstat (limited to 'src/Make_ming.mak')
-rw-r--r-- | src/Make_ming.mak | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/src/Make_ming.mak b/src/Make_ming.mak index 31cd92c26..e292817c0 100644 --- a/src/Make_ming.mak +++ b/src/Make_ming.mak @@ -106,6 +106,21 @@ PERLLIB=$(PERL)/lib PERLLIBS=$(PERLLIB)/Core endif +# uncomment 'MZSCHEME' if you want a MzScheme-enabled version +#MZSCHEME=d:/plt +ifdef MZSCHEME +ifndef MZSCHEME_VER +MZSCHEME_VER=205_000 +endif +# the modern MinGW can dynamically link to dlls directly +# point MZSCHEME_LIBDIR to where you put libmzschXXXXXXX.dll and libgcXXXXXXX.dll +# c:/windows/system32 isn't a good idea, use some other dir; +# to build you can put them in temp dir) +ifndef MZSCHEME_LIBDIR +MZSCHEME_LIBDIR=$(MZSCHEME) +endif +endif + # Python support -- works with the ActiveState python 2.0 release (and others # too, probably) # @@ -252,6 +267,10 @@ CFLAGS += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\" endif endif +ifdef MZSCHEME +CFLAGS += -I$(MZSCHEME)/include -DFEAT_MZSCHEME -DMZSCHEME_COLLECTS=\"$(MZSCHEME)/collects\" +endif + ifdef RUBY CFLAGS += -DFEAT_RUBY $(RUBYINC) ifeq (yes, $(DYNAMIC_RUBY)) @@ -372,6 +391,10 @@ OBJ = \ ifdef PERL OBJ += $(OUTDIR)/if_perl.o endif +ifdef MZSCHEME +OBJ += $(OUTDIR)/if_mzsch.o +MZSCHEME_INCL = if_mzsch.h +endif ifdef PYTHON OBJ += $(OUTDIR)/if_python.o endif @@ -401,15 +424,19 @@ endif endif +ifdef MZSCHEME +MZSCHEME_SUFFIX = Z +endif + ifeq ($(GUI),yes) TARGET := gvim$(DEBUG_SUFFIX).exe DEFINES += $(DEF_GUI) OBJ += $(GUIOBJ) LFLAGS += -mwindows -OUTDIR = gobj$(DEBUG_SUFFIX) +OUTDIR = gobj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX) else TARGET := vim$(DEBUG_SUFFIX).exe -OUTDIR = obj$(DEBUG_SUFFIX) +OUTDIR = obj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX) endif ifdef GETTEXT @@ -432,6 +459,10 @@ LIB += -lperl$(PERL_VER) endif endif +ifdef MZSCHEME +MZSCHEME_LIB = -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER) +endif + ifdef TCL LIB += -L$(TCL)/lib ifeq (yes, $(DYNAMIC_TCL)) @@ -479,7 +510,7 @@ uninstal.exe: uninstal.c $(CC) $(CFLAGS) -o uninstal.exe uninstal.c $(LIB) $(TARGET): $(OUTDIR) $(OBJ) - $(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJ) $(LIB) -lole32 -luuid $(PYTHONLIB) $(RUBYLIB) + $(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJ) $(LIB) -lole32 -luuid -L $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(RUBYLIB) upx: exes upx gvim.exe |