Debian Codegraph @

src/Makefile

raw
1 # Makefile for Vim on Unix and Unix-like systems vim:ts=8:sw=8:tw=78
2 #
3 # This Makefile is loosely based on the GNU Makefile conventions found in
4 # standards.info.
5 #
6 # Compiling Vim, summary:
7 #
8 # 3. make
9 # 5. make install
10 #
11 # Compiling Vim, details:
12 #
13 # Edit this file for adjusting to your system. You should not need to edit any
14 # other file for machine specific things!
15 # The name of this file MUST be Makefile (note the uppercase 'M').
16 #
17 # 1. Edit this Makefile {{{1
18 # The defaults for Vim should work on most machines, but you may want to
19 # uncomment some lines or make other changes below to tune it to your
20 # system, compiler or preferences. Uncommenting means that the '#' in
21 # the first column of a line is removed.
22 # - If you want a version of Vim that is small and starts up quickly,
23 # you might want to disable the GUI, X11, Perl, Python and Tcl.
24 # - Uncomment the line with --disable-gui if you have Motif and/or GTK
25 # but don't want to make gvim (the GUI version of Vim with nice
26 # menus and scrollbars, but makes Vim bigger and startup slower).
27 # - Uncomment --disable-darwin if on Mac OS X but you want to compile a
28 # Unix version.
29 # - Uncomment the line "CONF_OPT_X = --without-x" if you have X11 but
30 # want to disable using X11 libraries. This speeds up starting Vim,
31 # but the window title will not be set and the X11 selection can not
32 # be used.
33 # - Uncomment the line "CONF_OPT_XSMP = --disable-xsmp" if you have the
34 # X11 Session Management Protocol (XSMP) library (libSM) but do not
35 # want to use it.
36 # This can speedup Vim startup but Vim loses the ability to catch the
37 # user logging out from session-managers like GNOME and work
38 # could be lost.
39 # - Uncomment one or more of these lines to include an interface;
40 # each makes Vim quite a bit bigger:
41 # --enable-luainterp for Lua interpreter
42 # --enable-mzschemeinterp for MzScheme interpreter
43 # --enable-perlinterp for Perl interpreter
44 # --enable-python3interp for Python3 interpreter
45 # --enable-pythoninterp for Python interpreter
46 # --enable-rubyinterp for Ruby interpreter
47 # --enable-tclinterp for Tcl interpreter
48 # --enable-cscope for Cscope interface
49 # - Uncomment one of the lines with --with-features= to enable a set of
50 # features (but not the interfaces just mentioned).
51 # - Uncomment the line with --disable-acl to disable ACL support even
52 # though your system supports it.
53 # - Uncomment the line with --disable-gpm to disable gpm support
54 # even though you have gpm libraries and includes.
55 # - Uncomment the line with --disable-sysmouse to disable sysmouse
56 # support even though you have /dev/sysmouse and includes.
57 # - Uncomment one of the lines with CFLAGS and/or CC if you have
58 # something very special or want to tune the optimizer.
59 # - Search for the name of your system to see if it needs anything
60 # special.
61 # - A few versions of make use '.include "file"' instead of 'include
62 # file'. Adjust the include line below if yours does.
63 #
64 # 2. Edit feature.h {{{1
65 # Only if you do not agree with the default compile features, e.g.:
66 # - you want Vim to be as vi compatible as it can be
67 # - you want to use Emacs tags files
68 # - you want right-to-left editing (Hebrew)
69 # - you want 'langmap' support (Greek)
70 # - you want to remove features to make Vim smaller
71 #
72 # 3. "make" {{{1
73 # Will first run ./configure with the options in this file. Then it will
74 # start make again on this Makefile to do the compiling. You can also do
75 # this in two steps with:
76 # make config
77 # make
78 # The configuration phase creates/overwrites auto/config.h and
79 # auto/config.mk.
80 # The configure script is created with "make autoconf". It can detect
81 # different features of your system and act accordingly. However, it is
82 # not correct for all systems. Check this:
83 # - If you have X windows, but configure could not find it or reported
84 # another include/library directory then you wanted to use, you have
85 # to set CONF_OPT_X below. You might also check the installation of
86 # xmkmf.
87 # - If you have --enable-gui=motif and have Motif on your system, but
88 # configure reports "checking for location of gui... <not found>", you
89 # have to set GUI_INC_LOC and GUI_LIB_LOC below.
90 # If you changed something, do this to run configure again:
91 # make reconfig
92 #
93 # - If you do not trust the automatic configuration code, then inspect
94 # auto/config.h and auto/config.mk, before starting the actual build
95 # phase. If possible edit this Makefile, rather than auto/config.mk --
96 # especially look at the definition of VIMLOC below. Note that the
97 # configure phase overwrites auto/config.mk and auto/config.h again.
98 # - If you get error messages, find out what is wrong and try to correct
99 # it in this Makefile. You may need to do "make reconfig" when you
100 # change anything that configure uses (e.g. switching from an old C
101 # compiler to an ANSI C compiler). Only when auto/configure does
102 # something wrong you may need to change one of the other files. If
103 # you find a clean way to fix the problem, consider sending a note to
104 # the author of autoconf ([email protected]) or Vim
105 # ([email protected]). Don't bother to do that when you made a hack
106 # solution for a non-standard system.
107 #
108 # 4. "make test" {{{1
109 # This is optional. This will run Vim scripts on a number of test
110 # files, and compare the produced output with the expected output.
111 # If all is well, you will get the "ALL DONE" message in the end. If a
112 # test fails you get "TEST FAILURE". See below (search for "/^test").
113 #
114 # 5. "make install" {{{1
115 # If the new Vim seems to be working OK you can install it and the
116 # documentation in the appropriate location. The default is
117 # "/usr/local". Change "prefix" below to change the location.
118 # "auto/pathdef.c" will be compiled again after changing this to make
119 # the executable know where the help files are located.
120 # Note that any existing executable is removed or overwritten. If you
121 # want to keep it you will have to make a backup copy first.
122 # The runtime files are in a different directory for each version. You
123 # might want to delete an older version.
124 # If you don't want to install everything, there are other targets:
125 # make installvim only installs Vim, not the tools
126 # make installvimbin only installs the Vim executable
127 # make installruntime installs most of the runtime files
128 # make installrtbase only installs the Vim help and
129 # runtime files
130 # make installlinks only installs the Vim binary links
131 # make installmanlinks only installs the Vim manpage links
132 # make installmacros only installs the Vim macros
133 # make installpack only installs the packages
134 # make installtutorbin only installs the Vim tutor program
135 # make installtutor only installs the Vim tutor files
136 # make installspell only installs the spell files
137 # make installtools only installs xxd
138 # If you install Vim, not to install for real but to prepare a package
139 # or RPM, set DESTDIR to the root of the tree.
140 #
141 # 6. Use Vim until a new version comes out. {{{1
142 #
143 # 7. "make uninstall_runtime" {{{1
144 # Will remove the runtime files for the current version. This is safe
145 # to use while another version is being used, only version-specific
146 # files will be deleted.
147 # To remove the runtime files of another version:
148 # make uninstall_runtime VIMRTDIR=/vim54
149 # If you want to delete all installed files, use:
150 # make uninstall
151 # Note that this will delete files that have the same name for any
152 # version, thus you might need to do a "make install" soon after this.
153 # Be careful not to remove a version of Vim that is still being used!
154 # To find out which files and directories will be deleted, use:
155 # make -n uninstall
156 # }}}
157 #
158 ### This Makefile has been successfully tested on many systems. {{{
159 ### Only the ones that require special options are mentioned here.
160 ### Check the (*) column for remarks, listed below.
161 ### Later code changes may cause small problems, otherwise Vim is supposed to
162 ### compile and run without problems.
163
164 #system: configurations: version (*) tested by:
165 #------------- ------------------------ ------- - ----------
166 #AIX 3.2.5 cc (not gcc) - 4.5 (M) Will Fiveash
167 #AIX 4 cc +X11 -GUI 3.27 (4) Axel Kielhorn
168 #AIX 4.1.4 cc +X11 +GUI 4.5 (5) Nico Bakker
169 #AIX 4.2.1 cc 5.2k (C) Will Fiveash
170 #AIX 4.3.3.12 xic 3.6.6 5.6 (5) David R. Favor
171 #A/UX 3.1.1 gcc +X11 4.0 (6) Jim Jagielski
172 #BSDI 2.1 (x86) shlicc2 gcc-2.6.3 -X11 X11R6 4.5 (1) Jos Backus
173 #BSD/OS 3.0 (x86) gcc gcc-2.7.2.1 -X11 X11R6 4.6c (1) Jos Backus
174 #CX/UX 6.2 cc +X11 +GUI_Mofif 5.4 (V) Kipp E. Howard
175 #DG/UX 5.4* gcc 2.5.8 GUI 5.0e (H) Jonas Schlein
176 #DG/UX 5.4R4.20 gcc 2.7.2 GUI 5.0s (H) Rocky Olive
177 #HP-UX (most) c89 cc 5.1 (2) Bram Moolenaar
178 #HP-UX_9.04 cc +X11 +Motif 5.0 (2) Carton Lao
179 #Linux 2.0 gcc-2.7.2 Infomagic Motif 4.3 (3) Ronald Rietman
180 #NEC UP4800 UNIX_SV 4.2MP cc +X11R6 Motif 4.6b (Q) Lennart Schultz
181 #NetBSD 1.0A gcc-2.4.5 -X11 -GUI 3.21 (X) Juergen Weigert
182 #QNX 4.2 wcc386-10.6 -X11 4.2 (D) G.F. Desrochers
183 #QNX 4.23 Watcom -X11 4.2 (F) John Oleynick
184 #SCO Unix v3.2.5 cc +X11 Motif 3.27 (C) M. Kuperblum
185 #SCO Open Server 5 gcc 2.7.2.3 +X11 +GUI Motif 5.3 (A) Glauber Ribeiro
186 #SINIX-N 5.43 RM400 R4000 cc +X11 +GUI 5.0l (I) Martin Furter
187 #SINIX-Z 5.42 i386 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
188 #SINIX-Y 5.43 RM600 R4000 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
189 #Reliant/SINIX 5.44 cc +X11 +GUI 5.5a (I) B. Pruemmer
190 #SNI Targon31 TOS 4.1.11 gcc-2.4.5 +X11 -GUI 4.6c (B) Paul Slootman
191 #Solaris 2.4 (Sparc) cc +X11 +GUI 3.29 (9) Glauber
192 #Solaris 2.4/2.5 clcc +X11 -GUI openwin 3.20 (7) Robert Colon
193 #Solaris 2.5 (sun4m) cc (SC4.0) +X11R6 +GUI (CDE) 4.6b (E) Andrew Large
194 #Solaris 2.5 gcc 2.5.6 +X11 Motif 5.0m (R) Ant. Colombo
195 #Solaris 2.6 gcc 2.8.1 ncurses 5.3 (G) Larry W. Virden
196 #Solaris with -lthread 5.5 (W) K. Nagano
197 #Solaris gcc (b) Riccardo
198 #SunOS 4.1.x +X11 -GUI 5.1b (J) Bram Moolenaar
199 #SUPER-UX 6.2 (NEC SX-4) cc +X11R6 Motif 4.6b (P) Lennart Schultz
200 #Tandem/NSK (c) Matthew Woehlke
201 #Unisys 6035 cc +X11 Motif 5.3 (8) Glauber Ribeiro
202 #ESIX V4.2 cc +X11 6.0 (a) Reinhard Wobst
203 # }}}
204
205 # (*) Remarks: {{{
206 #
207 # (1) Uncomment line below for shlicc2
208 # (2) HPUX with compile problems or wrong digraphs, uncomment line below
209 # (3) Infomagic Motif needs GUI_LIB_LOC and GUI_INC_LOC set, see below.
210 # And add "-lXpm" to MOTIF_LIBS2.
211 # (4) For cc the optimizer must be disabled (use CFLAGS= after running
212 # configure) (symptom: ":set termcap" output looks weird).
213 # (5) Compiler may need extra argument, see below.
214 # (6) See below for a few lines to uncomment
215 # (7) See below for lines which enable the use of clcc
216 # (8) Needs some EXTRA_LIBS, search for Unisys below
217 # (9) Needs an extra compiler flag to compile gui_at_sb.c, see below.
218 # (A) May need EXTRA_LIBS, see below
219 # (B) Can't compile GUI because there is no waitpid()... Disable GUI below.
220 # (C) Force the use of curses instead of termcap, see below.
221 # (D) Uncomment lines below for QNX
222 # (E) You might want to use termlib instead of termcap, see below.
223 # (F) See below for instructions.
224 # (G) Using ncurses version 4.2 has reported to cause a crash. Use the
225 # Sun curses library instead.
226 # (H) See line for EXTRA_LIBS below.
227 # (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix.
228 # (J) If you get undefined symbols, see below for a solution.
229 # (K) See lines to uncomment below for machines with 64 bit pointers.
230 # (L) For Silicon Graphics O2 workstations remove "-lnsl" from auto/config.mk
231 # (M) gcc version cygnus-2.0.1 does NOT work (symptom: "dl" deletes two
232 # characters instead of one).
233 # (N) SCO with decmouse.
234 # (O) LynxOS needs EXTRA_LIBS, see below.
235 # (P) For SuperUX 6.2 on NEC SX-4 see a few lines below to uncomment.
236 # (Q) For UNIXSVR 4.2MP on NEC UP4800 see below for lines to uncomment.
237 # (R) For Solaris 2.5 (or 2.5.1) with gcc > 2.5.6, uncomment line below.
238 # (U) Must uncomment CONF_OPT_PYTHON option below to disable Python
239 # detection, since the configure script runs into an error when it
240 # detects Python (probably because of the bash shell).
241 # (V) See lines to uncomment below.
242 # (X) Need to use the .include "auto/config.mk" line below
243 # (Y) See line with c89 below
244 # (Z) See lines with cc or c89 below
245 # (a) See line with EXTRA_LIBS below.
246 # (b) When using gcc with the Solaris linker, make sure you don't use GNU
247 # strip, otherwise the binary may not run: "Cannot find ELF".
248 # (c) Add -lfloss to EXTRA_LIBS, see below.
249 # (x) When you get warnings for precompiled header files, run
250 # "sudo fixPrecomps". Also see CONF_OPT_DARWIN below.
251 # }}}
252
253
254 #DO NOT CHANGE the next line, we need it for configure to find the compiler
255 #instead of using the default from the "make" program.
256 #Use a line further down to change the value for CC.
257 CC=
258
259 # Change and use these defines if configure cannot find your Motif stuff.
260 # Unfortunately there is no "standard" location for Motif. {{{
261 # These defines can contain a single directory (recommended) or a list of
262 # directories (for when you are working with several systems). The LAST
263 # directory that exists is used.
264 # When changed, run "make reconfig" next!
265 #GUI_INC_LOC = -I/usr/include/Motif2.0 -I/usr/include/Motif1.2
266 #GUI_LIB_LOC = -L/usr/lib/Motif2.0 -L/usr/lib/Motif1.2
267 ### Use these two lines for Infomagic Motif (3)
268 #GUI_INC_LOC = -I/usr/X11R6/include
269 #GUI_LIB_LOC = -L/usr/X11R6/lib
270 # }}}
271
272 # Defaults used when auto/config.mk does not exist.
273 srcdir = .
274 VIMNAME = vim
275 EXNAME = ex
276 VIEWNAME = view
277
278 ######################## auto/config.mk ######################## {{{1
279 # At this position auto/config.mk is included. When starting from the
280 # toplevel Makefile it is almost empty. After running auto/configure it
281 # contains settings that have been discovered for your system. Settings below
282 # this include override settings in auto/config.mk!
283
284 # Note: If make fails because auto/config.mk does not exist (it is not
285 # included in the repository), do:
286 # cp config.mk.dist auto/config.mk
287
288 # (X) How to include auto/config.mk depends on the version of "make" you have,
289 # if the current choice doesn't work, try the other one.
290
291 include auto/config.mk
292 #.include "auto/config.mk"
293 CClink = $(CC)
294
295 #}}}
296
297 # Include the configuration choices first, so we can override everything
298 # below. As shipped, this file contains a target that causes to run
299 # configure. Once configure was run, this file contains a list of
300 # make variables with predefined values instead. Thus any second invocation
301 # of make, will build Vim.
302
303 # CONFIGURE - configure arguments {{{1
304 # You can give a lot of options to configure.
305 # Change this to your desire and do 'make config' afterwards
306
307 # examples you can uncomment:
308 #CONF_ARGS1 = --exec-prefix=/usr
309 #CONF_ARGS2 = --with-vim-name=vim8 --with-ex-name=ex8 --with-view-name=view8
310 #CONF_ARGS3 = --with-global-runtime=/etc/vim,/usr/share/vim
311 #CONF_ARGS4 = --with-local-dir=/usr/share
312 #CONF_ARGS5 = --without-local-dir
313
314 # Use this one if you distribute a modified version of Vim.
315 #CONF_ARGS6 = --with-modified-by="John Doe"
316
317 # GUI - For creating Vim with GUI (gvim) (B)
318 # Uncomment this line when you don't want to get the GUI version, although you
319 # have GTK and/or Motif. Also use --without-x if you don't want X11
320 # at all.
321 #CONF_OPT_GUI = --disable-gui
322
323 # Uncomment one of these lines if you have that GUI but don't want to use it.
324 # The automatic check will use another one that can be found.
325 # Gnome is disabled by default, because it may cause trouble.
326 #
327 # When both GTK+ 2 and GTK+ 3 are possible then GTK+ 2 will be selected.
328 # To use GTK+ 3 instead use --enable-gui=gtk3 (see below).
329 #CONF_OPT_GUI = --disable-gtk2-check
330 #CONF_OPT_GUI = --enable-gnome-check
331 #CONF_OPT_GUI = --disable-gtk3-check
332 #CONF_OPT_GUI = --disable-motif-check
333
334 # Uncomment one of these lines to select a specific GUI to use.
335 # When using "yes" or nothing, configure will use the first one found: GTK+,
336 # or Motif.
337 #
338 # GTK versions that are known not to work 100% are rejected.
339 # Use "--disable-gtktest" to accept them anyway.
340 # For GTK 1 use Vim 7.2.
341 #
342 # GNOME means GTK with Gnome support. If using GTK and --enable-gnome-check
343 # is used then GNOME will automatically be used if it is found. If you have
344 # GNOME, but do not want to use it (e.g., want a GTK-only version), then use
345 # --enable-gui=gtk or leave out --enable-gnome-check.
346 #
347 # GNOME makes sense only for GTK+ 2. Avoid use of --enable-gnome-check with
348 # GTK+ 3 build, as the functionality of GNOME is already incorporated into
349 # GTK+ 3.
350 #
351 # If the selected GUI isn't found, the GUI is disabled automatically
352 #CONF_OPT_GUI = --enable-gui=gtk2
353 #CONF_OPT_GUI = --enable-gui=gtk2 --disable-gtktest
354 #CONF_OPT_GUI = --enable-gui=gnome2
355 #CONF_OPT_GUI = --enable-gui=gnome2 --disable-gtktest
356 #CONF_OPT_GUI = --enable-gui=gtk3
357 #CONF_OPT_GUI = --enable-gui=gtk3 --disable-gtktest
358 #CONF_OPT_GUI = --enable-gui=motif
359 #CONF_OPT_GUI = --enable-gui=motif --with-motif-lib="-static -lXm -shared"
360
361 # Uncomment this line to run an individual test with gvim.
362 #GUI_TESTARG = GUI_FLAG=-g
363
364 # DARWIN - detecting Mac OS X
365 # Uncomment this line when you want to compile a Unix version of Vim on
366 # Darwin. None of the Mac specific options or files will be used.
367 #CONF_OPT_DARWIN = --disable-darwin
368
369 # Select the architecture supported. Default is to build for the current
370 # platform. Use "both" for a universal binary. That probably doesn't work
371 # when including Perl, Python, etc.
372 # NOTE: ppc probably doesn't work anymore,
373 #CONF_OPT_DARWIN = --with-mac-arch=intel
374 #CONF_OPT_DARWIN = --with-mac-arch=ppc
375 #CONF_OPT_DARWIN = --with-mac-arch=both
376
377 # Uncomment the next line to fail if one of the requested language interfaces
378 # cannot be configured. Without this Vim will be build anyway, without
379 # the failing interfaces.
380 #CONF_OPT_FAIL = --enable-fail-if-missing
381
382 # LUA
383 # Uncomment one of these when you want to include the Lua interface.
384 # First one is for static linking, second one for dynamic loading.
385 # Debian package is "lua5.3" and "liblua5.3-dev" or "lua5.4" and
386 # "liblua5.4-dev".
387 # Use --with-luajit if you want to use LuaJIT instead of Lua.
388 # Set PATH environment variable to find lua or luajit executable.
389 # This requires at least "normal" features, "tiny" doesn't work.
390 #CONF_OPT_LUA = --enable-luainterp
391 #CONF_OPT_LUA = --enable-luainterp=dynamic
392 #CONF_OPT_LUA = --enable-luainterp --with-luajit
393 #CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit
394 # Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr)
395 #CONF_OPT_LUA_PREFIX = --with-lua-prefix=/usr/local
396
397 # MZSCHEME
398 # Uncomment this when you want to include the MzScheme interface.
399 # You may have to build racket from source to make this work. Version 7.9 has
400 # been reported to work, version 8.0 probably doesn't work, version 8.5 has
401 # been reported to work.
402 # NOTE: does not work well together with valgrind.
403 #CONF_OPT_MZSCHEME = --enable-mzschemeinterp
404 # PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
405 #CONF_OPT_PLTHOME = --with-plthome=/usr/local
406 #CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
407 #CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
408 #CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
409
410 # PERL
411 # Uncomment one of these when you want to include the Perl interface.
412 # First one is for static linking, second one for dynamic loading.
413 # Debian package is "libperl-dev"
414 # The Perl option sometimes causes problems, because it adds extra flags
415 # to the command line. If you see strange flags during compilation, check in
416 # auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
417 # the next line.
418 # When you get an error for a missing "perl.exp" file, try creating an empty
419 # one: "touch perl.exp".
420 # This requires at least "normal" features, "tiny" doesn't work.
421 #CONF_OPT_PERL = --enable-perlinterp
422 #CONF_OPT_PERL = --enable-perlinterp=dynamic
423
424 # PYTHON
425 # Uncomment lines here when you want to include the Python interface.
426 # Debian package is "libpython3-dev".
427 # This requires at least "normal" features, "tiny" doesn't work.
428 # Python 3 is preferred, Python 2 (often referred to as "Python") has been
429 # deprecated for a long time.
430 # NOTE: This may cause threading to be enabled, which has side effects (such
431 # as using different libraries and debugging becomes more difficult).
432 # For Python3 support make a symbolic link in /usr/local/bin:
433 # ln -s python3 python3.1
434 # If both python2.x and python3.x are enabled then the linking will be via
435 # dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available
436 # However, this may still cause problems, such as "import termios" failing.
437 # Build two separate versions of Vim in that case.
438 #CONF_OPT_PYTHON = --enable-pythoninterp
439 #CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7
440 #CONF_OPT_PYTHON = --enable-pythoninterp=dynamic
441 #CONF_OPT_PYTHON3 = --enable-python3interp
442 #CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6
443 #CONF_OPT_PYTHON3 = --enable-python3interp=dynamic
444
445 # RUBY
446 # Uncomment this when you want to include the Ruby interface.
447 # First one for static linking, second one for loading when used.
448 # Debian package is "ruby-dev".
449 # This requires at least "normal" features, "tiny" doesn't work.
450 #CONF_OPT_RUBY = --enable-rubyinterp
451 #CONF_OPT_RUBY = --enable-rubyinterp=dynamic
452 #CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1
453
454 # TCL
455 # Uncomment this when you want to include the Tcl interface.
456 # First one is for static linking, second one for dynamic loading.
457 # Debian package is "tcl-dev".
458 # This requires at least "normal" features, "tiny" doesn't work.
459 #CONF_OPT_TCL = --enable-tclinterp
460 #CONF_OPT_TCL = --enable-tclinterp=dynamic
461 #CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
462
463 # CSCOPE
464 # Uncomment this when you want to include the Cscope interface.
465 #CONF_OPT_CSCOPE = --enable-cscope
466
467 # NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
468 # Motif version must have XPM libraries (see |netbeans-xpm|).
469 # Uncomment this when you do not want the netbeans interface.
470 #CONF_OPT_NETBEANS = --disable-netbeans
471
472 # CHANNEL - inter process communication. Same conditions as NetBeans.
473 # Uncomment this when you do not want inter process communication.
474 #CONF_OPT_CHANNEL = --disable-channel
475
476 # TERMINAL - Terminal emulator support, :terminal command. Requires the
477 # channel feature. The default is enable for when using "huge" features.
478 # Uncomment the first line when you want terminal emulator support for
479 # not-huge builds. Uncomment the second line when you don't want terminal
480 # emulator support in the huge build.
481 #CONF_OPT_TERMINAL = --enable-terminal
482 #CONF_OPT_TERMINAL = --disable-terminal
483
484 # MULTIBYTE - To edit multi-byte characters.
485 # This is now always enabled.
486
487 # When building with "huge" features, right-left and Arabic
488 # features are enabled. Use this to disable them.
489 #CONF_OPT_MULTIBYTE = --disable-rightleft --disable-arabic
490
491 # NLS - National Language Support
492 # Uncomment this when you do not want to support translated messages, even
493 # though configure can find support for it.
494 #CONF_OPT_NLS = --disable-nls
495
496 # XIM - X Input Method. Special character input support for X11 (Chinese,
497 # Japanese, special symbols, etc). Also needed for dead-key support.
498 # When omitted it's automatically enabled for the X-windows GUI.
499 #CONF_OPT_INPUT = --enable-xim
500 #CONF_OPT_INPUT = --disable-xim
501
502 # FONTSET - X fontset support for output of languages with many characters.
503 # Uncomment this when you want to output a multibyte language.
504 #CONF_OPT_OUTPUT = --enable-fontset
505
506 # ACL - Uncomment this when you do not want to include ACL support, even
507 # though your system does support it. E.g., when it's buggy.
508 #CONF_OPT_ACL = --disable-acl
509
510 # gpm - For mouse support on Linux console via gpm
511 # Uncomment this when you do not want to include gpm support, even
512 # though you have gpm libraries and includes.
513 # For Debian/Ubuntu gpm support requires the libgpm-dev package.
514 #CONF_OPT_GPM = --disable-gpm
515 # Use this to enable dynamic loading of the GPM library.
516 #CONF_OPT_GPM = --enable-gpm=dynamic
517
518 # sysmouse - For mouse support on FreeBSD and DragonFly console via sysmouse
519 # Uncomment this when you do not want do include sysmouse support, even
520 # though you have /dev/sysmouse and includes.
521 #CONF_OPT_SYSMOUSE = --disable-sysmouse
522
523 # libcanberra - For sound support. Default is on for huge features.
524 # Uncomment one of the two to chose otherwise.
525 # CONF_OPT_CANBERRA = --enable-canberra
526 # CONF_OPT_CANBERRA = --disable-canberra
527
528 # libsodium - For enhanced encryption. Default is on.
529 # Uncomment the next line to not use libsodium
530 # CONF_OPT_SODIUM = --disable-libsodium
531
532 # FEATURES - For creating Vim with more or less features
533 # Uncomment one of these lines when you want to include few to many features.
534 # The default is "huge" for most systems.
535 #CONF_OPT_FEAT = --with-features=tiny
536 #CONF_OPT_FEAT = --with-features=normal
537 #CONF_OPT_FEAT = --with-features=huge
538
539 # COMPILED BY - For including a specific e-mail address for ":version".
540 #CONF_OPT_COMPBY = "--with-compiledby=John Doe <[email protected]>"
541
542 # X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
543 # (otherwise Vim configure will try to include xterm titlebar access)
544 # Also disable the GUI above, otherwise it will be included anyway.
545 # When both GUI and X11 have been disabled this may save about 15% of the
546 # code and make Vim startup quicker.
547 #CONF_OPT_X = --without-x
548
549 # X WINDOWS DIRECTORY - specify X directories
550 # If configure can't find you X stuff, or if you have multiple X11 derivatives
551 # installed, you may wish to specify which one to use.
552 # Select nothing to let configure choose.
553 # This here selects openwin (as found on sun).
554 #XROOT = /usr/openwin
555 #CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib
556
557 # X11 Session Management Protocol support
558 # Vim will try to use XSMP to catch the user logging out if there are unsaved
559 # files. Uncomment this line to disable that (it prevents vim trying to open
560 # communications with the session manager).
561 #CONF_OPT_XSMP = --disable-xsmp
562
563 # You may wish to include xsmp but use exclude xsmp-interact if the logout
564 # XSMP functionality does not work well with your session-manager (at time of
565 # writing, this would be early GNOME-1 gnome-session: it 'freezes' other
566 # applications after Vim has cancelled a logout (until Vim quits). This
567 # *might* be the Vim code, but is more likely a bug in early GNOME-1.
568 # This disables the dialog that asks you if you want to save files or not.
569 #CONF_OPT_XSMP = --disable-xsmp-interact
570
571 # If you want to always automatically add a servername, also in the terminal.
572 #CONF_OPT_AUTOSERVE = --enable-autoservername
573
574 # COMPILER - Name of the compiler {{{1
575 # The default from configure will mostly be fine, no need to change this, just
576 # an example. If a compiler is defined here, configure will use it rather than
577 # probing for one. It is dangerous to change this after configure was run.
578 # Make will use your choice then -- but beware: Many things may change with
579 # another compiler. It is wise to run 'make reconfig' to start all over
580 # again.
581 #CC = cc
582 #CC = gcc
583 #CC = clang
584
585 # COMPILER FLAGS - change as you please. Either before running {{{1
586 # configure or afterwards. For examples see below.
587 # When using -g with some older versions of Linux you might get a
588 # statically linked executable.
589 # When not defined, configure will try to use -O2 for gcc and -O for others.
590 #CFLAGS = -g
591 #CFLAGS = -O
592
593 # Optimization limits - depends on the compiler. Automatic check in configure
594 # doesn't work very well, because many compilers only give a warning for
595 # unrecognized arguments.
596 #CFLAGS = -O -OPT:Olimit=2600
597 #CFLAGS = -O -Olimit 2000
598 #CFLAGS = -O -FOlimit,2000
599
600 # Often used for GCC: mixed optimizing, lot of optimizing, debugging
601 #CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
602 #CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes
603 #CFLAGS = -g -Wall -Wmissing-prototypes
604 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
605 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
606 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
607
608 # Use this with GCC to check for mistakes, unused arguments, etc.
609 # Note: If you use -Wextra and get warnings in GTK code about function
610 # parameters, you can add -Wno-cast-function-type (but not with clang)
611 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
612 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
613 # Add -Wpedantic to find // comments and other C99 constructs.
614 # Better disable Perl and Python to avoid a lot of warnings.
615 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
616 #CFLAGS = -g -O2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wno-cast-function-type -Wunused-result -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
617 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
618 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter
619
620 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
621 # allocated memory (and makes every malloc()/free() very slow).
622 # Electric Fence is free (search ftp sites).
623 # You may want to set the EF_PROTECT_BELOW environment variable to check the
624 # other side of allocated memory.
625 # On FreeBSD you might need to enlarge the number of mmaps allowed. Do this
626 # as root: sysctl -w vm.max_proc_mmap=30000
627 #EXTRA_LIBS = /usr/local/lib/libefence.a
628
629 # Autoconf binary.
630 AUTOCONF ?= autoconf
631
632 # PURIFY - remove the # to use the "purify" program (hoi Nia++!)
633 #PURIFY = purify
634
635 # VALGRIND - remove the # to use valgrind for memory leaks and access errors.
636 # Used for the unittest targets.
637 # VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind.$@
638
639 # NBDEBUG - debugging the netbeans interface.
640 #EXTRA_DEFS = -DNBDEBUG
641
642 # }}}
643
644 # LINT - for running lint
645 # For standard Unix lint
646 LINT = lint
647 LINT_OPTIONS = -beprxzF
648 # For splint
649 # It doesn't work well, crashes on include files and non-ascii characters.
650 #LINT = splint
651 #LINT_OPTIONS = +unixlib -weak -macrovarprefixexclude -showfunc -linelen 9999
652
653 # PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
654 # Might not work with GUI or Perl.
655 # After running Vim see the profile result with: gprof vim gmon.out | vim -
656 # Need to recompile everything after changing this: "make clean" "make".
657 #PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING
658 #PROFILE_LIBS = -pg
659
660 # GCC 5 and later need the -no-pie argument.
661 #PROFILE_LIBS = -pg -no-pie
662
663 # For unknown reasons adding "-lc" fixes a linking problem with some versions
664 # of GCC. That's probably a bug in the "-pg" implementation.
665 #PROFILE_LIBS = -pg -lc
666
667
668 # TEST COVERAGE - Uncomment the two lines below the explanation to get code
669 # coverage information. (provided by Yegappan Lakshmanan)
670 # 1. make clean, run configure and build Vim as usual.
671 # 2. Generate the baseline code coverage information:
672 # $ lcov -c -i -b . -d objects -o objects/coverage_base.info
673 # 3. Run "make test" to run the unit tests. The code coverage information will
674 # be generated in the src/objects directory.
675 # 4. Generate the code coverage information from the tests:
676 # $ lcov -c -b . -d objects/ -o objects/coverage_test.info
677 # 5. Combine the baseline and test code coverage data:
678 # $ lcov -a objects/coverage_base.info -a objects/coverage_test.info -o objects/coverage_total.info
679 # 6. Process the test coverage data and generate a report in html:
680 # $ genhtml objects/coverage_total.info -o objects
681 # 7. Open the objects/index.html file in a web browser to view the coverage
682 # information.
683 #
684 # LDFLAGS=--coverage
685 # PROFILE_CFLAGS=-g -O0 -fprofile-arcs -ftest-coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH
686 # Alternate flags
687 # PROFILE_CFLAGS=-g -O0 --coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH
688
689
690 # Uncomment the next lines to compile Vim with the address sanitizer (asan) and
691 # with the undefined sanitizer. Works with gcc.
692 # You should also use -DEXITFREE to avoid false reports.
693 # May make Vim twice as slow. Errors are reported on stderr.
694 # More at: https://code.google.com/p/address-sanitizer/
695 # Useful environment variables:
696 # $ export ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
697 # $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt"
698 # When running tests output can be found in testdir/asan.*
699 #SANITIZER_CFLAGS = -g -O0 -fsanitize-recover=all \
700 # -fsanitize=address -fsanitize=undefined \
701 # -fno-omit-frame-pointer
702
703 # Similarly when compiling with clang and using ubsan.
704 # $ export UBSAN_OPTIONS="print_stacktrace=1 log_path=ubsan"
705 # $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt"
706 # When running tests output can be found in testdir/ubsan.*
707 #SANITIZER_CFLAGS = -g -O0 -fsanitize-recover=all -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer
708
709 SANITIZER_LIBS = $(SANITIZER_CFLAGS)
710
711 # MEMORY LEAK DETECTION
712 # Requires installing the ccmalloc library.
713 # Configuration is in the .ccmalloc or ~/.ccmalloc file.
714 # Doesn't work very well, since memory linked to from global variables
715 # (in libraries) is also marked as leaked memory.
716 #LEAK_CFLAGS = -DEXITFREE
717 #LEAK_LIBS = -lccmalloc
718
719 # Uncomment this line to have Vim call abort() when an internal error is
720 # detected. Useful when using a tool to find errors.
721 #ABORT_CFLAGS = -DABORT_ON_INTERNAL_ERROR
722
723 ####################################################
724 ### Specific systems, check if yours is listed ### {{{
725 ####################################################
726
727 ### Uncomment things here only if the values chosen by configure are wrong.
728 ### It's better to adjust configure.ac and "make autoconf", if you can!
729 ### Then send the required changes to configure.ac to the bugs list.
730
731 ### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries
732 ###
733 #CC = shlicc2
734 #CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin
735
736 ### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler
737 ### The first probably works on all systems
738 ### The second should work a bit better on newer systems
739 ### The third should work a bit better on HPUX 11.11
740 ### Information provided by: Richard Allen <[email protected]>
741 #CC = c89 -D_HPUX_SOURCE
742 #CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE
743 #CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE
744
745 ### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes
746 ### is too small to compile many routines. It produces too much defining
747 ### and no space errors.
748 ### Uncomment the following to specify a larger macro definition table.
749 #CFLAGS = -Wp,-H256000
750
751 ### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with
752 ### libraries in /usr/lib instead of /lib (avoiding transition links).
753 ### Information provided by: David Green
754 #XROOT = /usr
755 #CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6
756 #GUI_INC_LOC = -I/usr/include/Motif1.2
757 #GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6
758
759 ### (5) AIX 4.1.4 with cc
760 #CFLAGS = -O -qmaxmem=8192
761
762 ### AIX with c89 (Walter Briscoe)
763 #CC = c89
764 #CPPFLAGS = -D_ALL_SOURCE
765
766 ### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
767 # needed to avoid a problem where strings.h gets included
768 #CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
769
770 ### (7) Solaris 2.4/2.5 with Centerline compiler
771 #CC = clcc
772 #X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib
773 #CFLAGS = -O
774
775 ### Solaris 2.3 with X11 and specific cc
776 #CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib
777
778 ### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc")
779 #CC = /usr/ucb/cc
780 #EXTRA_LIBS = -R/usr/ucblib
781
782 ### Solaris with Forte Developer and NetBeans.
783 # The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm.
784 #CC = cc
785 #XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris
786 #XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm
787 #XPM_IPATH = -I$(XPM_DIR)/include
788 #EXTRA_LIBS = $(XPM_LIB)
789 #EXTRA_IPATHS = $(XPM_IPATH)
790 #EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H
791
792 ### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this:
793 #LDFLAGS = -lw -ldl -lXmu
794 #GUI_LIB_LOC = -L/usr/local/lib
795
796 ### (8) Unisys 6035 (Glauber Ribeiro)
797 #EXTRA_LIBS = -lnsl -lsocket -lgen
798
799 ### When builtin functions cause problems with gcc (for Sun 4.1.x)
800 #CFLAGS = -O2 -Wall -traditional -Wno-implicit
801
802 ### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0)
803 #EXTRA_DEFS = -DDOMAIN
804 #CFLAGS= -O -A systype,bsd4.3
805
806 ### Coherent 4.2.10 on Intel 386 platform
807 #EXTRA_DEFS = -Dvoid=int
808 #EXTRA_LIBS = -lterm -lsocket
809
810 ### SCO 3.2, with different library name for terminfo
811 #EXTRA_LIBS = -ltinfo
812
813 ### UTS2 for Amdahl UTS 2.1.x
814 #EXTRA_DEFS = -DUTS2
815 #EXTRA_LIBS = -lsocket
816
817 ### UTS4 for Amdahl UTS 4.x
818 #EXTRA_DEFS = -DUTS4 -Xa
819
820 ### USL for Unix Systems Laboratories (SYSV 4.2)
821 #EXTRA_DEFS = -DUSL
822
823 ### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
824 #CC= gcc -D_POSIX_SOURCE
825 #CFLAGS= -O2
826 #EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11
827
828 ### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel)
829 ### Also use the CONF_TERM_LIB below!
830 #EXTRA_LIBS = -lgen
831
832 ### (D) QNX (by G.F. Desrochers)
833 #CFLAGS = -g -O -mf -4
834
835 ### (F) QNX (by John Oleynick)
836 # 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
837 # CONF_OPT_X = --without-x.
838 # 2. make config
839 # 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
840 # have -ldir (does config find it somewhere?) and -ltermcap has at
841 # least one problem so I use termlib.o instead. The problem with
842 # termcap is that it segfaults if you call it with the name of
843 # a non-existent terminal type.
844 # 4. edit auto/config.h and add #define USE_TMPNAM
845 # 5. add termlib.o to OBJ
846 # 6. make
847
848 ### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein)
849 #EXTRA_LIBS = -lgen
850
851 ### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z)
852 #EXTRA_LIBS = -lgen -lnsl
853 ### For SINIX-Y this is needed for the right prototype of gettimeofday()
854 #EXTRA_DEFS = -D_XPG_IV
855
856 ### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc
857 # Use both "-F O3" lines for optimization or the "-g" line for debugging
858 #EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE
859 #CFLAGS = -F O3 -DSINIXN
860 #LDFLAGS = -F O3
861 #CFLAGS = -g -DSINIXN
862
863 ### (P) SCO 3.2.42, with different termcap names for some useful keys DJB
864 #EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY
865 #EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s
866
867 ### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz)
868 #GUI_INC_LOC = -I/usr/include
869 #GUI_LIB_LOC = -L/usr/lib
870 #EXTRA_LIBS = -lgen
871
872 ### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz)
873 #GUI_INC_LOC = -I/usr/necccs/include
874 #GUI_LIB_LOC = -L/usr/necccs/lib/X11R6
875 #XROOT = /usr/necccs
876 #CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
877 #EXTRA_LIBS = -lsocket -lgen
878
879 ### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library,
880 ### which is found by configure, doesn't work correctly. Symptom is the
881 ### error message "Termcap entry too long". Uncomment the next line.
882 ### On AIX 4.2.1 (and other versions probably), libtermcap is reported
883 ### not to display properly.
884 ### after changing this, you need to do "make reconfig".
885 #CONF_TERM_LIB = --with-tlib=curses
886
887 ### (E) If you want to use termlib library instead of the automatically found
888 ### one. After changing this, you need to do "make reconfig".
889 #CONF_TERM_LIB = --with-tlib=termlib
890
891 ### (a) ESIX V4.2 (Reinhard Wobst)
892 #EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext
893
894 ### (c) Tandem/NSK (Matthew Woehlke)
895 #EXTRA_LIBS = -lfloss
896
897 ### If you want to use ncurses library instead of the automatically found one
898 ### after changing this, you need to do "make reconfig".
899 #CONF_TERM_LIB = --with-tlib=ncurses
900
901 ### For GCC on MS-Windows, the ".exe" suffix will be added.
902 #EXEEXT = .exe
903 #LNKEXT = .exe
904
905 ### (O) For LynxOS 2.5.0, tested on PC.
906 #EXTRA_LIBS = -lXext -lSM -lICE -lbsd
907 ### For LynxOS 3.0.1, tested on PPC
908 #EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11
909 ### For LynxOS 3.1.0, tested on PC
910 #EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu
911
912
913 ### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove
914 ### -Qtarget if only in a 5800 environment. (Kipp E. Howard)
915 #CFLAGS = -O -Qtarget=m88110compat
916 #EXTRA_LIBS = -lgen
917
918 # The value of QUOTESED comes from auto/config.mk.
919 # Uncomment the next line to use the default value.
920 # QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' -e 's/ */ /g'
921
922 ##################### end of system specific lines ################### }}}
923
924 ### Names of the programs and targets {{{1
925 VIMTARGET = $(VIMNAME)$(EXEEXT)
926 EXTARGET = $(EXNAME)$(LNKEXT)
927 VIEWTARGET = $(VIEWNAME)$(LNKEXT)
928 GVIMNAME = g$(VIMNAME)
929 GVIMTARGET = $(GVIMNAME)$(LNKEXT)
930 GVIEWNAME = g$(VIEWNAME)
931 GVIEWTARGET = $(GVIEWNAME)$(LNKEXT)
932 RVIMNAME = r$(VIMNAME)
933 RVIMTARGET = $(RVIMNAME)$(LNKEXT)
934 RVIEWNAME = r$(VIEWNAME)
935 RVIEWTARGET = $(RVIEWNAME)$(LNKEXT)
936 RGVIMNAME = r$(GVIMNAME)
937 RGVIMTARGET = $(RGVIMNAME)$(LNKEXT)
938 RGVIEWNAME = r$(GVIEWNAME)
939 RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT)
940 VIMDIFFNAME = $(VIMNAME)diff
941 GVIMDIFFNAME = g$(VIMDIFFNAME)
942 VIMDIFFTARGET = $(VIMDIFFNAME)$(LNKEXT)
943 GVIMDIFFTARGET = $(GVIMDIFFNAME)$(LNKEXT)
944 EVIMNAME = e$(VIMNAME)
945 EVIMTARGET = $(EVIMNAME)$(LNKEXT)
946 EVIEWNAME = e$(VIEWNAME)
947 EVIEWTARGET = $(EVIEWNAME)$(LNKEXT)
948
949 ### Names of the tools that are also made {{{1
950 TOOLS = xxd/xxd$(EXEEXT)
951
952 ### Installation directories. The defaults come from configure. {{{1
953 #
954 ### prefix the top directory for the data (default "/usr/local")
955 #
956 # Uncomment the next line to install Vim in your home directory.
957 #prefix = $(HOME)
958
959 ### exec_prefix is the top directory for the executable (default $(prefix))
960 #
961 # Uncomment the next line to install the Vim executable in "/usr/machine/bin"
962 #exec_prefix = /usr/machine
963
964 ### BINDIR dir for the executable (default "$(exec_prefix)/bin")
965 ### MANDIR dir for the manual pages (default "$(prefix)/man")
966 ### DATADIR dir for the other files (default "$(prefix)/lib" or
967 # "$(prefix)/share")
968 # They may be different when using different architectures for the
969 # executable and a common directory for the other files.
970 #
971 # Uncomment the next line to install Vim in "/usr/bin"
972 #BINDIR = /usr/bin
973 # Uncomment the next line to install Vim manuals in "/usr/share/man/man1"
974 #MANDIR = /usr/share/man
975 # Uncomment the next line to install Vim help files in "/usr/share/vim"
976 #DATADIR = /usr/share
977
978 ### DESTDIR root of the installation tree. This is prepended to the other
979 # directories. This directory must exist.
980 #DESTDIR = ~/pkg/vim
981
982 ### Directory of the man pages
983 MAN1DIR = /man1
984
985 ### Vim version (adjusted by a script)
986 VIMMAJOR = 9
987 VIMMINOR = 2
988
989 ### Location of Vim files (should not need to be changed, and {{{1
990 ### some things might not work when they are changed!)
991 VIMDIR = /vim
992 VIMRTDIR = /vim$(VIMMAJOR)$(VIMMINOR)
993 HELPSUBDIR = /doc
994 COLSUBDIR = /colors
995 SYNSUBDIR = /syntax
996 INDSUBDIR = /indent
997 AUTOSUBDIR = /autoload
998 IMPORTSUBDIR = /import
999 PLUGSUBDIR = /plugin
1000 FTPLUGSUBDIR = /ftplugin
1001 LANGSUBDIR = /lang
1002 COMPSUBDIR = /compiler
1003 KMAPSUBDIR = /keymap
1004 MACROSUBDIR = /macros
1005 PACKSUBDIR = /pack
1006 TOOLSSUBDIR = /tools
1007 TUTORSUBDIR = /tutor
1008 SPELLSUBDIR = /spell
1009 PRINTSUBDIR = /print
1010 PODIR = po
1011
1012 ### VIMLOC common root of the Vim files (all versions)
1013 ### VIMRTLOC common root of the runtime Vim files (this version)
1014 ### VIMRCLOC compiled-in location for global [g]vimrc files (all versions)
1015 ### VIMRUNTIMEDIR compiled-in location for runtime files (optional)
1016 ### HELPSUBLOC location for help files
1017 ### COLSUBLOC location for colorscheme files
1018 ### SYNSUBLOC location for syntax files
1019 ### INDSUBLOC location for indent files
1020 ### AUTOSUBLOC location for standard autoload files
1021 ### IMPORTSUBLOC location for standard import files
1022 ### PLUGSUBLOC location for standard plugin files
1023 ### FTPLUGSUBLOC location for ftplugin files
1024 ### LANGSUBLOC location for language files
1025 ### COMPSUBLOC location for compiler files
1026 ### KMAPSUBLOC location for keymap files
1027 ### MACROSUBLOC location for macro files
1028 ### PACKSUBLOC location for packages
1029 ### TOOLSSUBLOC location for tools files
1030 ### TUTORSUBLOC location for tutor files
1031 ### SPELLSUBLOC location for spell files
1032 ### PRINTSUBLOC location for PostScript files (prolog, latin1, ..)
1033 ### SCRIPTLOC location for script files (menu.vim, bugreport.vim, ..)
1034 ### You can override these if you want to install them somewhere else.
1035 ### Edit feature.h for compile-time settings.
1036 VIMLOC = $(DATADIR)$(VIMDIR)
1037 VIMRTLOC = $(DATADIR)$(VIMDIR)$(VIMRTDIR)
1038 VIMRCLOC = $(VIMLOC)
1039 HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
1040 COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
1041 SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
1042 INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
1043 AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
1044 IMPORTSUBLOC = $(VIMRTLOC)$(IMPORTSUBDIR)
1045 PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
1046 FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
1047 LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
1048 COMPSUBLOC = $(VIMRTLOC)$(COMPSUBDIR)
1049 KMAPSUBLOC = $(VIMRTLOC)$(KMAPSUBDIR)
1050 MACROSUBLOC = $(VIMRTLOC)$(MACROSUBDIR)
1051 PACKSUBLOC = $(VIMRTLOC)$(PACKSUBDIR)
1052 TOOLSSUBLOC = $(VIMRTLOC)$(TOOLSSUBDIR)
1053 TUTORSUBLOC = $(VIMRTLOC)$(TUTORSUBDIR)
1054 SPELLSUBLOC = $(VIMRTLOC)$(SPELLSUBDIR)
1055 PRINTSUBLOC = $(VIMRTLOC)$(PRINTSUBDIR)
1056 SCRIPTLOC = $(VIMRTLOC)
1057
1058 ### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
1059 ### the runtime directory is not below it.
1060 #VIMRUNTIMEDIR = $(VIMRTLOC)
1061
1062 ### Name of the defaults/evim/mswin file target.
1063 VIM_DEFAULTS_FILE = $(DESTDIR)$(SCRIPTLOC)/defaults.vim
1064 EVIM_FILE = $(DESTDIR)$(SCRIPTLOC)/evim.vim
1065 MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.vim
1066
1067 ### Name of the menu file target.
1068 SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.vim
1069 SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.vim
1070 SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.vim
1071
1072 ### Name of the bugreport file target.
1073 SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.vim
1074
1075 ### Name of the file type detection file target.
1076 SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.vim
1077
1078 ### Name of the file type detection file target.
1079 SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.vim
1080
1081 ### Name of the file type detection script file target.
1082 SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.vim
1083
1084 ### Name of the ftplugin-on file target.
1085 SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.vim
1086
1087 ### Name of the ftplugin-off file target.
1088 SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.vim
1089
1090 ### Name of the indent-on file target.
1091 SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.vim
1092
1093 ### Name of the indent-off file target.
1094 SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.vim
1095
1096 ### Name of the option window script file target.
1097 SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.vim
1098
1099 # Program to install the program in the target directory. Could also be "mv".
1100 INSTALL_PROG = cp
1101
1102 # Program to install the data in the target directory. Cannot be "mv"!
1103 INSTALL_DATA = cp
1104 INSTALL_DATA_R = cp -r
1105
1106 ### Program to run on installed binary. Use the second one to disable strip.
1107 #STRIP = strip
1108 #STRIP = /bin/true
1109
1110 ### Permissions for binaries {{{1
1111 BINMOD = 755
1112
1113 ### Permissions for man page
1114 MANMOD = 644
1115
1116 ### Permissions for help files
1117 HELPMOD = 644
1118
1119 ### Permissions for Perl and shell scripts
1120 SCRIPTMOD = 755
1121
1122 ### Permission for Vim script files (menu.vim, bugreport.vim, ..)
1123 VIMSCRIPTMOD = 644
1124
1125 ### Permissions for all directories that are created
1126 DIRMOD = 755
1127
1128 ### Permissions for all other files that are created
1129 FILEMOD = 644
1130
1131 # Where to copy the man and help files from
1132 HELPSOURCE = ../runtime/doc
1133
1134 # Where to copy the script files from (menu, bugreport)
1135 SCRIPTSOURCE = ../runtime
1136
1137 # Where to copy the colorscheme files from
1138 COLSOURCE = ../runtime/colors
1139
1140 # Where to copy the syntax files from
1141 SYNSOURCE = ../runtime/syntax
1142
1143 # Where to copy the indent files from
1144 INDSOURCE = ../runtime/indent
1145
1146 # Where to copy the standard plugin files from
1147 AUTOSOURCE = ../runtime/autoload
1148
1149 # Where to copy the standard import files from
1150 IMPORTSOURCE = ../runtime/import
1151
1152 # Where to copy the standard plugin files from
1153 PLUGSOURCE = ../runtime/plugin
1154
1155 # Where to copy the ftplugin files from
1156 FTPLUGSOURCE = ../runtime/ftplugin
1157
1158 # Where to copy the macro files from
1159 MACROSOURCE = ../runtime/macros
1160
1161 # Where to copy the package files from
1162 PACKSOURCE = ../runtime/pack
1163
1164 # Where to copy the tools files from
1165 TOOLSSOURCE = ../runtime/tools
1166
1167 # Where to copy the tutor files from
1168 TUTORSOURCE = ../runtime/tutor
1169
1170 # Where to copy the spell files from
1171 SPELLSOURCE = ../runtime/spell
1172
1173 # Where to look for language specific files
1174 LANGSOURCE = ../runtime/lang
1175
1176 # Where to look for compiler files
1177 COMPSOURCE = ../runtime/compiler
1178
1179 # Where to look for keymap files
1180 KMAPSOURCE = ../runtime/keymap
1181
1182 # Where to look for print resource files
1183 PRINTSOURCE = ../runtime/print
1184
1185 # Where to look translated README and LICENSE files
1186 TRANSSOURCE = ../lang
1187
1188 # If you are using Linux, you might want to use this to make vim the
1189 # default vi editor, it will create a link from vi to Vim when doing
1190 # "make install". An existing file will be overwritten!
1191 # When not using it, some make programs can't handle an undefined $(LINKIT).
1192 #LINKIT = ln -f -s $(DEST_BIN)/$(VIMTARGET) $(DESTDIR)/usr/bin/vi
1193 LINKIT = @echo >/dev/null
1194
1195 ###
1196 ### GRAPHICAL USER INTERFACE (GUI). {{{1
1197 ### 'configure --enable-gui' can enable one of these for you if you did set
1198 ### a corresponding CONF_OPT_GUI above and have X11.
1199 ### Override configures choice by uncommenting all the following lines.
1200 ### As they are, the GUI is disabled. Replace "NONE" with "MOTIF"
1201 ### for enabling the Motif GUI.
1202 #GUI_SRC = $(NONE_SRC)
1203 #GUI_OBJ = $(NONE_OBJ)
1204 #GUI_DEFS = $(NONE_DEFS)
1205 #GUI_IPATH = $(NONE_IPATH)
1206 #GUI_LIBS_DIR = $(NONE_LIBS_DIR)
1207 #GUI_LIBS1 = $(NONE_LIBS1)
1208 #GUI_LIBS2 = $(NONE_LIBS2)
1209 #GUI_INSTALL = $(NONE_INSTALL)
1210 #GUI_TARGETS = $(NONE_TARGETS)
1211 #GUI_MAN_TARGETS= $(NONE_MAN_TARGETS)
1212 #GUI_TESTTARGET = $(NONE_TESTTARGET)
1213 #GUI_BUNDLE = $(NONE_BUNDLE)
1214
1215 # Without a GUI install the normal way.
1216 NONE_INSTALL = install_normal
1217
1218 ### GTK GUI
1219 GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c gui_gtk_f.c \
1220 gui_beval.c $(GRESOURCE_SRC)
1221 GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \
1222 objects/gui_gtk_f.o \
1223 objects/gui_beval.o $(GRESOURCE_OBJ)
1224 GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1225 GTK_IPATH = $(GUI_INC_LOC)
1226 GTK_LIBS_DIR = $(GUI_LIB_LOC)
1227 GTK_LIBS1 =
1228 GTK_LIBS2 = $(GTK_LIBNAME)
1229 GTK_INSTALL = install_normal install_gui_extra
1230 GTK_TARGETS = installglinks
1231 GTK_MAN_TARGETS = yes
1232 GTK_TESTTARGET = gui
1233 GTK_BUNDLE =
1234
1235 ### GTK4 GUI
1236 GTK4_SRC = gui.c gui_gtk4.c gui_gtk4_f.c \
1237 $(GRESOURCE_SRC)
1238 GTK4_OBJ = objects/gui.o objects/gui_gtk4.o \
1239 objects/gui_gtk4_f.o \
1240 $(GRESOURCE_OBJ)
1241 GTK4_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1242 GTK4_IPATH = $(GUI_INC_LOC)
1243 GTK4_LIBS_DIR = $(GUI_LIB_LOC)
1244 GTK4_LIBS1 =
1245 GTK4_LIBS2 = $(GTK_LIBNAME)
1246 GTK4_INSTALL = install_normal install_gui_extra
1247 GTK4_TARGETS = installglinks
1248 GTK4_MAN_TARGETS = yes
1249 GTK4_TESTTARGET = gui
1250 GTK4_BUNDLE =
1251
1252 ### Motif GUI
1253 MOTIF_SRC = gui.c gui_motif.c gui_x11.c gui_beval.c \
1254 gui_xmdlg.c gui_xmebw.c
1255 MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
1256 objects/gui_beval.o \
1257 objects/gui_xmdlg.o objects/gui_xmebw.o
1258 MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO)
1259 MOTIF_IPATH = $(GUI_INC_LOC)
1260 MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1261 MOTIF_LIBS1 =
1262 MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1263 MOTIF_INSTALL = install_normal install_gui_extra
1264 MOTIF_TARGETS = installglinks
1265 MOTIF_MAN_TARGETS = yes
1266 MOTIF_TESTTARGET = gui
1267 MOTIF_BUNDLE =
1268
1269 ### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1270 # errors: ld: Undefined symbol
1271 # _get_wmShellWidgetClass
1272 # _get_applicationShellWidgetClass
1273 # then you need to get patches 100512-02 and 100573-03 from Sun. In the
1274 # meantime, uncomment the following GUI_X_LIBS definition as a workaround:
1275 #GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext
1276 # If you also get cos, sin etc. as undefined symbols, try uncommenting this
1277 # too:
1278 #EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm
1279
1280 # PHOTON GUI
1281 PHOTONGUI_SRC = gui.c gui_photon.c
1282 PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o
1283 PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON
1284 PHOTONGUI_IPATH =
1285 PHOTONGUI_LIBS_DIR =
1286 PHOTONGUI_LIBS1 = -lph -lphexlib
1287 PHOTONGUI_LIBS2 =
1288 PHOTONGUI_INSTALL = install_normal install_gui_extra
1289 PHOTONGUI_TARGETS = installglinks
1290 PHOTONGUI_MAN_TARGETS = yes
1291 PHOTONGUI_TESTTARGET = gui
1292 PHOTONGUI_BUNDLE =
1293
1294 ### Haiku GUI
1295 HAIKUGUI_SRC = gui.c gui_haiku.cc
1296 HAIKUGUI_OBJ = objects/gui.o objects/gui_haiku.o
1297 HAIKUGUI_DEFS = -DFEAT_GUI_HAIKU
1298 HAIKUGUI_IPATH =
1299 HAIKUGUI_LIBS_DIR =
1300 HAIKUGUI_LIBS1 = -lbe -lroot -ltracker -ltranslation -lsupc++ -lstdc++
1301 HAIKUGUI_LIBS2 =
1302 HAIKUGUI_INSTALL = install_normal install_haiku_extra
1303 HAIKUGUI_TARGETS = installglinks_haiku
1304 HAIKUGUI_MAN_TARGETS =
1305 HAIKUGUI_TESTTARGET = gui
1306 HAIKUGUI_BUNDLE =
1307
1308 # All GUI files
1309 ALL_GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk4.c gui_gtk4_f.c gui_motif.c gui_xmdlg.c gui_xmebw.c gui_gtk_x11.c gui_x11.c gui_haiku.cc
1310 ALL_GUI_PRO = proto/gui.pro proto/gui_gtk.pro proto/gui_gtk4.pro proto/gui_motif.pro proto/gui_xmdlg.pro proto/gui_gtk_x11.pro proto/gui_x11.pro proto/gui_w32.pro proto/gui_photon.pro
1311
1312 # }}}
1313
1314 TERM_DEPS = \
1315 libvterm/include/vterm.h \
1316 libvterm/include/vterm_keycodes.h \
1317 libvterm/src/rect.h \
1318 libvterm/src/utf8.h \
1319 libvterm/src/vterm_internal.h
1320
1321 TERM_SRC = libvterm/src/*.c
1322
1323 XDIFF_SRC = \
1324 xdiff/xdiffi.c \
1325 xdiff/xemit.c \
1326 xdiff/xprepare.c \
1327 xdiff/xutils.c \
1328 xdiff/xhistogram.c \
1329 xdiff/xpatience.c \
1330
1331 XDIFF_OBJS = \
1332 objects/xdiffi.o \
1333 objects/xemit.o \
1334 objects/xprepare.o \
1335 objects/xutils.o \
1336 objects/xhistogram.o \
1337 objects/xpatience.o \
1338
1339 XDIFF_INCL = \
1340 xdiff/xdiff.h \
1341 xdiff/xdiffi.h \
1342 xdiff/xemit.h \
1343 xdiff/xinclude.h \
1344 xdiff/xmacros.h \
1345 xdiff/xprepare.h \
1346 xdiff/xtypes.h \
1347 xdiff/xutils.h \
1348
1349 ### Command to create dependencies based on #include "..."
1350 ### prototype headers are ignored due to -DPROTO, system
1351 ### headers #include <...> are ignored if we use the -MM option, as
1352 ### e.g. provided by gcc-cpp.
1353 ### Include FEAT_GUI to get dependency on gui.h
1354 ### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
1355 CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
1356 `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
1357
1358
1359 ################################################
1360 ## no changes required below this line ##
1361 ################################################
1362
1363 SHELL = /bin/sh
1364
1365 # We would normally use "mkdir -p" but it doesn't work properly everywhere.
1366 # Using AC_PROG_MKDIR_P in configure.ac has a problem with the "auto"
1367 # directory. Always use the install-sh script, it's slower but reliable.
1368 MKDIR_P = $(SHELL) install-sh -c -d
1369
1370 .SUFFIXES:
1371 .SUFFIXES: .c .o .pro
1372
1373 VTERM_CFLAGS = -Ilibvterm/include
1374
1375 PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
1376 POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(EXTRA_DEFS)
1377
1378 ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(SANITIZER_CFLAGS) $(LEAK_CFLAGS) $(ABORT_CFLAGS) $(POST_DEFS)
1379
1380 ALL_IF_CFLAGS = $(LUA_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(PYTHON3_CFLAGS) $(RUBY_CFLAGS) $(TCL_CFLAGS)
1381 ALL_IF_CFLAGS_EXTRA = $(LUA_CFLAGS_EXTRA) $(PERL_CFLAGS_EXTRA) $(PYTHON_CFLAGS_EXTRA) $(PYTHON3_CFLAGS_EXTRA) $(RUBY_CFLAGS_EXTRA) $(TCL_CFLAGS_EXTRA)
1382
1383 # Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together
1384 # with "-E".
1385 OSDEF_CFLAGS = $(PRE_DEFS) $(POST_DEFS)
1386
1387 LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) $(ALL_IF_CFLAGS) $(VTERM_CFLAGS) \
1388 -Dinline= -D__extension__= -Dalloca=alloca
1389
1390 LINT_EXTRA = -D"__attribute__(x)="
1391
1392 DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1393
1394 # Note: MZSCHEME_LIBS must come before LIBS, because LIBS adds -lm which is
1395 # needed by racket.
1396 ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
1397 ALL_LIBS = \
1398 $(GUI_LIBS1) \
1399 $(GUI_X_LIBS) \
1400 $(GUI_LIBS2) \
1401 $(X_PRE_LIBS) \
1402 $(X_LIBS) \
1403 $(WAYLAND_LIBS) \
1404 $(X_EXTRA_LIBS) \
1405 $(MZSCHEME_LIBS) \
1406 $(LIBS) \
1407 $(EXTRA_LIBS) \
1408 $(LUA_LIBS) \
1409 $(PERL_LIBS) \
1410 $(PYTHON_LIBS) \
1411 $(PYTHON3_LIBS) \
1412 $(TCL_LIBS) \
1413 $(RUBY_LIBS) \
1414 $(PROFILE_LIBS) \
1415 $(SANITIZER_LIBS) \
1416 $(LEAK_LIBS)
1417
1418 # abbreviations
1419 DEST_BIN = $(DESTDIR)$(BINDIR)
1420 DEST_VIM = $(DESTDIR)$(VIMLOC)
1421 DEST_RT = $(DESTDIR)$(VIMRTLOC)
1422 DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
1423 DEST_COL = $(DESTDIR)$(COLSUBLOC)
1424 DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
1425 DEST_IND = $(DESTDIR)$(INDSUBLOC)
1426 DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
1427 DEST_IMPORT = $(DESTDIR)$(IMPORTSUBLOC)
1428 DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
1429 DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
1430 DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
1431 DEST_COMP = $(DESTDIR)$(COMPSUBLOC)
1432 DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC)
1433 DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1434 DEST_PACK = $(DESTDIR)$(PACKSUBLOC)
1435 DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1436 DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
1437 DEST_SPELL = $(DESTDIR)$(SPELLSUBLOC)
1438 DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1439 DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
1440 DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
1441
1442 # We assume that the ".../man/xx/man1/" directory is for latin1 manual pages.
1443 # Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/"
1444 # directory first.
1445 # FreeBSD uses ".../man/xx.ISO8859-1/man1" for latin1, use that one too.
1446 DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
1447 DEST_MAN_DA = $(DEST_MAN_TOP)/da$(MAN1DIR)
1448 DEST_MAN_DA_I = $(DEST_MAN_TOP)/da.ISO8859-1$(MAN1DIR)
1449 DEST_MAN_DA_U = $(DEST_MAN_TOP)/da.UTF-8$(MAN1DIR)
1450 DEST_MAN_DE = $(DEST_MAN_TOP)/de$(MAN1DIR)
1451 DEST_MAN_DE_I = $(DEST_MAN_TOP)/de.ISO8859-1$(MAN1DIR)
1452 DEST_MAN_DE_U = $(DEST_MAN_TOP)/de.UTF-8$(MAN1DIR)
1453 DEST_MAN_FR = $(DEST_MAN_TOP)/fr$(MAN1DIR)
1454 DEST_MAN_FR_I = $(DEST_MAN_TOP)/fr.ISO8859-1$(MAN1DIR)
1455 DEST_MAN_FR_U = $(DEST_MAN_TOP)/fr.UTF-8$(MAN1DIR)
1456 DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
1457 DEST_MAN_IT_I = $(DEST_MAN_TOP)/it.ISO8859-1$(MAN1DIR)
1458 DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR)
1459 DEST_MAN_JA_U = $(DEST_MAN_TOP)/ja$(MAN1DIR)
1460 DEST_MAN_PL = $(DEST_MAN_TOP)/pl$(MAN1DIR)
1461 DEST_MAN_PL_I = $(DEST_MAN_TOP)/pl.ISO8859-2$(MAN1DIR)
1462 DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR)
1463 DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
1464 DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
1465 DEST_MAN_SV = $(DEST_MAN_TOP)/sv$(MAN1DIR)
1466 DEST_MAN_SV_I = $(DEST_MAN_TOP)/sv.ISO8859-1$(MAN1DIR)
1467 DEST_MAN_SV_U = $(DEST_MAN_TOP)/sv.UTF-8$(MAN1DIR)
1468 DEST_MAN_TR = $(DEST_MAN_TOP)/tr$(MAN1DIR)
1469 DEST_MAN_TR_I = $(DEST_MAN_TOP)/tr.ISO8859-9$(MAN1DIR)
1470 DEST_MAN_TR_U = $(DEST_MAN_TOP)/tr.UTF-8$(MAN1DIR)
1471
1472 # stuff common to all systems
1473 include Make_all.mak
1474
1475 # get the list of tests
1476 include testdir/Make_all.mak
1477
1478 # BASIC_SRC: files that are always used
1479 # GUI_SRC: extra GUI files for current configuration
1480 # ALL_GUI_SRC: all GUI files for Unix
1481 #
1482 # SRC: files used for current configuration
1483 # ALL_SRC: source files used for make depend and make lint
1484
1485 BASIC_SRC = \
1486 alloc.c \
1487 arabic.c \
1488 arglist.c \
1489 autocmd.c \
1490 beval.c \
1491 blob.c \
1492 blowfish.c \
1493 buffer.c \
1494 change.c \
1495 charset.c \
1496 cindent.c \
1497 clientserver.c \
1498 clipboard.c \
1499 cmdexpand.c \
1500 cmdhist.c \
1501 crypt.c \
1502 crypt_zip.c \
1503 debugger.c \
1504 dict.c \
1505 diff.c \
1506 digraph.c \
1507 drawline.c \
1508 drawscreen.c \
1509 edit.c \
1510 eval.c \
1511 evalbuffer.c \
1512 evalfunc.c \
1513 evalvars.c \
1514 evalwindow.c \
1515 ex_cmds.c \
1516 ex_cmds2.c \
1517 ex_docmd.c \
1518 ex_eval.c \
1519 ex_getln.c \
1520 fileio.c \
1521 filepath.c \
1522 findfile.c \
1523 float.c \
1524 fold.c \
1525 fuzzy.c \
1526 getchar.c \
1527 gc.c \
1528 gui_xim.c \
1529 hardcopy.c \
1530 hashtab.c \
1531 help.c \
1532 highlight.c \
1533 if_cscope.c \
1534 if_xcmdsrv.c \
1535 indent.c \
1536 insexpand.c \
1537 json.c \
1538 linematch.c \
1539 list.c \
1540 locale.c \
1541 logfile.c \
1542 main.c \
1543 map.c \
1544 mark.c \
1545 match.c \
1546 mbyte.c \
1547 memfile.c \
1548 memline.c \
1549 menu.c \
1550 message.c \
1551 misc1.c \
1552 misc2.c \
1553 mouse.c \
1554 move.c \
1555 normal.c \
1556 ops.c \
1557 option.c \
1558 optionstr.c \
1559 os_unix.c \
1560 auto/pathdef.c \
1561 popupmenu.c \
1562 popupwin.c \
1563 profiler.c \
1564 pty.c \
1565 quickfix.c \
1566 regexp.c \
1567 register.c \
1568 screen.c \
1569 scriptfile.c \
1570 search.c \
1571 session.c \
1572 sha256.c \
1573 sign.c \
1574 socketserver.c \
1575 sound.c \
1576 spell.c \
1577 spellfile.c \
1578 spellsuggest.c \
1579 strings.c \
1580 syntax.c \
1581 tabpanel.c \
1582 tag.c \
1583 term.c \
1584 terminal.c \
1585 testing.c \
1586 textformat.c \
1587 textobject.c \
1588 textprop.c \
1589 time.c \
1590 tuple.c \
1591 typval.c \
1592 ui.c \
1593 undo.c \
1594 usercmd.c \
1595 userfunc.c \
1596 version.c \
1597 vim9class.c \
1598 vim9cmds.c \
1599 vim9compile.c \
1600 vim9execute.c \
1601 vim9expr.c \
1602 vim9generics.c \
1603 vim9instr.c \
1604 vim9script.c \
1605 vim9type.c \
1606 viminfo.c \
1607 window.c \
1608 bufwrite.c \
1609 $(OS_EXTRA_SRC)
1610
1611 SRC = $(BASIC_SRC) \
1612 $(GUI_SRC) \
1613 $(TERM_SRC) \
1614 $(XDIFF_SRC) \
1615 $(LUA_SRC) \
1616 $(MZSCHEME_SRC) \
1617 $(PERL_SRC) \
1618 $(PYTHON_SRC) $(PYTHON3_SRC) \
1619 $(TCL_SRC) \
1620 $(RUBY_SRC) \
1621 $(WAYLAND_SRC)
1622
1623 EXTRA_SRC = if_lua.c if_mzsch.c auto/if_perl.c \
1624 if_python.c if_python3.c if_tcl.c if_ruby.c \
1625 gui_beval.c netbeans.c job.c channel.c \
1626 $(GRESOURCE_SRC)
1627
1628 $(WAYLAND_SRC): genwaylandproto
1629
1630 .PHONY: genwaylandproto
1631 genwaylandproto:
1632 cd auto/wayland; $(MAKE)
1633
1634 # Needed for parallel jobs to work
1635 auto/wayland/ext-data-control-v1.h: auto/wayland/ext-data-control-v1.c
1636 auto/wayland/wlr-data-control-unstable-v1.h: auto/wayland/wlr-data-control-unstable-v1.c
1637
1638 # Unittest files
1639 JSON_TEST_SRC = json_test.c
1640 JSON_TEST_TARGET = json_test$(EXEEXT)
1641 KWORD_TEST_SRC = kword_test.c
1642 KWORD_TEST_TARGET = kword_test$(EXEEXT)
1643 MEMFILE_TEST_SRC = memfile_test.c
1644 MEMFILE_TEST_TARGET = memfile_test$(EXEEXT)
1645 MESSAGE_TEST_SRC = message_test.c
1646 MESSAGE_TEST_TARGET = message_test$(EXEEXT)
1647
1648 UNITTEST_SRC = $(JSON_TEST_SRC) $(KWORD_TEST_SRC) $(MEMFILE_TEST_SRC) $(MESSAGE_TEST_SRC)
1649 UNITTEST_TARGETS = $(JSON_TEST_TARGET) $(KWORD_TEST_TARGET) $(MEMFILE_TEST_TARGET) $(MESSAGE_TEST_TARGET)
1650 # We need to put WAYLAND_SRC because the protocol files need to be generated
1651 # else wayland.h will error
1652 RUN_UNITTESTS = $(WAYLAND_SRC) run_json_test run_kword_test run_memfile_test run_message_test
1653
1654 # All sources, also the ones that are not configured
1655 ALL_LOCAL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(UNITTEST_SRC) $(EXTRA_SRC) \
1656 $(WAYLAND_SRC)
1657 ALL_SRC = $(ALL_LOCAL_SRC) $(TERM_SRC) $(XDIFF_SRC)
1658
1659 # Which files to check with lint. Select one of these three lines. ALL_SRC
1660 # checks more, but may not work well for checking a GUI that wasn't configured.
1661 # The perl sources also don't work well with lint.
1662 LINT_SRC = $(BASIC_SRC) $(GUI_SRC) \
1663 $(PYTHON_SRC) $(PYTHON3_SRC) $(TCL_SRC) \
1664 $(NETBEANS_SRC) $(CHANNEL_SRC) $(TERM_SRC)
1665 #LINT_SRC = $(SRC)
1666 #LINT_SRC = $(ALL_SRC)
1667 #LINT_SRC = $(BASIC_SRC)
1668
1669 OBJ_COMMON = \
1670 objects/alloc.o \
1671 objects/arabic.o \
1672 objects/arglist.o \
1673 objects/autocmd.o \
1674 objects/beval.o \
1675 objects/buffer.o \
1676 objects/change.o \
1677 objects/blob.o \
1678 objects/blowfish.o \
1679 objects/cindent.o \
1680 objects/clientserver.o \
1681 objects/clipboard.o \
1682 objects/cmdexpand.o \
1683 objects/cmdhist.o \
1684 objects/crypt.o \
1685 objects/crypt_zip.o \
1686 objects/debugger.o \
1687 objects/dict.o \
1688 objects/diff.o \
1689 objects/digraph.o \
1690 objects/drawline.o \
1691 objects/drawscreen.o \
1692 objects/edit.o \
1693 objects/eval.o \
1694 objects/evalbuffer.o \
1695 objects/evalfunc.o \
1696 objects/evalvars.o \
1697 objects/evalwindow.o \
1698 objects/ex_cmds.o \
1699 objects/ex_cmds2.o \
1700 objects/ex_docmd.o \
1701 objects/ex_eval.o \
1702 objects/ex_getln.o \
1703 objects/fileio.o \
1704 objects/filepath.o \
1705 objects/findfile.o \
1706 objects/float.o \
1707 objects/fold.o \
1708 objects/fuzzy.o \
1709 objects/getchar.o \
1710 objects/gc.o \
1711 objects/gui_xim.o \
1712 objects/hardcopy.o \
1713 objects/hashtab.o \
1714 objects/help.o \
1715 objects/highlight.o \
1716 objects/if_cscope.o \
1717 objects/if_xcmdsrv.o \
1718 objects/indent.o \
1719 objects/insexpand.o \
1720 objects/linematch.o \
1721 objects/list.o \
1722 objects/locale.o \
1723 objects/logfile.o \
1724 objects/map.o \
1725 objects/mark.o \
1726 objects/match.o \
1727 objects/mbyte.o \
1728 objects/memline.o \
1729 objects/menu.o \
1730 objects/misc1.o \
1731 objects/misc2.o \
1732 objects/mouse.o \
1733 objects/move.o \
1734 objects/normal.o \
1735 objects/ops.o \
1736 objects/option.o \
1737 objects/optionstr.o \
1738 objects/os_unix.o \
1739 objects/pathdef.o \
1740 objects/popupmenu.o \
1741 objects/popupwin.o \
1742 objects/profiler.o \
1743 objects/pty.o \
1744 objects/quickfix.o \
1745 objects/regexp.o \
1746 objects/register.o \
1747 objects/screen.o \
1748 objects/scriptfile.o \
1749 objects/search.o \
1750 objects/session.o \
1751 objects/sha256.o \
1752 objects/sign.o \
1753 objects/socketserver.o \
1754 objects/sound.o \
1755 objects/spell.o \
1756 objects/spellfile.o \
1757 objects/spellsuggest.o \
1758 objects/strings.o \
1759 objects/syntax.o \
1760 objects/tabpanel.o \
1761 objects/tag.o \
1762 objects/term.o \
1763 objects/terminal.o \
1764 objects/testing.o \
1765 objects/textformat.o \
1766 objects/textobject.o \
1767 objects/textprop.o \
1768 objects/time.o \
1769 objects/tuple.o \
1770 objects/typval.o \
1771 objects/ui.o \
1772 objects/undo.o \
1773 objects/usercmd.o \
1774 objects/userfunc.o \
1775 objects/version.o \
1776 objects/vim9class.o \
1777 objects/vim9cmds.o \
1778 objects/vim9compile.o \
1779 objects/vim9execute.o \
1780 objects/vim9expr.o \
1781 objects/vim9generics.o \
1782 objects/vim9instr.o \
1783 objects/vim9script.o \
1784 objects/vim9type.o \
1785 objects/viminfo.o \
1786 objects/window.o \
1787 objects/bufwrite.o \
1788 $(GUI_OBJ) \
1789 $(TERM_OBJ) \
1790 $(LUA_OBJ) \
1791 $(MZSCHEME_OBJ) \
1792 $(PERL_OBJ) \
1793 $(PYTHON_OBJ) \
1794 $(PYTHON3_OBJ) \
1795 $(TCL_OBJ) \
1796 $(RUBY_OBJ) \
1797 $(OS_EXTRA_OBJ) \
1798 $(NETBEANS_OBJ) \
1799 $(CHANNEL_OBJ) \
1800 $(XDIFF_OBJS_USED) \
1801 $(WAYLAND_OBJ)
1802
1803 # The files included by tests are not in OBJ_COMMON.
1804 OBJ_MAIN = \
1805 objects/charset.o \
1806 objects/json.o \
1807 objects/main.o \
1808 objects/memfile.o \
1809 objects/message.o
1810
1811 OBJ = $(OBJ_COMMON) $(OBJ_MAIN)
1812
1813 OBJ_JSON_TEST = \
1814 objects/charset.o \
1815 objects/memfile.o \
1816 objects/message.o \
1817 objects/json_test.o
1818
1819 JSON_TEST_OBJ = $(OBJ_COMMON) $(OBJ_JSON_TEST)
1820
1821 OBJ_KWORD_TEST = \
1822 objects/json.o \
1823 objects/memfile.o \
1824 objects/message.o \
1825 objects/kword_test.o
1826
1827 KWORD_TEST_OBJ = $(OBJ_COMMON) $(OBJ_KWORD_TEST)
1828
1829 OBJ_MEMFILE_TEST = \
1830 objects/charset.o \
1831 objects/json.o \
1832 objects/message.o \
1833 objects/memfile_test.o
1834
1835 MEMFILE_TEST_OBJ = $(OBJ_COMMON) $(OBJ_MEMFILE_TEST)
1836
1837 OBJ_MESSAGE_TEST = \
1838 objects/charset.o \
1839 objects/json.o \
1840 objects/memfile.o \
1841 objects/message_test.o
1842
1843 MESSAGE_TEST_OBJ = $(OBJ_COMMON) $(OBJ_MESSAGE_TEST)
1844
1845 ALL_OBJ = $(OBJ_COMMON) \
1846 $(OBJ_MAIN) \
1847 $(OBJ_JSON_TEST) \
1848 $(OBJ_KWORD_TEST) \
1849 $(OBJ_MEMFILE_TEST) \
1850 $(OBJ_MESSAGE_TEST)
1851
1852
1853 PROTO_FILES = \
1854 proto/alloc.pro \
1855 proto/arabic.pro \
1856 proto/arglist.pro \
1857 proto/autocmd.pro \
1858 proto/beval.pro \
1859 proto/blob.pro \
1860 proto/blowfish.pro \
1861 proto/buffer.pro \
1862 proto/bufwrite.pro \
1863 proto/change.pro \
1864 proto/channel.pro \
1865 proto/charset.pro \
1866 proto/cindent.pro \
1867 proto/clientserver.pro \
1868 proto/clipboard.pro \
1869 proto/cmdexpand.pro \
1870 proto/cmdhist.pro \
1871 proto/crypt.pro \
1872 proto/crypt_zip.pro \
1873 proto/debugger.pro \
1874 proto/dict.pro \
1875 proto/diff.pro \
1876 proto/digraph.pro \
1877 proto/drawline.pro \
1878 proto/drawscreen.pro \
1879 proto/edit.pro \
1880 proto/eval.pro \
1881 proto/evalbuffer.pro \
1882 proto/evalfunc.pro \
1883 proto/evalvars.pro \
1884 proto/evalwindow.pro \
1885 proto/ex_cmds.pro \
1886 proto/ex_cmds2.pro \
1887 proto/ex_docmd.pro \
1888 proto/ex_eval.pro \
1889 proto/ex_getln.pro \
1890 proto/fileio.pro \
1891 proto/filepath.pro \
1892 proto/findfile.pro \
1893 proto/float.pro \
1894 proto/fold.pro \
1895 proto/fuzzy.pro \
1896 proto/gc.pro \
1897 proto/getchar.pro \
1898 proto/gui_beval.pro \
1899 proto/gui_gtk_gresources.pro \
1900 proto/gui_xim.pro \
1901 proto/hardcopy.pro \
1902 proto/hashtab.pro \
1903 proto/help.pro \
1904 proto/highlight.pro \
1905 proto/if_cscope.pro \
1906 proto/if_lua.pro \
1907 proto/if_mzsch.pro \
1908 proto/if_python.pro \
1909 proto/if_python3.pro \
1910 proto/if_ruby.pro \
1911 proto/if_tcl.pro \
1912 proto/if_xcmdsrv.pro \
1913 proto/indent.pro \
1914 proto/insexpand.pro \
1915 proto/job.pro \
1916 proto/json.pro \
1917 proto/linematch.pro \
1918 proto/list.pro \
1919 proto/locale.pro \
1920 proto/logfile.pro \
1921 proto/main.pro \
1922 proto/map.pro \
1923 proto/mark.pro \
1924 proto/match.pro \
1925 proto/mbyte.pro \
1926 proto/memfile.pro \
1927 proto/memline.pro \
1928 proto/menu.pro \
1929 proto/message.pro \
1930 proto/misc1.pro \
1931 proto/misc2.pro \
1932 proto/mouse.pro \
1933 proto/move.pro \
1934 proto/netbeans.pro \
1935 proto/normal.pro \
1936 proto/ops.pro \
1937 proto/option.pro \
1938 proto/optionstr.pro \
1939 proto/os_amiga.pro \
1940 proto/os_mac_conv.pro \
1941 proto/os_mswin.pro \
1942 proto/os_qnx.pro \
1943 proto/os_unix.pro \
1944 proto/os_vms.pro \
1945 proto/os_win32.pro \
1946 proto/popupmenu.pro \
1947 proto/popupwin.pro \
1948 proto/profiler.pro \
1949 proto/pty.pro \
1950 proto/quickfix.pro \
1951 proto/regexp.pro \
1952 proto/register.pro \
1953 proto/screen.pro \
1954 proto/scriptfile.pro \
1955 proto/search.pro \
1956 proto/session.pro \
1957 proto/sha256.pro \
1958 proto/sign.pro \
1959 proto/sound.pro \
1960 proto/spell.pro \
1961 proto/spellfile.pro \
1962 proto/spellsuggest.pro \
1963 proto/strings.pro \
1964 proto/syntax.pro \
1965 proto/tabpanel.pro \
1966 proto/tag.pro \
1967 proto/term.pro \
1968 proto/terminal.pro \
1969 proto/termlib.pro \
1970 proto/testing.pro \
1971 proto/textformat.pro \
1972 proto/textobject.pro \
1973 proto/textprop.pro \
1974 proto/time.pro \
1975 proto/tuple.pro \
1976 proto/typval.pro \
1977 proto/ui.pro \
1978 proto/undo.pro \
1979 proto/usercmd.pro \
1980 proto/userfunc.pro \
1981 proto/version.pro \
1982 proto/vim9class.pro \
1983 proto/vim9cmds.pro \
1984 proto/vim9compile.pro \
1985 proto/vim9execute.pro \
1986 proto/vim9expr.pro \
1987 proto/vim9generics.pro \
1988 proto/vim9instr.pro \
1989 proto/vim9script.pro \
1990 proto/vim9type.pro \
1991 proto/viminfo.pro \
1992 proto/wayland.pro \
1993 proto/winclip.pro \
1994 proto/window.pro \
1995 $(ALL_GUI_PRO)
1996
1997 # Default target is making the executable and tools
1998 all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)
1999
2000 tools: $(TOOLS)
2001
2002 # Run configure with all the setting from above.
2003 #
2004 # Note: auto/config.h doesn't depend on configure, because running configure
2005 # doesn't always update auto/config.h. The timestamp isn't changed if the
2006 # file contents didn't change (to avoid recompiling everything). Including a
2007 # dependency on auto/config.h would cause running configure each time when
2008 # auto/config.h isn't updated. The dependency on auto/config.mk should make
2009 # sure configure is run when it's needed.
2010 #
2011 # Remove the config.cache every time, once in a while it causes problems that
2012 # are very hard to figure out.
2013 #
2014 config auto/config.mk: auto/configure config.mk.in config.h.in
2015 -rm -f auto/config.cache
2016 if test "X$(MAKECMDGOALS)" != "Xclean" \
2017 -a "X$(MAKECMDGOALS)" != "Xdistclean" \
2018 -a "X$(MAKECMDGOALS)" != "Xautoconf" \
2019 -a "X$(MAKECMDGOALS)" != "Xreconfig"; then \
2020 GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
2021 CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
2022 LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
2023 ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
2024 $(CONF_OPT_AUTOSERVE) $(CONF_OPT_DARWIN) $(CONF_OPT_FAIL) \
2025 $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_PYTHON3) \
2026 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
2027 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
2028 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) \
2029 $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
2030 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
2031 $(CONF_OPT_CHANNEL) $(CONF_OPT_TERMINAL) \
2032 $(CONF_ARGS) $(CONF_ARGS1) $(CONF_ARGS2) $(CONF_ARGS3) \
2033 $(CONF_ARGS4) $(CONF_ARGS5) $(CONF_ARGS6) \
2034 $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME) \
2035 $(CONF_OPT_LUA) $(CONF_OPT_LUA_PREFIX) \
2036 $(CONF_OPT_SYSMOUSE) $(CONF_OPT_CANBERRA) $(CONF_OPT_SODIUM); \
2037 fi
2038
2039 # Use "make reconfig" to rerun configure without cached values.
2040 # When config.h changes, most things will be recompiled automatically.
2041 # Invoke $(MAKE) to run config with the empty auto/config.mk.
2042 # Invoke $(MAKE) to build all with the filled auto/config.mk.
2043 reconfig: scratch clean
2044 $(MAKE) -f Makefile config
2045 $(MAKE) -f Makefile all
2046
2047 # Run autoconf to produce auto/configure.
2048 # Note:
2049 # - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
2050 # producing auto/configure.
2051 # - autoconf is not run automatically, because a patch usually changes both
2052 # configure.ac and auto/configure but can't update the timestamps. People
2053 # who do not have (the correct version of) autoconf would run into trouble.
2054 #
2055 # Two tricks are required to make autoconf put its output in the "auto" dir:
2056 # - Temporarily move the ./configure script to ./configure.save. Don't
2057 # overwrite it, it's probably the result of an aborted autoconf.
2058 # - Use sed to change ./config.log to auto/config.log in the configure script.
2059 # Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
2060 # care of:
2061 # - autom4te.cache directory is created and not cleaned up. Delete it.
2062 # - Uses ">config.log" instead of "./config.log".
2063 autoconf:
2064 if test ! -f configure.save; then mv configure configure.save; fi
2065 $(AUTOCONF)
2066 sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure
2067 chmod 755 auto/configure
2068 mv -f configure.save configure
2069 -rm -rf autom4te.cache
2070 -rm -f auto/config.status auto/config.cache
2071
2072 # Run Vim script to generate the Ex command lookup table.
2073 # This only needs to be run when a command name has been added or changed.
2074 # If this fails because you don't have Vim yet, first build and install Vim
2075 # without changes.
2076 # This requires a "vim" executable with the +eval feature.
2077 cmdidxs: ex_cmds.h
2078 vim --clean -X --not-a-term -S create_cmdidxs.vim -c quit
2079
2080 # Run Vim script to generate the normal/visual mode command lookup table.
2081 # This only needs to be run when a new normal/visual mode command has been
2082 # added.
2083 # This requires a "vim" executable with the +eval feature.
2084 # If this fails because you don't have Vim yet:
2085 # - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command.
2086 # - run "make nvcmdidxs" to generate nv_cmdidxs.h
2087 nvcmdidxs: auto/config.mk nv_cmds.h
2088 $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs
2089 vim --clean -X --not-a-term -S create_nvcmdidxs.vim -c quit
2090 -rm -f create_nvcmdidxs
2091
2092 # The normal command to compile a .c file to its .o file.
2093 # Without or with ALL_CFLAGS.
2094 CCC_NF = $(CC) -c -I$(srcdir)
2095 CCC = $(CCC_NF) $(ALL_CFLAGS)
2096
2097
2098 # Link the target for normal use or debugging.
2099 # A shell script is used to try linking without unnecessary libraries.
2100 $(VIMTARGET): auto/config.mk $(OBJ) objects/version.o
2101 @$(BUILD_DATE_MSG)
2102 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
2103 -o $(VIMTARGET) $(OBJ) $(ALL_LIBS)" \
2104 MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \
2105 PROG="vim" \
2106 sh $(srcdir)/link.sh
2107
2108 xxd/xxd$(EXEEXT): xxd/xxd.c
2109 cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
2110 $(MAKE) -f Makefile
2111
2112 # Build the language specific files if they were unpacked.
2113 # Generate the converted .mo files separately, it's no problem if this fails.
2114 languages:
2115 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
2116 cd $(PODIR); \
2117 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) originals; \
2118 fi
2119 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
2120 cd $(PODIR); \
2121 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
2122 fi
2123
2124 # Update the *.po files for changes in the sources. Only run manually.
2125 update-po:
2126 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
2127
2128 # Generate function prototypes. Previously, cproto was used, but since there
2129 # was a lot of fiddling to do to generate them correctly, so we switched to a
2130 # Python script using libclang. It has the following features:
2131 # - Only the bare minimum of macro definitions is required.
2132 # - Generates the same .pro file even across different operating systems.
2133 # (maybe)
2134 # Note: the following proto files need to be manually updated:
2135 # proto/gui_haiku.pro
2136 # proto/if_ole.pro
2137 # proto/if_perl.pro
2138 # proto/os_macosx.pro
2139 #
2140 # How to set up environment to run `make proto`
2141 # On Ubuntu 24.04:
2142 # - Install libclang
2143 # Use the package provided by Ubuntu.
2144 # $ sudo apt install python3-clang
2145 # Or, Create venv (if you want to use it freely with pip)
2146 # $ python3 -m venv ~/venv
2147 # $ source ~/venv/bin/activate
2148 # $ pip install --upgrade pip
2149 # $ pip install libclang
2150 # On Windows 11 (using Git Bash):
2151 # - Install GNU Make 3.81 or later.
2152 # - Download and install Python from the Python official website.
2153 # - Install libclang
2154 # $ python -m pip install libclang
2155 # - Change the following lines in this file:
2156 # s/^PYTHON=python3/PYTHON=python/
2157 # s/^tags TAGS: notags/tags: notags/
2158 PYTHON=python3
2159
2160 .PHONY: proto protoclean
2161 proto: $(PROTO_FILES)
2162
2163 protoclean:
2164 -rm -f $(PROTO_FILES)
2165
2166 GEN_PROTO_CMD = proto/gen_prototypes.py
2167 GEN_PROTO_ARG = -DPROTO -DFEAT_GUI -DFEAT_WAYLAND -DFEAT_WAYLAND_CLIPBOARD -I.
2168
2169 # Add `GENPROTO_DEBUG=1` before $(PYTHON) to get debug output.
2170 proto/%.pro: %.c
2171 @$(PYTHON) $(GEN_PROTO_CMD) $< $(GEN_PROTO_ARG)
2172
2173 proto/gui_gtk_gresources.pro: auto/gui_gtk_gresources.c
2174 @if test -n "$(GLIB_COMPILE_RESOURCES)"; then \
2175 $(PYTHON) $(GEN_PROTO_CMD) $< $(GEN_PROTO_ARG) ; \
2176 fi
2177
2178 notags:
2179 -rm -f tags
2180
2181 # Note: tags is made for the currently configured version.
2182 # You can ignore error messages for missing files.
2183 tags TAGS: notags
2184 $(TAGPRG) $(TAGS_FILES)
2185
2186 # Build the cscope database.
2187 # This may search more files than necessary.
2188 .PHONY: cscope csclean
2189 csclean:
2190 -rm -vf cscope.out
2191 cscope.out:
2192 cscope -bv ./*.[ch] ./*.cpp ./if_perl.xs auto/*.h auto/pathdef.c proto/*.pro xxd/xxd.c
2193 cscope: csclean cscope.out ;
2194
2195 # Make a highlight file for types. Requires Exuberant ctags and awk
2196 types: types.vim
2197 types.vim: $(TAGS_FILES)
2198 ctags --c-kinds=gstu -o- $(TAGS_FILES) |\
2199 awk 'BEGIN{printf("syntax keyword Type\t")}\
2200 {printf("%s ", $$1)}END{print ""}' > $@
2201 echo "syn keyword Constant OK FAIL TRUE FALSE MAYBE" >> $@
2202
2203 # TESTING
2204 #
2205 # Execute the test scripts and the unittests.
2206 # Do the scripttests first, so that the summary shows last.
2207 test check: unittests $(TERM_TEST) scripttests
2208
2209 # Execute the test scripts. Run these after compiling Vim, before installing.
2210 # This doesn't depend on $(VIMTARGET), because that won't work when configure
2211 # wasn't run yet. Restart make to build it instead.
2212 #
2213 # This will produce a lot of garbage on your screen, including a few error
2214 # messages. Don't worry about that.
2215 # If everything is alright, the final message will be "ALL DONE". If not you
2216 # get "TEST FAILURE".
2217 #
2218 scripttests:
2219 $(MAKE) -f Makefile $(VIMTARGET)
2220 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
2221 cd $(PODIR); $(MAKE) -f Makefile check VIMPROG=../$(VIMTARGET); \
2222 fi
2223 -if test $(VIMTARGET) != vim -a ! -r vim; then \
2224 ln -s $(VIMTARGET) vim; \
2225 fi
2226 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2227
2228 # Run the tests with the GUI. Assumes vim/gvim was already built
2229 testgui:
2230 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2231
2232 testtiny:
2233 cd testdir; $(MAKE) -f Makefile tiny VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2234
2235 # Run benchmarks.
2236 benchmark:
2237 cd testdir; \
2238 $(MAKE) -f Makefile benchmarkclean; \
2239 $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2240
2241 unittesttargets:
2242 $(MAKE) -f Makefile $(UNITTEST_TARGETS)
2243
2244 # Swap these lines to run individual tests with gvim instead of vim.
2245 VIMTESTTARGET = $(VIMTARGET)
2246 # VIMTESTTARGET = $(GVIMTARGET)
2247
2248 # Execute the unittests one by one.
2249 unittest unittests: $(RUN_UNITTESTS)
2250
2251 run_json_test: $(JSON_TEST_TARGET)
2252 $(VALGRIND) ./$(JSON_TEST_TARGET) || exit 1; echo $* passed;
2253
2254 run_kword_test: $(KWORD_TEST_TARGET)
2255 $(VALGRIND) ./$(KWORD_TEST_TARGET) || exit 1; echo $* passed;
2256
2257 run_memfile_test: $(MEMFILE_TEST_TARGET)
2258 $(VALGRIND) ./$(MEMFILE_TEST_TARGET) || exit 1; echo $* passed;
2259
2260 run_message_test: $(MESSAGE_TEST_TARGET)
2261 $(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed;
2262
2263 # Run the libvterm tests.
2264 # This works only on GNU make, not on BSD make.
2265 # Libtool requires "gcc".
2266 test_libvterm:
2267 @if $(MAKE) --version 2>/dev/null | grep -qs "GNU Make"; then \
2268 if test -x "/usr/bin/gcc"; then \
2269 cd libvterm; $(MAKE) -f Makefile test CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \
2270 fi \
2271 fi
2272
2273 # Run individual OLD style test.
2274 # These do not depend on the executable, compile it when needed.
2275 $(SCRIPTS_TINY):
2276 cd testdir; rm -f [email protected]; $(MAKE) -f Makefile [email protected] VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2277
2278 # Run individual NEW style test.
2279 # These do not depend on the executable, compile it when needed.
2280 # Set $TEST_FILTER to select what test function to invoke, e.g.:
2281 # export TEST_FILTER=Test_terminal_wipe_buffer
2282 # A partial match also works:
2283 # export TEST_FILTER=wipe_buffer
2284 $(NEW_TESTS) test_vim9:
2285 cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2286
2287 newtests:
2288 cd testdir; rm -f [email protected] test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
2289 @if test -f testdir/test.log; then \
2290 cat testdir/test.log; \
2291 fi
2292 cat testdir/messages
2293
2294 testclean:
2295 cd testdir; $(MAKE) -f Makefile clean
2296 if test -d $(PODIR); then \
2297 cd $(PODIR); $(MAKE) checkclean; \
2298 fi
2299
2300 # Unittests
2301 # It's build just like Vim to satisfy all dependencies.
2302 $(JSON_TEST_TARGET): auto/config.mk $(JSON_TEST_OBJ) objects/version.o
2303 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
2304 -o $(JSON_TEST_TARGET) $(JSON_TEST_OBJ) $(ALL_LIBS)" \
2305 MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \
2306 PROG="json_test" \
2307 sh $(srcdir)/link.sh
2308
2309 $(KWORD_TEST_TARGET): auto/config.mk $(KWORD_TEST_OBJ) objects/version.o
2310 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
2311 -o $(KWORD_TEST_TARGET) $(KWORD_TEST_OBJ) $(ALL_LIBS)" \
2312 MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \
2313 PROG="kword_test" \
2314 sh $(srcdir)/link.sh
2315
2316 $(MEMFILE_TEST_TARGET): auto/config.mk $(MEMFILE_TEST_OBJ) objects/version.o
2317 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
2318 -o $(MEMFILE_TEST_TARGET) $(MEMFILE_TEST_OBJ) $(ALL_LIBS)" \
2319 MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \
2320 PROG="memfile_test" \
2321 sh $(srcdir)/link.sh
2322
2323 $(MESSAGE_TEST_TARGET): auto/config.mk $(MESSAGE_TEST_OBJ) objects/version.o
2324 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
2325 -o $(MESSAGE_TEST_TARGET) $(MESSAGE_TEST_OBJ) $(ALL_LIBS)" \
2326 MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \
2327 PROG="message_test" \
2328 sh $(srcdir)/link.sh
2329
2330 # install targets
2331
2332 install: $(GUI_INSTALL)
2333
2334 install_normal: installvim installtools $(INSTALL_LANGS) install-icons
2335
2336 install_gui_extra: installgtutorbin
2337
2338 installvim: installvimbin installtutorbin \
2339 installruntime installlinks installmanlinks
2340
2341 #
2342 # Avoid overwriting an existing executable, somebody might be running it and
2343 # overwriting it could cause it to crash. Deleting it is OK, it won't be
2344 # really deleted until all running processes for it have exited. It is
2345 # renamed first, in case the deleting doesn't work.
2346 #
2347 # If you want to keep an older version, rename it before running "make
2348 # install".
2349 #
2350 installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
2351 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
2352 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
2353 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
2354 fi
2355 $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
2356 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
2357 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
2358 # may create a link to the new executable from /usr/bin/vi
2359 -$(LINKIT)
2360
2361 # Long list of arguments for the shell script that installs the manual pages
2362 # for one language.
2363 INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
2364 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
2365
2366 # Install most of the runtime files
2367 installruntime: installrtbase installmacros installpack installtutor installspell
2368
2369 # Install the help files; first adjust the contents for the final location.
2370 # Also install most of the other runtime files.
2371 installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(VIMTARGET) $(DEST_RT) \
2372 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) \
2373 $(DEST_SYN) $(DEST_SYN)/modula2 $(DEST_SYN)/modula2/opt $(DEST_SYN)/shared \
2374 $(DEST_IND) $(DEST_FTP) \
2375 $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
2376 $(DEST_AUTO)/rust $(DEST_AUTO)/cargo \
2377 $(DEST_IMPORT) $(DEST_IMPORT)/dist \
2378 $(DEST_PLUG) \
2379 $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr \
2380 $(DEST_TUTOR)/ru $(DEST_TUTOR)/sv \
2381 $(DEST_SPELL) $(DEST_COMP)
2382 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
2383 # Generate the help tags with ":helptags" to handle all languages.
2384 # Move the distributed tags file aside and restore it, to avoid it being
2385 # different from the repository.
2386 cd $(HELPSOURCE); if test -z "$(CROSS_COMPILING)" -a -f tags; then \
2387 mv -f tags tags.dist; fi
2388 @echo generating help tags
2389 -@BUILD_DIR=`pwd`; cd $(HELPSOURCE); if test -z "$(CROSS_COMPILING)"; then \
2390 $(MAKE) VIMPROG="$$BUILD_DIR/$(VIMTARGET)" vimtags; fi
2391 cd $(HELPSOURCE); \
2392 files=`ls *.txt tags`; \
2393 files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \
2394 $(INSTALL_DATA) $$files $(DEST_HELP); \
2395 cd $(DEST_HELP); \
2396 chmod $(HELPMOD) $$files
2397 $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
2398 chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
2399 cd $(HELPSOURCE); if test -f tags.dist; then mv -f tags.dist tags; fi
2400 # install the menu files
2401 $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
2402 chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
2403 $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.vim $(SYS_SYNMENU_FILE)
2404 chmod $(VIMSCRIPTMOD) $(SYS_SYNMENU_FILE)
2405 $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.vim $(SYS_DELMENU_FILE)
2406 chmod $(VIMSCRIPTMOD) $(SYS_DELMENU_FILE)
2407 # install the defaults/evim/mswin file
2408 $(INSTALL_DATA) $(SCRIPTSOURCE)/defaults.vim $(VIM_DEFAULTS_FILE)
2409 chmod $(VIMSCRIPTMOD) $(VIM_DEFAULTS_FILE)
2410 $(INSTALL_DATA) $(SCRIPTSOURCE)/evim.vim $(EVIM_FILE)
2411 chmod $(VIMSCRIPTMOD) $(EVIM_FILE)
2412 $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.vim $(MSWIN_FILE)
2413 chmod $(VIMSCRIPTMOD) $(MSWIN_FILE)
2414 # install the bugreport file
2415 $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.vim $(SYS_BUGR_FILE)
2416 chmod $(VIMSCRIPTMOD) $(SYS_BUGR_FILE)
2417 # install the example vimrc files
2418 $(INSTALL_DATA) $(SCRIPTSOURCE)/vimrc_example.vim $(DEST_SCRIPT)
2419 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/vimrc_example.vim
2420 $(INSTALL_DATA) $(SCRIPTSOURCE)/gvimrc_example.vim $(DEST_SCRIPT)
2421 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/gvimrc_example.vim
2422 # install the xdg file
2423 $(INSTALL_DATA) $(SCRIPTSOURCE)/xdg.vim $(DEST_SCRIPT)
2424 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/xdg.vim
2425 # install the file type detection files
2426 $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.vim $(SYS_FILETYPE_FILE)
2427 chmod $(VIMSCRIPTMOD) $(SYS_FILETYPE_FILE)
2428 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.vim $(SYS_FTOFF_FILE)
2429 chmod $(VIMSCRIPTMOD) $(SYS_FTOFF_FILE)
2430 $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.vim $(SYS_SCRIPTS_FILE)
2431 chmod $(VIMSCRIPTMOD) $(SYS_SCRIPTS_FILE)
2432 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.vim $(SYS_FTPLUGIN_FILE)
2433 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGIN_FILE)
2434 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.vim $(SYS_FTPLUGOF_FILE)
2435 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGOF_FILE)
2436 $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.vim $(SYS_INDENT_FILE)
2437 chmod $(VIMSCRIPTMOD) $(SYS_INDENT_FILE)
2438 $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.vim $(SYS_INDOFF_FILE)
2439 chmod $(VIMSCRIPTMOD) $(SYS_INDOFF_FILE)
2440 $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.vim $(SYS_OPTWIN_FILE)
2441 chmod $(VIMSCRIPTMOD) $(SYS_OPTWIN_FILE)
2442 # install README and LICENCE files
2443 $(INSTALL_DATA) ../README.txt $(DEST_RT)
2444 chmod $(HELPMOD) $(DEST_RT)/README.txt
2445 $(INSTALL_DATA) ../LICENSE $(DEST_RT)
2446 chmod $(HELPMOD) $(DEST_RT)/LICENSE
2447 # install the print resource files
2448 cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT)
2449 cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
2450 # install the colorscheme files
2451 cd $(COLSOURCE); $(INSTALL_DATA_R) *.vim lists tools README.txt $(DEST_COL)
2452 cd $(DEST_COL); chmod $(DIRMOD) lists tools
2453 cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt lists/*.vim tools/*.vim
2454 # install the syntax files
2455 cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
2456 cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
2457 cd $(SYNSOURCE)/shared; $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)/shared
2458 cd $(DEST_SYN)/shared; chmod $(HELPMOD) *.vim README.txt
2459 cd $(SYNSOURCE)/modula2/opt; $(INSTALL_DATA) *.vim $(DEST_SYN)/modula2/opt
2460 cd $(DEST_SYN)/modula2/opt; chmod $(HELPMOD) *.vim
2461 # install the indent files
2462 cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
2463 cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
2464 # install the standard autoload files
2465 cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
2466 cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
2467 cd $(AUTOSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_AUTO)/dist
2468 cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.vim
2469 cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.vim $(DEST_AUTO)/xml
2470 cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.vim
2471 cd $(AUTOSOURCE)/cargo; $(INSTALL_DATA) *.vim $(DEST_AUTO)/cargo
2472 cd $(DEST_AUTO)/cargo; chmod $(HELPMOD) *.vim
2473 cd $(AUTOSOURCE)/rust; $(INSTALL_DATA) *.vim $(DEST_AUTO)/rust
2474 cd $(DEST_AUTO)/rust; chmod $(HELPMOD) *.vim
2475 # install the standard import files
2476 cd $(IMPORTSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_IMPORT)/dist
2477 cd $(DEST_IMPORT)/dist; chmod $(HELPMOD) *.vim
2478 # install the standard plugin files, but first remove existing ones
2479 -rm -f $(DEST_PLUG)/*.vim
2480 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
2481 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
2482 # install the ftplugin files
2483 cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt logtalk.dict $(DEST_FTP)
2484 cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt logtalk.dict
2485 # install the compiler files
2486 cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
2487 cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
2488
2489 installmacros: $(DEST_VIM) $(DEST_RT) $(DEST_MACRO)
2490 $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO)
2491 chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print`
2492 chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
2493 chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
2494 # When using CVS some CVS directories might have been copied.
2495 # Also delete AAPDIR and *.info files.
2496 cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR -o -name "*.info" \) -print`; \
2497 if test -n "$$cvs"; then \
2498 rm -rf $$cvs; \
2499 fi
2500
2501 installpack: $(DEST_VIM) $(DEST_RT) $(DEST_PACK)
2502 $(INSTALL_DATA_R) $(PACKSOURCE)/* $(DEST_PACK)
2503 chmod $(DIRMOD) `find $(DEST_PACK) -type d -print`
2504 chmod $(FILEMOD) `find $(DEST_PACK) -type f -print`
2505
2506 # install the tutor files
2507 installtutorbin: $(DEST_BIN)
2508 $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
2509 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
2510
2511 installgtutorbin: $(DEST_BIN)
2512 $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor
2513 chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor
2514
2515 installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/sv $(DEST_TUTOR)/ru
2516 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
2517 -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/
2518 -$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/
2519 -$(INSTALL_DATA) $(TUTORSOURCE)/ru/* $(DEST_TUTOR)/ru/
2520 -$(INSTALL_DATA) $(TUTORSOURCE)/sr/* $(DEST_TUTOR)/sr/
2521 -$(INSTALL_DATA) $(TUTORSOURCE)/sv/* $(DEST_TUTOR)/sv/
2522 -rm -f $(DEST_TUTOR)/*.info
2523 chmod $(HELPMOD) $(DEST_TUTOR)/*
2524 chmod $(DIRMOD) $(DEST_TUTOR)/en
2525 chmod $(DIRMOD) $(DEST_TUTOR)/it
2526 chmod $(DIRMOD) $(DEST_TUTOR)/ru
2527 chmod $(DIRMOD) $(DEST_TUTOR)/sr
2528 chmod $(DIRMOD) $(DEST_TUTOR)/sv
2529
2530 # Install the spell files, if they exist. This assumes at least the English
2531 # spell file is there.
2532 installspell: $(DEST_VIM) $(DEST_RT) $(DEST_SPELL)
2533 if test -f $(SPELLSOURCE)/en.latin1.spl; then \
2534 $(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(SPELLSOURCE)/*.sug $(SPELLSOURCE)/*.vim $(DEST_SPELL); \
2535 chmod $(HELPMOD) $(DEST_SPELL)/*.spl $(DEST_SPELL)/*.sug $(DEST_SPELL)/*.vim; \
2536 fi
2537
2538 # install helper program xxd
2539 installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
2540 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS) \
2541 $(INSTALL_TOOL_LANGS)
2542 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
2543 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
2544 rm -f $(DEST_BIN)/xxd.rm; \
2545 fi
2546 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
2547 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
2548 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
2549 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
2550
2551 # install the runtime tools
2552 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
2553 # When using CVS some CVS directories might have been copied.
2554 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
2555 if test -n "$$cvs"; then \
2556 rm -rf $$cvs; \
2557 fi
2558 -chmod $(FILEMOD) $(DEST_TOOLS)/*
2559 # replace the path in some tools
2560 perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl
2561 awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
2562 awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
2563 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
2564 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
2565
2566 # install the language specific files for tools, if they were unpacked
2567 install-tool-languages:
2568 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA) "-da" $(INSTALLMANARGS)
2569 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA_I) "-da" $(INSTALLMANARGS)
2570 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA_U) "-da.UTF-8" $(INSTALLMANARGS)
2571 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE) "-de" $(INSTALLMANARGS)
2572 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE_I) "-de" $(INSTALLMANARGS)
2573 -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE_U) "-de.UTF-8" $(INSTALLMANARGS)
2574 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
2575 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
2576 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
2577 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
2578 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
2579 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
2580 -$(SHELL) ./installman.sh xxd $(DEST_MAN_JA_U) "-ja.UTF-8" $(INSTALLMANARGS)
2581 -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS)
2582 -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS)
2583 -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS)
2584 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
2585 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
2586 -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV) "-sv" $(INSTALLMANARGS)
2587 -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV_I) "-sv" $(INSTALLMANARGS)
2588 -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV_U) "-sv.UTF-8" $(INSTALLMANARGS)
2589 -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR) "-tr" $(INSTALLMANARGS)
2590 -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR_I) "-tr" $(INSTALLMANARGS)
2591 -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR_U) "-tr.UTF-8" $(INSTALLMANARGS)
2592
2593
2594 # install the language specific files, if they were unpacked
2595 install-languages: languages $(DEST_LANG) $(DEST_KMAP) $(DEST_RT)
2596 -$(SHELL) ./installman.sh install $(DEST_MAN_DA) "-da" $(INSTALLMANARGS)
2597 -$(SHELL) ./installman.sh install $(DEST_MAN_DA_I) "-da" $(INSTALLMANARGS)
2598 -$(SHELL) ./installman.sh install $(DEST_MAN_DA_U) "-da.UTF-8" $(INSTALLMANARGS)
2599 -$(SHELL) ./installman.sh install $(DEST_MAN_DE) "-de" $(INSTALLMANARGS)
2600 -$(SHELL) ./installman.sh install $(DEST_MAN_DE_I) "-de" $(INSTALLMANARGS)
2601 -$(SHELL) ./installman.sh install $(DEST_MAN_DE_U) "-de.UTF-8" $(INSTALLMANARGS)
2602 -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
2603 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
2604 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
2605 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
2606 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
2607 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
2608 -$(SHELL) ./installman.sh install $(DEST_MAN_JA_U) "-ja.UTF-8" $(INSTALLMANARGS)
2609 -$(SHELL) ./installman.sh install $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS)
2610 -$(SHELL) ./installman.sh install $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS)
2611 -$(SHELL) ./installman.sh install $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS)
2612 -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
2613 -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
2614 -$(SHELL) ./installman.sh install $(DEST_MAN_SV) "-sv" $(INSTALLMANARGS)
2615 -$(SHELL) ./installman.sh install $(DEST_MAN_SV_I) "-sv" $(INSTALLMANARGS)
2616 -$(SHELL) ./installman.sh install $(DEST_MAN_SV_U) "-sv.UTF-8" $(INSTALLMANARGS)
2617 -$(SHELL) ./installman.sh install $(DEST_MAN_TR) "-tr" $(INSTALLMANARGS)
2618 -$(SHELL) ./installman.sh install $(DEST_MAN_TR_I) "-tr" $(INSTALLMANARGS)
2619 -$(SHELL) ./installman.sh install $(DEST_MAN_TR_U) "-tr.UTF-8" $(INSTALLMANARGS)
2620 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2621 $(DEST_MAN_DA) $(INSTALLMLARGS)
2622 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2623 $(DEST_MAN_DA_I) $(INSTALLMLARGS)
2624 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2625 $(DEST_MAN_DA_U) $(INSTALLMLARGS)
2626 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2627 $(DEST_MAN_DE) $(INSTALLMLARGS)
2628 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2629 $(DEST_MAN_DE_I) $(INSTALLMLARGS)
2630 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2631 $(DEST_MAN_DE_U) $(INSTALLMLARGS)
2632 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2633 $(DEST_MAN_FR) $(INSTALLMLARGS)
2634 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2635 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
2636 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2637 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
2638 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2639 $(DEST_MAN_IT) $(INSTALLMLARGS)
2640 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2641 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
2642 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2643 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
2644 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2645 $(DEST_MAN_JA_U) $(INSTALLMLARGS)
2646 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2647 $(DEST_MAN_PL) $(INSTALLMLARGS)
2648 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2649 $(DEST_MAN_PL_I) $(INSTALLMLARGS)
2650 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2651 $(DEST_MAN_PL_U) $(INSTALLMLARGS)
2652 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2653 $(DEST_MAN_RU) $(INSTALLMLARGS)
2654 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2655 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
2656 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2657 $(DEST_MAN_SV) $(INSTALLMLARGS)
2658 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2659 $(DEST_MAN_SV_I) $(INSTALLMLARGS)
2660 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2661 $(DEST_MAN_SV_U) $(INSTALLMLARGS)
2662 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2663 $(DEST_MAN_TR) $(INSTALLMLARGS)
2664 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2665 $(DEST_MAN_TR_I) $(INSTALLMLARGS)
2666 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2667 $(DEST_MAN_TR_U) $(INSTALLMLARGS)
2668 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
2669 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
2670 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
2671 fi
2672 if test -d $(LANGSOURCE); then \
2673 $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.vim $(DEST_LANG); \
2674 chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.vim; \
2675 fi
2676 if test -d $(KMAPSOURCE); then \
2677 $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.vim $(DEST_KMAP); \
2678 chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.vim; \
2679 fi
2680 # Installing translated README and LICENSE files
2681 if test -d $(TRANSSOURCE) ; then \
2682 if test -n "$(LANG)" ; then \
2683 lngusr=$${LANG%%.*} ; \
2684 elif test -n "$(LANGUAGE)" ; then \
2685 lngusr=$${LANGUAGE%%:*} ; \
2686 elif test -n "$(LC_MESSAGES)" ; then \
2687 lngusr=$${LC_MESSAGES%%.*} ; \
2688 fi; \
2689 if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" -o "$$lngusr" = "pt_BR" ; then \
2690 lngusr=`echo $$lngusr | tr '[:upper:]' '[:lower:]'` ; \
2691 elif test -n "$$lngusr" -a "$$lngusr" != "C" -a "$$lngusr" != "POSIX" ; then \
2692 lngusr=$${lngusr%%_*} ; \
2693 fi ; \
2694 if test -f $(TRANSSOURCE)/README.$$lngusr.txt ; then \
2695 $(INSTALL_DATA) $(TRANSSOURCE)/README.$$lngusr.txt $(DEST_RT) ; \
2696 chmod $(HELPMOD) $(DEST_RT)/README.$$lngusr.txt ; \
2697 fi ; \
2698 if test -f $(TRANSSOURCE)/LICENSE.$$lngusr.txt ; then \
2699 $(INSTALL_DATA) $(TRANSSOURCE)/LICENSE.$$lngusr.txt $(DEST_RT) ; \
2700 chmod $(HELPMOD) $(DEST_RT)/LICENSE.$$lngusr.txt ; \
2701 fi ; \
2702 fi
2703
2704 # Install the icons for KDE, if the directory exists and the icon doesn't.
2705 # Always when $(DESTDIR) is not empty.
2706 ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
2707 ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
2708 ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
2709 ICONTHEMEPATH = $(DATADIR)/icons/hicolor
2710 DESKTOPPATH = $(DESTDIR)$(DATADIR)/applications
2711 KDEPATH = $(HOME)/.kde/share/icons
2712 install-icons:
2713 if test -n "$(DESTDIR)$(DATADIR)"; then \
2714 $(MKDIR_P) $(ICON48PATH) $(ICON32PATH) \
2715 $(ICON16PATH) $(DESKTOPPATH); \
2716 fi
2717
2718 if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
2719 -a ! -f $(ICON48PATH)/gvim.png; then \
2720 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; \
2721 if test -z "$(DESTDIR)" -a -x "$(GTK_UPDATE_ICON_CACHE)" \
2722 -a -w $(ICONTHEMEPATH) \
2723 -a -f $(ICONTHEMEPATH)/index.theme; then \
2724 $(GTK_UPDATE_ICON_CACHE) -q $(ICONTHEMEPATH); \
2725 fi \
2726 fi
2727 if test -d $(ICON32PATH) -a -w $(ICON32PATH) \
2728 -a ! -f $(ICON32PATH)/gvim.png; then \
2729 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim32x32.png $(ICON32PATH)/gvim.png; \
2730 fi
2731 if test -d $(ICON16PATH) -a -w $(ICON16PATH) \
2732 -a ! -f $(ICON16PATH)/gvim.png; then \
2733 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
2734 fi
2735 if test -d $(DESKTOPPATH) -a -w $(DESKTOPPATH); then \
2736 if test -f po/vim.desktop -a -f po/gvim.desktop; then \
2737 $(INSTALL_DATA) po/vim.desktop po/gvim.desktop \
2738 $(DESKTOPPATH); \
2739 else \
2740 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim.desktop \
2741 $(SCRIPTSOURCE)/gvim.desktop \
2742 $(DESKTOPPATH); \
2743 fi; \
2744 if test -z "$(DESTDIR)" -a -x "$(UPDATE_DESKTOP_DATABASE)"; then \
2745 $(UPDATE_DESKTOP_DATABASE) -q $(DESKTOPPATH); \
2746 fi \
2747 fi
2748
2749 $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
2750 @echo Runtime files not found.
2751 @echo You need to unpack the runtime archive before running "make install".
2752 test -f error
2753
2754 $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
2755 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
2756 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_SYN)/shared \
2757 $(DEST_SYN)/modula2 $(DEST_SYN)/modula2/opt \
2758 $(DEST_IND) $(DEST_FTP) \
2759 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
2760 $(DEST_PACK) $(DEST_TOOLS) \
2761 $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it \
2762 $(DEST_TUTOR)/sr $(DEST_TUTOR)/ru $(DEST_TUTOR)/sv \
2763 $(DEST_SPELL) \
2764 $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
2765 $(DEST_AUTO)/cargo $(DEST_AUTO)/rust \
2766 $(DEST_IMPORT) $(DEST_IMPORT)/dist $(DEST_PLUG):
2767 $(MKDIR_P) $@
2768 -chmod $(DIRMOD) $@
2769
2770 # Create links from various names to vim. This is only done when the links
2771 # (or executables with the same name) don't exist yet.
2772 installlinks: $(GUI_TARGETS) \
2773 $(DEST_BIN)/$(EXTARGET) \
2774 $(DEST_BIN)/$(VIEWTARGET) \
2775 $(DEST_BIN)/$(RVIMTARGET) \
2776 $(DEST_BIN)/$(RVIEWTARGET) \
2777 $(INSTALLVIMDIFF)
2778
2779 installglinks: $(DEST_BIN)/$(GVIMTARGET) \
2780 $(DEST_BIN)/$(GVIEWTARGET) \
2781 $(DEST_BIN)/$(RGVIMTARGET) \
2782 $(DEST_BIN)/$(RGVIEWTARGET) \
2783 $(DEST_BIN)/$(EVIMTARGET) \
2784 $(DEST_BIN)/$(EVIEWTARGET) \
2785 $(INSTALLGVIMDIFF)
2786
2787 installvimdiff: $(DEST_BIN)/$(VIMDIFFTARGET)
2788 installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
2789
2790 $(DEST_BIN)/$(EXTARGET): $(DEST_BIN)
2791 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EXTARGET)
2792
2793 $(DEST_BIN)/$(VIEWTARGET): $(DEST_BIN)
2794 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(VIEWTARGET)
2795
2796 $(DEST_BIN)/$(GVIMTARGET): $(DEST_BIN)
2797 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIMTARGET)
2798
2799 $(DEST_BIN)/$(GVIEWTARGET): $(DEST_BIN)
2800 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIEWTARGET)
2801
2802 $(DEST_BIN)/$(RVIMTARGET): $(DEST_BIN)
2803 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RVIMTARGET)
2804
2805 $(DEST_BIN)/$(RVIEWTARGET): $(DEST_BIN)
2806 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RVIEWTARGET)
2807
2808 $(DEST_BIN)/$(RGVIMTARGET): $(DEST_BIN)
2809 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RGVIMTARGET)
2810
2811 $(DEST_BIN)/$(RGVIEWTARGET): $(DEST_BIN)
2812 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RGVIEWTARGET)
2813
2814 $(DEST_BIN)/$(VIMDIFFTARGET): $(DEST_BIN)
2815 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(VIMDIFFTARGET)
2816
2817 $(DEST_BIN)/$(GVIMDIFFTARGET): $(DEST_BIN)
2818 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIMDIFFTARGET)
2819
2820 $(DEST_BIN)/$(EVIMTARGET): $(DEST_BIN)
2821 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EVIMTARGET)
2822
2823 $(DEST_BIN)/$(EVIEWTARGET): $(DEST_BIN)
2824 cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EVIEWTARGET)
2825
2826 # Create links for the manual pages with various names to vim. This is only
2827 # done when the links (or manpages with the same name) don't exist yet.
2828
2829 INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
2830 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
2831 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
2832 $(GVIMDIFFNAME) $(EVIEWNAME)
2833
2834 installmanlinks:
2835 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2836 $(DEST_MAN) $(INSTALLMLARGS)
2837
2838 uninstall: uninstall_runtime
2839 -rm -f $(DEST_BIN)/$(VIMTARGET)
2840 -rm -f $(DEST_BIN)/vimtutor
2841 -rm -f $(DEST_BIN)/gvimtutor
2842 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
2843 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
2844 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
2845 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
2846 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
2847 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
2848 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
2849
2850 # Note: the "rmdir" will fail if any files were added after "make install"
2851 uninstall_runtime:
2852 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
2853 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA) "" $(INSTALLMANARGS)
2854 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA_I) "" $(INSTALLMANARGS)
2855 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA_U) "" $(INSTALLMANARGS)
2856 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE) "" $(INSTALLMANARGS)
2857 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE_I) "" $(INSTALLMANARGS)
2858 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE_U) "" $(INSTALLMANARGS)
2859 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR) "" $(INSTALLMANARGS)
2860 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_I) "" $(INSTALLMANARGS)
2861 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_U) "" $(INSTALLMANARGS)
2862 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS)
2863 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_I) "" $(INSTALLMANARGS)
2864 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS)
2865 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_JA_U) "" $(INSTALLMANARGS)
2866 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL) "" $(INSTALLMANARGS)
2867 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL_I) "" $(INSTALLMANARGS)
2868 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL_U) "" $(INSTALLMANARGS)
2869 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS)
2870 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS)
2871 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV) "" $(INSTALLMANARGS)
2872 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV_I) "" $(INSTALLMANARGS)
2873 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV_U) "" $(INSTALLMANARGS)
2874 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR) "" $(INSTALLMANARGS)
2875 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR_I) "" $(INSTALLMANARGS)
2876 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR_U) "" $(INSTALLMANARGS)
2877 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2878 $(DEST_MAN) $(INSTALLMLARGS)
2879 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2880 $(DEST_MAN_DA) $(INSTALLMLARGS)
2881 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2882 $(DEST_MAN_DA_I) $(INSTALLMLARGS)
2883 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2884 $(DEST_MAN_DA_U) $(INSTALLMLARGS)
2885 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2886 $(DEST_MAN_DE) $(INSTALLMLARGS)
2887 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2888 $(DEST_MAN_DE_I) $(INSTALLMLARGS)
2889 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2890 $(DEST_MAN_DE_U) $(INSTALLMLARGS)
2891 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2892 $(DEST_MAN_FR) $(INSTALLMLARGS)
2893 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2894 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
2895 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2896 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
2897 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2898 $(DEST_MAN_IT) $(INSTALLMLARGS)
2899 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2900 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
2901 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2902 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
2903 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2904 $(DEST_MAN_JA_U) $(INSTALLMLARGS)
2905 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2906 $(DEST_MAN_PL) $(INSTALLMLARGS)
2907 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2908 $(DEST_MAN_PL_I) $(INSTALLMLARGS)
2909 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2910 $(DEST_MAN_PL_U) $(INSTALLMLARGS)
2911 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2912 $(DEST_MAN_RU) $(INSTALLMLARGS)
2913 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2914 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
2915 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2916 $(DEST_MAN_SV) $(INSTALLMLARGS)
2917 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2918 $(DEST_MAN_SV_I) $(INSTALLMLARGS)
2919 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2920 $(DEST_MAN_SV_U) $(INSTALLMLARGS)
2921 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2922 $(DEST_MAN_TR) $(INSTALLMLARGS)
2923 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2924 $(DEST_MAN_TR_I) $(INSTALLMLARGS)
2925 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2926 $(DEST_MAN_TR_U) $(INSTALLMLARGS)
2927 -rm -f $(DEST_MAN)/xxd.1
2928 -rm -f $(DEST_MAN_DA)/xxd.1 $(DEST_MAN_DA_I)/xxd.1 $(DEST_MAN_DA_U)/xxd.1
2929 -rm -f $(DEST_MAN_DE)/xxd.1 $(DEST_MAN_DE_I)/xxd.1 $(DEST_MAN_DE_U)/xxd.1
2930 -rm -f $(DEST_MAN_FR)/xxd.1 $(DEST_MAN_FR_I)/xxd.1 $(DEST_MAN_FR_U)/xxd.1
2931 -rm -f $(DEST_MAN_IT)/xxd.1 $(DEST_MAN_IT_I)/xxd.1 $(DEST_MAN_IT_U)/xxd.1
2932 -rm -f $(DEST_MAN_JA_U)/xxd.1
2933 -rm -f $(DEST_MAN_PL)/xxd.1 $(DEST_MAN_PL_I)/xxd.1 $(DEST_MAN_PL_U)/xxd.1
2934 -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1
2935 -rm -f $(DEST_MAN_SV)/xxd.1 $(DEST_MAN_SV_I)/xxd.1 $(DEST_MAN_SV_U)/xxd.1
2936 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2937 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2938 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2939 -rm -f $(SYS_BUGR_FILE) $(VIM_DEFAULTS_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2940 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim
2941 -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE)
2942 -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE)
2943 -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE)
2944 -rm -f $(SYS_OPTWIN_FILE)
2945 -rm -f $(DEST_COL)/*.vim $(DEST_COL)/README.txt
2946 -rm -rf $(DEST_COL)/tools
2947 -rm -f $(DESKTOPPATH)/vim.desktop $(DESKTOPPATH)/gvim.desktop
2948 -rm -f $(ICON16PATH)/gvim.png $(ICON32PATH)/gvim.png $(ICON48PATH)/gvim.png
2949 -rm -rf $(DEST_COL)/lists
2950 -rm -f $(DEST_SYN)/shared/*.vim $(DEST_SYN)/shared/README.txt
2951 -rm -f $(DEST_SYN)/modula2/opt/*.vim
2952 -rm -f $(DEST_SYN)/*.vim $(DEST_SYN)/README.txt
2953 -rm -f $(DEST_IND)/*.vim $(DEST_IND)/README.txt
2954 -rm -rf $(DEST_MACRO)
2955 -rm -rf $(DEST_PACK)
2956 -rm -rf $(DEST_TUTOR)/en
2957 -rm -rf $(DEST_TUTOR)/it
2958 -rm -rf $(DEST_TUTOR)/ru
2959 -rm -rf $(DEST_TUTOR)/sr
2960 -rm -rf $(DEST_TUTOR)/sv
2961 -rm -rf $(DEST_TUTOR)
2962 -rm -rf $(DEST_SPELL)
2963 -rm -rf $(DEST_TOOLS)
2964 -rm -rf $(DEST_LANG)
2965 -rm -rf $(DEST_KMAP)
2966 -rm -rf $(DEST_COMP)
2967 -rm -f $(DEST_PRINT)/*.ps
2968 -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN)/shared
2969 -rmdir $(DEST_SYN)/modula2/opt $(DEST_SYN)/modula2
2970 -rmdir $(DEST_SYN) $(DEST_IND)
2971 -rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict
2972 -rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
2973 -rm -f $(DEST_AUTO)/dist/*.vim $(DEST_AUTO)/xml/*.vim $(DEST_AUTO)/cargo/*.vim $(DEST_AUTO)/rust/*.vim
2974 -rm -f $(DEST_IMPORT)/dist/*.vim
2975 -rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
2976 -rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)/cargo $(DEST_AUTO)/rust $(DEST_AUTO)
2977 -rmdir $(DEST_IMPORT)/dist $(DEST_IMPORT)
2978 -rm -f $(DEST_RT)/README.??.txt
2979 -rm -f $(DEST_RT)/README.??_??.txt
2980 -rm -f $(DEST_RT)/LICENSE.??.txt
2981 -rm -f $(DEST_RT)/LICENSE.??_??.txt
2982 -rm -f $(DEST_RT)/README.txt $(DEST_RT)/LICENSE
2983 -rmdir $(DEST_PLUG) $(DEST_RT)
2984 # This will fail when other Vim versions are installed, no worries.
2985 -rmdir $(DEST_VIM)
2986
2987 # Clean up all the files that have been produced, except configure's.
2988 # We support common typing mistakes for Juergen! :-)
2989 clean celan: testclean
2990 -rm -f *.o core $(VIMTARGET).core $(VIMTARGET) vim
2991 -rm -rf objects
2992 -rm -f auto/osdef.h auto/pathdef.c auto/if_perl.c auto/gui_gtk_gresources.c auto/gui_gtk_gresources.h auto/os_haiku.rdef
2993 -rm -f conftest* *~ auto/link.sed
2994 -rm -f testdir/opt_test.vim
2995 -rm -f $(UNITTEST_TARGETS)
2996 -rm -f runtime pixmaps
2997 -rm -f mzscheme_base.c
2998 -rm -rf libvterm/.libs libvterm/src/.libs libvterm/t/.libs libvterm/src/*.o libvterm/src/*.lo libvterm/t/*.o libvterm/t/*.lo libvterm/t/harness libvterm/libvterm.la
2999 if test -d $(PODIR); then \
3000 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
3001 fi
3002 cd xxd; $(MAKE) clean
3003 cd auto/wayland; $(MAKE) clean
3004
3005 # Make a shadow directory for compilation on another system or with different
3006 # features:
3007 # % make shadow
3008 # % cd shadow
3009 # edit configuration in src/shadow/Makefile
3010 # % make
3011 #
3012 # Alternatively use a link for the Makefile and run configure with flags in
3013 # another way. When new source files are added use "shadowupdate":
3014 # % cd shadow
3015 # % rm Makefile
3016 # % ln -s ../Makefile .
3017 # % ./configure {options}
3018 # % make
3019 # And later:
3020 # % git pull
3021 # % make distclean shadowupdate
3022 # % ./configure {options}
3023 # % make
3024 SHADOWDIR = shadow
3025
3026 LINKEDFILES = ../*.[chm] ../*.cc ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh ../Make_all.mak
3027
3028 shadow: runtime pixmaps
3029 $(MKDIR_P) $(SHADOWDIR)
3030 cd $(SHADOWDIR); ln -s $(LINKEDFILES) .
3031 mkdir $(SHADOWDIR)/auto
3032 mkdir $(SHADOWDIR)/auto/wayland
3033 cd $(SHADOWDIR)/auto/wayland; ln -s ../../../auto/wayland/* .
3034 cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
3035 $(MKDIR_P) $(SHADOWDIR)/po
3036 cd $(SHADOWDIR)/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/*.in ../../po/Makefile ../../po/*.c .
3037 cd $(SHADOWDIR); rm -f auto/link.sed
3038 cp Makefile configure $(SHADOWDIR)
3039 rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
3040 cp config.mk.dist $(SHADOWDIR)/auto/config.mk
3041 cp config.mk.dist $(SHADOWDIR)
3042 $(MKDIR_P) $(SHADOWDIR)/xxd
3043 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
3044 $(MKDIR_P) $(SHADOWDIR)/xdiff
3045 cd $(SHADOWDIR)/xdiff; ln -s ../../xdiff/*.[ch] .
3046 $(MKDIR_P) $(SHADOWDIR)/testdir
3047 cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
3048 ../../testdir/Make_all.mak \
3049 ../../testdir/README.txt \
3050 ../../testdir/*.in \
3051 ../../testdir/*.vim \
3052 ../../testdir/*.py \
3053 ../../testdir/python* \
3054 ../../testdir/pyxfile \
3055 ../../testdir/ru_RU \
3056 ../../testdir/sautest \
3057 ../../testdir/samples \
3058 ../../testdir/util \
3059 ../../testdir/dumps \
3060 ../../testdir/*.ok \
3061 ../../testdir/testluaplugin \
3062 .
3063
3064 # After updating Vim new files may have been created, use this to refresh the
3065 # symbolic links in the shadow directory. This isn't guaranteed to catch all
3066 # changes, running "make shadow" again might sometimes be needed.
3067 shadowupdate:
3068 ln -sf $(LINKEDFILES) .
3069
3070 # Link needed for doing "make install" in a shadow directory.
3071 runtime:
3072 -ln -s ../runtime .
3073 -ln -s ../README.txt .
3074 -ln -s ../LICENSE .
3075
3076 # Link needed for doing "make" using GTK in a shadow directory.
3077 pixmaps:
3078 -ln -s ../pixmaps .
3079
3080 # Update the synmenu.vim file with the latest Syntax menu.
3081 # This is only needed when runtime/makemenu.vim was changed.
3082 menu: ./vim ../runtime/makemenu.vim
3083 ./vim --clean -X --not-a-term -S ../runtime/makemenu.vim
3084
3085 # Start configure from scratch
3086 scrub scratch:
3087 -rm -f auto/config.status auto/config.cache config.log auto/config.log
3088 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
3089 touch auto/config.h
3090 cp config.mk.dist auto/config.mk
3091
3092 distclean: clean scratch
3093 -rm -f tags
3094
3095 dist: distclean
3096 @echo
3097 @echo Making the distribution has to be done in the top directory
3098
3099 mdepend:
3100 -@rm -f Makefile~
3101 cp Makefile Makefile~
3102 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
3103 @for i in $(ALL_SRC) ; do \
3104 echo "$$i" ; \
3105 echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\
3106 $(CPP) $$i |\
3107 grep '^# .*"\./.*\.h"' |\
3108 sort -t'"' -u +1 -2 |\
3109 sed -e 's/.*"\.\/\(.*\)".*/\1/'\
3110 ` >> tmp_make ; \
3111 done
3112 mv tmp_make Makefile
3113
3114 # this needs a Vim build with Perl & Wayland
3115 depend:
3116 -@rm -f Makefile~
3117 cp Makefile Makefile~
3118 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
3119 -for i in $(ALL_LOCAL_SRC); do echo $$i; \
3120 $(CPP_DEPEND) $$i | \
3121 sed -e 's+^\([^ ]*\.o\)+objects/\1+' -e 's+proto/[^ ]*\.pro[ ]*++' >> tmp_make; done
3122 -for i in $(TERM_SRC); do echo $$i; \
3123 $(CPP_DEPEND) $$i | \
3124 sed -e 's+^\([^ ]*\.o\)+objects/vterm_\1+' -e 's+proto/[^ ]*\.pro[ ]*++' >> tmp_make; done
3125 -for i in $(XDIFF_SRC); do echo $$i; \
3126 $(CPP_DEPEND) $$i | \
3127 sed -e 's+^\([^ ]*\.o\)+objects/\1+' -e 's+proto/[^ ]*\.pro[ ]*++' -e 's+xdiff/\.\./++g' >> tmp_make; done
3128 -for i in $(PROTO_FILES); do \
3129 base=`basename $$i .pro`; \
3130 echo "$$i: $$base.c" >> tmp_make; done
3131 mv tmp_make Makefile
3132
3133 # Run lint. Clean up the *.ln files that are sometimes left behind.
3134 lint:
3135 $(LINT) $(LINT_OPTIONS) $(LINT_CFLAGS) $(LINT_EXTRA) $(LINT_SRC)
3136 -rm -f *.ln
3137
3138 # Check dosinst.c with lint.
3139 lintinstall:
3140 $(LINT) $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c
3141 -rm -f dosinst.ln
3142
3143 ###########################################################################
3144
3145 .c.o:
3146 $(CCC) $<
3147
3148 auto/if_perl.c: if_perl.xs
3149 $(PERL) $(PERL_XSUBPP) -prototypes -typemap \
3150 $(PERLLIB)/ExtUtils/typemap if_perl.xs > $@
3151
3152 auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
3153 CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
3154
3155 auto/os_haiku.rdef: os_haiku.rdef.in
3156 @echo creating $@
3157 @echo '/* This file is automatically created by Makefile */' >> $@
3158 @echo '/* DO NOT EDIT! Change Makefile only. */' >> $@
3159 @cat $(srcdir)/os_haiku.rdef.in >> auto/os_haiku.rdef
3160 sed -i "s|@MAJOR@|$(VIMMAJOR)|" auto/os_haiku.rdef
3161 sed -i "s|@MINOR@|$(VIMMINOR)|" auto/os_haiku.rdef
3162
3163 auto/pathdef.c: Makefile auto/config.mk
3164 -@echo creating $@
3165 -@echo '/* pathdef.c */' > $@
3166 -@echo '/* This file is automatically created by Makefile' >> $@
3167 -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@
3168 -@echo '#include "vim.h"' >> $@
3169 -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
3170 -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
3171 -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@
3172 -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@
3173 -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
3174 -@if test -n "$(COMPILEDBY)"; then \
3175 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
3176 else (logname 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
3177 -@echo '";' >> $@
3178 -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
3179 -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
3180 -@echo '";' >> $@
3181 -@sh $(srcdir)/pathdef.sh
3182
3183 GUI_GTK_RES_INPUTS = \
3184 ../pixmaps/stock_vim_build_tags.png \
3185 ../pixmaps/stock_vim_find_help.png \
3186 ../pixmaps/stock_vim_save_all.png \
3187 ../pixmaps/stock_vim_session_load.png \
3188 ../pixmaps/stock_vim_session_new.png \
3189 ../pixmaps/stock_vim_session_save.png \
3190 ../pixmaps/stock_vim_shell.png \
3191 ../pixmaps/stock_vim_window_maximize.png \
3192 ../pixmaps/stock_vim_window_maximize_width.png \
3193 ../pixmaps/stock_vim_window_minimize.png \
3194 ../pixmaps/stock_vim_window_minimize_width.png \
3195 ../pixmaps/stock_vim_window_split.png \
3196 ../pixmaps/stock_vim_window_split_vertical.png
3197
3198 auto/gui_gtk_gresources.c: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS)
3199 if test -z "$(GLIB_COMPILE_RESOURCES)"; then touch $@; else \
3200 $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml; \
3201 fi
3202 auto/gui_gtk_gresources.h: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS)
3203 if test -z "$(GLIB_COMPILE_RESOURCES)"; then touch $@; else \
3204 $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml; \
3205 fi
3206
3207 # Dependencies through vim.h that most targets depend on. Used by targets
3208 # that are not taken care of by "make depend".
3209 VIM_H_DEPENDENCIES = \
3210 vim.h protodef.h auto/config.h feature.h os_unix.h \
3211 auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3212 structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3213 proto.h globals.h errors.h
3214
3215 # All the object files are put in the "objects" directory. Since not all make
3216 # commands understand putting object files in another directory, it must be
3217 # specified for each file separately.
3218
3219 objects: objects/.dirstamp
3220
3221 objects/.dirstamp:
3222 $(MKDIR_P) objects
3223 touch objects/.dirstamp
3224
3225 # All object files depend on the objects directory, so that parallel make
3226 # works. Can't depend on the directory itself, its timestamp changes all the
3227 # time.
3228 $(ALL_OBJ): objects/.dirstamp
3229
3230 objects/alloc.o: alloc.c
3231 $(CCC) -o $@ alloc.c
3232
3233 objects/arabic.o: arabic.c
3234 $(CCC) -o $@ arabic.c
3235
3236 objects/arglist.o: arglist.c
3237 $(CCC) -o $@ arglist.c
3238
3239 objects/autocmd.o: autocmd.c
3240 $(CCC) -o $@ autocmd.c
3241
3242 objects/blob.o: blob.c
3243 $(CCC) -o $@ blob.c
3244
3245 objects/blowfish.o: blowfish.c
3246 $(CCC) -o $@ blowfish.c
3247
3248 objects/buffer.o: buffer.c
3249 $(CCC) -o $@ buffer.c
3250
3251 objects/bufwrite.o: bufwrite.c
3252 $(CCC) -o $@ bufwrite.c
3253
3254 objects/change.o: change.c
3255 $(CCC) -o $@ change.c
3256
3257 objects/charset.o: charset.c
3258 $(CCC) -o $@ charset.c
3259
3260 objects/cindent.o: cindent.c
3261 $(CCC) -o $@ cindent.c
3262
3263 objects/clientserver.o: clientserver.c
3264 $(CCC) -o $@ clientserver.c
3265
3266 objects/clipboard.o: clipboard.c $(WAYLAND_SRC)
3267 $(CCC) -o $@ clipboard.c
3268
3269 objects/cmdexpand.o: cmdexpand.c
3270 $(CCC) -o $@ cmdexpand.c
3271
3272 objects/cmdhist.o: cmdhist.c
3273 $(CCC) -o $@ cmdhist.c
3274
3275 objects/crypt.o: crypt.c
3276 $(CCC) -o $@ crypt.c
3277
3278 objects/crypt_zip.o: crypt_zip.c
3279 $(CCC) -o $@ crypt_zip.c
3280
3281 objects/debugger.o: debugger.c
3282 $(CCC) -o $@ debugger.c
3283
3284 objects/dict.o: dict.c
3285 $(CCC) -o $@ dict.c
3286
3287 objects/diff.o: diff.c $(XDIFF_INCL)
3288 $(CCC) -o $@ diff.c
3289
3290 objects/digraph.o: digraph.c
3291 $(CCC) -o $@ digraph.c
3292
3293 objects/drawline.o: drawline.c
3294 $(CCC) -o $@ drawline.c
3295
3296 objects/drawscreen.o: drawscreen.c
3297 $(CCC) -o $@ drawscreen.c
3298
3299 objects/edit.o: edit.c
3300 $(CCC) -o $@ edit.c
3301
3302 objects/eval.o: eval.c
3303 $(CCC) -o $@ eval.c
3304
3305 objects/evalbuffer.o: evalbuffer.c
3306 $(CCC) -o $@ evalbuffer.c
3307
3308 objects/evalfunc.o: evalfunc.c
3309 $(CCC) -o $@ evalfunc.c
3310
3311 objects/evalvars.o: evalvars.c
3312 $(CCC) -o $@ evalvars.c
3313
3314 objects/evalwindow.o: evalwindow.c
3315 $(CCC) -o $@ evalwindow.c
3316
3317 objects/ex_cmds.o: ex_cmds.c
3318 $(CCC) -o $@ ex_cmds.c
3319
3320 objects/ex_cmds2.o: ex_cmds2.c
3321 $(CCC) -o $@ ex_cmds2.c
3322
3323 objects/ex_docmd.o: ex_docmd.c
3324 $(CCC) -o $@ ex_docmd.c
3325
3326 objects/ex_eval.o: ex_eval.c
3327 $(CCC) -o $@ ex_eval.c
3328
3329 objects/ex_getln.o: ex_getln.c
3330 $(CCC) -o $@ ex_getln.c
3331
3332 objects/fileio.o: fileio.c
3333 $(CCC) -o $@ fileio.c
3334
3335 objects/filepath.o: filepath.c
3336 $(CCC) -o $@ filepath.c
3337
3338 objects/findfile.o: findfile.c
3339 $(CCC) -o $@ findfile.c
3340
3341 objects/float.o: float.c
3342 $(CCC) -o $@ float.c
3343
3344 objects/fold.o: fold.c
3345 $(CCC) -o $@ fold.c
3346
3347 objects/fuzzy.o: fuzzy.c
3348 $(CCC) -o $@ fuzzy.c
3349
3350 objects/getchar.o: getchar.c
3351 $(CCC) -o $@ getchar.c
3352
3353 objects/gc.o: gc.c
3354 $(CCC) -o $@ gc.c
3355
3356 objects/hardcopy.o: hardcopy.c
3357 $(CCC) -o $@ hardcopy.c
3358
3359 objects/hashtab.o: hashtab.c
3360 $(CCC) -o $@ hashtab.c
3361
3362 objects/help.o: help.c
3363 $(CCC) -o $@ help.c
3364
3365 objects/gui.o: gui.c
3366 $(CCC) -o $@ gui.c
3367
3368 objects/beval.o: beval.c
3369 $(CCC) -o $@ beval.c
3370
3371 objects/gui_beval.o: gui_beval.c
3372 $(CCC) -o $@ gui_beval.c
3373
3374 objects/gui_gtk.o: gui_gtk.c
3375 $(CCC) -o $@ gui_gtk.c
3376
3377 objects/gui_gtk_f.o: gui_gtk_f.c
3378 $(CCC) -o $@ gui_gtk_f.c
3379
3380 objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
3381 $(CCC_NF) $(PERL_CFLAGS) $(ALL_CFLAGS) -o $@ auto/gui_gtk_gresources.c
3382
3383 objects/gui_gtk_x11.o: gui_gtk_x11.c
3384 $(CCC) -o $@ gui_gtk_x11.c
3385
3386 objects/gui_gtk4.o: gui_gtk4.c
3387 $(CCC) -o $@ gui_gtk4.c
3388
3389 objects/gui_gtk4_f.o: gui_gtk4_f.c
3390 $(CCC) -o $@ gui_gtk4_f.c
3391
3392
3393 objects/gui_haiku.o: gui_haiku.cc
3394 $(CCC) -o $@ gui_haiku.cc
3395
3396 objects/gui_motif.o: gui_motif.c
3397 $(CCC) -o $@ gui_motif.c
3398
3399 objects/gui_xmdlg.o: gui_xmdlg.c
3400 $(CCC) -o $@ gui_xmdlg.c
3401
3402 objects/gui_xmebw.o: gui_xmebw.c
3403 $(CCC) -o $@ gui_xmebw.c
3404
3405 objects/gui_x11.o: gui_x11.c
3406 $(CCC) -o $@ gui_x11.c
3407
3408 objects/gui_xim.o: gui_xim.c
3409 $(CCC) -o $@ gui_xim.c
3410
3411 objects/gui_photon.o: gui_photon.c
3412 $(CCC) -o $@ gui_photon.c
3413
3414 objects/highlight.o: highlight.c
3415 $(CCC) -o $@ highlight.c
3416
3417 objects/if_cscope.o: if_cscope.c
3418 $(CCC) -o $@ if_cscope.c
3419
3420 objects/if_xcmdsrv.o: if_xcmdsrv.c
3421 $(CCC) -o $@ if_xcmdsrv.c
3422
3423 objects/if_lua.o: if_lua.c
3424 $(CCC_NF) $(LUA_CFLAGS) $(ALL_CFLAGS) $(LUA_CFLAGS_EXTRA) -o $@ if_lua.c
3425
3426 objects/if_mzsch.o: if_mzsch.c $(MZSCHEME_EXTRA)
3427 $(CCC) -o $@ $(MZSCHEME_CFLAGS_EXTRA) if_mzsch.c
3428
3429 mzscheme_base.c:
3430 $(MZSCHEME_MZC) --c-mods mzscheme_base.c ++lib scheme/base
3431
3432 objects/if_perl.o: auto/if_perl.c
3433 $(CCC_NF) $(PERL_CFLAGS) $(ALL_CFLAGS) $(PERL_CFLAGS_EXTRA) -o $@ auto/if_perl.c
3434
3435 objects/if_python.o: if_python.c if_py_both.h
3436 $(CCC_NF) $(PYTHON_CFLAGS) $(ALL_CFLAGS) $(PYTHON_CFLAGS_EXTRA) -o $@ if_python.c
3437
3438 objects/if_python3.o: if_python3.c if_py_both.h
3439 $(CCC_NF) $(PYTHON3_CFLAGS) $(ALL_CFLAGS) $(PYTHON3_CFLAGS_EXTRA) -o $@ if_python3.c
3440
3441 objects/if_ruby.o: if_ruby.c
3442 $(CCC_NF) $(RUBY_CFLAGS) $(ALL_CFLAGS) $(RUBY_CFLAGS_EXTRA) -o $@ if_ruby.c
3443
3444 objects/if_tcl.o: if_tcl.c
3445 $(CCC_NF) $(TCL_CFLAGS) $(ALL_CFLAGS) $(TCL_CFLAGS_EXTRA) -o $@ if_tcl.c
3446
3447 objects/indent.o: indent.c
3448 $(CCC) -o $@ indent.c
3449
3450 objects/insexpand.o: insexpand.c
3451 $(CCC) -o $@ insexpand.c
3452
3453 objects/job.o: job.c
3454 $(CCC) -o $@ job.c
3455
3456 objects/json.o: json.c
3457 $(CCC) -o $@ json.c
3458
3459 objects/json_test.o: json_test.c
3460 $(CCC) -o $@ json_test.c
3461
3462 objects/kword_test.o: kword_test.c
3463 $(CCC) -o $@ kword_test.c
3464
3465 objects/linematch.o: linematch.c
3466 $(CCC) -o $@ linematch.c
3467
3468 objects/list.o: list.c
3469 $(CCC) -o $@ list.c
3470
3471 objects/locale.o: locale.c
3472 $(CCC) -o $@ locale.c
3473
3474 objects/logfile.o: logfile.c
3475 $(CCC) -o $@ logfile.c
3476
3477 objects/main.o: main.c
3478 $(CCC) -o $@ main.c
3479
3480 objects/map.o: map.c
3481 $(CCC) -o $@ map.c
3482
3483 objects/mark.o: mark.c
3484 $(CCC) -o $@ mark.c
3485
3486 objects/match.o: match.c
3487 $(CCC) -o $@ match.c
3488
3489 objects/memfile.o: memfile.c
3490 $(CCC) -o $@ memfile.c
3491
3492 objects/memfile_test.o: memfile_test.c
3493 $(CCC) -o $@ memfile_test.c
3494
3495 objects/memline.o: memline.c
3496 $(CCC) -o $@ memline.c
3497
3498 objects/menu.o: menu.c
3499 $(CCC) -o $@ menu.c
3500
3501 objects/message.o: message.c
3502 $(CCC) -o $@ message.c
3503
3504 objects/message_test.o: message_test.c
3505 $(CCC) -o $@ message_test.c
3506
3507 objects/misc1.o: misc1.c
3508 $(CCC) -o $@ misc1.c
3509
3510 objects/misc2.o: misc2.c
3511 $(CCC) -o $@ misc2.c
3512
3513 objects/mouse.o: mouse.c
3514 $(CCC) -o $@ mouse.c
3515
3516 objects/move.o: move.c
3517 $(CCC) -o $@ move.c
3518
3519 objects/mbyte.o: mbyte.c
3520 $(CCC) -o $@ mbyte.c
3521
3522 objects/normal.o: normal.c
3523 $(CCC) -o $@ normal.c
3524
3525 objects/ops.o: ops.c
3526 $(CCC) -o $@ ops.c
3527
3528 objects/option.o: option.c optiondefs.h
3529 $(CCC_NF) $(ALL_IF_CFLAGS) $(ALL_CFLAGS) $(ALL_IF_CFLAGS_EXTRA) -o $@ option.c
3530
3531 objects/optionstr.o: optionstr.c
3532 $(CCC_NF) $(ALL_IF_CFLAGS) $(ALL_CFLAGS) $(ALL_IF_CFLAGS_EXTRA) -o $@ optionstr.c
3533
3534 objects/os_qnx.o: os_qnx.c $(VIM_H_DEPENDENCIES)
3535 $(CCC) -o $@ os_qnx.c
3536
3537 objects/os_haiku.rsrc: auto/os_haiku.rdef
3538 cat $< | $(CCC) -E - | grep -v '^#' | rc -o "$@" -
3539
3540 objects/os_macosx.o: os_macosx.m
3541 $(CCC) -o $@ os_macosx.m
3542
3543 objects/os_mac_conv.o: os_mac_conv.c $(VIM_H_DEPENDENCIES)
3544 $(CCC) -o $@ os_mac_conv.c
3545
3546 objects/os_unix.o: os_unix.c
3547 $(CCC) -o $@ os_unix.c
3548
3549 objects/os_mswin.o: os_mswin.c $(VIM_H_DEPENDENCIES)
3550 $(CCC) -o $@ os_mswin.c
3551
3552 objects/winclip.o: winclip.c $(VIM_H_DEPENDENCIES)
3553 $(CCC) -o $@ winclip.c
3554
3555 objects/pathdef.o: auto/pathdef.c
3556 $(CCC) -o $@ auto/pathdef.c
3557
3558 objects/popupmenu.o: popupmenu.c
3559 $(CCC) -o $@ popupmenu.c
3560
3561 objects/popupwin.o: popupwin.c
3562 $(CCC) -o $@ popupwin.c
3563
3564 objects/profiler.o: profiler.c
3565 $(CCC) -o $@ profiler.c
3566
3567 objects/pty.o: pty.c
3568 $(CCC) -o $@ pty.c
3569
3570 objects/quickfix.o: quickfix.c
3571 $(CCC) -o $@ quickfix.c
3572
3573 objects/regexp.o: regexp.c regexp_bt.c regexp_nfa.c
3574 $(CCC) -o $@ regexp.c
3575
3576 objects/register.o: register.c
3577 $(CCC) -o $@ register.c
3578
3579 objects/scriptfile.o: scriptfile.c
3580 $(CCC) -o $@ scriptfile.c
3581
3582 objects/screen.o: screen.c
3583 $(CCC) -o $@ screen.c
3584
3585 objects/search.o: search.c
3586 $(CCC) -o $@ search.c
3587
3588 objects/session.o: session.c
3589 $(CCC) -o $@ session.c
3590
3591 objects/sha256.o: sha256.c
3592 $(CCC) -o $@ sha256.c
3593
3594 objects/sign.o: sign.c
3595 $(CCC) -o $@ sign.c
3596
3597 objects/socketserver.o: socketserver.c
3598 $(CCC) -o $@ socketserver.c
3599
3600 objects/sound.o: sound.c
3601 $(CCC) -o $@ sound.c
3602
3603 objects/spell.o: spell.c
3604 $(CCC) -o $@ spell.c
3605
3606 objects/spellfile.o: spellfile.c
3607 $(CCC) -o $@ spellfile.c
3608
3609 objects/spellsuggest.o: spellsuggest.c
3610 $(CCC) -o $@ spellsuggest.c
3611
3612 objects/strings.o: strings.c
3613 $(CCC) -o $@ strings.c
3614
3615 objects/syntax.o: syntax.c
3616 $(CCC) -o $@ syntax.c
3617
3618 objects/tabpanel.o: tabpanel.c
3619 $(CCC) -o $@ tabpanel.c
3620
3621 objects/tag.o: tag.c
3622 $(CCC) -o $@ tag.c
3623
3624 objects/term.o: term.c
3625 $(CCC) -o $@ term.c
3626
3627 objects/terminal.o: terminal.c $(TERM_DEPS)
3628 $(CCC) -o $@ terminal.c
3629
3630 objects/testing.o: testing.c
3631 $(CCC) -o $@ testing.c
3632
3633 objects/textformat.o: textformat.c
3634 $(CCC) -o $@ textformat.c
3635
3636 objects/textobject.o: textobject.c
3637 $(CCC) -o $@ textobject.c
3638
3639 objects/textprop.o: textprop.c
3640 $(CCC) -o $@ textprop.c
3641
3642 objects/time.o: time.c
3643 $(CCC) -o $@ time.c
3644
3645 objects/tuple.o: tuple.c
3646 $(CCC) -o $@ tuple.c
3647
3648 objects/typval.o: typval.c
3649 $(CCC) -o $@ typval.c
3650
3651 objects/ui.o: ui.c
3652 $(CCC) -o $@ ui.c
3653
3654 objects/undo.o: undo.c
3655 $(CCC) -o $@ undo.c
3656
3657 objects/usercmd.o: usercmd.c
3658 $(CCC) -o $@ usercmd.c
3659
3660 objects/userfunc.o: userfunc.c
3661 $(CCC) -o $@ userfunc.c
3662
3663 objects/version.o: version.c
3664 $(CCC) -o $@ version.c
3665
3666 objects/vim9class.o: vim9class.c
3667 $(CCC) -o $@ vim9class.c
3668
3669 objects/vim9cmds.o: vim9cmds.c
3670 $(CCC) -o $@ vim9cmds.c
3671
3672 objects/vim9compile.o: vim9compile.c
3673 $(CCC) -o $@ vim9compile.c
3674
3675 objects/vim9execute.o: vim9execute.c
3676 $(CCC) -o $@ vim9execute.c
3677
3678 objects/vim9expr.o: vim9expr.c
3679 $(CCC) -o $@ vim9expr.c
3680
3681 objects/vim9generics.o: vim9generics.c
3682 $(CCC) -o $@ vim9generics.c
3683
3684 objects/vim9instr.o: vim9instr.c
3685 $(CCC) -o $@ vim9instr.c
3686
3687 objects/vim9script.o: vim9script.c
3688 $(CCC) -o $@ vim9script.c
3689
3690 objects/vim9type.o: vim9type.c
3691 $(CCC) -o $@ vim9type.c
3692
3693 objects/viminfo.o: viminfo.c
3694 $(CCC) -o $@ viminfo.c
3695
3696 objects/window.o: window.c
3697 $(CCC) -o $@ window.c
3698
3699 objects/wayland.o: wayland.c
3700 $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ wayland.c
3701
3702 objects/wlr-data-control-unstable-v1.o: auto/wayland/wlr-data-control-unstable-v1.c
3703 $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/wlr-data-control-unstable-v1.c
3704
3705 objects/ext-data-control-v1.o: auto/wayland/ext-data-control-v1.c
3706 $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/ext-data-control-v1.c
3707
3708 objects/netbeans.o: netbeans.c
3709 $(CCC) -o $@ netbeans.c
3710
3711 objects/channel.o: channel.c
3712 $(CCC) -o $@ channel.c
3713
3714 # Dependencies that "make depend" doesn't find
3715 objects/gui_gtk_x11.o: version.h
3716
3717
3718 # Build rules for libvterm. Putting them here allows for adding compilation
3719 # options specific for Vim. Since the .o files go into objects/ we do need to
3720 # prefix vterm_ to avoid name clashes.
3721 CCCTERM = $(CCC_NF) $(VTERM_CFLAGS) $(ALL_CFLAGS) -DINLINE="" \
3722 -DVSNPRINTF=vim_vsnprintf \
3723 -DSNPRINTF=vim_snprintf \
3724 -DIS_COMBINING_FUNCTION=utf_iscomposing_uint \
3725 -DWCWIDTH_FUNCTION=utf_uint2cells
3726
3727 objects/vterm_encoding.o: libvterm/src/encoding.c $(TERM_DEPS)
3728 $(CCCTERM) -o $@ libvterm/src/encoding.c
3729
3730 objects/vterm_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS)
3731 $(CCCTERM) -o $@ libvterm/src/keyboard.c
3732
3733 objects/vterm_mouse.o: libvterm/src/mouse.c $(TERM_DEPS)
3734 $(CCCTERM) -o $@ libvterm/src/mouse.c
3735
3736 objects/vterm_parser.o: libvterm/src/parser.c $(TERM_DEPS)
3737 $(CCCTERM) -o $@ libvterm/src/parser.c
3738
3739 objects/vterm_pen.o: libvterm/src/pen.c $(TERM_DEPS)
3740 $(CCCTERM) -o $@ libvterm/src/pen.c
3741
3742 objects/vterm_screen.o: libvterm/src/screen.c $(TERM_DEPS)
3743 $(CCCTERM) -o $@ libvterm/src/screen.c
3744
3745 objects/vterm_state.o: libvterm/src/state.c $(TERM_DEPS)
3746 $(CCCTERM) -o $@ libvterm/src/state.c
3747
3748 objects/vterm_unicode.o: libvterm/src/unicode.c $(TERM_DEPS) libvterm/src/fullwidth.inc
3749 $(CCCTERM) -o $@ libvterm/src/unicode.c
3750
3751 objects/vterm_vterm.o: libvterm/src/vterm.c $(TERM_DEPS)
3752 $(CCCTERM) -o $@ libvterm/src/vterm.c
3753
3754 CCCDIFF = $(CCC_NF) $(ALL_CFLAGS)
3755
3756 objects/xdiffi.o: xdiff/xdiffi.c $(XDIFF_INCL)
3757 $(CCCDIFF) -o $@ xdiff/xdiffi.c
3758
3759 objects/xprepare.o: xdiff/xprepare.c $(XDIFF_INCL)
3760 $(CCCDIFF) -o $@ xdiff/xprepare.c
3761
3762 objects/xutils.o: xdiff/xutils.c $(XDIFF_INCL)
3763 $(CCCDIFF) -o $@ xdiff/xutils.c
3764
3765 objects/xemit.o: xdiff/xemit.c $(XDIFF_INCL)
3766 $(CCCDIFF) -o $@ xdiff/xemit.c
3767
3768 objects/xhistogram.o: xdiff/xhistogram.c $(XDIFF_INCL)
3769 $(CCCDIFF) -o $@ xdiff/xhistogram.c
3770
3771 objects/xpatience.o: xdiff/xpatience.c $(XDIFF_INCL)
3772 $(CCCDIFF) -o $@ xdiff/xpatience.c
3773
3774
3775 Makefile:
3776 @echo 'The name of the makefile MUST be "Makefile" (with capital M)!'
3777
3778
3779 ###############################################################################
3780 #
3781 # Haiku installation
3782 #
3783 # This rule:
3784 # - add resources to already installed vim binary to avoid
3785 # stripping them during install;
3786 # - update system MIME database with info about vim application.
3787 #
3788 install_haiku_extra: $(DEST_BIN)/$(VIMTARGET) objects/os_haiku.rsrc
3789 xres -o $(DEST_BIN)/$(VIMTARGET) objects/os_haiku.rsrc
3790 mimeset $(DEST_BIN)/$(VIMTARGET)
3791
3792 # List of g*-links that should be replaced with shell script equivalents.
3793 # This solves the problem of them from Tracker.
3794 #
3795 HAIKU_GLINKS = $(DEST_BIN)/$(GVIMTARGET) \
3796 $(DEST_BIN)/$(GVIEWTARGET) \
3797 $(DEST_BIN)/$(GVIMDIFFTARGET) \
3798 $(DEST_BIN)/$(RGVIMTARGET) \
3799 $(DEST_BIN)/$(RGVIEWTARGET)
3800
3801 # This rule:
3802 # - Replace gvim link with copy of vim binary.
3803 # - Replace g*-links with shell script equivalents to solve the
3804 # problem of calling them from Tracker,
3805 # - Add icon resources to mentioned g*-link shell scripts
3806 # - in case gui-less vim.con executable available use it.
3807 #
3808 installglinks_haiku: $(HAIKU_GLINKS) install_haiku_extra
3809 @catattr -r "BEOS:ICON" $(DEST_BIN)/$(GVIMTARGET) > ~icon.attr
3810 for i in $(HAIKU_GLINKS); do \
3811 rm $$i ; \
3812 echo "#!/bin/sh" > $$i ; \
3813 case $$i in \
3814 $(DEST_BIN)/$(GVIMTARGET)) \
3815 cp $(DEST_BIN)/$(VIMTARGET) $$i ; \
3816 if [ -f $(VIMTARGET).con ] ; then \
3817 $(STRIP) $(VIMTARGET).con ; \
3818 mv $(VIMTARGET).con $(DEST_BIN)/$(VIMTARGET) ; \
3819 fi ;; \
3820 $(DEST_BIN)/$(GVIEWTARGET)) printf "%s -R %c%c" $(GVIMTARGET) '$$' '*' >> $$i;; \
3821 $(DEST_BIN)/$(GVIMDIFFTARGET)) printf "%s -d %c%c" $(GVIMTARGET) '$$' '*' >> $$i;; \
3822 $(DEST_BIN)/$(RGVIMTARGET)) printf "%s -Z %c%c" $(GVIMTARGET) '$$' '*' >> $$i;; \
3823 $(DEST_BIN)/$(RGVIEWTARGET)) printf "%s -Z -R %c%c" $(GVIMTARGET) '$$' '*' >> $$i;; \
3824 *) printf "%s %c%c" $(GVIMTARGET) '$$' '*' >> $$i;; \
3825 esac ; \
3826 chmod $(BINMOD) $$i ; \
3827 addattr -f ~icon.attr -t \'VICN\' BEOS:ICON $$i ; \
3828 done
3829 addattr -f ~icon.attr -t \'VICN\' BEOS:ICON $(DEST_BIN)/$(VIMNAME)tutor
3830 @rm ~icon.attr
3831
3832 ###############################################################################
3833 ### (automatically generated by 'make depend')
3834 ### Dependencies:
3835 objects/alloc.o: auto/osdef.h alloc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3836 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3837 structs.h regexp.h gui.h libvterm/include/vterm.h \
3838 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3839 globals.h errors.h
3840 objects/arabic.o: auto/osdef.h arabic.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3841 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3842 structs.h regexp.h gui.h libvterm/include/vterm.h \
3843 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3844 globals.h errors.h
3845 objects/arglist.o: auto/osdef.h arglist.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3846 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3847 structs.h regexp.h gui.h libvterm/include/vterm.h \
3848 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3849 globals.h errors.h
3850 objects/autocmd.o: auto/osdef.h autocmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3851 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3852 structs.h regexp.h gui.h libvterm/include/vterm.h \
3853 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3854 globals.h errors.h
3855 objects/beval.o: auto/osdef.h beval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3856 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3857 structs.h regexp.h gui.h libvterm/include/vterm.h \
3858 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3859 globals.h errors.h
3860 objects/blob.o: auto/osdef.h blob.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3861 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3862 structs.h regexp.h gui.h libvterm/include/vterm.h \
3863 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3864 globals.h errors.h
3865 objects/blowfish.o: auto/osdef.h blowfish.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3866 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3867 structs.h regexp.h gui.h libvterm/include/vterm.h \
3868 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3869 globals.h errors.h
3870 objects/buffer.o: auto/osdef.h buffer.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3871 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3872 structs.h regexp.h gui.h libvterm/include/vterm.h \
3873 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3874 globals.h errors.h version.h
3875 objects/change.o: auto/osdef.h change.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3876 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3877 structs.h regexp.h gui.h libvterm/include/vterm.h \
3878 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3879 globals.h errors.h
3880 objects/charset.o: auto/osdef.h charset.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3881 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3882 structs.h regexp.h gui.h libvterm/include/vterm.h \
3883 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3884 globals.h errors.h
3885 objects/cindent.o: auto/osdef.h cindent.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3886 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3887 structs.h regexp.h gui.h libvterm/include/vterm.h \
3888 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3889 globals.h errors.h
3890 objects/clientserver.o: auto/osdef.h clientserver.c vim.h protodef.h auto/config.h feature.h \
3891 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3892 beval.h structs.h regexp.h gui.h \
3893 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3894 ex_cmds.h spell.h proto.h globals.h errors.h
3895 objects/clipboard.o: auto/osdef.h clipboard.c vim.h protodef.h auto/config.h feature.h \
3896 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3897 beval.h structs.h regexp.h gui.h libvterm/include/vterm.h \
3898 libvterm/include/vterm_keycodes.h alloc.h \
3899 ex_cmds.h spell.h proto.h globals.h errors.h wayland.h
3900 objects/cmdexpand.o: auto/osdef.h cmdexpand.c vim.h protodef.h auto/config.h feature.h \
3901 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3902 beval.h structs.h regexp.h gui.h \
3903 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3904 ex_cmds.h spell.h proto.h globals.h errors.h
3905 objects/cmdhist.o: auto/osdef.h cmdhist.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3906 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3907 structs.h regexp.h gui.h libvterm/include/vterm.h \
3908 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3909 globals.h errors.h
3910 objects/crypt.o: auto/osdef.h crypt.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3911 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3912 structs.h regexp.h gui.h libvterm/include/vterm.h \
3913 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3914 globals.h errors.h
3915 objects/crypt_zip.o: auto/osdef.h crypt_zip.c vim.h protodef.h auto/config.h feature.h \
3916 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3917 beval.h structs.h regexp.h gui.h \
3918 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3919 ex_cmds.h spell.h proto.h globals.h errors.h
3920 objects/debugger.o: auto/osdef.h debugger.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3921 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3922 structs.h regexp.h gui.h libvterm/include/vterm.h \
3923 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3924 globals.h errors.h
3925 objects/dict.o: auto/osdef.h dict.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3926 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3927 structs.h regexp.h gui.h libvterm/include/vterm.h \
3928 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3929 globals.h errors.h
3930 objects/diff.o: auto/osdef.h diff.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3931 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3932 structs.h regexp.h gui.h libvterm/include/vterm.h \
3933 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3934 globals.h errors.h xdiff/xdiff.h
3935 objects/digraph.o: auto/osdef.h digraph.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3936 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3937 structs.h regexp.h gui.h libvterm/include/vterm.h \
3938 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3939 globals.h errors.h
3940 objects/drawline.o: auto/osdef.h drawline.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3941 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3942 structs.h regexp.h gui.h libvterm/include/vterm.h \
3943 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3944 globals.h errors.h
3945 objects/drawscreen.o: auto/osdef.h drawscreen.c vim.h protodef.h auto/config.h feature.h \
3946 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3947 beval.h structs.h regexp.h gui.h \
3948 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3949 ex_cmds.h spell.h proto.h globals.h errors.h
3950 objects/edit.o: auto/osdef.h edit.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3951 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3952 structs.h regexp.h gui.h libvterm/include/vterm.h \
3953 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3954 globals.h errors.h
3955 objects/eval.o: auto/osdef.h eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3956 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3957 structs.h regexp.h gui.h libvterm/include/vterm.h \
3958 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3959 globals.h errors.h
3960 objects/evalbuffer.o: auto/osdef.h evalbuffer.c vim.h protodef.h auto/config.h feature.h \
3961 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3962 beval.h structs.h regexp.h gui.h \
3963 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3964 ex_cmds.h spell.h proto.h globals.h errors.h
3965 objects/evalfunc.o: auto/osdef.h evalfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3966 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3967 structs.h regexp.h gui.h libvterm/include/vterm.h \
3968 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3969 globals.h errors.h version.h
3970 objects/evalvars.o: auto/osdef.h evalvars.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3971 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3972 structs.h regexp.h gui.h libvterm/include/vterm.h \
3973 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3974 globals.h errors.h version.h
3975 objects/evalwindow.o: auto/osdef.h evalwindow.c vim.h protodef.h auto/config.h feature.h \
3976 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
3977 beval.h structs.h regexp.h gui.h \
3978 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
3979 ex_cmds.h spell.h proto.h globals.h errors.h
3980 objects/ex_cmds.o: auto/osdef.h ex_cmds.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3981 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3982 structs.h regexp.h gui.h libvterm/include/vterm.h \
3983 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3984 globals.h errors.h version.h
3985 objects/ex_cmds2.o: auto/osdef.h ex_cmds2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3986 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3987 structs.h regexp.h gui.h libvterm/include/vterm.h \
3988 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3989 globals.h errors.h version.h
3990 objects/ex_docmd.o: auto/osdef.h ex_docmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3991 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3992 structs.h regexp.h gui.h libvterm/include/vterm.h \
3993 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3994 globals.h errors.h ex_cmdidxs.h
3995 objects/ex_eval.o: auto/osdef.h ex_eval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3996 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
3997 structs.h regexp.h gui.h libvterm/include/vterm.h \
3998 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
3999 globals.h errors.h
4000 objects/ex_getln.o: auto/osdef.h ex_getln.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4001 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4002 structs.h regexp.h gui.h libvterm/include/vterm.h \
4003 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4004 globals.h errors.h
4005 objects/fileio.o: auto/osdef.h fileio.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4006 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4007 structs.h regexp.h gui.h libvterm/include/vterm.h \
4008 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4009 globals.h errors.h
4010 objects/filepath.o: auto/osdef.h filepath.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4011 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4012 structs.h regexp.h gui.h libvterm/include/vterm.h \
4013 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4014 globals.h errors.h
4015 objects/findfile.o: auto/osdef.h findfile.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4016 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4017 structs.h regexp.h gui.h libvterm/include/vterm.h \
4018 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4019 globals.h errors.h
4020 objects/float.o: auto/osdef.h float.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4021 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4022 structs.h regexp.h gui.h libvterm/include/vterm.h \
4023 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4024 globals.h errors.h
4025 objects/fold.o: auto/osdef.h fold.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4026 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4027 structs.h regexp.h gui.h libvterm/include/vterm.h \
4028 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4029 globals.h errors.h
4030 objects/fuzzy.o: auto/osdef.h fuzzy.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4031 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4032 structs.h regexp.h gui.h libvterm/include/vterm.h \
4033 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4034 globals.h errors.h
4035 objects/getchar.o: auto/osdef.h getchar.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4036 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4037 structs.h regexp.h gui.h libvterm/include/vterm.h \
4038 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4039 globals.h errors.h
4040 objects/gc.o: auto/osdef.h gc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4041 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4042 structs.h regexp.h gui.h libvterm/include/vterm.h \
4043 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4044 globals.h errors.h
4045 objects/gui_xim.o: auto/osdef.h gui_xim.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4046 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4047 structs.h regexp.h gui.h libvterm/include/vterm.h \
4048 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4049 globals.h errors.h
4050 objects/hardcopy.o: auto/osdef.h hardcopy.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4051 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4052 structs.h regexp.h gui.h libvterm/include/vterm.h \
4053 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4054 globals.h errors.h version.h
4055 objects/hashtab.o: auto/osdef.h hashtab.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4056 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4057 structs.h regexp.h gui.h libvterm/include/vterm.h \
4058 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4059 globals.h errors.h
4060 objects/help.o: auto/osdef.h help.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4061 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4062 structs.h regexp.h gui.h libvterm/include/vterm.h \
4063 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4064 globals.h errors.h
4065 objects/highlight.o: auto/osdef.h highlight.c vim.h protodef.h auto/config.h feature.h \
4066 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4067 beval.h structs.h regexp.h gui.h \
4068 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4069 ex_cmds.h spell.h proto.h globals.h errors.h
4070 objects/if_cscope.o: auto/osdef.h if_cscope.c vim.h protodef.h auto/config.h feature.h \
4071 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4072 beval.h structs.h regexp.h gui.h \
4073 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4074 ex_cmds.h spell.h proto.h globals.h errors.h
4075 objects/if_xcmdsrv.o: auto/osdef.h if_xcmdsrv.c vim.h protodef.h auto/config.h feature.h \
4076 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4077 beval.h structs.h regexp.h gui.h \
4078 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4079 ex_cmds.h spell.h proto.h globals.h errors.h version.h
4080 objects/indent.o: auto/osdef.h indent.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4081 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4082 structs.h regexp.h gui.h libvterm/include/vterm.h \
4083 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4084 globals.h errors.h
4085 objects/insexpand.o: auto/osdef.h insexpand.c vim.h protodef.h auto/config.h feature.h \
4086 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4087 beval.h structs.h regexp.h gui.h \
4088 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4089 ex_cmds.h spell.h proto.h globals.h errors.h
4090 objects/json.o: auto/osdef.h json.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4091 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4092 structs.h regexp.h gui.h libvterm/include/vterm.h \
4093 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4094 globals.h errors.h
4095 objects/linematch.o: auto/osdef.h linematch.c vim.h protodef.h auto/config.h feature.h \
4096 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4097 beval.h structs.h regexp.h gui.h \
4098 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h xdiff/xdiff.h \
4099 alloc.h ex_cmds.h spell.h proto.h globals.h errors.h
4100 objects/list.o: auto/osdef.h list.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4101 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4102 structs.h regexp.h gui.h libvterm/include/vterm.h \
4103 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4104 globals.h errors.h
4105 objects/locale.o: auto/osdef.h locale.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4106 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4107 structs.h regexp.h gui.h libvterm/include/vterm.h \
4108 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4109 globals.h errors.h
4110 objects/logfile.o: auto/osdef.h logfile.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4111 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4112 structs.h regexp.h gui.h libvterm/include/vterm.h \
4113 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4114 globals.h errors.h
4115 objects/main.o: auto/osdef.h main.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4116 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4117 structs.h regexp.h gui.h libvterm/include/vterm.h \
4118 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4119 globals.h errors.h
4120 objects/map.o: auto/osdef.h map.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4121 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4122 structs.h regexp.h gui.h libvterm/include/vterm.h \
4123 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4124 globals.h errors.h
4125 objects/mark.o: auto/osdef.h mark.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4126 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4127 structs.h regexp.h gui.h libvterm/include/vterm.h \
4128 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4129 globals.h errors.h
4130 objects/match.o: auto/osdef.h match.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4131 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4132 structs.h regexp.h gui.h libvterm/include/vterm.h \
4133 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4134 globals.h errors.h
4135 objects/mbyte.o: auto/osdef.h mbyte.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4136 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4137 structs.h regexp.h gui.h libvterm/include/vterm.h \
4138 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4139 globals.h errors.h
4140 objects/memfile.o: auto/osdef.h memfile.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4141 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4142 structs.h regexp.h gui.h libvterm/include/vterm.h \
4143 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4144 globals.h errors.h
4145 objects/memline.o: auto/osdef.h memline.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4146 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4147 structs.h regexp.h gui.h libvterm/include/vterm.h \
4148 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4149 globals.h errors.h
4150 objects/menu.o: auto/osdef.h menu.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4151 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4152 structs.h regexp.h gui.h libvterm/include/vterm.h \
4153 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4154 globals.h errors.h
4155 objects/message.o: auto/osdef.h message.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4156 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4157 structs.h regexp.h gui.h libvterm/include/vterm.h \
4158 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4159 globals.h errors.h
4160 objects/misc1.o: auto/osdef.h misc1.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4161 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4162 structs.h regexp.h gui.h libvterm/include/vterm.h \
4163 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4164 globals.h errors.h version.h
4165 objects/misc2.o: auto/osdef.h misc2.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4166 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4167 structs.h regexp.h gui.h libvterm/include/vterm.h \
4168 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4169 globals.h errors.h
4170 objects/mouse.o: auto/osdef.h mouse.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4171 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4172 structs.h regexp.h gui.h libvterm/include/vterm.h \
4173 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4174 globals.h errors.h
4175 objects/move.o: auto/osdef.h move.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4176 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4177 structs.h regexp.h gui.h libvterm/include/vterm.h \
4178 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4179 globals.h errors.h
4180 objects/normal.o: auto/osdef.h normal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4181 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4182 structs.h regexp.h gui.h libvterm/include/vterm.h \
4183 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4184 globals.h errors.h nv_cmds.h nv_cmdidxs.h
4185 objects/ops.o: auto/osdef.h ops.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4186 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4187 structs.h regexp.h gui.h libvterm/include/vterm.h \
4188 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4189 globals.h errors.h
4190 objects/option.o: auto/osdef.h option.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4191 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4192 structs.h regexp.h gui.h libvterm/include/vterm.h \
4193 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4194 globals.h errors.h optiondefs.h
4195 objects/optionstr.o: auto/osdef.h optionstr.c vim.h protodef.h auto/config.h feature.h \
4196 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4197 beval.h structs.h regexp.h gui.h \
4198 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4199 ex_cmds.h spell.h proto.h globals.h errors.h
4200 objects/os_unix.o: auto/osdef.h os_unix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4201 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4202 structs.h regexp.h gui.h libvterm/include/vterm.h \
4203 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4204 globals.h errors.h os_unixx.h
4205 objects/pathdef.o: auto/osdef.h auto/pathdef.c vim.h protodef.h auto/config.h feature.h \
4206 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4207 beval.h structs.h regexp.h gui.h \
4208 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4209 ex_cmds.h spell.h proto.h globals.h errors.h
4210 objects/popupmenu.o: auto/osdef.h popupmenu.c vim.h protodef.h auto/config.h feature.h \
4211 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4212 beval.h structs.h regexp.h gui.h \
4213 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4214 ex_cmds.h spell.h proto.h globals.h errors.h
4215 objects/popupwin.o: auto/osdef.h popupwin.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4216 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4217 structs.h regexp.h gui.h libvterm/include/vterm.h \
4218 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4219 globals.h errors.h
4220 objects/profiler.o: auto/osdef.h profiler.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4221 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4222 structs.h regexp.h gui.h libvterm/include/vterm.h \
4223 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4224 globals.h errors.h
4225 objects/pty.o: auto/osdef.h pty.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4226 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4227 structs.h regexp.h gui.h libvterm/include/vterm.h \
4228 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4229 globals.h errors.h
4230 objects/quickfix.o: auto/osdef.h quickfix.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4231 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4232 structs.h regexp.h gui.h libvterm/include/vterm.h \
4233 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4234 globals.h errors.h
4235 objects/regexp.o: auto/osdef.h regexp.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4236 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4237 structs.h regexp.h gui.h libvterm/include/vterm.h \
4238 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4239 globals.h errors.h regexp_bt.c regexp_nfa.c
4240 objects/register.o: auto/osdef.h register.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4241 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4242 structs.h regexp.h gui.h libvterm/include/vterm.h \
4243 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4244 globals.h errors.h
4245 objects/screen.o: auto/osdef.h screen.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4246 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4247 structs.h regexp.h gui.h libvterm/include/vterm.h \
4248 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4249 globals.h errors.h
4250 objects/scriptfile.o: auto/osdef.h scriptfile.c vim.h protodef.h auto/config.h feature.h \
4251 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4252 beval.h structs.h regexp.h gui.h \
4253 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4254 ex_cmds.h spell.h proto.h globals.h errors.h
4255 objects/search.o: auto/osdef.h search.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4256 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4257 structs.h regexp.h gui.h libvterm/include/vterm.h \
4258 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4259 globals.h errors.h
4260 objects/session.o: auto/osdef.h session.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4261 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4262 structs.h regexp.h gui.h libvterm/include/vterm.h \
4263 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4264 globals.h errors.h
4265 objects/sha256.o: auto/osdef.h sha256.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4266 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4267 structs.h regexp.h gui.h libvterm/include/vterm.h \
4268 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4269 globals.h errors.h
4270 objects/sign.o: auto/osdef.h sign.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4271 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4272 structs.h regexp.h gui.h libvterm/include/vterm.h \
4273 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4274 globals.h errors.h
4275 objects/socketserver.o: socketserver.c vim.h protodef.h auto/config.h feature.h \
4276 os_unix.h auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h \
4277 beval.h structs.h regexp.h gui.h libvterm/include/vterm.h \
4278 libvterm/include/vterm_keycodes.h xdiff/xdiff.h xdiff/../vim.h alloc.h \
4279 ex_cmds.h spell.h proto.h globals.h errors.h
4280 objects/sound.o: auto/osdef.h sound.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4281 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4282 structs.h regexp.h gui.h libvterm/include/vterm.h \
4283 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4284 globals.h errors.h
4285 objects/spell.o: auto/osdef.h spell.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4286 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4287 structs.h regexp.h gui.h libvterm/include/vterm.h \
4288 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4289 globals.h errors.h
4290 objects/spellfile.o: auto/osdef.h spellfile.c vim.h protodef.h auto/config.h feature.h \
4291 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4292 beval.h structs.h regexp.h gui.h \
4293 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4294 ex_cmds.h spell.h proto.h globals.h errors.h
4295 objects/spellsuggest.o: auto/osdef.h spellsuggest.c vim.h protodef.h auto/config.h feature.h \
4296 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4297 beval.h structs.h regexp.h gui.h \
4298 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4299 ex_cmds.h spell.h proto.h globals.h errors.h
4300 objects/strings.o: auto/osdef.h strings.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4301 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4302 structs.h regexp.h gui.h libvterm/include/vterm.h \
4303 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4304 globals.h errors.h
4305 objects/syntax.o: auto/osdef.h syntax.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4306 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4307 structs.h regexp.h gui.h libvterm/include/vterm.h \
4308 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4309 globals.h errors.h
4310 objects/tabpanel.o: auto/osdef.h tabpanel.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4311 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4312 structs.h regexp.h gui.h \
4313 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4314 globals.h errors.h
4315 objects/tag.o: auto/osdef.h tag.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4316 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4317 structs.h regexp.h gui.h libvterm/include/vterm.h \
4318 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4319 globals.h errors.h
4320 objects/term.o: auto/osdef.h term.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4321 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4322 structs.h regexp.h gui.h libvterm/include/vterm.h \
4323 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4324 globals.h errors.h
4325 objects/terminal.o: auto/osdef.h terminal.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4326 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4327 structs.h regexp.h gui.h libvterm/include/vterm.h \
4328 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4329 globals.h errors.h
4330 objects/testing.o: auto/osdef.h testing.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4331 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4332 structs.h regexp.h gui.h libvterm/include/vterm.h \
4333 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4334 globals.h errors.h
4335 objects/textformat.o: auto/osdef.h textformat.c vim.h protodef.h auto/config.h feature.h \
4336 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4337 beval.h structs.h regexp.h gui.h \
4338 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4339 ex_cmds.h spell.h proto.h globals.h errors.h
4340 objects/textobject.o: auto/osdef.h textobject.c vim.h protodef.h auto/config.h feature.h \
4341 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4342 beval.h structs.h regexp.h gui.h \
4343 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4344 ex_cmds.h spell.h proto.h globals.h errors.h
4345 objects/textprop.o: auto/osdef.h textprop.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4346 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4347 structs.h regexp.h gui.h libvterm/include/vterm.h \
4348 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4349 globals.h errors.h
4350 objects/time.o: auto/osdef.h time.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4351 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4352 structs.h regexp.h gui.h libvterm/include/vterm.h \
4353 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4354 globals.h errors.h
4355 objects/tuple.o: auto/osdef.h tuple.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4356 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4357 structs.h regexp.h gui.h libvterm/include/vterm.h \
4358 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4359 globals.h errors.h
4360 objects/typval.o: auto/osdef.h typval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4361 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4362 structs.h regexp.h gui.h libvterm/include/vterm.h \
4363 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4364 globals.h errors.h
4365 objects/ui.o: auto/osdef.h ui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4366 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4367 structs.h regexp.h gui.h libvterm/include/vterm.h \
4368 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4369 globals.h errors.h
4370 objects/undo.o: auto/osdef.h undo.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4371 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4372 structs.h regexp.h gui.h libvterm/include/vterm.h \
4373 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4374 globals.h errors.h
4375 objects/usercmd.o: auto/osdef.h usercmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4376 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4377 structs.h regexp.h gui.h libvterm/include/vterm.h \
4378 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4379 globals.h errors.h
4380 objects/userfunc.o: auto/osdef.h userfunc.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4381 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4382 structs.h regexp.h gui.h libvterm/include/vterm.h \
4383 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4384 globals.h errors.h
4385 objects/version.o: auto/osdef.h version.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4386 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4387 structs.h regexp.h gui.h libvterm/include/vterm.h \
4388 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4389 globals.h errors.h version.h
4390 objects/vim9class.o: auto/osdef.h vim9class.c vim.h protodef.h auto/config.h feature.h \
4391 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4392 beval.h structs.h regexp.h gui.h \
4393 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4394 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4395 objects/vim9cmds.o: auto/osdef.h vim9cmds.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4396 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4397 structs.h regexp.h gui.h libvterm/include/vterm.h \
4398 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4399 globals.h errors.h vim9.h
4400 objects/vim9compile.o: auto/osdef.h vim9compile.c vim.h protodef.h auto/config.h feature.h \
4401 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4402 beval.h structs.h regexp.h gui.h \
4403 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4404 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4405 objects/vim9execute.o: auto/osdef.h vim9execute.c vim.h protodef.h auto/config.h feature.h \
4406 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4407 beval.h structs.h regexp.h gui.h \
4408 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4409 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4410 objects/vim9expr.o: auto/osdef.h vim9expr.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4411 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4412 structs.h regexp.h gui.h libvterm/include/vterm.h \
4413 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4414 globals.h errors.h vim9.h
4415 objects/vim9generics.o: auto/osdef.h vim9generics.c vim.h protodef.h auto/config.h feature.h \
4416 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4417 beval.h structs.h regexp.h gui.h \
4418 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4419 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4420 objects/vim9instr.o: auto/osdef.h vim9instr.c vim.h protodef.h auto/config.h feature.h \
4421 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4422 beval.h structs.h regexp.h gui.h \
4423 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4424 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4425 objects/vim9script.o: auto/osdef.h vim9script.c vim.h protodef.h auto/config.h feature.h \
4426 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4427 beval.h structs.h regexp.h gui.h \
4428 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4429 ex_cmds.h spell.h proto.h globals.h errors.h vim9.h
4430 objects/vim9type.o: auto/osdef.h vim9type.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4431 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4432 structs.h regexp.h gui.h libvterm/include/vterm.h \
4433 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4434 globals.h errors.h vim9.h
4435 objects/viminfo.o: auto/osdef.h viminfo.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4436 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4437 structs.h regexp.h gui.h libvterm/include/vterm.h \
4438 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4439 globals.h errors.h version.h
4440 objects/window.o: auto/osdef.h window.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4441 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4442 structs.h regexp.h gui.h libvterm/include/vterm.h \
4443 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4444 globals.h errors.h
4445 objects/bufwrite.o: auto/osdef.h bufwrite.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4446 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4447 structs.h regexp.h gui.h libvterm/include/vterm.h \
4448 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4449 globals.h errors.h
4450 objects/gui.o: auto/osdef.h gui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4451 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4452 structs.h regexp.h gui.h libvterm/include/vterm.h \
4453 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4454 globals.h errors.h
4455 objects/gui_gtk.o: auto/osdef.h gui_gtk.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4456 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4457 structs.h regexp.h gui.h libvterm/include/vterm.h \
4458 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4459 globals.h errors.h gui_gtk_f.h
4460 objects/gui_gtk4.o: auto/osdef.h gui_gtk4.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4461 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4462 structs.h regexp.h gui.h libvterm/include/vterm.h \
4463 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4464 globals.h errors.h gui_gtk4_f.h auto/gui_gtk_gresources.h
4465 objects/gui_gtk4_f.o: auto/osdef.h gui_gtk4_f.c vim.h protodef.h auto/config.h feature.h \
4466 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4467 beval.h structs.h regexp.h gui.h \
4468 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4469 ex_cmds.h spell.h proto.h globals.h errors.h gui_gtk4_f.h
4470 objects/gui_gtk_f.o: auto/osdef.h gui_gtk_f.c vim.h protodef.h auto/config.h feature.h \
4471 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4472 beval.h structs.h regexp.h gui.h \
4473 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4474 ex_cmds.h spell.h proto.h globals.h errors.h gui_gtk_f.h
4475 objects/gui_motif.o: auto/osdef.h gui_motif.c vim.h protodef.h auto/config.h feature.h \
4476 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4477 beval.h structs.h regexp.h gui.h \
4478 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4479 ex_cmds.h spell.h proto.h globals.h errors.h gui_xmebw.h \
4480 ../pixmaps/alert.xpm ../pixmaps/error.xpm ../pixmaps/generic.xpm \
4481 ../pixmaps/info.xpm ../pixmaps/quest.xpm gui_x11_pm.h \
4482 ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
4483 ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
4484 ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
4485 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
4486 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
4487 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
4488 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
4489 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
4490 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
4491 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
4492 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
4493 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
4494 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
4495 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
4496 ../pixmaps/tb_minwidth.xpm
4497 objects/gui_xmdlg.o: auto/osdef.h gui_xmdlg.c vim.h protodef.h auto/config.h feature.h \
4498 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4499 beval.h structs.h regexp.h gui.h \
4500 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4501 ex_cmds.h spell.h proto.h globals.h errors.h
4502 objects/gui_xmebw.o: auto/osdef.h gui_xmebw.c vim.h protodef.h auto/config.h feature.h \
4503 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4504 beval.h structs.h regexp.h gui.h \
4505 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4506 ex_cmds.h spell.h proto.h globals.h errors.h gui_xmebwp.h gui_xmebw.h
4507 objects/gui_gtk_x11.o: auto/osdef.h gui_gtk_x11.c vim.h protodef.h auto/config.h feature.h \
4508 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4509 beval.h structs.h regexp.h gui.h \
4510 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4511 ex_cmds.h spell.h proto.h globals.h errors.h auto/gui_gtk_gresources.h \
4512 gui_gtk_f.h ../runtime/vim16x16_png.h ../runtime/vim32x32_png.h \
4513 ../runtime/vim48x48_png.h
4514 objects/gui_x11.o: auto/osdef.h gui_x11.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4515 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4516 structs.h regexp.h gui.h libvterm/include/vterm.h \
4517 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4518 globals.h errors.h ../runtime/vim32x32.xpm ../runtime/vim16x16.xpm \
4519 ../runtime/vim48x48.xpm errors.h vim_icon.xbm vim_mask.xbm
4520 objects/gui_haiku.o: auto/osdef.h gui_haiku.cc vim.h protodef.h auto/config.h feature.h \
4521 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4522 structs.h regexp.h gui.h libvterm/include/vterm.h \
4523 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4524 globals.h errors.h version.h
4525 objects/json_test.o: auto/osdef.h json_test.c main.c vim.h protodef.h auto/config.h feature.h \
4526 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4527 beval.h structs.h regexp.h gui.h \
4528 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4529 ex_cmds.h spell.h proto.h globals.h errors.h json.c
4530 objects/kword_test.o: auto/osdef.h kword_test.c main.c vim.h protodef.h auto/config.h \
4531 feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \
4532 option.h beval.h structs.h regexp.h gui.h \
4533 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4534 ex_cmds.h spell.h proto.h globals.h errors.h charset.c
4535 objects/memfile_test.o: auto/osdef.h memfile_test.c main.c vim.h protodef.h auto/config.h \
4536 feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \
4537 option.h beval.h structs.h regexp.h gui.h \
4538 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4539 ex_cmds.h spell.h proto.h globals.h errors.h memfile.c
4540 objects/message_test.o: auto/osdef.h message_test.c main.c vim.h protodef.h auto/config.h \
4541 feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \
4542 option.h beval.h structs.h regexp.h gui.h \
4543 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4544 ex_cmds.h spell.h proto.h globals.h errors.h message.c
4545 objects/if_lua.o: auto/osdef.h if_lua.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4546 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4547 structs.h regexp.h gui.h libvterm/include/vterm.h \
4548 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4549 globals.h errors.h version.h
4550 objects/if_mzsch.o: auto/osdef.h if_mzsch.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4551 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4552 structs.h regexp.h gui.h libvterm/include/vterm.h \
4553 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4554 globals.h errors.h if_mzsch.h
4555 objects/if_perl.o: auto/osdef.h auto/if_perl.c vim.h protodef.h auto/config.h feature.h \
4556 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4557 beval.h structs.h regexp.h gui.h \
4558 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4559 ex_cmds.h spell.h proto.h globals.h errors.h
4560 objects/if_python.o: auto/osdef.h if_python.c vim.h protodef.h auto/config.h feature.h \
4561 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4562 beval.h structs.h regexp.h gui.h \
4563 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4564 ex_cmds.h spell.h proto.h globals.h errors.h if_py_both.h
4565 objects/if_python3.o: auto/osdef.h if_python3.c vim.h protodef.h auto/config.h feature.h \
4566 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4567 beval.h structs.h regexp.h gui.h \
4568 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4569 ex_cmds.h spell.h proto.h globals.h errors.h if_py_both.h
4570 objects/if_tcl.o: auto/osdef.h if_tcl.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4571 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4572 structs.h regexp.h gui.h libvterm/include/vterm.h \
4573 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4574 globals.h errors.h
4575 objects/if_ruby.o: auto/osdef.h if_ruby.c protodef.h auto/config.h vim.h feature.h os_unix.h \
4576 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4577 structs.h regexp.h gui.h libvterm/include/vterm.h \
4578 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4579 globals.h errors.h version.h
4580 objects/gui_beval.o: auto/osdef.h gui_beval.c vim.h protodef.h auto/config.h feature.h \
4581 os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \
4582 beval.h structs.h regexp.h gui.h \
4583 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \
4584 ex_cmds.h spell.h proto.h globals.h errors.h
4585 objects/netbeans.o: auto/osdef.h netbeans.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4586 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4587 structs.h regexp.h gui.h libvterm/include/vterm.h \
4588 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4589 globals.h errors.h version.h
4590 objects/job.o: auto/osdef.h job.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4591 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4592 structs.h regexp.h gui.h libvterm/include/vterm.h \
4593 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4594 globals.h errors.h
4595 objects/channel.o: auto/osdef.h channel.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4596 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4597 structs.h regexp.h gui.h libvterm/include/vterm.h \
4598 libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
4599 globals.h errors.h
4600 objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c
4601 objects/wlr-data-control-unstable-v1.o: \
4602 auto/wayland/wlr-data-control-unstable-v1.c
4603 objects/ext-data-control-v1.o: auto/wayland/ext-data-control-v1.c
4604 objects/wayland.o: auto/osdef.h wayland.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4605 ascii.h keymap.h termdefs.h macros.h option.h beval.h \
4606 structs.h regexp.h gui.h libvterm/include/vterm.h \
4607 libvterm/include/vterm_keycodes.h alloc.h \
4608 ex_cmds.h spell.h proto.h globals.h errors.h wayland.h \
4609 auto/wayland/wlr-data-control-unstable-v1.h \
4610 auto/wayland/ext-data-control-v1.h
4611 objects/vterm_encoding.o: auto/osdef.h libvterm/src/encoding.c libvterm/src/vterm_internal.h \
4612 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4613 libvterm/src/encoding/DECdrawing.inc libvterm/src/encoding/uk.inc
4614 objects/vterm_keyboard.o: auto/osdef.h libvterm/src/keyboard.c libvterm/src/vterm_internal.h \
4615 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4616 libvterm/src/utf8.h
4617 objects/vterm_mouse.o: auto/osdef.h libvterm/src/mouse.c libvterm/src/vterm_internal.h \
4618 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4619 libvterm/src/utf8.h
4620 objects/vterm_parser.o: auto/osdef.h libvterm/src/parser.c libvterm/src/vterm_internal.h \
4621 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h
4622 objects/vterm_pen.o: auto/osdef.h libvterm/src/pen.c libvterm/src/vterm_internal.h \
4623 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h
4624 objects/vterm_screen.o: auto/osdef.h libvterm/src/screen.c libvterm/src/vterm_internal.h \
4625 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4626 libvterm/src/rect.h libvterm/src/utf8.h
4627 objects/vterm_state.o: auto/osdef.h libvterm/src/state.c libvterm/src/vterm_internal.h \
4628 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h
4629 objects/vterm_unicode.o: auto/osdef.h libvterm/src/unicode.c libvterm/src/vterm_internal.h \
4630 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4631 libvterm/src/fullwidth.inc
4632 objects/vterm_vterm.o: auto/osdef.h libvterm/src/vterm.c libvterm/src/vterm_internal.h \
4633 libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
4634 libvterm/src/utf8.h
4635 objects/xdiffi.o: auto/osdef.h xdiff/xdiffi.c xdiff/xinclude.h auto/config.h \
4636 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4637 auto/config.h feature.h os_unix.h \
4638 ascii.h keymap.h \
4639 termdefs.h macros.h option.h beval.h \
4640 structs.h regexp.h gui.h \
4641 libvterm/include/vterm.h \
4642 libvterm/include/vterm_keycodes.h alloc.h \
4643 ex_cmds.h spell.h proto.h globals.h \
4644 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4645 xdiff/xdiffi.h xdiff/xemit.h
4646 objects/xemit.o: auto/osdef.h xdiff/xemit.c xdiff/xinclude.h auto/config.h \
4647 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4648 auto/config.h feature.h os_unix.h \
4649 ascii.h keymap.h \
4650 termdefs.h macros.h option.h beval.h \
4651 structs.h regexp.h gui.h \
4652 libvterm/include/vterm.h \
4653 libvterm/include/vterm_keycodes.h alloc.h \
4654 ex_cmds.h spell.h proto.h globals.h \
4655 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4656 xdiff/xdiffi.h xdiff/xemit.h
4657 objects/xprepare.o: auto/osdef.h xdiff/xprepare.c xdiff/xinclude.h auto/config.h \
4658 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4659 auto/config.h feature.h os_unix.h \
4660 ascii.h keymap.h \
4661 termdefs.h macros.h option.h beval.h \
4662 structs.h regexp.h gui.h \
4663 libvterm/include/vterm.h \
4664 libvterm/include/vterm_keycodes.h alloc.h \
4665 ex_cmds.h spell.h proto.h globals.h \
4666 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4667 xdiff/xdiffi.h xdiff/xemit.h
4668 objects/xutils.o: auto/osdef.h xdiff/xutils.c xdiff/xinclude.h auto/config.h \
4669 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4670 auto/config.h feature.h os_unix.h \
4671 ascii.h keymap.h \
4672 termdefs.h macros.h option.h beval.h \
4673 structs.h regexp.h gui.h \
4674 libvterm/include/vterm.h \
4675 libvterm/include/vterm_keycodes.h alloc.h \
4676 ex_cmds.h spell.h proto.h globals.h \
4677 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4678 xdiff/xdiffi.h xdiff/xemit.h
4679 objects/xhistogram.o: auto/osdef.h xdiff/xhistogram.c xdiff/xinclude.h auto/config.h \
4680 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4681 auto/config.h feature.h os_unix.h \
4682 ascii.h keymap.h \
4683 termdefs.h macros.h option.h beval.h \
4684 structs.h regexp.h gui.h \
4685 libvterm/include/vterm.h \
4686 libvterm/include/vterm_keycodes.h alloc.h \
4687 ex_cmds.h spell.h proto.h globals.h \
4688 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4689 xdiff/xdiffi.h xdiff/xemit.h
4690 objects/xpatience.o: auto/osdef.h xdiff/xpatience.c xdiff/xinclude.h auto/config.h \
4691 xdiff/xmacros.h xdiff/xdiff.h vim.h protodef.h \
4692 auto/config.h feature.h os_unix.h \
4693 ascii.h keymap.h \
4694 termdefs.h macros.h option.h beval.h \
4695 structs.h regexp.h gui.h \
4696 libvterm/include/vterm.h \
4697 libvterm/include/vterm_keycodes.h alloc.h \
4698 ex_cmds.h spell.h proto.h globals.h \
4699 errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \
4700 xdiff/xdiffi.h xdiff/xemit.h
4701 proto/alloc.pro: alloc.c
4702 proto/arabic.pro: arabic.c
4703 proto/arglist.pro: arglist.c
4704 proto/autocmd.pro: autocmd.c
4705 proto/beval.pro: beval.c
4706 proto/blob.pro: blob.c
4707 proto/blowfish.pro: blowfish.c
4708 proto/buffer.pro: buffer.c
4709 proto/bufwrite.pro: bufwrite.c
4710 proto/change.pro: change.c
4711 proto/channel.pro: channel.c
4712 proto/charset.pro: charset.c
4713 proto/cindent.pro: cindent.c
4714 proto/clientserver.pro: clientserver.c
4715 proto/clipboard.pro: clipboard.c
4716 proto/cmdexpand.pro: cmdexpand.c
4717 proto/cmdhist.pro: cmdhist.c
4718 proto/crypt.pro: crypt.c
4719 proto/crypt_zip.pro: crypt_zip.c
4720 proto/debugger.pro: debugger.c
4721 proto/dict.pro: dict.c
4722 proto/diff.pro: diff.c
4723 proto/digraph.pro: digraph.c
4724 proto/drawline.pro: drawline.c
4725 proto/drawscreen.pro: drawscreen.c
4726 proto/edit.pro: edit.c
4727 proto/eval.pro: eval.c
4728 proto/evalbuffer.pro: evalbuffer.c
4729 proto/evalfunc.pro: evalfunc.c
4730 proto/evalvars.pro: evalvars.c
4731 proto/evalwindow.pro: evalwindow.c
4732 proto/ex_cmds.pro: ex_cmds.c
4733 proto/ex_cmds2.pro: ex_cmds2.c
4734 proto/ex_docmd.pro: ex_docmd.c
4735 proto/ex_eval.pro: ex_eval.c
4736 proto/ex_getln.pro: ex_getln.c
4737 proto/fileio.pro: fileio.c
4738 proto/filepath.pro: filepath.c
4739 proto/findfile.pro: findfile.c
4740 proto/float.pro: float.c
4741 proto/fold.pro: fold.c
4742 proto/fuzzy.pro: fuzzy.c
4743 proto/gc.pro: gc.c
4744 proto/getchar.pro: getchar.c
4745 proto/gui_beval.pro: gui_beval.c
4746 proto/gui_gtk_gresources.pro: auto/gui_gtk_gresources.c
4747 proto/gui_xim.pro: gui_xim.c
4748 proto/hardcopy.pro: hardcopy.c
4749 proto/hashtab.pro: hashtab.c
4750 proto/help.pro: help.c
4751 proto/highlight.pro: highlight.c
4752 proto/if_cscope.pro: if_cscope.c
4753 proto/if_lua.pro: if_lua.c
4754 proto/if_mzsch.pro: if_mzsch.c
4755 proto/if_python.pro: if_python.c
4756 proto/if_python3.pro: if_python3.c
4757 proto/if_ruby.pro: if_ruby.c
4758 proto/if_tcl.pro: if_tcl.c
4759 proto/if_xcmdsrv.pro: if_xcmdsrv.c
4760 proto/indent.pro: indent.c
4761 proto/insexpand.pro: insexpand.c
4762 proto/job.pro: job.c
4763 proto/json.pro: json.c
4764 proto/linematch.pro: linematch.c
4765 proto/list.pro: list.c
4766 proto/locale.pro: locale.c
4767 proto/logfile.pro: logfile.c
4768 proto/main.pro: main.c
4769 proto/map.pro: map.c
4770 proto/mark.pro: mark.c
4771 proto/match.pro: match.c
4772 proto/mbyte.pro: mbyte.c
4773 proto/memfile.pro: memfile.c
4774 proto/memline.pro: memline.c
4775 proto/menu.pro: menu.c
4776 proto/message.pro: message.c
4777 proto/misc1.pro: misc1.c
4778 proto/misc2.pro: misc2.c
4779 proto/mouse.pro: mouse.c
4780 proto/move.pro: move.c
4781 proto/netbeans.pro: netbeans.c
4782 proto/normal.pro: normal.c
4783 proto/ops.pro: ops.c
4784 proto/option.pro: option.c
4785 proto/optionstr.pro: optionstr.c
4786 proto/os_amiga.pro: os_amiga.c
4787 proto/os_mac_conv.pro: os_mac_conv.c
4788 proto/os_mswin.pro: os_mswin.c
4789 proto/os_qnx.pro: os_qnx.c
4790 proto/os_unix.pro: os_unix.c
4791 proto/os_vms.pro: os_vms.c
4792 proto/os_win32.pro: os_win32.c
4793 proto/popupmenu.pro: popupmenu.c
4794 proto/popupwin.pro: popupwin.c
4795 proto/profiler.pro: profiler.c
4796 proto/pty.pro: pty.c
4797 proto/quickfix.pro: quickfix.c
4798 proto/regexp.pro: regexp.c
4799 proto/register.pro: register.c
4800 proto/screen.pro: screen.c
4801 proto/scriptfile.pro: scriptfile.c
4802 proto/search.pro: search.c
4803 proto/session.pro: session.c
4804 proto/sha256.pro: sha256.c
4805 proto/sign.pro: sign.c
4806 proto/socketserver.pro: socketserver.c
4807 proto/sound.pro: sound.c
4808 proto/spell.pro: spell.c
4809 proto/spellfile.pro: spellfile.c
4810 proto/spellsuggest.pro: spellsuggest.c
4811 proto/strings.pro: strings.c
4812 proto/syntax.pro: syntax.c
4813 proto/tabpanel.pro: tabpanel.c
4814 proto/tag.pro: tag.c
4815 proto/term.pro: term.c
4816 proto/terminal.pro: terminal.c
4817 proto/termlib.pro: termlib.c
4818 proto/testing.pro: testing.c
4819 proto/textformat.pro: textformat.c
4820 proto/textobject.pro: textobject.c
4821 proto/textprop.pro: textprop.c
4822 proto/time.pro: time.c
4823 proto/tuple.pro: tuple.c
4824 proto/typval.pro: typval.c
4825 proto/ui.pro: ui.c
4826 proto/undo.pro: undo.c
4827 proto/usercmd.pro: usercmd.c
4828 proto/userfunc.pro: userfunc.c
4829 proto/version.pro: version.c
4830 proto/vim9class.pro: vim9class.c
4831 proto/vim9cmds.pro: vim9cmds.c
4832 proto/vim9compile.pro: vim9compile.c
4833 proto/vim9execute.pro: vim9execute.c
4834 proto/vim9expr.pro: vim9expr.c
4835 proto/vim9generics.pro: vim9generics.c
4836 proto/vim9instr.pro: vim9instr.c
4837 proto/vim9script.pro: vim9script.c
4838 proto/vim9type.pro: vim9type.c
4839 proto/viminfo.pro: viminfo.c
4840 proto/wayland.pro: wayland.c
4841 proto/winclip.pro: winclip.c
4842 proto/window.pro: window.c
4843 proto/gui.pro: gui.c
4844 proto/gui_gtk.pro: gui_gtk.c
4845 proto/gui_gtk4.pro: gui_gtk4.c
4846 proto/gui_motif.pro: gui_motif.c
4847 proto/gui_xmdlg.pro: gui_xmdlg.c
4848 proto/gui_gtk_x11.pro: gui_gtk_x11.c
4849 proto/gui_x11.pro: gui_x11.c
4850 proto/gui_w32.pro: gui_w32.c
4851 proto/gui_photon.pro: gui_photon.c