annotate src/Make_cyg_ming.mak @ 10196:66658966ac2e v7.4.2367

commit https://github.com/vim/vim/commit/edeb846c1f04a49466992077eaea3396838bf4fd Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 12 13:32:02 2016 +0200 patch 7.4.2367 Problem: Test runner misses a comma. Solution: Add the comma.
author Christian Brabandt <cb@256bit.org>
date Mon, 12 Sep 2016 13:45:06 +0200
parents cd9823840f2e
children 70680eba1940
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 # Makefile for VIM on Win32 (Cygwin and MinGW)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 # This file contains common part for Cygwin and MinGW and it is included
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 # from Make_cyg.mak and Make_ming.mak.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 # Info at http://www.mingw.org
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 # Alternative x86 and 64-builds: http://mingw-w64.sourceforge.net
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 # Also requires GNU make, which you can download from the same sites.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 # Get missing libraries from http://gnuwin32.sf.net.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 # Tested on Win32 NT 4 and Win95.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 # To make everything, just 'make -f Make_ming.mak'.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 # To make just e.g. gvim.exe, 'make -f Make_ming.mak gvim.exe'.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 # After a run, you can 'make -f Make_ming.mak clean' to clean up.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 # NOTE: Sometimes 'GNU Make' will stop after building vimrun.exe -- I think
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 # it's just run out of memory or something. Run again, and it will continue
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 # with 'xxd'.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 # "make upx" makes *compressed* versions of the 32 bit GUI and console EXEs,
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 # using the excellent UPX compressor:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 # http://upx.sourceforge.net/
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 # "make mpress" uses the MPRESS compressor for 32- and 64-bit EXEs:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 # http://www.matcode.com/mpress.htm
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 #
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 # Maintained by Ron Aaron <ronaharon@yahoo.com> et al.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 # Updated 2014 Oct 13.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 #>>>>> choose options:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 # set to yes for a debug build
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 DEBUG=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 # set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 OPTIMIZE=MAXSPEED
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 # set to yes to make gvim, no for vim
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 GUI=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 # set to yes if you want to use DirectWrite (DirectX)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 # MinGW-w64 is needed, and ARCH should be set to i686 or x86-64.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 DIRECTX=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 # FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 # Set to TINY to make minimal version (few features).
7699
854302b82ff9 commit https://github.com/vim/vim/commit/e5f2be61595fbbba77261f3bf1e032fe03a1966d
Christian Brabandt <cb@256bit.org>
parents: 7695
diff changeset
42 FEATURES=HUGE
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 # Set to one of i386, i486, i586, i686 as the minimum target processor.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 # For amd64/x64 architecture set ARCH=x86-64 .
9499
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
45 # If not set, it will be automatically detected. (Normally i686 or x86-64.)
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
46 #ARCH=i686
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 # Set to yes to cross-compile from unix; no=native Windows (and Cygwin).
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 CROSS=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 # Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 #ICONV="."
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 ICONV=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 GETTEXT=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 # Set to yes to include multibyte support.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 MBYTE=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 # Set to yes to include IME support.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 IME=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 DYNAMIC_IME=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 # Set to yes to enable writing a postscript file with :hardcopy.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
59 POSTSCRIPT=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 # Set to yes to enable OLE support.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 OLE=no
8120
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8076
diff changeset
62 # Set the default $(WINVER) to make it work with WinXP.
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 ifndef WINVER
8120
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8076
diff changeset
64 WINVER = 0x0501
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
65 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 # Set to yes to enable Cscope support.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 CSCOPE=yes
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
68 # Set to yes to enable Netbeans support (requires CHANNEL).
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 NETBEANS=$(GUI)
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
70 # Set to yes to enable inter process communication.
9203
c096095ad9fb commit https://github.com/vim/vim/commit/1aa07bdead2e93501c54591e31fe73b9b09c58b5
Christian Brabandt <cb@256bit.org>
parents: 8696
diff changeset
71 ifeq (HUGE, $(FEATURES))
c096095ad9fb commit https://github.com/vim/vim/commit/1aa07bdead2e93501c54591e31fe73b9b09c58b5
Christian Brabandt <cb@256bit.org>
parents: 8696
diff changeset
72 CHANNEL=yes
c096095ad9fb commit https://github.com/vim/vim/commit/1aa07bdead2e93501c54591e31fe73b9b09c58b5
Christian Brabandt <cb@256bit.org>
parents: 8696
diff changeset
73 else
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
74 CHANNEL=$(GUI)
9203
c096095ad9fb commit https://github.com/vim/vim/commit/1aa07bdead2e93501c54591e31fe73b9b09c58b5
Christian Brabandt <cb@256bit.org>
parents: 8696
diff changeset
75 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
76
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 # Link against the shared version of libstdc++ by default. Set
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 # STATIC_STDCPLUS to "yes" to link against static version instead.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 ifndef STATIC_STDCPLUS
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 STATIC_STDCPLUS=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 # If the user doesn't want gettext, undefine it.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
85 ifeq (no, $(GETTEXT))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 GETTEXT=
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 # Added by E.F. Amatria <eferna1@platea.ptic.mec.es> 2001 Feb 23
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 # Uncomment the first line and one of the following three if you want Native Language
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
90 # Support. You'll need gnu_gettext.win32, a MINGW32 Windows PORT of gettext by
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
91 # Franco Bez <franco.bez@gmx.de>. It may be found at
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 # http://home.a-city.de/franco.bez/gettext/gettext_win32_en.html
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 # Tested with mingw32 with GCC-2.95.2 on Win98
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
94 # Updated 2001 Jun 9
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 #GETTEXT=c:/gettext.win32.msvcrt
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
96 #STATIC_GETTEXT=USE_STATIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
97 #DYNAMIC_GETTEXT=USE_GETTEXT_DLL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
98 #DYNAMIC_GETTEXT=USE_SAFE_GETTEXT_DLL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
99 SAFE_GETTEXT_DLL_OBJ = $(GETTEXT)/src/safe_gettext_dll/safe_gettext_dll.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
100 # Alternatively, if you uncomment the two following lines, you get a "safe" version
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
101 # without linking the safe_gettext_dll.o object file.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
102 #DYNAMIC_GETTEXT=DYNAMIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
103 #GETTEXT_DYNAMIC=gnu_gettext.dll
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
104 INTLPATH=$(GETTEXT)/lib/mingw32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
105 INTLLIB=gnu_gettext
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
106
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
107 # If you are using gettext-0.10.35 from http://sourceforge.net/projects/gettext
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
108 # or gettext-0.10.37 from http://sourceforge.net/projects/mingwrep/
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
109 # uncomment the following, but I can't build a static version with them, ?-(|
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
110 #GETTEXT=c:/gettext-0.10.37-20010430
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
111 #STATIC_GETTEXT=USE_STATIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
112 #DYNAMIC_GETTEXT=DYNAMIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
113 #INTLPATH=$(GETTEXT)/lib
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
114 #INTLLIB=intl
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
115
9499
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
116
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
117 # Command definitions (depends on cross-compiling and shell)
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
118 ifeq ($(CROSS),yes)
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
119 # cross-compiler prefix:
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
120 ifndef CROSS_COMPILE
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
121 CROSS_COMPILE = i586-pc-mingw32msvc-
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
122 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
123 DEL = rm
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
124 MKDIR = mkdir -p
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
125 DIRSLASH = /
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
126 else
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
127 # normal (Windows) compilation:
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
128 ifndef CROSS_COMPILE
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
129 CROSS_COMPILE =
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
130 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
131 ifneq (sh.exe, $(SHELL))
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
132 DEL = rm
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
133 MKDIR = mkdir -p
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
134 DIRSLASH = /
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
135 else
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
136 DEL = del
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
137 MKDIR = mkdir
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
138 DIRSLASH = \\
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
139 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
140 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
141 CC := $(CROSS_COMPILE)gcc
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
142 CXX := $(CROSS_COMPILE)g++
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
143 ifeq ($(UNDER_CYGWIN),yes)
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
144 WINDRES := $(CROSS_COMPILE)windres
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
145 else
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
146 WINDRES := windres
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
147 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
148 WINDRES_CC = $(CC)
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
149
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
150 # Get the default ARCH.
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
151 ifndef ARCH
9507
5376c8008b3a commit https://github.com/vim/vim/commit/f62e797ffa6ab5d4c476b4c9e9a1f7f852910652
Christian Brabandt <cb@256bit.org>
parents: 9503
diff changeset
152 ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/' -e 's/^mingw32$$/i686/')
9499
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
153 endif
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
154
69102e843370 commit https://github.com/vim/vim/commit/e048539195e1c0a060cf41b39fca118130bdc151
Christian Brabandt <cb@256bit.org>
parents: 9471
diff changeset
155
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
156 # Perl interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
157 # PERL=[Path to Perl directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
158 # DYNAMIC_PERL=yes (to load the Perl DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
159 # PERL_VER=[Perl version, eg 56, 58, 510] (default is 524)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
160 ifdef PERL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
161 ifndef PERL_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
162 PERL_VER=524
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
163 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
164 ifndef DYNAMIC_PERL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
165 DYNAMIC_PERL=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
166 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
167 # on Linux, for cross-compile, it's here:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
168 #PERLLIB=/home/ron/ActivePerl/lib
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
169 # on NT, it's here:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
170 PERLEXE=$(PERL)/bin/perl
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
171 PERLLIB=$(PERL)/lib
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
172 PERLLIBS=$(PERLLIB)/Core
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
173 ifeq ($(UNDER_CYGWIN),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
174 PERLTYPEMAP:=$(shell cygpath -m $(PERLLIB)/ExtUtils/typemap)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
175 XSUBPPTRY:=$(shell cygpath -m $(PERLLIB)/ExtUtils/xsubpp)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
176 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
177 PERLTYPEMAP=$(PERLLIB)/ExtUtils/typemap
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
178 XSUBPPTRY=$(PERLLIB)/ExtUtils/xsubpp
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
179 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
180 XSUBPP_EXISTS=$(shell $(PERLEXE) -e "print 1 unless -e '$(XSUBPPTRY)'")
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
181 ifeq "$(XSUBPP_EXISTS)" ""
6349
5b2ff413125b updated for version 7.4.507
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
182 XSUBPP=$(PERLEXE) $(XSUBPPTRY)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
183 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
184 XSUBPP=xsubpp
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
185 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
186 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
187
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
188 # Lua interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
189 # LUA=[Path to Lua directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
190 # DYNAMIC_LUA=yes (to load the Lua DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
191 # LUA_VER=[Lua version, eg 51, 52] (default is 53)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
192 ifdef LUA
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
193 ifndef DYNAMIC_LUA
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
194 DYNAMIC_LUA=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
195 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
196
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
197 ifndef LUA_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
198 LUA_VER=53
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
199 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
200
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
201 ifeq (no,$(DYNAMIC_LUA))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
202 LUA_LIB = -L$(LUA)/lib -llua
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
203 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
204
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
205 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
206
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
207 # MzScheme interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
208 # MZSCHEME=[Path to MzScheme directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
209 # DYNAMIC_MZSCHEME=yes (to load the MzScheme DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
210 # MZSCHEME_VER=[MzScheme version] (default is 3m_a0solc (6.6))
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
211 # MZSCHEME_DEBUG=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
212 ifdef MZSCHEME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
213 ifndef DYNAMIC_MZSCHEME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
214 DYNAMIC_MZSCHEME=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
215 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
216
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
217 ifndef MZSCHEME_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
218 MZSCHEME_VER=3m_a0solc
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
219 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
220
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
221 # for version 4.x we need to generate byte-code for Scheme base
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
222 ifndef MZSCHEME_GENERATE_BASE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
223 MZSCHEME_GENERATE_BASE=no
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
224 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
225
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
226 ifneq ($(wildcard $(MZSCHEME)/lib/msvc/libmzsch$(MZSCHEME_VER).lib),)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
227 MZSCHEME_MAIN_LIB=mzsch
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
228 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
229 MZSCHEME_MAIN_LIB=racket
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
230 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
231
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
232 ifndef MZSCHEME_PRECISE_GC
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
233 MZSCHEME_PRECISE_GC=no
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
234 ifneq ($(wildcard $(MZSCHEME)\lib\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll),)
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
235 ifeq ($(wildcard $(MZSCHEME)\lib\libmzgc$(MZSCHEME_VER).dll),)
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
236 MZSCHEME_PRECISE_GC=yes
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
237 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
238 else
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
239 ifneq ($(wildcard $(MZSCHEME)\lib\msvc\lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).lib),)
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
240 ifeq ($(wildcard $(MZSCHEME)\lib\msvc\libmzgc$(MZSCHEME_VER).lib),)
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
241 MZSCHEME_PRECISE_GC=yes
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
242 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
243 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
244 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
245 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
246
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
247 ifeq (no,$(DYNAMIC_MZSCHEME))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
248 ifeq (yes,$(MZSCHEME_PRECISE_GC))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
249 MZSCHEME_LIB=-l$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
250 else
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
251 MZSCHEME_LIB=-l$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
252 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
253 # the modern MinGW can dynamically link to dlls directly.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
254 # point MZSCHEME_DLLS to where you put libmzschXXXXXXX.dll and libgcXXXXXXX.dll
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
255 ifndef MZSCHEME_DLLS
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
256 MZSCHEME_DLLS=$(MZSCHEME)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
257 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
258 MZSCHEME_LIBDIR=-L$(MZSCHEME_DLLS) -L$(MZSCHEME_DLLS)\lib
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
259 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
260
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
261 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
262
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
263 # Python interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
264 # PYTHON=[Path to Python directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
265 # DYNAMIC_PYTHON=yes (to load the Python DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
266 # PYTHON_VER=[Python version, eg 22, 23, ..., 27] (default is 27)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
267 ifdef PYTHON
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
268 ifndef DYNAMIC_PYTHON
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
269 DYNAMIC_PYTHON=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
270 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
271
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
272 ifndef PYTHON_VER
7456
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
273 PYTHON_VER=27
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
274 endif
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
275 ifndef DYNAMIC_PYTHON_DLL
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
276 DYNAMIC_PYTHON_DLL=python$(PYTHON_VER).dll
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
277 endif
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
278 ifdef PYTHON_HOME
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
279 PYTHON_HOME_DEF=-DPYTHON_HOME=\"$(PYTHON_HOME)\"
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
280 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
281
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
282 ifeq (no,$(DYNAMIC_PYTHON))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
283 PYTHONLIB=-L$(PYTHON)/libs -lpython$(PYTHON_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
284 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
285 # my include files are in 'win32inc' on Linux, and 'include' in the standard
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
286 # NT distro (ActiveState)
7456
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
287 ifndef PYTHONINC
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
288 ifeq ($(CROSS),no)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
289 PYTHONINC=-I $(PYTHON)/include
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
290 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
291 PYTHONINC=-I $(PYTHON)/win32inc
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
292 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
293 endif
7456
2c5e813e8852 commit https://github.com/vim/vim/commit/3c6f92e52ef15df4aa248ce00eacd65928044210
Christian Brabandt <cb@256bit.org>
parents: 6872
diff changeset
294 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
295
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
296 # Python3 interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
297 # PYTHON3=[Path to Python3 directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
298 # DYNAMIC_PYTHON3=yes (to load the Python3 DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
299 # PYTHON3_VER=[Python3 version, eg 31, 32] (default is 35)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
300 ifdef PYTHON3
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
301 ifndef DYNAMIC_PYTHON3
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
302 DYNAMIC_PYTHON3=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
303 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
304
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
305 ifndef PYTHON3_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
306 PYTHON3_VER=35
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
307 endif
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
308 ifndef DYNAMIC_PYTHON3_DLL
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
309 DYNAMIC_PYTHON3_DLL=python$(PYTHON3_VER).dll
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
310 endif
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
311 ifdef PYTHON3_HOME
8076
3b0127287851 commit https://github.com/vim/vim/commit/acd58ef676bb9559ac0f635f66b62f4602929c87
Christian Brabandt <cb@256bit.org>
parents: 8064
diff changeset
312 PYTHON3_HOME_DEF=-DPYTHON3_HOME=L\"$(PYTHON3_HOME)\"
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
313 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
314
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
315 ifeq (no,$(DYNAMIC_PYTHON3))
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
316 PYTHON3LIB=-L$(PYTHON3)/libs -lpython$(PYTHON3_VER)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
317 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
318
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
319 ifndef PYTHON3INC
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
320 ifeq ($(CROSS),no)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
321 PYTHON3INC=-I $(PYTHON3)/include
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
322 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
323 PYTHON3INC=-I $(PYTHON3)/win32inc
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
324 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
325 endif
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
326 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
327
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
328 # TCL interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
329 # TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
330 # DYNAMIC_TCL=yes (to load the TCL DLL dynamically)
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
331 # TCL_VER=[TCL version, eg 83, 84] (default is 86)
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
332 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6)
7523
55cd9a99514d commit https://github.com/vim/vim/commit/eca99bd45f094b1b12e22b9d6b206bd05dc9a38c
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
333 # You must set TCL_VER_LONG when you set TCL_VER.
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
334 ifdef TCL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
335 ifndef DYNAMIC_TCL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
336 DYNAMIC_TCL=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
337 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
338 ifndef TCL_VER
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
339 TCL_VER = 86
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
340 endif
7523
55cd9a99514d commit https://github.com/vim/vim/commit/eca99bd45f094b1b12e22b9d6b206bd05dc9a38c
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
341 ifndef TCL_VER_LONG
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
342 TCL_VER_LONG = 8.6
7523
55cd9a99514d commit https://github.com/vim/vim/commit/eca99bd45f094b1b12e22b9d6b206bd05dc9a38c
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
343 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
344 TCLINC += -I$(TCL)/include
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
345 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
346
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
347
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
348 # Ruby interface:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
349 # RUBY=[Path to Ruby directory] (Set inside Make_cyg.mak or Make_ming.mak)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
350 # DYNAMIC_RUBY=yes (to load the Ruby DLL dynamically)
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
351 # RUBY_VER=[Ruby version, eg 19, 22] (default is 22)
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
352 # RUBY_API_VER_LONG=[Ruby API version, eg 1.8, 1.9.1, 2.2.0]
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
353 # (default is 2.2.0)
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
354 # You must set RUBY_API_VER_LONG when changing RUBY_VER.
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
355 # Note: If you use Ruby 1.9.3, set as follows:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
356 # RUBY_VER=19
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
357 # RUBY_API_VER_LONG=1.9.1 (not 1.9.3, because the API version is 1.9.1.)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
358 ifdef RUBY
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
359 ifndef DYNAMIC_RUBY
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
360 DYNAMIC_RUBY=yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
361 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
362 # Set default value
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
363 ifndef RUBY_VER
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
364 RUBY_VER = 22
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
365 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
366 ifndef RUBY_VER_LONG
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
367 RUBY_VER_LONG = 2.2.0
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
368 endif
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
369 ifndef RUBY_API_VER_LONG
10149
cd9823840f2e commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64
Christian Brabandt <cb@256bit.org>
parents: 10138
diff changeset
370 RUBY_API_VER_LONG = $(RUBY_VER_LONG)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
371 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
372 ifndef RUBY_API_VER
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
373 RUBY_API_VER = $(subst .,,$(RUBY_API_VER_LONG))
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
374 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
375
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
376 ifndef RUBY_PLATFORM
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
377 ifeq ($(RUBY_VER), 16)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
378 RUBY_PLATFORM = i586-mswin32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
379 else
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
380 ifneq ($(wildcard $(RUBY)/lib/ruby/$(RUBY_API_VER_LONG)/i386-mingw32),)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
381 RUBY_PLATFORM = i386-mingw32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
382 else
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
383 ifneq ($(wildcard $(RUBY)/lib/ruby/$(RUBY_API_VER_LONG)/x64-mingw32),)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
384 RUBY_PLATFORM = x64-mingw32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
385 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
386 RUBY_PLATFORM = i386-mswin32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
387 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
388 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
389 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
390 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
391
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
392 ifndef RUBY_INSTALL_NAME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
393 ifeq ($(RUBY_VER), 16)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
394 RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_API_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
395 else
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
396 ifndef RUBY_MSVCRT_NAME
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
397 # Base name of msvcrXX.dll which is used by ruby's dll.
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
398 RUBY_MSVCRT_NAME = msvcrt
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
399 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
400 ifeq ($(ARCH),x86-64)
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
401 RUBY_INSTALL_NAME = x64-$(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
402 else
7521
665330ac1d78 commit https://github.com/vim/vim/commit/0bee2fe25aca7e8e5fefe55fe0f2c0e5e0878a98
Christian Brabandt <cb@256bit.org>
parents: 7456
diff changeset
403 RUBY_INSTALL_NAME = $(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
404 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
405 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
406 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
407
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
408 ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
409 RUBY_19_OR_LATER = 1
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
410 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
411
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
412 RUBYINC = -I $(RUBY)/lib/ruby/$(RUBY_API_VER_LONG)/$(RUBY_PLATFORM)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
413 ifdef RUBY_19_OR_LATER
10138
8bfcb960e6bd commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Christian Brabandt <cb@256bit.org>
parents: 9583
diff changeset
414 RUBYINC += -I $(RUBY)/include/ruby-$(RUBY_API_VER_LONG) -I $(RUBY)/include/ruby-$(RUBY_API_VER_LONG)/$(RUBY_PLATFORM)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
415 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
416 ifeq (no, $(DYNAMIC_RUBY))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
417 RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
418 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
419
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
420 endif # RUBY
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
421
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
422 # See feature.h for a list of options.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
423 # Any other defines can be included here.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
424 DEF_GUI=-DFEAT_GUI_W32 -DFEAT_CLIPBOARD
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
425 DEFINES=-DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) \
9389
32e34e574716 commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Christian Brabandt <cb@256bit.org>
parents: 9363
diff changeset
426 -DHAVE_PATHDEF -DFEAT_$(FEATURES) -DHAVE_STDINT_H
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
427 ifeq ($(ARCH),x86-64)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
428 DEFINES+=-DMS_WIN64
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
429 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
430
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
431 #>>>>> end of choices
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
432 ###########################################################################
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
433
8057
e407d5bce2f5 commit https://github.com/vim/vim/commit/a971df849f92e32e18ce475fdb47ad9ea2aa47f3
Christian Brabandt <cb@256bit.org>
parents: 8051
diff changeset
434 CFLAGS = -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall
8696
869727342e43 commit https://github.com/vim/vim/commit/6c0e984f263fc1eef42c9b34a80eff1bceb8d05b
Christian Brabandt <cb@256bit.org>
parents: 8641
diff changeset
435 CXXFLAGS = -std=gnu++11
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
436 WINDRES_FLAGS = --preprocessor="$(WINDRES_CC) -E -xc" -DRC_INVOKED
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
437 EXTRA_LIBS =
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
438
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
439 ifdef GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
440 DEFINES += -DHAVE_GETTEXT -DHAVE_LOCALE_H
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
441 GETTEXTINCLUDE = $(GETTEXT)/include
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
442 GETTEXTLIB = $(INTLPATH)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
443 ifeq (yes, $(GETTEXT))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
444 DEFINES += -DDYNAMIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
445 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
446 ifdef DYNAMIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
447 DEFINES += -D$(DYNAMIC_GETTEXT)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
448 ifdef GETTEXT_DYNAMIC
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
449 DEFINES += -DGETTEXT_DYNAMIC -DGETTEXT_DLL=\"$(GETTEXT_DYNAMIC)\"
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
450 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
451 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
452 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
453 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
454
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
455 ifdef PERL
6872
64ff14cbb665 patch 7.4.756
Bram Moolenaar <bram@vim.org>
parents: 6436
diff changeset
456 CFLAGS += -I$(PERLLIBS) -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
457 ifeq (yes, $(DYNAMIC_PERL))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
458 CFLAGS += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\"
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
459 EXTRA_LIBS += -L$(PERLLIBS) -lperl$(PERL_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
460 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
461 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
462
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
463 ifdef LUA
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
464 CFLAGS += -I$(LUA)/include -I$(LUA) -DFEAT_LUA
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
465 ifeq (yes, $(DYNAMIC_LUA))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
466 CFLAGS += -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\"
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
467 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
468 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
469
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
470 ifdef MZSCHEME
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
471 ifndef MZSCHEME_COLLECTS
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
472 MZSCHEME_COLLECTS=$(MZSCHEME)/collects
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
473 ifeq (yes, $(UNDER_CYGWIN))
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
474 MZSCHEME_COLLECTS:=$(shell cygpath -m $(MZSCHEME_COLLECTS) | sed -e 's/ /\\ /g')
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
475 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
476 endif
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
477 CFLAGS += -I$(MZSCHEME)/include -DFEAT_MZSCHEME -DMZSCHEME_COLLECTS=\"$(MZSCHEME_COLLECTS)\"
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
478 ifeq (yes, $(DYNAMIC_MZSCHEME))
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
479 ifeq (yes, $(MZSCHEME_PRECISE_GC))
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
480 # Precise GC does not use separate dll
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
481 CFLAGS += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\"
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
482 else
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
483 CFLAGS += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"lib$(MZSCHEME_MAIN_LIB)$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
484 endif
7609
77a14f3bc18b commit https://github.com/vim/vim/commit/4e640bd930d133889dbc9f9a77e29bab902e3b7d
Christian Brabandt <cb@256bit.org>
parents: 7532
diff changeset
485 endif
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
486 ifeq (yes, "$(MZSCHEME_DEBUG)")
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
487 CFLAGS += -DMZSCHEME_FORCE_GC
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
488 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
489 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
490
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
491 ifdef RUBY
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
492 CFLAGS += -DFEAT_RUBY $(RUBYINC)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
493 ifeq (yes, $(DYNAMIC_RUBY))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
494 CFLAGS += -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
495 CFLAGS += -DDYNAMIC_RUBY_VER=$(RUBY_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
496 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
497 ifneq ($(findstring w64-mingw32,$(CC)),)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
498 # A workaround for MinGW-w64
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
499 CFLAGS += -DHAVE_STRUCT_TIMESPEC -DHAVE_STRUCT_TIMEZONE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
500 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
501 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
502
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
503 ifdef PYTHON
8120
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8076
diff changeset
504 CFLAGS += -DFEAT_PYTHON
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
505 ifeq (yes, $(DYNAMIC_PYTHON))
7532
0acbe61244ac commit https://github.com/vim/vim/commit/449538c3d2f7089dcaa1a888f09f41714faec9a6
Christian Brabandt <cb@256bit.org>
parents: 7523
diff changeset
506 CFLAGS += -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"$(DYNAMIC_PYTHON_DLL)\"
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
507 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
508 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
509
8120
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8076
diff changeset
510 ifdef PYTHON3
350f8040bd37 commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Christian Brabandt <cb@256bit.org>
parents: 8076
diff changeset
511 CFLAGS += -DFEAT_PYTHON3
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
512 ifeq (yes, $(DYNAMIC_PYTHON3))
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
513 CFLAGS += -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\"
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
514 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
515 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
516
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
517 ifdef TCL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
518 CFLAGS += -DFEAT_TCL $(TCLINC)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
519 ifeq (yes, $(DYNAMIC_TCL))
7523
55cd9a99514d commit https://github.com/vim/vim/commit/eca99bd45f094b1b12e22b9d6b206bd05dc9a38c
Christian Brabandt <cb@256bit.org>
parents: 7521
diff changeset
520 CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
521 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
522 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
523
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
524 ifeq ($(POSTSCRIPT),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
525 DEFINES += -DMSWINPS
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
526 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
527
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
528 ifeq (yes, $(OLE))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
529 DEFINES += -DFEAT_OLE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
530 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
531
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
532 ifeq ($(CSCOPE),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
533 DEFINES += -DFEAT_CSCOPE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
534 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
535
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
536 ifeq ($(NETBEANS),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
537 # Only allow NETBEANS for a GUI build.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
538 ifeq (yes, $(GUI))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
539 DEFINES += -DFEAT_NETBEANS_INTG
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
540
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
541 ifeq ($(NBDEBUG), yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
542 DEFINES += -DNBDEBUG
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
543 NBDEBUG_INCL = nbdebug.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
544 NBDEBUG_SRC = nbdebug.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
545 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
546 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
547 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
548
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
549 ifeq ($(CHANNEL),yes)
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8140
diff changeset
550 DEFINES += -DFEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
551 endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
552
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
553 # DirectWrite (DirectX)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
554 ifeq ($(DIRECTX),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
555 # Only allow DirectWrite for a GUI build.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
556 ifeq (yes, $(GUI))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
557 DEFINES += -DFEAT_DIRECTX -DDYNAMIC_DIRECTX
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
558 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
559 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
560
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
561 # Only allow XPM for a GUI build.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
562 ifeq (yes, $(GUI))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
563
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
564 ifndef XPM
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
565 ifeq ($(ARCH),i386)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
566 XPM = xpm/x86
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
567 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
568 ifeq ($(ARCH),i486)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
569 XPM = xpm/x86
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
570 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
571 ifeq ($(ARCH),i586)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
572 XPM = xpm/x86
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
573 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
574 ifeq ($(ARCH),i686)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
575 XPM = xpm/x86
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
576 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
577 ifeq ($(ARCH),x86-64)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
578 XPM = xpm/x64
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
579 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
580 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
581 ifdef XPM
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
582 ifneq ($(XPM),no)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
583 CFLAGS += -DFEAT_XPM_W32 -I $(XPM)/include -I $(XPM)/../include
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
584 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
585 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
586
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
587 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
588
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
589 ifeq ($(DEBUG),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
590 CFLAGS += -g -fstack-check
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
591 DEBUG_SUFFIX=d
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
592 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
593 ifeq ($(OPTIMIZE), SIZE)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
594 CFLAGS += -Os
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
595 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
596 ifeq ($(OPTIMIZE), MAXSPEED)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
597 CFLAGS += -O3
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
598 CFLAGS += -fomit-frame-pointer -freg-struct-return
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
599 else # SPEED
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
600 CFLAGS += -O2
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
601 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
602 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
603 CFLAGS += -s
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
604 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
605
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
606 LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
607 GUIOBJ = $(OUTDIR)/gui.o $(OUTDIR)/gui_w32.o $(OUTDIR)/gui_beval.o $(OUTDIR)/os_w32exe.o
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
608 CUIOBJ = $(OUTDIR)/iscygpty.o
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
609 OBJ = \
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
610 $(OUTDIR)/arabic.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
611 $(OUTDIR)/blowfish.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
612 $(OUTDIR)/buffer.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
613 $(OUTDIR)/charset.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
614 $(OUTDIR)/crypt.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
615 $(OUTDIR)/crypt_zip.o \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9507
diff changeset
616 $(OUTDIR)/dict.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
617 $(OUTDIR)/diff.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
618 $(OUTDIR)/digraph.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
619 $(OUTDIR)/edit.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
620 $(OUTDIR)/eval.o \
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9564
diff changeset
621 $(OUTDIR)/evalfunc.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
622 $(OUTDIR)/ex_cmds.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
623 $(OUTDIR)/ex_cmds2.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
624 $(OUTDIR)/ex_docmd.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
625 $(OUTDIR)/ex_eval.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
626 $(OUTDIR)/ex_getln.o \
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 9389
diff changeset
627 $(OUTDIR)/farsi.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
628 $(OUTDIR)/fileio.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
629 $(OUTDIR)/fold.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
630 $(OUTDIR)/getchar.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
631 $(OUTDIR)/hardcopy.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
632 $(OUTDIR)/hashtab.o \
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7699
diff changeset
633 $(OUTDIR)/json.o \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9507
diff changeset
634 $(OUTDIR)/list.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
635 $(OUTDIR)/main.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
636 $(OUTDIR)/mark.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
637 $(OUTDIR)/memfile.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
638 $(OUTDIR)/memline.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
639 $(OUTDIR)/menu.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
640 $(OUTDIR)/message.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
641 $(OUTDIR)/misc1.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
642 $(OUTDIR)/misc2.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
643 $(OUTDIR)/move.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
644 $(OUTDIR)/mbyte.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
645 $(OUTDIR)/normal.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
646 $(OUTDIR)/ops.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
647 $(OUTDIR)/option.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
648 $(OUTDIR)/os_win32.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
649 $(OUTDIR)/os_mswin.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
650 $(OUTDIR)/winclip.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
651 $(OUTDIR)/pathdef.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
652 $(OUTDIR)/popupmnu.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
653 $(OUTDIR)/quickfix.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
654 $(OUTDIR)/regexp.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
655 $(OUTDIR)/screen.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
656 $(OUTDIR)/search.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
657 $(OUTDIR)/sha256.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
658 $(OUTDIR)/spell.o \
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
659 $(OUTDIR)/spellfile.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
660 $(OUTDIR)/syntax.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
661 $(OUTDIR)/tag.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
662 $(OUTDIR)/term.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
663 $(OUTDIR)/ui.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
664 $(OUTDIR)/undo.o \
9564
b6a459b326f3 commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents: 9507
diff changeset
665 $(OUTDIR)/userfunc.o \
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
666 $(OUTDIR)/version.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
667 $(OUTDIR)/vimrc.o \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
668 $(OUTDIR)/window.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
669
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
670 ifdef PERL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
671 OBJ += $(OUTDIR)/if_perl.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
672 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
673 ifdef LUA
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
674 OBJ += $(OUTDIR)/if_lua.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
675 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
676 ifdef MZSCHEME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
677 OBJ += $(OUTDIR)/if_mzsch.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
678 MZSCHEME_INCL = if_mzsch.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
679 ifeq (yes,$(MZSCHEME_GENERATE_BASE))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
680 CFLAGS += -DINCLUDE_MZSCHEME_BASE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
681 MZ_EXTRA_DEP += mzscheme_base.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
682 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
683 ifeq (yes,$(MZSCHEME_PRECISE_GC))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
684 CFLAGS += -DMZ_PRECISE_GC
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
685 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
686 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
687 ifdef PYTHON
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
688 OBJ += $(OUTDIR)/if_python.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
689 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
690 ifdef PYTHON3
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
691 OBJ += $(OUTDIR)/if_python3.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
692 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
693 ifdef RUBY
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
694 OBJ += $(OUTDIR)/if_ruby.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
695 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
696 ifdef TCL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
697 OBJ += $(OUTDIR)/if_tcl.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
698 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
699 ifeq ($(CSCOPE),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
700 OBJ += $(OUTDIR)/if_cscope.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
701 endif
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
702
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
703 ifeq ($(NETBEANS),yes)
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
704 ifneq ($(CHANNEL),yes)
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
705 # Cannot use Netbeans without CHANNEL
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
706 NETBEANS=no
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
707 else
8051
7e298e8c5741 commit https://github.com/vim/vim/commit/44d571868f4fcf000e8b03ee0a350f1f8131c9ca
Christian Brabandt <cb@256bit.org>
parents: 7755
diff changeset
708 ifneq (yes, $(GUI))
7e298e8c5741 commit https://github.com/vim/vim/commit/44d571868f4fcf000e8b03ee0a350f1f8131c9ca
Christian Brabandt <cb@256bit.org>
parents: 7755
diff changeset
709 # Cannot use Netbeans without GUI.
7e298e8c5741 commit https://github.com/vim/vim/commit/44d571868f4fcf000e8b03ee0a350f1f8131c9ca
Christian Brabandt <cb@256bit.org>
parents: 7755
diff changeset
710 NETBEANS=no
7e298e8c5741 commit https://github.com/vim/vim/commit/44d571868f4fcf000e8b03ee0a350f1f8131c9ca
Christian Brabandt <cb@256bit.org>
parents: 7755
diff changeset
711 else
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
712 OBJ += $(OUTDIR)/netbeans.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
713 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
714 endif
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
715 endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
716
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
717 ifeq ($(CHANNEL),yes)
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
718 OBJ += $(OUTDIR)/channel.o
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
719 LIB += -lwsock32
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
720 endif
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
721
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
722 ifeq ($(DIRECTX),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
723 # Only allow DIRECTX for a GUI build.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
724 ifeq (yes, $(GUI))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
725 OBJ += $(OUTDIR)/gui_dwrite.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
726 LIB += -ld2d1 -ldwrite
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
727 USE_STDCPLUS = yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
728 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
729 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
730 ifneq ($(XPM),no)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
731 # Only allow XPM for a GUI build.
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
732 ifeq (yes, $(GUI))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
733 OBJ += $(OUTDIR)/xpm_w32.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
734 # You'll need libXpm.a from http://gnuwin32.sf.net
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
735 LIB += -L$(XPM)/lib -lXpm
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
736 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
737 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
738
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
739
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
740 ifdef MZSCHEME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
741 MZSCHEME_SUFFIX = Z
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
742 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
743
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
744 ifeq ($(GUI),yes)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
745 TARGET := gvim$(DEBUG_SUFFIX).exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
746 DEFINES += $(DEF_GUI)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
747 OBJ += $(GUIOBJ)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
748 LFLAGS += -mwindows
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
749 OUTDIR = gobj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)$(ARCH)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
750 else
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
751 OBJ += $(CUIOBJ)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
752 TARGET := vim$(DEBUG_SUFFIX).exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
753 OUTDIR = obj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)$(ARCH)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
754 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
755
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
756 ifdef GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
757 ifneq (yes, $(GETTEXT))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
758 CFLAGS += -I$(GETTEXTINCLUDE)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
759 ifndef STATIC_GETTEXT
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
760 LIB += -L$(GETTEXTLIB) -l$(INTLLIB)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
761 ifeq (USE_SAFE_GETTEXT_DLL, $(DYNAMIC_GETTEXT))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
762 OBJ+=$(SAFE_GETTEXT_DLL_OBJ)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
763 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
764 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
765 LIB += -L$(GETTEXTLIB) -lintl
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
766 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
767 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
768 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
769
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
770 ifdef PERL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
771 ifeq (no, $(DYNAMIC_PERL))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
772 LIB += -L$(PERLLIBS) -lperl$(PERL_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
773 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
774 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
775
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
776 ifdef TCL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
777 LIB += -L$(TCL)/lib
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
778 ifeq (yes, $(DYNAMIC_TCL))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
779 LIB += -ltclstub$(TCL_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
780 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
781 LIB += -ltcl$(TCL_VER)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
782 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
783 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
784
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
785 ifeq (yes, $(OLE))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
786 LIB += -loleaut32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
787 OBJ += $(OUTDIR)/if_ole.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
788 USE_STDCPLUS = yes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
789 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
790
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
791 ifeq (yes, $(MBYTE))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
792 DEFINES += -DFEAT_MBYTE
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
793 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
794
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
795 ifeq (yes, $(IME))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
796 DEFINES += -DFEAT_MBYTE_IME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
797 ifeq (yes, $(DYNAMIC_IME))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
798 DEFINES += -DDYNAMIC_IME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
799 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
800 LIB += -limm32
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
801 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
802 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
803
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
804 ifdef ICONV
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
805 ifneq (yes, $(ICONV))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
806 LIB += -L$(ICONV)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
807 CFLAGS += -I$(ICONV)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
808 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
809 DEFINES+=-DDYNAMIC_ICONV
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
810 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
811
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
812 ifeq (yes, $(USE_STDCPLUS))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
813 ifeq (yes, $(STATIC_STDCPLUS))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
814 LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
815 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
816 LIB += -lstdc++
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
817 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
818 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
819
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
820 all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
821
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
822 vimrun.exe: vimrun.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
823 $(CC) $(CFLAGS) -o vimrun.exe vimrun.c $(LIB)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
824
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
825 install.exe: dosinst.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
826 $(CC) $(CFLAGS) -o install.exe dosinst.c $(LIB) -lole32 -luuid
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
827
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
828 uninstal.exe: uninstal.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
829 $(CC) $(CFLAGS) -o uninstal.exe uninstal.c $(LIB)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
830
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
831 $(TARGET): $(OUTDIR) $(OBJ)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
832 $(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJ) $(LIB) -lole32 -luuid $(LUA_LIB) $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(PYTHON3LIB) $(RUBYLIB)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
833
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
834 upx: exes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
835 upx gvim.exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
836 upx vim.exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
837
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
838 mpress: exes
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
839 mpress gvim.exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
840 mpress vim.exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
841
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
842 xxd/xxd.exe: xxd/xxd.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
843 $(MAKE) -C xxd -f Make_ming.mak CC='$(CC)'
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
844
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
845 GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
846 $(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
847
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
848 clean:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
849 -$(DEL) $(OUTDIR)$(DIRSLASH)*.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
850 -$(DEL) $(OUTDIR)$(DIRSLASH)*.res
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
851 -rmdir $(OUTDIR)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
852 -$(DEL) *.exe
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
853 -$(DEL) pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
854 ifdef PERL
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
855 -$(DEL) if_perl.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
856 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
857 ifdef MZSCHEME
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
858 -$(DEL) mzscheme_base.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
859 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
860 $(MAKE) -C GvimExt -f Make_ming.mak clean
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
861 $(MAKE) -C xxd -f Make_ming.mak clean
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
862
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
863 ###########################################################################
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
864 INCL = vim.h feature.h os_win32.h os_dos.h ascii.h keymap.h term.h macros.h \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
865 structs.h regexp.h option.h ex_cmds.h proto.h globals.h farsi.h \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
866 gui.h
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
867 CUI_INCL = iscygpty.h
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
868
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
869 $(OUTDIR)/if_python.o : if_python.c if_py_both.h $(INCL)
7532
0acbe61244ac commit https://github.com/vim/vim/commit/449538c3d2f7089dcaa1a888f09f41714faec9a6
Christian Brabandt <cb@256bit.org>
parents: 7523
diff changeset
870 $(CC) -c $(CFLAGS) $(PYTHONINC) $(PYTHON_HOME_DEF) $< -o $@
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
871
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
872 $(OUTDIR)/if_python3.o : if_python3.c if_py_both.h $(INCL)
7695
a865f9773cb2 commit https://github.com/vim/vim/commit/a7c3795a2e65233ba2d187d680acc83bf6bf4ef5
Christian Brabandt <cb@256bit.org>
parents: 7609
diff changeset
873 $(CC) -c $(CFLAGS) $(PYTHON3INC) $(PYTHON3_HOME_DEF) $< -o $@
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
874
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
875 $(OUTDIR)/%.o : %.c $(INCL)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
876 $(CC) -c $(CFLAGS) $< -o $@
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
877
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
878 $(OUTDIR)/vimrc.o: vim.rc version.h gui_w32_rc.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
879 $(WINDRES) $(WINDRES_FLAGS) $(DEFINES) \
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
880 --input-format=rc --output-format=coff -i vim.rc -o $@
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
881
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
882 $(OUTDIR):
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
883 $(MKDIR) $(OUTDIR)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
884
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
885 $(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
886 $(CC) -c $(CFLAGS) ex_docmd.c -o $(OUTDIR)/ex_docmd.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
887
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
888 $(OUTDIR)/ex_eval.o: ex_eval.c $(INCL) ex_cmds.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
889 $(CC) -c $(CFLAGS) ex_eval.c -o $(OUTDIR)/ex_eval.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
890
8140
563c923b1584 commit https://github.com/vim/vim/commit/cf7164a088664961e7d70dd100c5874dc5ceb293
Christian Brabandt <cb@256bit.org>
parents: 8120
diff changeset
891 $(OUTDIR)/gui_w32.o: gui_w32.c $(INCL)
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
892 $(CC) -c $(CFLAGS) gui_w32.c -o $(OUTDIR)/gui_w32.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
893
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
894 $(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp $(INCL) gui_dwrite.h
8641
0af716a4f5d2 commit https://github.com/vim/vim/commit/cc6cf9b9f9045a7d8b5923ea0c556e9a4c2567d3
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
895 $(CC) -c $(CFLAGS) $(CXXFLAGS) gui_dwrite.cpp -o $(OUTDIR)/gui_dwrite.o
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
896
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
897 $(OUTDIR)/if_cscope.o: if_cscope.c $(INCL) if_cscope.h
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
898 $(CC) -c $(CFLAGS) if_cscope.c -o $(OUTDIR)/if_cscope.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
899
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
900 # Remove -D__IID_DEFINED__ for newer versions of the w32api
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
901 $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL)
8641
0af716a4f5d2 commit https://github.com/vim/vim/commit/cc6cf9b9f9045a7d8b5923ea0c556e9a4c2567d3
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
902 $(CC) $(CFLAGS) $(CXXFLAGS) -c -o $(OUTDIR)/if_ole.o if_ole.cpp
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
903
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
904 $(OUTDIR)/if_ruby.o: if_ruby.c $(INCL)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
905 ifeq (16, $(RUBY))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
906 $(CC) $(CFLAGS) -U_WIN32 -c -o $(OUTDIR)/if_ruby.o if_ruby.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
907 endif
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
908
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
909 if_perl.c: if_perl.xs typemap
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
910 $(XSUBPP) -prototypes -typemap \
6349
5b2ff413125b updated for version 7.4.507
Bram Moolenaar <bram@vim.org>
parents: 6326
diff changeset
911 $(PERLTYPEMAP) if_perl.xs > $@
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
912
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
913 $(OUTDIR)/iscygpty.o: iscygpty.c $(CUI_INCL)
9471
2f2b96276941 commit https://github.com/vim/vim/commit/2bc127f94016801250f8f24234f90a5182d77e73
Christian Brabandt <cb@256bit.org>
parents: 9403
diff changeset
914 $(CC) -c $(CFLAGS) iscygpty.c -o $(OUTDIR)/iscygpty.o -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
9363
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
915
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
916 $(OUTDIR)/main.o: main.c $(INCL) $(CUI_INCL)
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
917 $(CC) -c $(CFLAGS) main.c -o $(OUTDIR)/main.o
f9dda6450c76 commit https://github.com/vim/vim/commit/97ff9b9cffd97219d888874b9b3811d55e99c78f
Christian Brabandt <cb@256bit.org>
parents: 9203
diff changeset
918
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
919 $(OUTDIR)/netbeans.o: netbeans.c $(INCL) $(NBDEBUG_INCL) $(NBDEBUG_SRC)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
920 $(CC) -c $(CFLAGS) netbeans.c -o $(OUTDIR)/netbeans.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
921
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
922 $(OUTDIR)/channel.o: channel.c $(INCL)
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
923 $(CC) -c $(CFLAGS) channel.c -o $(OUTDIR)/channel.o
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
924
6326
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
925 $(OUTDIR)/regexp.o: regexp.c regexp_nfa.c $(INCL)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
926 $(CC) -c $(CFLAGS) regexp.c -o $(OUTDIR)/regexp.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
927
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
928 $(OUTDIR)/if_mzsch.o: if_mzsch.c $(INCL) if_mzsch.h $(MZ_EXTRA_DEP)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
929 $(CC) -c $(CFLAGS) if_mzsch.c -o $(OUTDIR)/if_mzsch.o
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
930
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
931 mzscheme_base.c:
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
932 $(MZSCHEME)/mzc --c-mods mzscheme_base.c ++lib scheme/base
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
933
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
934 pathdef.c: $(INCL)
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
935 ifneq (sh.exe, $(SHELL))
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
936 @echo creating pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
937 @echo '/* pathdef.c */' > pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
938 @echo '#include "vim.h"' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
939 @echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
940 @echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
941 @echo 'char_u *all_cflags = (char_u *)"$(CC) $(CFLAGS)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
942 @echo 'char_u *all_lflags = (char_u *)"$(CC) $(CFLAGS) $(LFLAGS) -o $(TARGET) $(LIB) -lole32 -luuid $(LUA_LIB) $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(PYTHON3LIB) $(RUBYLIB)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
943 @echo 'char_u *compiled_user = (char_u *)"$(USERNAME)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
944 @echo 'char_u *compiled_sys = (char_u *)"$(USERDOMAIN)";' >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
945 else
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
946 @echo creating pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
947 @echo /* pathdef.c */ > pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
948 @echo #include "vim.h" >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
949 @echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
950 @echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
951 @echo char_u *all_cflags = (char_u *)"$(CC) $(CFLAGS)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
952 @echo char_u *all_lflags = (char_u *)"$(CC) $(CFLAGS) $(LFLAGS) -o $(TARGET) $(LIB) -lole32 -luuid $(LUA_LIB) $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(PYTHON3LIB) $(RUBYLIB)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
953 @echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
954 @echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> pathdef.c
112c80234ce3 updated for version 7.4.496
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
955 endif