annotate src/Make_bc5.mak @ 7625:b4384c581806 v7.4.1112

commit https://github.com/vim/vim/commit/2db5c3b3ceeaded7fb5a64dc5cb22b0cb95b78a1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 16 22:49:34 2016 +0100 patch 7.4.1112 Problem: When using ":next" with an illegal file name no error is reported. Solution: Give an error message.
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Jan 2016 23:00:05 +0100
parents a4b4cbf8d044
children bce3b5ddb393
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # Compiler: Borland C++ 5.0 and later 32-bit compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Targets: Dos16 or Win32 (Windows NT and Windows 95) (with/without GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
7435
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
6 # NOTE: THIS IS OLD AND PROBABLY NO LONGER WORKS.
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
7 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # Contributed by Ben Singer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # Updated 4/1997 by Ron Aaron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # 6/1997 - added support for 16 bit DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # Note: this has been tested, and works, for BC5. Your mileage may vary.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # Has been reported NOT to work with BC 4.52. Maybe it can be fixed?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # 10/1997 - ron - fixed bugs w/ BC 5.02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # 8/1998 - ron - updated with new targets, fixed some stuff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 # 3/2000 - Bram: Made it work with BC 5.5 free command line compiler,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # cleaned up variables.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 # 6/2001 - Dan - Added support for compiling Python and TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # 7/2001 - Dan - Added support for compiling Ruby
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 # It builds on Windows 95 and NT-Intel, producing the same binary in either
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 # case. To build using Microsoft Visual C++, use Make_mvc.mak.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 # This should work with the free Borland command line compiler, version 5.5.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # You need at least sp1 (service pack 1). With sp2 it compiles faster.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # Use a command like this:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # <path>\bin\make /f Make_bc5.mak BOR=<path>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 # let the make utility do the hard work:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 .AUTODEPEND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 .CACHEAUTODEPEND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 # VARIABLES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 # name value (default)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # BOR path to root of Borland C install (c:\bc5)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # LINK name of the linker ($(BOR)\bin\ilink if OSTYPE is DOS16,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 # $(BOR)\bin\ilink32 otherwise)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # GUI no or yes: set to yes if you want the GUI version (yes)
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
40 # LUA define to path to Lua dir to get Lua support (not defined)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
41 # LUA_VER define to version of Lua being used (51)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
42 # DYNAMIC_LUA no or yes: set to yes to load the Lua DLL dynamically (no)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 # PERL define to path to Perl dir to get Perl support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 # PERL_VER define to version of Perl being used (56)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # DYNAMIC_PERL no or yes: set to yes to load the Perl DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 # PYTHON define to path to Python dir to get PYTHON support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # PYTHON_VER define to version of Python being used (22)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # DYNAMIC_PYTHON no or yes: use yes to load the Python DLL dynamically (no)
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
49 # PYTHON3 define to path to Python3 dir to get PYTHON3 support (not defined)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
50 # PYTHON3_VER define to version of Python3 being used (31)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
51 # DYNAMIC_PYTHON3 no or yes: use yes to load the Python3 DLL dynamically (no)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # TCL define to path to TCL dir to get TCL support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # TCL_VER define to version of TCL being used (83)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 # RUBY define to path to Ruby dir to get Ruby support (not defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # NOTE: You may have to remove the defines for uid_t and gid_t
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 # from the Ruby config.h header file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 # RUBY_VER define to version of Ruby being used (16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 # NOTE: compilation on WinNT/2K/XP requires
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 # at least version 1.6.5 of Ruby. Earlier versions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 # of Ruby will cause a compile error on these systems.
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 799
diff changeset
62 # RUBY_VER_LONG same, but in format with dot. (1.6)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # MBYTE no or yes: set to yes for multi-byte support (yes)
856
8cd729851562 updated for version 7.0g
vimboss
parents: 819
diff changeset
65 # NOTE: multi-byte support is broken in the Borland libraries,
8cd729851562 updated for version 7.0g
vimboss
parents: 819
diff changeset
66 # not everything will work properly! Esp. handling multi-byte
8cd729851562 updated for version 7.0g
vimboss
parents: 819
diff changeset
67 # file names.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # IME no or yes: set to yes for multi-byte IME support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # DYNAMIC_IME no or yes: set to yes to load imm32.dll dynamically (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # GETTEXT no or yes: set to yes for multi-language support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 # ICONV no or yes: set to yes for dynamic iconv support (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # OLE no or yes: set to yes to make OLE gvim (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # OSTYPE DOS16 or WIN32 (WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # DEBUG no or yes: set to yes if you wish a DEBUGging build (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # CODEGUARD no or yes: set to yes if you want to use CODEGUARD (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # CPUNR 1 through 6: select -CPU argument to compile with (3)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # 3 for 386, 4 for 486, 5 for pentium, 6 for pentium pro.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # USEDLL no or yes: set to yes to use the Runtime library DLL (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # For USEDLL=yes the cc3250.dll is required to run Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # VIMDLL no or yes: create vim32.dll, and stub (g)vim.exe (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # ALIGN 1, 2 or 4: Alignment to use (4 for Win32, 2 for DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 # FASTCALL no or yes: set to yes to use register-based function protocol (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 # OPTIMIZE SPACE, SPEED, or MAXSPEED: type of optimization (MAXSPEED)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 # POSTSCRIPT no or yes: set to yes for PostScript printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 # FEATURES TINY, SMALL, NORMAL, BIG or HUGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # (BIG for WIN32, SMALL for DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # WINVER 0x0400 or 0x0500: minimum Win32 version to support (0x0400)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # CSCOPE no or yes: include support for Cscope interface (yes)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 # NETBEANS no or yes: include support for Netbeans interface (yes if GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # is yes)
856
8cd729851562 updated for version 7.0g
vimboss
parents: 819
diff changeset
91 # NBDEBUG no or yes: include support for debugging Netbeans interface (no)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 # XPM define to path to XPM dir to get support for loading XPM images.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 ### BOR: root of the BC installation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 !if ("$(BOR)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 BOR = c:\bc5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 ### LINK: Name of the linker: tlink or ilink32 (this is below, depends on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 # $(OSTYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 ### GUI: yes for GUI version, no for console version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 !if ("$(GUI)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 GUI = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 ### MBYTE: yes for multibyte support, no to disable it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 !if ("$(MBYTE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 MBYTE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 ### IME: yes for multibyte support, no to disable it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 !if ("$(IME)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 IME = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 !if ("$(DYNAMIC_IME)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 DYNAMIC_IME = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 ### GETTEXT: yes for multilanguage support, no to disable it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 !if ("$(GETTEXT)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 GETTEXT = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 ### ICONV: yes to enable dynamic-iconv support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 !if ("$(ICONV)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 ICONV = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 ### CSCOPE: yes to enable Cscope support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 !if ("$(CSCOPE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 CSCOPE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 ### NETBEANS: yes to enable NetBeans interface support, no to disable it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 !if ("$(NETBEANS)"=="") && ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 NETBEANS = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
140 ### LUA: uncomment this line if you want lua support in vim
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
141 # LUA=c:\lua
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
142
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 ### PERL: uncomment this line if you want perl support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 # PERL=c:\perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 ### PYTHON: uncomment this line if you want python support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 # PYTHON=c:\python22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
149 ### PYTHON3: uncomment this line if you want python3 support in vim
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
150 # PYTHON3=c:\python31
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
151
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 ### RUBY: uncomment this line if you want ruby support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 # RUBY=c:\ruby
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 ### TCL: uncomment this line if you want tcl support in vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 # TCL=c:\tcl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 ### OLE: no for normal gvim, yes for OLE-capable gvim (only works with GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 #OLE = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 ### OSTYPE: DOS16 for Windows 3.1 version, WIN32 for Windows 95/98/NT/2000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 # version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 !if ("$(OSTYPE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 OSTYPE = WIN32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 ### DEBUG: Uncomment to make an executable for debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 # DEBUG = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 DEBUG_FLAG = -v
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 ### CODEGUARD: Uncomment to use the CODEGUARD stuff (BC 5.0 or later):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 # CODEGUARD = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 CODEGUARD_FLAG = -vG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 ### CPUNR: set your target processor (3 to 6)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 !if ("$(CPUNR)" == "i386") || ("$(CPUNR)" == "3")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 CPUNR = 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 !elif ("$(CPUNR)" == "i486") || ("$(CPUNR)" == "4")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 CPUNR = 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 !elif ("$(CPUNR)" == "i586") || ("$(CPUNR)" == "5")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 CPUNR = 5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 !elif ("$(CPUNR)" == "i686") || ("$(CPUNR)" == "6")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 CPUNR = 6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 CPUNR = 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 ### Comment out to use precompiled headers (faster, but uses lots of disk!)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 HEADERS = -H -H=vim.csm -Hc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 ### USEDLL: no for statically linked version of run-time, yes for DLL runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 !if ("$(USEDLL)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 USEDLL = no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 ### VIMDLL: yes for a DLL version of VIM (NOT RECOMMENDED), no otherwise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 #VIMDLL = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 ### ALIGN: alignment you desire: (1,2 or 4: s/b 4 for Win32, 2 for DOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 !if ("$(ALIGN)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 ALIGN = 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 ALIGN = 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 ### FASTCALL: yes to use FASTCALL calling convention (RECOMMENDED!), no otherwise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 # Incompatible when calling external functions (like MSVC-compiled DLLs), so
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 # don't use FASTCALL when linking with external libs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 !if ("$(FASTCALL)"=="") && \
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
216 ("$(LUA)"=="") && \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 ("$(PYTHON)"=="") && \
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
218 ("$(PYTHON3)"=="") && \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 ("$(PERL)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 ("$(TCL)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 ("$(RUBY)"=="") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 ("$(ICONV)"!="yes") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 ("$(IME)"!="yes") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 ("$(MBYTE)"!="yes") && \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 ("$(XPM)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 FASTCALL = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 ### OPTIMIZE: SPEED to optimize for speed, SPACE otherwise (SPEED RECOMMENDED)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 !if ("$(OPTIMIZE)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 OPTIMIZE = MAXSPEED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 ### FEATURES: TINY, SMALL, NORMAL, BIG or HUGE (BIG for WIN32, SMALL for DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 !if ("$(FEATURES)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 ! if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 FEATURES = SMALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 ! else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 FEATURES = BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 ### POSTSCRIPT: uncomment this line if you want PostScript printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 #POSTSCRIPT = yes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 ###
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 # default, use these lines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 #VIMRCLOC = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 #VIMRUNTIMEDIR = somewhere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 ### Set the default $(WINVER) to make it work with Bcc 5.5.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 !ifndef WINVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 WINVER = 0x0400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 # Sanity checks for the above options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 !if (($(CPUNR)+0)>4)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 !error CPUNR Must be less than or equal to 4 for DOS16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 !if (($(ALIGN)+0)>2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 !error ALIGN Must be less than or equal to 2 for DOS16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 !else # not DOS16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 !if (($(CPUNR)+0)<3)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 !error CPUNR Must be greater or equal to 3 for WIN32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 !if ($(OSTYPE)!=WIN32) && ($(OSTYPE)!=DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 !error Check the OSTYPE variable again: $(OSTYPE) is not supported!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 # Optimizations: change as desired (RECOMMENDATION: Don't change!):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 OPT = -Od -N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 !if ("$(OPTIMIZE)"=="SPACE")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 OPT = -O1 -f- -d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 !elif ("$(OPTIMIZE)"=="MAXSPEED")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 OPT = -O2 -f- -d -Ocavi -O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 OPT = -O2 -f- -d -Oc -O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 !if ("$(FASTCALL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 OPT = $(OPT) -pr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 !if ("$(CODEGUARD)"!="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 OPT = $(OPT) -vi-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 !undef GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 !undef VIMDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 !undef USEDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 # shouldn't have to change:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 LIB = $(BOR)\lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 INCLUDE = $(BOR)\include;.;proto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 DEFINES = -DFEAT_$(FEATURES) -DWIN32 -DHAVE_PATHDEF \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
311 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
312 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
313 INCLUDE = $(LUA)\include;$(INCLUDE)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
314 ! ifndef LUA_VER
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
315 LUA_VER = 51
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
316 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
317 ! if ("$(DYNAMIC_LUA)" == "yes")
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
318 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
319 LUA_LIB_FLAG = /nodefaultlib:
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
320 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
321 !endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
322
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 INCLUDE = $(PERL)\lib\core;$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 ! ifndef PERL_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 PERL_VER = 56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 ! if ("$(DYNAMIC_PERL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 ! if ($(PERL_VER) > 55)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 PERL_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 ! else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 ! message "Cannot dynamically load Perl versions less than 5.6. Loading statically..."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 !ifdef PYTHON
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
340 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
341 DYNAMIC_PYTHON=yes
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
342 DYNAMIC_PYTHON3=yes
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
343 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
344 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
345
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
346 !ifdef PYTHON
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 !ifndef PYTHON_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 PYTHON_VER = 22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 !if "$(DYNAMIC_PYTHON)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 PYTHON_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
357 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
358 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
359 !ifndef PYTHON3_VER
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
360 PYTHON3_VER = 31
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
361 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
362 !if "$(DYNAMIC_PYTHON3)" == "yes"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
363 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python$(PYTHON3_VER).dll\"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
364 PYTHON3_LIB_FLAG = /nodefaultlib:
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
365 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
366 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
367
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
368
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 !ifndef RUBY_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 RUBY_VER = 16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 !ifndef RUBY_VER_LONG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 RUBY_VER_LONG = 1.6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 !if "$(RUBY_VER)" == "16"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 !ifndef RUBY_PLATFORM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 RUBY_PLATFORM = i586-mswin32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 !ifndef RUBY_INSTALL_NAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 !ifndef RUBY_PLATFORM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 RUBY_PLATFORM = i386-mswin32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 !ifndef RUBY_INSTALL_NAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 INCLUDE = $(RUBY)\lib\ruby\$(RUBY_VER_LONG)\$(RUBY_PLATFORM);$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 !if "$(DYNAMIC_RUBY)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_RUBY_VER=$(RUBY_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 RUBY_LIB_FLAG = /nodefaultlib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 INCLUDE = $(TCL)\include;$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 !ifndef TCL_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 TCL_VER = 83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 TCL_LIB = $(TCL)\lib\tcl$(TCL_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 TCL_LIB_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 !if "$(DYNAMIC_TCL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 TCL_LIB = tclstub$(TCL_VER)-bor.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 TCL_LIB_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 # DO NOT change below:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 CPUARG = -$(CPUNR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 ALIGNARG = -a$(ALIGN)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 !if ("$(DEBUG)"=="yes")
5588
2ca470c6096e updated for version 7.4.141
Bram Moolenaar <bram@vim.org>
parents: 4724
diff changeset
424 DEFINES=$(DEFINES) -DDEBUG -D_DEBUG
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 DEFINES = $(DEFINES) -DFEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 !if ("$(MBYTE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 MBDEFINES = $(MBDEFINES) -DFEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 !if ("$(IME)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 MBDEFINES = $(MBDEFINES) -DFEAT_MBYTE_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 !if ("$(DYNAMIC_IME)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 MBDEFINES = $(MBDEFINES) -DDYNAMIC_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 !if ("$(ICONV)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 MBDEFINES = $(MBDEFINES) -DDYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 !if ("$(GETTEXT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 MBDEFINES = $(MBDEFINES) -DDYNAMIC_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 DEFINES = $(DEFINES) -DFEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 DEFINES = $(DEFINES) -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 TARGET = gvimd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 TARGET = gvim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 EXETYPE=-WD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 DEFINES = $(DEFINES) -DVIMDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 EXETYPE=-W
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 STARTUPOBJ = c0w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 LINK2 = -aa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 RESFILE = vim.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 !else
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
468 !undef NETBEANS
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
469 !undef XPM
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
470 !undef VIMDLL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 TARGET = vimd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 # for now, anyway: VIMDLL is only for the GUI version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 TARGET = vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 DEFINES= -DFEAT_$(FEATURES) -DMSDOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 EXETYPE=-ml
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 STARTUPOBJ = c0l.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 LINK2 =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 EXETYPE=-WC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 STARTUPOBJ = c0x32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 LINK2 = -ap -OS -o -P
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 RESFILE = vim.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
490 !if ("$(NETBEANS)"=="yes")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
491 DEFINES = $(DEFINES) -DFEAT_NETBEANS_INTG
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
492 !if ("$(NBDEBUG)"=="yes")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
493 DEFINES = $(DEFINES) -DNBDEBUG
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
494 NBDEBUG_DEP = nbdebug.h nbdebug.c
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
495 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
496 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
497
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
498 !ifdef XPM
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
499 !if ("$(GUI)"=="yes")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
500 DEFINES = $(DEFINES) -DFEAT_XPM_W32
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
501 INCLUDE = $(XPM)\include;$(INCLUDE)
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
502 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
503 !endif
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
504
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 DEFINES = $(DEFINES) -D_RTLDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 OBJDIR = $(OSTYPE)\objdbg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 OBJDIR = $(OSTYPE)\oleobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 OBJDIR = $(OSTYPE)\gobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 OBJDIR = $(OSTYPE)\obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 !if ("$(POSTSCRIPT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 DEFINES = $(DEFINES) -DMSWINPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 ##### BASE COMPILER/TOOLS RULES #####
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 MAKE = $(BOR)\bin\make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 CFLAGS = -w-aus -w-par -w-pch -w-ngu -w-csu -I$(INCLUDE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 BRC =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 !if ("$(LINK)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 LINK = $(BOR)\BIN\TLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 CC = $(BOR)\BIN\Bcc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 LFLAGS = -Tde -c -m -L$(LIB) $(DEBUG_FLAG) $(LINK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 LFLAGSDLL =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 CFLAGS = $(CFLAGS) -H- $(HEADERS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 BRC = $(BOR)\BIN\brc32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 !if ("$(LINK)"=="")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 LINK = $(BOR)\BIN\ILink32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 CC = $(BOR)\BIN\Bcc32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 LFLAGS = -OS -Tpe -c -m -L$(LIB) $(DEBUG_FLAG) $(LINK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 LFLAGSDLL = -Tpd -c -m -L$(LIB) $(DEBUG_FLAG) $(LINK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 CFLAGS = $(CFLAGS) -d -RT- -k- -Oi $(HEADERS) -f-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 CC1 = -c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 CC2 = -o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 CCARG = +$(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 # implicit rules:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 # Without the following, the implicit rule in BUILTINS.MAK is picked up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 # for a rule for .c.obj rather than the local implicit rule
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 .SUFFIXES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 .SUFFIXES .c .obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 .path.c = .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 {.}.c{$(OBJDIR)}.obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 $(CC) $(CCARG) $(CC1) -n$(OBJDIR)\ {$< }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 .cpp.obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 $(CC) $(CCARG) $(CC1) $(CC2)$@ $*.cpp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 !else # win32:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 vimmain = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 $(OBJDIR)\os_w32exe.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 vimwinmain = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 $(OBJDIR)\os_w32dll.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 vimwinmain = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 $(OBJDIR)\os_w32exe.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 vimobj = \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
582 $(OBJDIR)\blowfish.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 $(OBJDIR)\buffer.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 $(OBJDIR)\charset.obj \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 5588
diff changeset
585 $(OBJDIR)\crypt.obj \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 5588
diff changeset
586 $(OBJDIR)\crypt_zip.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 $(OBJDIR)\diff.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 $(OBJDIR)\digraph.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 $(OBJDIR)\edit.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 $(OBJDIR)\eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 $(OBJDIR)\ex_cmds.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 $(OBJDIR)\ex_cmds2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 $(OBJDIR)\ex_docmd.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 $(OBJDIR)\ex_eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 $(OBJDIR)\ex_getln.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 $(OBJDIR)\fileio.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 $(OBJDIR)\fold.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 $(OBJDIR)\getchar.obj \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 226
diff changeset
599 $(OBJDIR)\hardcopy.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 539
diff changeset
600 $(OBJDIR)\hashtab.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 $(OBJDIR)\main.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 $(OBJDIR)\mark.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 $(OBJDIR)\memfile.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 $(OBJDIR)\memline.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 $(OBJDIR)\menu.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 $(OBJDIR)\message.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 $(OBJDIR)\misc1.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 $(OBJDIR)\misc2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 $(OBJDIR)\move.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 $(OBJDIR)\mbyte.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 $(OBJDIR)\normal.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 $(OBJDIR)\ops.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 $(OBJDIR)\option.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 539
diff changeset
614 $(OBJDIR)\popupmnu.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 $(OBJDIR)\quickfix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 $(OBJDIR)\regexp.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 $(OBJDIR)\screen.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 $(OBJDIR)\search.obj \
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
619 $(OBJDIR)\sha256.obj \
226
4e7dca477fee updated for version 7.0063
vimboss
parents: 185
diff changeset
620 $(OBJDIR)\spell.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 $(OBJDIR)\syntax.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 $(OBJDIR)\tag.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 $(OBJDIR)\term.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 $(OBJDIR)\ui.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 $(OBJDIR)\undo.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 $(OBJDIR)\version.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 $(OBJDIR)\window.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 $(OBJDIR)\pathdef.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 $(OBJDIR)\if_ole.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
635 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
636 vimobj = $(vimobj) \
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
637 $(OBJDIR)\if_lua.obj
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
638 !endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
639
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 $(OBJDIR)\if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 $(OBJDIR)\if_python.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
650 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
651 vimobj = $(vimobj) \
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
652 $(OBJDIR)\if_python3.obj
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
653 !endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
654
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 $(OBJDIR)\if_ruby.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 $(OBJDIR)\if_tcl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 $(OBJDIR)\if_cscope.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 !if ("$(NETBEANS)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 vimobj = $(vimobj) \
185
037369688e14 updated for version 7.0057
vimboss
parents: 119
diff changeset
672 $(OBJDIR)\netbeans.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 $(OBJDIR)\xpm_w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 vimdllobj = $(vimobj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 DLLTARGET = vim32d.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 DLLTARGET = vim32.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 DLLTARGET = joebob
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 $(vimwinmain) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 $(OBJDIR)\gui.obj \
185
037369688e14 updated for version 7.0057
vimboss
parents: 119
diff changeset
695 $(OBJDIR)\gui_beval.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 $(OBJDIR)\gui_w32.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 !if ($(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 vimobj = $(vimobj) \
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 2329
diff changeset
701 $(OBJDIR)\os_win32.obj $(OBJDIR)\os_mswin.obj $(OBJDIR)\winclip.obj
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 !elif ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 vimobj = $(vimobj) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 $(OBJDIR)\os_msdos.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 # Blab what we are going to do:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 MSG = Compiling $(OSTYPE) $(TARGET) $(OLETARGET), with:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 !if ("$(GUI)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 MSG = $(MSG) GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 !if ("$(OLE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 MSG = $(MSG) OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 MSG = $(MSG) USEDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 MSG = $(MSG) VIMDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 !if ("$(FASTCALL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 MSG = $(MSG) FASTCALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 !if ("$(MBYTE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 MSG = $(MSG) MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 !if ("$(IME)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 MSG = $(MSG) IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 ! if "$(DYNAMIC_IME)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 !if ("$(GETTEXT)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 MSG = $(MSG) GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 !if ("$(ICONV)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 MSG = $(MSG) ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 !if ("$(DEBUG)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 MSG = $(MSG) DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 MSG = $(MSG) CODEGUARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 !if ("$(CSCOPE)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 MSG = $(MSG) CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 !if ("$(NETBEANS)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 MSG = $(MSG) NETBEANS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 MSG = $(MSG) XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 !endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
753 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
754 MSG = $(MSG) LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
755 ! if "$(DYNAMIC_LUA)" == "yes"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
756 MSG = $(MSG)(dynamic)
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
757 ! endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
758 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 MSG = $(MSG) PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 ! if "$(DYNAMIC_PERL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 MSG = $(MSG) PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 ! if "$(DYNAMIC_PYTHON)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
771 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
772 MSG = $(MSG) PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
773 ! if "$(DYNAMIC_PYTHON3)" == "yes"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
774 MSG = $(MSG)(dynamic)
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
775 ! endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
776 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 MSG = $(MSG) RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 ! if "$(DYNAMIC_RUBY)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 MSG = $(MSG) TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 ! if "$(DYNAMIC_TCL)" == "yes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 MSG = $(MSG)(dynamic)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 ! endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 MSG = $(MSG) cpu=$(CPUARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 MSG = $(MSG) Align=$(ALIGNARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 !message $(MSG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 !if ($(OSTYPE)==DOS16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 TARGETS = $(TARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 TARGETS = $(DLLTARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 TARGETS = $(TARGETS) $(TARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 # Targets:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 all: vim vimrun.exe install.exe xxd uninstal.exe GvimExt/gvimext.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 vim: $(OSTYPE) $(OBJDIR) $(OBJDIR)\bcc.cfg $(TARGETS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 @if exist $(OBJDIR)\version.obj del $(OBJDIR)\version.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 @if exist auto\pathdef.c del auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 $(OSTYPE):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 -@md $(OSTYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 $(OBJDIR):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 -@md $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 xxd:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 @cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" BCC="$(CC)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 @cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 $(MAKE) /f Make_bc5.mak USEDLL=$(USEDLL) BOR=$(BOR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 install.exe: dosinst.c $(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 !if ($(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 $(CC) $(CCARG) -WC -DWIN32 -einstall dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 $(CC) $(CCARG) -WC -einstall dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 uninstal.exe: uninstal.c $(OBJDIR)\bcc.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 !if ($(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 $(CC) $(CCARG) -WC -DWIN32 -O2 -euninstal uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 $(CC) $(CCARG) -WC -O2 -euninstal uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 !if "$(OS)" == "Windows_NT"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 # For Windows NT/2000, doesn't work on Windows 95/98...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843 # $(COMSPEC) needed to ensure rmdir.exe is not run
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 -@$(COMSPEC) /C rmdir /Q /S $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 # For Windows 95/98, doesn't work on Windows NT/2000...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 -@deltree /y $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 -@del *.res
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 -@del vim32*.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 -@del vim32*.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 -@del *vim*.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 -@del *install*.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 -@del *.csm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 -@del *.map
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 -@del *.ilc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 -@del *.ild
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 -@del *.ilf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 -@del *.ils
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 -@del *.tds
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
861 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
862 -@del lua.lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
863 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
864 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 -@del perl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 -@del python.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
870 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
871 -@del python3.lib
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
872 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 -@del ruby.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 -@del tcl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 -@del xpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 cd GvimExt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 $(MAKE) /f Make_bc5.mak BOR="$(BOR)" clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 $(DLLTARGET): $(OBJDIR) $(vimdllobj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 $(LINK) @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 $(LFLAGSDLL) +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 c0d32.obj +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 $(vimdllobj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 $<,$*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 cg32.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898 # $(OSTYPE)==WIN32 causes os_mswin.c compilation. FEAT_SHORTCUT in it needs OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 !if ("$(OLE)"=="yes" || $(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 ole2w32.lib +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 !if ($(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 import32.lib+
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
904 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
905 $(LUA_LIB_FLAG)lua.lib+
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
906 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 $(PERL_LIB_FLAG)perl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 $(PYTHON_LIB_FLAG)python.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
913 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
914 $(PYTHON3_LIB_FLAG)python3.lib+
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
915 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 $(RUBY_LIB_FLAG)ruby.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920 $(TCL_LIB_FLAG)tcl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 xpm.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 cw32i.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 cw32.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 vim.def
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 cl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 $(TARGET): $(OBJDIR) $(DLLTARGET) $(vimmain) $(OBJDIR)\$(RESFILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 $(TARGET): $(OBJDIR) $(vimobj) $(OBJDIR)\$(RESFILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 $(LINK) @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 $(LFLAGS) +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 $(STARTUPOBJ) +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 !if ("$(VIMDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 $(vimmain)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 $(vimobj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 $<,$*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 !if ($(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 !if ("$(CODEGUARD)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 cg32.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 # $(OSTYPE)==WIN32 causes os_mswin.c compilation. FEAT_SHORTCUT in it needs OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 !if ("$(OLE)"=="yes" || $(OSTYPE)==WIN32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 ole2w32.lib +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 import32.lib+
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
959 !ifdef LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
960 $(LUA_LIB_FLAG)lua.lib+
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
961 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 !ifdef PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 $(PERL_LIB_FLAG)perl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 !ifdef PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 $(PYTHON_LIB_FLAG)python.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 !endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
968 !ifdef PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
969 $(PYTHON3_LIB_FLAG)python3.lib+
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
970 !endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 !ifdef RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 $(RUBY_LIB_FLAG)ruby.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 !ifdef TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 $(TCL_LIB_FLAG)tcl.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 !ifdef XPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 xpm.lib+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 cw32i.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
983 cw32.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
985
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
986 $(OBJDIR)\$(RESFILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
988 emu.lib + cl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 cd testdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 $(MAKE) /NOLOGO -f Make_dos.mak win32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 $(OBJDIR)\ex_docmd.obj: ex_docmd.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 $(OBJDIR)\ex_eval.obj: ex_eval.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 $(OBJDIR)\if_ole.obj: if_ole.cpp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1003 $(OBJDIR)\if_lua.obj: if_lua.c lua.lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1004 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_lua.c
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1005
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 $(OBJDIR)\if_perl.obj: if_perl.c perl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_perl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 if_perl.c: if_perl.xs typemap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 $(PERL)\bin\perl.exe $(PERL)\lib\ExtUtils\xsubpp -prototypes -typemap \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 $(PERL)\lib\ExtUtils\typemap if_perl.xs > $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
1013 $(OBJDIR)\if_python.obj: if_python.c if_py_both.h python.lib
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1014 $(CC) -I$(PYTHON)\include $(CCARG) $(CC1) $(CC2)$@ -pc if_python.c
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1015
4724
450e13fe1621 updated for version 7.3.1109
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
1016 $(OBJDIR)\if_python3.obj: if_python3.c if_py_both.h python3.lib
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1017 $(CC) -I$(PYTHON3)\include $(CCARG) $(CC1) $(CC2)$@ -pc if_python3.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 $(OBJDIR)\if_ruby.obj: if_ruby.c ruby.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_ruby.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 $(OBJDIR)\if_tcl.obj: if_tcl.c tcl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 $(OBJDIR)\xpm_w32.obj: xpm_w32.c xpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 $(CC) $(CCARG) $(CC1) $(CC2)$@ -pc xpm_w32.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 $(OBJDIR)\netbeans.obj: netbeans.c $(NBDEBUG_DEP)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 $(CC) $(CCARG) $(CC1) $(CC2)$@ netbeans.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 $(OBJDIR)\vim.res: vim.rc version.h tools.bmp tearoff.bmp \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1032 vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 $(BRC) -fo$(OBJDIR)\vim.res -i $(BOR)\include -w32 -r vim.rc @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1036
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 $(OBJDIR)\pathdef.obj: auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 $(CC) $(CCARG) $(CC1) $(CC2)$@ auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 # Need to escape both quotes and backslashes in $INTERP_DEFINES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 INTERP_DEFINES_ESC_BKS=$(INTERP_DEFINES:\=\\)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 INTERP_DEFINES_ESC=$(INTERP_DEFINES_ESC_BKS:"=\")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 # Note: the silly /*"*/ below are there to trick make into accepting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 # the # character as something other than a comment without messing up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 # the preprocessor directive.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 auto\pathdef.c::
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 -@md auto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 @echo creating auto/pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 @copy /y &&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 /* pathdef.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 /*"*/#include "vim.h"/*"*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 char_u *all_cflags = (char_u *)"$(CC:\=\\) $(CFLAGS:\=\\) $(DEFINES) $(MBDEFINES) $(INTERP_DEFINES_ESC) $(OPT) $(EXETYPE) $(CPUARG) $(ALIGNARG) $(DEBUG_FLAG) $(CODEGUARD_FLAG)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 char_u *all_lflags = (char_u *)"$(LINK:\=\\) $(LFLAGS:\=\\)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 char_u *compiled_user = (char_u *)"$(USERNAME)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 char_u *compiled_sys = (char_u *)"$(USERDOMAIN)";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 | auto\pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1063 lua.lib: $(LUA)\lib\lua$(LUA_VER).lib
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1064 coff2omf $(LUA)\lib\lua$(LUA_VER).lib $@
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1065
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 perl.lib: $(PERL)\lib\CORE\perl$(PERL_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 coff2omf $(PERL)\lib\CORE\perl$(PERL_VER).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 python.lib: $(PYTHON)\libs\python$(PYTHON_VER).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1070 coff2omf $(PYTHON)\libs\python$(PYTHON_VER).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1072 python3.lib: $(PYTHON3)\libs\python$(PYTHON3_VER).lib
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1073 coff2omf $(PYTHON3)\libs\python$(PYTHON3_VER).lib $@
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1074
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1075 ruby.lib: $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 coff2omf $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 # For some reason, the coff2omf method doesn't work on libXpm.lib, so
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1079 # we have to manually generate an import library straight from the DLL.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 xpm.lib: $(XPM)\lib\libXpm.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1081 implib -a $@ $(XPM)\bin\libXpm.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 tcl.lib: $(TCL_LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 !if ("$(DYNAMIC_TCL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 copy $(TCL_LIB) $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 coff2omf $(TCL_LIB) $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 !if ("$(DYNAMIC_TCL)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 tclstub$(TCL_VER)-bor.lib:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1092 -@IF NOT EXIST $@ ECHO You must download tclstub$(TCL_VER)-bor.lib separately and\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 place it in the src directory in order to compile a dynamic TCL-enabled\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 (g)vim with the Borland compiler. You can get the tclstub$(TCL_VER)-bor.lib file\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 at http://mywebpage.netscape.com/sharppeople/vim/tclstub$(TCL_VER)-bor.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 # vimrun.exe:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099 vimrun.exe: vimrun.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 !if ("$(USEDLL)"=="yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 $(CC) -WC -O1 -I$(INCLUDE) -L$(LIB) -D_RTLDLL vimrun.c cw32mti.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 $(CC) -WC -O1 -I$(INCLUDE) -L$(LIB) vimrun.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 # The dependency on $(OBJDIR) is to have bcc.cfg generated each time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 $(OBJDIR)\bcc.cfg: Make_bc5.mak $(OBJDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1108 copy /y &&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 $(CFLAGS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 -L$(LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 $(MBDEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 $(INTERP_DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 $(EXETYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 $(DEBUG_FLAG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 $(OPT)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 $(CODEGUARD_FLAG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 $(CPUARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 $(ALIGNARG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 | $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 # vi:set sts=4 sw=4:
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
1123