annotate src/Make_bc5.mak @ 695:653eeb31bad6

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