blob: a15398a1894dbc09b7e2b1d2164038ecd1392ebc [file] [log] [blame]
Bram Moolenaare1d12892004-06-13 13:02:36 +00001# 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, GTK and/or
25# Athena 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# used.
33# - Uncomment the line "CONF_OPT_XSMP = --without-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 & KDE 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-perlinterp for Perl interpreter
42# --enable-pythoninterp for Python interpreter
43# --enable-rubyinterp for Ruby interpreter
44# --enable-tclinterp for Tcl interpreter
45# --enable-cscope for Cscope interface
46# - Uncomment one of the lines with --with-features= to enable a set of
47# features (but not the interfaces just mentioned).
48# - Uncomment the line with --disable-acl to disable ACL support even
49# though your system supports it.
50# - Uncomment the line with --disable-gpm to disable gpm support
51# even though you have gpm libraries and includes
52# - Uncomment one of the lines with CFLAGS and/or CC if you have
53# something very special or want to tune the optimizer.
54# - Search for the name of your system to see if it needs anything
55# special.
56# - A few versions of make use '.include "file"' instead of 'include
57# file'. Adjust the include line below if yours does.
58#
59# 2. Edit feature.h {{{1
60# Only if you do not agree with the default compile features, e.g.:
61# - you want Vim to be as vi compatible as it can be
62# - you want to use Emacs tags files
63# - you want right-to-left editing (Hebrew)
64# - you want 'langmap' support (Greek)
65# - you want to remove features to make Vim smaller
66#
67# 3. "make" {{{1
68# Will first run ./configure with the options in this file. Then it will
69# start make again on this Makefile to do the compiling. You can also do
70# this in two steps with:
71# make config
72# make
73# The configuration phase creates/overwrites auto/config.h and
74# auto/config.mk.
75# The configure script is created with "make autoconf". It can detect
76# different features of your system and act accordingly. However, it is
77# not correct for all systems. Check this:
78# - If you have X windows, but configure could not find it or reported
79# another include/library directory then you wanted to use, you have
80# to set CONF_OPT_X below. You might also check the installation of
81# xmkmf.
82# - If you have --enable-gui=motif and have Motif on your system, but
83# configure reports "checking for location of gui... <not found>", you
84# have to set GUI_INC_LOC and GUI_LIB_LOC below.
85# If you changed something, do this to run configure again:
86# make reconfig
87#
88# - If you do not trust the automatic configuration code, then inspect
89# auto/config.h and auto/config.mk, before starting the actual build
90# phase. If possible edit this Makefile, rather than auto/config.mk --
91# especially look at the definition of VIMLOC below. Note that the
92# configure phase overwrites auto/config.mk and auto/config.h again.
93# - If you get error messages, find out what is wrong and try to correct
94# it in this Makefile. You may need to do "make reconfig" when you
95# change anything that configure uses (e.g. switching from an old C
96# compiler to an ANSI C compiler). Only when auto/configure does
97# something wrong you may need to change one of the other files. If
98# you find a clean way to fix the problem, consider sending a note to
99# the author of autoconf (bug-gnu-utils@prep.ai.mit.edu) or Vim
100# (Bram@vim.org). Don't bother to do that when you made a hack
101# solution for a non-standard system.
102#
103# 4. "make test" {{{1
104# This is optional. This will run Vim scripts on a number of test
105# files, and compare the produced output with the expected output.
106# If all is well, you will get the "ALL DONE" message in the end. See
107# below (search for "/^test").
108#
109# 5. "make install" {{{1
110# If the new Vim seems to be working OK you can install it and the
111# documentation in the appropriate location. The default is
112# "/usr/local". Change "prefix" below to change the location.
113# "auto/pathdef.c" will be compiled again after changing this to make
114# the executable know where the help files are located.
115# Note that any existing executable is removed or overwritten. If you
116# want to keep it you will have to make a backup copy first.
117# The runtime files are in a different directory for each version. You
118# might want to delete an older version.
119# If you don't want to install everything, there are other targets:
120# make installvim only installs Vim, not the tools
121# make installvimbin only installs the Vim executable
122# make installruntime only installs the Vim help and
123# runtime files
124# make installlinks only installs the Vim binary links
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000125# make installmanlinks only installs the Vim manpage links
Bram Moolenaare1d12892004-06-13 13:02:36 +0000126# make installmacros only installs the Vim macros
127# make installtutor only installs the Vim tutor
128# make installtools only installs xxd
129# If you install Vim, not to install for real but to prepare a package
130# or RPM, set DESTDIR to the root of the tree.
131#
132# 6. Use Vim until a new version comes out. {{{1
133#
134# 7. "make uninstall_runtime" {{{1
135# Will remove the runtime files for the current version. This is safe
136# to use while another version is being used, only version-specific
137# files will be deleted.
138# To remove the runtime files of another version:
139# make uninstall_runtime VIMRTDIR=/vim54
140# If you want to delete all installed files, use:
141# make uninstall
142# Note that this will delete files that have the same name for any
143# version, thus you might need to do a "make install" soon after this.
144# Be careful not to remove a version of Vim that is still being used!
145# To find out which files and directories will be deleted, use:
146# make -n uninstall
147# }}}
148#
149### This Makefile has been succesfully tested on many systems. {{{
150### Only the ones that require special options are mentioned here.
151### Check the (*) column for remarks, listed below.
152### Later code changes may cause small problems, otherwise Vim is supposed to
153### compile and run without problems.
154
155#system: configurations: version (*) tested by:
156#------------- ------------------------ ------- - ----------
157#AIX 3.2.5 cc (not gcc) - 4.5 (M) Will Fiveash
158#AIX 4 cc +X11 -GUI 3.27 (4) Axel Kielhorn
159#AIX 4.1.4 cc +X11 +GUI 4.5 (5) Nico Bakker
160#AIX 4.2.1 cc 5.2k (C) Will Fiveash
161#AIX 4.3.3.12 xic 3.6.6 5.6 (5) David R. Favor
162#A/UX 3.1.1 gcc +X11 4.0 (6) Jim Jagielski
163#BeOS PR mwcc DR3 5.0n (T) Olaf Seibert
164#BSDI 2.1 (x86) shlicc2 gcc-2.6.3 -X11 X11R6 4.5 (1) Jos Backus
165#BSD/OS 3.0 (x86) gcc gcc-2.7.2.1 -X11 X11R6 4.6c (1) Jos Backus
166#CX/UX 6.2 cc +X11 +GUI_Mofif 5.4 (V) Kipp E. Howard
167#DG/UX 5.4* gcc 2.5.8 GUI 5.0e (H) Jonas Schlein
168#DG/UX 5.4R4.20 gcc 2.7.2 GUI 5.0s (H) Rocky Olive
169#HP-UX (most) c89 cc 5.1 (2) Bram Moolenaar
170#HP-UX_9.04 cc +X11 +Motif 5.0 (2) Carton Lao
171#Irix 6.3 (O2) cc ? 4.5 (L) Edouard Poor
172#Irix 6.4 cc ? 5.0m (S) Rick Sayre
173#Irix 6.5 cc ? 6.0 (S) David Harrison
174#Irix 64 bit 4.5 (K) Jon Wright
175#Linux 2.0 gcc-2.7.2 Infomagic Motif 4.3 (3) Ronald Rietman
176#Linux 2.0.31 gcc +X11 +GUI Athena 5.0w (U) Darren Hiebert
177#LynxOS 3.0.1 2.9-gnupro-98r2 +X11 +GUI Athena 5.7.1(O) Lorenz Hahn
178#LynxOS 3.1.0 2.9-gnupro-98r2 +X11 +GUI Athena 5.7.1(O) Lorenz Hahn
179#NEC UP4800 UNIX_SV 4.2MP cc +X11R6 Motif,Athena4.6b (Q) Lennart Schultz
180#NetBSD 1.0A gcc-2.4.5 -X11 -GUI 3.21 (X) Juergen Weigert
181#QNX 4.2 wcc386-10.6 -X11 4.2 (D) G.F. Desrochers
182#QNX 4.23 Watcom -X11 4.2 (F) John Oleynick
183#SCO Unix v3.2.5 cc +X11 Motif 3.27 (C) M. Kuperblum
184#SCO Open Server 5 gcc 2.7.2.3 +X11 +GUI Motif 5.3 (A) Glauber Ribeiro
185#SINIX-N 5.43 RM400 R4000 cc +X11 +GUI 5.0l (I) Martin Furter
186#SINIX-Z 5.42 i386 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
187#SINIX-Y 5.43 RM600 R4000 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
188#Reliant/SINIX 5.44 cc +X11 +GUI 5.5a (I) B. Pruemmer
189#SNI Targon31 TOS 4.1.11 gcc-2.4.5 +X11 -GUI 4.6c (B) Paul Slootman
190#Solaris 2.4 (Sparc) cc +X11 +GUI 3.29 (9) Glauber
191#Solaris 2.4/2.5 clcc +X11 -GUI openwin 3.20 (7) Robert Colon
192#Solaris 2.5 (sun4m) cc (SC4.0) +X11R6 +GUI (CDE) 4.6b (E) Andrew Large
193#Solaris 2.5 cc +X11 +GUI Athena 4.2 (9) Sonia Heimann
194#Solaris 2.5 gcc 2.5.6 +X11 Motif 5.0m (R) Ant. Colombo
195#Solaris 2.6 gcc 2.8.1 ncursus 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#SunOS 4.1.3_U1 (sun4c) gcc +X11 +GUI Athena 5.0w (J) Darren Hiebert
200#SUPER-UX 6.2 (NEC SX-4) cc +X11R6 Motif,Athena4.6b (P) Lennart Schultz
201#Unisys 6035 cc +X11 Motif 5.3 (8) Glauber Ribeiro
202#ESIX V4.2 cc +X11 6.0 (a) Reinhard Wobst
203#Mac OS X 10.[23] gcc Carbon 6.2 (x) Bram Moolenaar
204# }}}
205
206# (*) Remarks: {{{
207#
208# (1) Uncomment line below for shlicc2
209# (2) HPUX with compile problems or wrong digraphs, uncomment line below
210# (3) Infomagic Motif needs GUI_LIB_LOC and GUI_INC_LOC set, see below.
211# And add "-lXpm" to MOTIF_LIBS2.
212# (4) For cc the optimizer must be disabled (use CFLAGS= after running
213# configure) (symptom: ":set termcap" output looks weird).
214# (5) Compiler may need extra argument, see below.
215# (6) See below for a few lines to uncomment
216# (7) See below for lines which enable the use of clcc
217# (8) Needs some EXTRA_LIBS, search for Unisys below
218# (9) Needs an extra compiler flag to compile gui_at_sb.c, see below.
219# (A) May need EXTRA_LIBS, see below
220# (B) Can't compile GUI because there is no waitpid()... Disable GUI below.
221# (C) Force the use of curses instead of termcap, see below.
222# (D) Uncomment lines below for QNX
223# (E) You might want to use termlib instead of termcap, see below.
224# (F) See below for instructions.
225# (G) Using ncursus version 4.2 has reported to cause a crash. Use the
226# Sun cursus library instead.
227# (H) See line for EXTRA_LIBS below.
228# (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix.
229# (J) If you get undefined symbols, see below for a solution.
230# (K) See lines to uncomment below for machines with 64 bit pointers.
231# (L) For Silicon Graphics O2 workstations remove "-lnsl" from auto/config.mk
232# (M) gcc version cygnus-2.0.1 does NOT work (symptom: "dl" deletes two
233# characters instead of one).
234# (N) SCO with decmouse.
235# (O) LynxOS needs EXTRA_LIBS, see below.
236# (P) For SuperUX 6.2 on NEC SX-4 see a few lines below to uncomment.
237# (Q) For UNIXSVR 4.2MP on NEC UP4800 see below for lines to uncomment.
238# (R) For Solaris 2.5 (or 2.5.1) with gcc > 2.5.6, uncomment line below.
239# (S) For Irix 6.x with MipsPro compiler, use -OPT:Olimit. See line below.
240# (T) See ../doc/os_beos.txt.
241# (U) Must uncomment CONF_OPT_PYTHON option below to disable Python
242# detection, since the configure script runs into an error when it
243# detects Python (probably because of the bash shell).
244# (V) See lines to uncomment below.
245# (X) Need to use the .include "auto/config.mk" line below
246# (Y) See line with c89 below
247# (Z) See lines with cc or c89 below
248# (a) See line with EXTRA_LIBS below.
249# (b) When using gcc with the Solaris linker, make sure you don't use GNU
250# strip, otherwise the binary may not run: "Cannot find ELF".
251# (x) When you get warnings for precompiled header files, run
252# "sudo fixPrecomps". Also see CONF_OPT_DARWIN below.
253# }}}
254
255
256#DO NOT CHANGE the next line, we need it for configure to find the compiler
257#instead of using the default from the "make" program.
258#Use a line further down to change the value for CC.
259CC=
260
261# Change and use these defines if configure cannot find your Motif stuff.
262# Unfortunately there is no "standard" location for Motif. {{{
263# These defines can contain a single directory (recommended) or a list of
264# directories (for when you are working with several systems). The LAST
265# directory that exists is used.
266# When changed, run "make reconfig" next!
267#GUI_INC_LOC = -I/usr/include/Motif2.0 -I/usr/include/Motif1.2
268#GUI_LIB_LOC = -L/usr/lib/Motif2.0 -L/usr/lib/Motif1.2
269### Use these two lines for Infomagic Motif (3)
270#GUI_INC_LOC = -I/usr/X11R6/include
271#GUI_LIB_LOC = -L/usr/X11R6/lib
272# }}}
273
274######################## auto/config.mk ######################## {{{1
275# At this position auto/config.mk is included. When starting from the
276# distribution it is almost empty. After running auto/configure it contains
277# settings that have been discovered for your system. Settings below this
278# include override settings in auto/config.mk!
279
280# Note: if auto/config.mk is lost somehow (e.g., because configure was
281# interrupted), create an empty auto/config.mk file and do "make config".
282
283# (X) How to include auto/config.mk depends on the version of "make" you have,
284# if the current choice doesn't work, try the other one.
285
286include auto/config.mk
287#.include "auto/config.mk"
288CClink = $(CC)
289
290#}}}
291
292# Include the configuration choices first, so we can override everything
293# below. As shipped, this file contains a target that causes to run
294# configure. Once configure was run, this file contains a list of
295# make variables with predefined values instead. Thus any second invocation
296# of make, will buid Vim.
297
298# CONFIGURE - configure arguments {{{1
299# You can give a lot of options to configure.
300# Change this to your desire and do 'make config' afterwards
301
302# examples (can only use one!):
303#CONF_ARGS = --exec-prefix=/usr
304#CONF_ARGS = --with-vim-name=vim6 --with-ex-name=ex6 --with-view-name=view6
305#CONF_ARGS = --with-global-runtime=/etc/vim
306
307# Use this one if you distribute a modified version of Vim.
308#CONF_ARGS = --with-modified-by="John Doe"
309
310# GUI - For creating Vim with GUI (gvim) (B)
311# Uncomment this line when you don't want to get the GUI version, although you
312# have GTK, Motif and/or Athena. Also use --without-x if you don't want X11
313# at all.
314#CONF_OPT_GUI = --disable-gui
315
316# Uncomment one of these lines if you have that GUI but don't want to use it.
317# The automatic check will use another one that can be found
318# Gnome is disabled by default, it may cause trouble.
319#CONF_OPT_GUI = --disable-gtk-check
320#CONF_OPT_GUI = --disable-gtk2-check
321#CONF_OPT_GUI = --enable-gnome-check
322#CONF_OPT_GUI = --enable-gnome2-check
323#CONF_OPT_GUI = --disable-motif-check
324#CONF_OPT_GUI = --disable-athena-check
325#CONF_OPT_GUI = --disable-nextaw-check
326
327# Uncomment one of these lines to select a specific GUI to use.
328# When using "yes" or nothing, configure will use the first one found: GTK+,
329# Motif or Athena.
330#
331# GTK versions that are known not to work 100% are rejected.
332# Use "--disable-gtktest" to accept them anyway.
333#
334# GNOME means GTK with Gnome support. If using GTK, then GNOME will
335# automatically be used if it is found. If you have GNOME, but do not want to
336# use it (e.g., want a GTK-only version), then use --enable-gui=gtk.
337#
Bram Moolenaar81695252004-12-29 20:58:21 +0000338# KDE doesn't fully work, unfortunately. See the todo list.
339#
Bram Moolenaare1d12892004-06-13 13:02:36 +0000340# If the selected GUI isn't found, the GUI is disabled automatically
341#CONF_OPT_GUI = --enable-gui=gtk
342#CONF_OPT_GUI = --enable-gui=gtk --disable-gtktest
343#CONF_OPT_GUI = --enable-gui=gtk2
344#CONF_OPT_GUI = --enable-gui=gtk2 --disable-gtktest
345#CONF_OPT_GUI = --enable-gui=gnome
346#CONF_OPT_GUI = --enable-gui=gnome2
347#CONF_OPT_GUI = --enable-gui=gnome2 --disable-gtktest
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000348#CONF_OPT_GUI = --enable-gui=kde
Bram Moolenaare1d12892004-06-13 13:02:36 +0000349#CONF_OPT_GUI = --enable-gui=motif
350#CONF_OPT_GUI = --enable-gui=motif --with-motif-lib="-static -lXm -shared"
351#CONF_OPT_GUI = --enable-gui=athena
352#CONF_OPT_GUI = --enable-gui=nextaw
353
354# DARWIN - detecting Mac OS X
355# Uncomment this line when you want to compile a Unix version of Vim on
356# Darwin. None of the Mac specific options or files will be used.
357#CONF_OPT_DARWIN = --disable-darwin
358
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000359# PERL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000360# Uncomment this when you want to include the Perl interface.
361# The Perl option sometimes causes problems, because it adds extra flags
362# to the command line. If you see strange flags during compilation, check in
363# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
364# the next line.
365# When you get an error for a missing "perl.exp" file, try creating an emtpy
366# one: "touch perl.exp".
367# This requires at least "small" features, "tiny" doesn't work.
368#CONF_OPT_PERL = --enable-perlinterp
369
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000370# PYTHON
Bram Moolenaare1d12892004-06-13 13:02:36 +0000371# Uncomment this when you want to include the Python interface.
372#CONF_OPT_PYTHON = --enable-pythoninterp
373
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000374# TCL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000375# Uncomment this when you want to include the Tcl interface.
376#CONF_OPT_TCL = --enable-tclinterp
377
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000378# RUBY
Bram Moolenaare1d12892004-06-13 13:02:36 +0000379# Uncomment this when you want to include the Ruby interface.
380#CONF_OPT_RUBY = --enable-rubyinterp
381
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000382# MZSCHEME
383# Uncomment this when you want to include the MzScheme interface.
384#CONF_OPT_MZSCHEME = --enable-mzschemeinterp
385# PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
386#CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
387#CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
388#CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
389
390# CSCOPE
Bram Moolenaare1d12892004-06-13 13:02:36 +0000391# Uncomment this when you want to include the Cscope interface.
392#CONF_OPT_CSCOPE = --enable-cscope
393
394# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
395#CONF_OPT_WORKSHOP = --enable-workshop
396
397# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
398# Motif version must have XPM libraries (see |workshop-xpm|).
399# Uncomment this when you do not want the netbeans interface.
400#CONF_OPT_NETBEANS = --disable-netbeans
401
402# SNIFF - Include support for SNiFF+.
403#CONF_OPT_SNIFF = --enable-sniff
404
405# MULTIBYTE - To edit multi-byte characters.
406# Uncomment this when you want to edit a multibyte language.
407# It's automatically enabled with big features or IME support.
408# Note: Compile on a machine where setlocale() actually works, otherwise the
409# configure tests may fail.
410#CONF_OPT_MULTIBYTE = --enable-multibyte
411
412# NLS - National Language Support
413# Uncomment this when you do not want to support translated messages, even
414# though configure can find support for it.
415#CONF_OPT_NLS = --disable-nls
416
417# XIM - X Input Method. Special character input support for X11 (chinese,
418# japanese, special symbols, etc). Also needed for dead-key support.
419# When omitted it's automatically enabled for the X-windows GUI.
420# HANGUL - Input Hangul (korean) language using internal routines.
421# Uncomment one of these when you want to input a multibyte language.
422#CONF_OPT_INPUT = --enable-xim
423#CONF_OPT_INPUT = --disable-xim
424#CONF_OPT_INPUT = --enable-hangulinput
425
426# FONTSET - X fontset support for output of languages with many characters.
427# Uncomment this when you want to output a multibyte language.
428#CONF_OPT_OUTPUT = --enable-fontset
429
430# ACL - Uncomment this when you do not want to include ACL support, even
431# though your system does support it. E.g., when it's buggy.
432#CONF_OPT_ACL = --disable-acl
433
434# gpm - For mouse support on Linux console via gpm
435# Uncomment this when you do not want to include gpm support, even
436# though you have gpm libraries and includes
437#CONF_OPT_GPM = --disable-gpm
438
439# FEATURES - For creating Vim with more or less features
440# Uncomment one of these lines when you want to include few to many features.
441# The default is "normal".
442#CONF_OPT_FEAT = --with-features=tiny
443#CONF_OPT_FEAT = --with-features=small
444#CONF_OPT_FEAT = --with-features=normal
445#CONF_OPT_FEAT = --with-features=big
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000446#CONF_OPT_FEAT = --with-features=huge
Bram Moolenaare1d12892004-06-13 13:02:36 +0000447
448# COMPILED BY - For including a specific e-mail address for ":version".
449#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
450
451# X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
452# (otherwise Vim configure will try to include xterm titlebar access)
453# Also disable the GUI above, otherwise it will be included anyway.
454# When both GUI and X11 have been disabled this may save about 15% of the
455# code and make Vim startup quicker.
456#CONF_OPT_X = --without-x
457
458# X WINDOWS DIRECTORY - specify X directories
459# If configure can't find you X stuff, or if you have multiple X11 derivates
460# installed, you may wish to specify which one to use.
461# Select nothing to let configure choose.
462# This here selects openwin (as found on sun).
463#XROOT = /usr/openwin
464#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib
465
466# X11 Session Management Protocol support
467# Vim will try to use XSMP to catch the user logging out if there are unsaved
468# files. Uncomment this line to disable that (it prevents vim trying to open
469# communications with the session manager).
470#CONF_OPT_XSMP = --disable-xsmp
471
472# You may wish to include xsmp but use exclude xsmp-interact if the logout
473# XSMP functionality does not work well with your session-manager (at time of
474# writing, this would be early GNOME-1 gnome-session: it 'freezes' other
475# applications after Vim has cancelled a logout (until Vim quits). This
476# *might* be the Vim code, but is more likely a bug in early GNOME-1.
477# This disables the dialog that asks you if you want to save files or not.
478#CONF_OPT_XSMP = --disable-xsmp-interact
479
480# COMPILER - Name of the compiler {{{1
481# The default from configure will mostly be fine, no need to change this, just
482# an example. If a compiler is defined here, configure will use it rather than
483# probing for one. It is dangerous to change this after configure was run.
484# Make will use your choice then -- but beware: Many things may change with
485# another compiler. It is wise to run 'make reconfig' to start all over
486# again.
487#CC = cc
488#CC = gcc
489
490# COMPILER FLAGS - change as you please. Either before running {{{1
491# configure or afterwards. For examples see below.
492# When using -g with some older versions of Linux you might get a
493# statically linked executable.
494# When not defined, configure will try to use -O2 -g for gcc and -O for cc.
495#CFLAGS = -g
496#CFLAGS = -O
497
498# Optimization limits - depends on the compiler. Automatic check in configure
499# doesn't work very well, because many compilers only give a warning for
500# unrecognized arguments.
501#CFLAGS = -O -OPT:Olimit=2600
502#CFLAGS = -O -Olimit 2000
503#CFLAGS = -O -FOlimit,2000
504
505# Often used for GCC: mixed optimizing, lot of optimizing, debugging
506#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000507#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaardf177f62005-02-22 08:39:57 +0000508#CFLAGS = -g -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000509#CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
510#CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000511#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000512
513# EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
514# allocated memory (and makes every malloc()/free() very slow).
515# Electric Fence is free (search ftp sites).
516# On FreeBSD you might need to enlarge the number of mmaps allowed. Do this
517# as root: sysctl -w vm.max_proc_mmap=30000
518#EXTRA_LIBS = /usr/local/lib/libefence.a
519
520# PURIFY - remove the # to use the "purify" program (hoi Nia++!)
521#PURIFY = purify
522# }}}
523
524# LINT - for running lint
525LINT_OPTIONS = -beprxzF
526
527# PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
528# Might not work with GUI or Perl.
529# Need to recompile everything after changing this: "make clean" "make".
530#PROFILE_CFLAGS = -pg -g
531#PROFILE_LIBS = -pg
532
533#####################################################
534### Specific systems, check if yours is listed! ### {{{
535#####################################################
536
537### Uncomment things here only if the values chosen by configure are wrong.
538### It's better to adjust configure.in and "make autoconf", if you can!
539### Then send the required changes to configure.in to the bugs list.
540
541### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries
542###
543#CC = shlicc2
544#CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin
545
546### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler
547### The first probably works on all systems
548### The second should work a bit better on newer systems
549### The third should work a bit better on HPUX 11.11
550### Information provided by: Richard Allen <ra@rhi.hi.is>
551#CC = c89 -D_HPUX_SOURCE
552#CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE
553#CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE
554
555### (2) For HP-UX: Enable the use of a different set of digraphs. Use this
556### when the default (ISO) digraphs look completely wrong.
557### After changing this do "touch digraph.c; make".
558#EXTRA_DEFS = -DHPUX_DIGRAPHS
559
560### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes
561### is too small to compile many routines. It produces too much defining
562### and no space errors.
563### Uncomment the following to specify a larger macro definition table.
564#CFLAGS = -Wp,-H256000
565
566### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with
567### libraries in /usr/lib instead of /lib (avoiding transition links).
568### Information provided by: David Green
569#XROOT = /usr
570#CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6
571#GUI_INC_LOC = -I/usr/include/Motif1.2
572#GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6
573
574### (5) AIX 4.1.4 with cc
575#CFLAGS = -O -qmaxmem=8192
576
577### AIX with c89 (Walter Briscoe)
578#CC = c89
579#CPPFLAGS = -D_ALL_SOURCE
580
581### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
582# needed to avoid a problem where strings.h gets included
583#CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
584
585### (W) Solaris with multi-threaded libraries (-lthread):
586### If suspending doesn't work properly, try using this line:
587#EXTRA_DEFS = -D_REENTRANT
588
589### (7) Solaris 2.4/2.5 with Centerline compiler
590#CC = clcc
591#X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib
592#CFLAGS = -O
593
594### (9) Solaris 2.x with cc (SunPro), using Athena.
595### Only required for compiling gui_at_sb.c.
596### Symptom: "identifier redeclared: vim_XawScrollbarSetThumb"
597### Use one of the lines (either Full ANSI or no ANSI at all)
598#CFLAGS = $(CFLAGS) -Xc
599#CFLAGS = $(CFLAGS) -Xs
600
601### Solaris 2.3 with X11 and specific cc
602#CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib
603
604### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc")
605#CC = /usr/ucb/cc
606#EXTRA_LIBS = -R/usr/ucblib
607
608### Solaris with Forte Developer and FEAT_SUN_WORKSHOP
609# The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm.
610#CC = cc
611#XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris
612#XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm
613#XPM_IPATH = -I$(XPM_DIR)/include
614#EXTRA_LIBS = $(XPM_LIB)
615#EXTRA_IPATHS = $(XPM_IPATH)
616#EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H
617
618### Solaris with workshop compilers: Vim is unstable when compiled with
619# "-fast". Use this instead. (Shea Martin)
620#CFLAGS = -x02 -xtarget=ultra
621
622### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this:
623#LDFLAGS = -lw -ldl -lXmu
624#GUI_LIB_LOC = -L/usr/local/lib
625
626### (8) Unisys 6035 (Glauber Ribeiro)
627#EXTRA_LIBS = -lnsl -lsocket -lgen
628
629### When builtin functions cause problems with gcc (for Sun 4.1.x)
630#CFLAGS = -O2 -Wall -traditional -Wno-implicit
631
632### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0)
633#EXTRA_DEFS = -DDOMAIN
634#CFLAGS= -O -A systype,bsd4.3
635
636### Coherent 4.2.10 on Intel 386 platform
637#EXTRA_DEFS = -Dvoid=int
638#EXTRA_LIBS = -lterm -lsocket
639
640### SCO 3.2, with different library name for terminfo
641#EXTRA_LIBS = -ltinfo
642
643### UTS2 for Amdahl UTS 2.1.x
644#EXTRA_DEFS = -DUTS2
645#EXTRA_LIBS = -lsocket
646
647### UTS4 for Amdahl UTS 4.x
648#EXTRA_DEFS = -DUTS4 -Xa
649
650### USL for Unix Systems Laboratories (SYSV 4.2)
651#EXTRA_DEFS = -DUSL
652
653### RISCos on MIPS without X11
654#EXTRA_DEFS = -DMIPS
655
656### RISCos on MIPS with X11
657#EXTRA_LIBS = -lsun
658
659### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
660#CC= gcc -D_POSIX_SOURCE
661#CFLAGS= -O2
662#EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11
663
664### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel)
665### Also use the CONF_TERM_LIB below!
666#EXTRA_LIBS = -lgen
667
668### (D) QNX (by G.F. Desrochers)
669#CFLAGS = -g -O -mf -4
670
671### (F) QNX (by John Oleynick)
672# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
673# CONF_OPT_X = --without-x.
674# 2. make config
675# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
676# have -ldir (does config find it somewhere?) and -ltermcap has at
677# least one problem so I use termlib.o instead. The problem with
678# termcap is that it segfaults if you call it with the name of
679# a non-existent terminal type.
680# 4. edit auto/config.h and add #define USE_TMPNAM
681# 5. add termlib.o to OBJ
682# 6. make
683
684### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein)
685#EXTRA_LIBS = -lgen
686
687### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z)
688#EXTRA_LIBS = -lgen -lnsl
689### For SINIX-Y this is needed for the right prototype of gettimeofday()
690#EXTRA_DEFS = -D_XPG_IV
691
692### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc
693# Use both "-F O3" lines for optimization or the "-g" line for debugging
694#EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE
695#CFLAGS = -F O3 -DSINIXN
696#LDFLAGS = -F O3
697#CFLAGS = -g -DSINIXN
698
699### (P) SCO 3.2.42, with different termcap names for some useful keys DJB
700#EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY
701#EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s
702
703### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz)
704#GUI_INC_LOC = -I/usr/include
705#GUI_LIB_LOC = -L/usr/lib
706#EXTRA_LIBS = -lgen
707
708### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz)
709#GUI_INC_LOC = -I/usr/necccs/include
710#GUI_LIB_LOC = -L/usr/necccs/lib/X11R6
711#XROOT = /usr/necccs
712#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
713#EXTRA_LIBS = -lsocket -lgen
714
715### Irix 4.0 & 5.2 (Silicon Graphics Machines, __sgi will be defined)
716# Not needed for Irix 5.3, Ives Aerts reported
717#EXTRA_LIBS = -lmalloc -lc_s
718# Irix 4.0, when regexp and regcmp cannot be found when linking:
719#EXTRA_LIBS = -lmalloc -lc_s -lPW
720
721### (S) Irix 6.x (MipsPro compiler): Uses different Olimit flag:
722# Note: This newer option style is used with the MipsPro compilers ONLY if
723# you are compiling an "n32" or "64" ABI binary (use either a -n32
724# flag or a -64 flag for CFLAGS). If you explicitly use a -o32 flag,
725# then the CFLAGS option format will be the typical style (i.e.
726# -Olimit 3000).
727#CFLAGS = -OPT:Olimit=3000 -O
728
729### (S) Irix 6.5 with MipsPro C compiler. Try this as a test to see new
730# compiler features! Beware, the optimization is EXTREMELY thorough
731# and takes quite a long time.
732# Note: See the note above. Here, the -mips3 option automatically
733# enables either the "n32" or "64" ABI, depending on what machine you
734# are compiling on (n32 is explicitly enabled here, just to make sure).
735#CFLAGS = -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
736#LDFLAGS= -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
737
738### (K) for SGI Irix machines with 64 bit pointers ("uname -s" says IRIX64)
739### Suggested by Jon Wright <jon@gate.sinica.edu.tw>.
740### Tested on R8000 IRIX6.1 Power Indigo2.
741### Check /etc/compiler.defaults for your compiler settings.
742# either (for 64 bit pointers) uncomment the following line
743#GUI_LIB_LOC = -L/usr/lib64
744# then
745# 1) make config
746# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
747# 3) make
748#
749# or (for 32bit pointers) uncomment the following line
750#EXTRA_DEFS = -n32
751#GUI_LIB_LOC = -L/usr/lib32
752# then
753# 1) make config
754# 2) edit auto/config.mk, add -n32 to LDFLAGS
755# 3) make
756###
757
758### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library,
759### which is found by configure, doesn't work correctly. Symptom is the
760### error message "Termcap entry too long". Uncomment the next line.
761### On AIX 4.2.1 (and other versions probably), libtermcap is reported
762### not to display properly.
763### after changing this, you need to do "make reconfig".
764#CONF_TERM_LIB = --with-tlib=curses
765
766### (E) If you want to use termlib library instead of the automatically found
767### one. After changing this, you need to do "make reconfig".
768#CONF_TERM_LIB = --with-tlib=termlib
769
770### (a) ESIX V4.2 (Reinhard Wobst)
771#EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext
772
773### If you want to use ncurses library instead of the automatically found one
774### after changing this, you need to do "make reconfig".
775#CONF_TERM_LIB = --with-tlib=ncurses
776
777### For GCC on MSDOS, the ".exe" suffix will be added.
778#EXEEXT = .exe
779#LNKEXT = .exe
780
781### (O) For LynxOS 2.5.0, tested on PC.
782#EXTRA_LIBS = -lXext -lSM -lICE -lbsd
783### For LynxOS 3.0.1, tested on PPC
784#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11
785### For LynxOS 3.1.0, tested on PC
786#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu
787
788
789### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove
790### -Qtarget if only in a 5800 environment. (Kipp E. Howard)
791#CFLAGS = -O -Qtarget=m88110compat
792#EXTRA_LIBS = -lgen
793
794##################### end of system specific lines ################### }}}
795
796### Names of the programs and targets {{{1
797VIMTARGET = $(VIMNAME)$(EXEEXT)
798EXTARGET = $(EXNAME)$(LNKEXT)
799VIEWTARGET = $(VIEWNAME)$(LNKEXT)
800GVIMNAME = g$(VIMNAME)
801GVIMTARGET = $(GVIMNAME)$(LNKEXT)
802GVIEWNAME = g$(VIEWNAME)
803GVIEWTARGET = $(GVIEWNAME)$(LNKEXT)
804RVIMNAME = r$(VIMNAME)
805RVIMTARGET = $(RVIMNAME)$(LNKEXT)
806RVIEWNAME = r$(VIEWNAME)
807RVIEWTARGET = $(RVIEWNAME)$(LNKEXT)
808RGVIMNAME = r$(GVIMNAME)
809RGVIMTARGET = $(RGVIMNAME)$(LNKEXT)
810RGVIEWNAME = r$(GVIEWNAME)
811RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT)
812VIMDIFFNAME = $(VIMNAME)diff
813GVIMDIFFNAME = g$(VIMDIFFNAME)
814VIMDIFFTARGET = $(VIMDIFFNAME)$(LNKEXT)
815GVIMDIFFTARGET = $(GVIMDIFFNAME)$(LNKEXT)
816EVIMNAME = e$(VIMNAME)
817EVIMTARGET = $(EVIMNAME)$(LNKEXT)
818EVIEWNAME = e$(VIEWNAME)
819EVIEWTARGET = $(EVIEWNAME)$(LNKEXT)
820
821### Names of the tools that are also made {{{1
822TOOLS = xxd/xxd$(EXEEXT)
823
824### Installation directories. The defaults come from configure. {{{1
825#
826### prefix the top directory for the data (default "/usr/local")
827#
828# Uncomment the next line to install Vim in your home directory.
829#prefix = $(HOME)
830
831### exec_prefix is the top directory for the executable (default $(prefix))
832#
833# Uncomment the next line to install the Vim executable in "/usr/machine/bin"
834#exec_prefix = /usr/machine
835
836### BINDIR dir for the executable (default "$(exec_prefix)/bin")
837### MANDIR dir for the manual pages (default "$(prefix)/man")
838### DATADIR dir for the other files (default "$(prefix)/lib" or
839# "$(prefix)/share")
840# They may be different when using different architectures for the
841# executable and a common directory for the other files.
842#
843# Uncomment the next line to install Vim in "/usr/bin"
844#BINDIR = /usr/bin
845# Uncomment the next line to install Vim manuals in "/usr/share/man/man1"
846#MANDIR = /usr/share/man
847# Uncomment the next line to install Vim help files in "/usr/share/vim"
848#DATADIR = /usr/share
849
850### DESTDIR root of the installation tree. This is prepended to the other
851# directories. This directory must exist.
852#DESTDIR = ~/pkg/vim
853
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000854### Directory of the man pages
855MAN1DIR = /man1
Bram Moolenaare1d12892004-06-13 13:02:36 +0000856
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000857### Vim version (adjusted by a script)
858VIMMAJOR = 7
859VIMMINOR = 0aa
860
Bram Moolenaare1d12892004-06-13 13:02:36 +0000861### Location of Vim files (should not need to be changed, and {{{1
862### some things might not work when they are changed!)
863VIMDIR = /vim
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000864VIMRTDIR = /vim$(VIMMAJOR)$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000865HELPSUBDIR = /doc
866COLSUBDIR = /colors
867SYNSUBDIR = /syntax
868INDSUBDIR = /indent
869PLUGSUBDIR = /plugin
870FTPLUGSUBDIR = /ftplugin
871LANGSUBDIR = /lang
872COMPSUBDIR = /compiler
873KMAPSUBDIR = /keymap
874MACROSUBDIR = /macros
875TOOLSSUBDIR = /tools
876TUTORSUBDIR = /tutor
877PRINTSUBDIR = /print
878PODIR = po
879
880### VIMLOC common root of the Vim files (all versions)
881### VIMRTLOC common root of the runtime Vim files (this version)
882### VIMRCLOC compiled-in location for global [g]vimrc files (all versions)
883### VIMRUNTIMEDIR compiled-in location for runtime files (optional)
884### HELPSUBLOC location for help files
885### COLSUBLOC location for colorscheme files
886### SYNSUBLOC location for syntax files
887### INDSUBLOC location for indent files
888### PLUGSUBLOC location for standard plugin files
889### FTPLUGSUBLOC location for ftplugin files
890### LANGSUBLOC location for language files
891### COMPSUBLOC location for compiler files
892### KMAPSUBLOC location for keymap files
893### MACROSUBLOC location for macro files
894### TOOLSSUBLOC location for tools files
895### TUTORSUBLOC location for tutor files
896### PRINTSUBLOC location for PostScript files (prolog, latin1, ..)
897### SCRIPTLOC location for script files (menu.vim, bugreport.vim, ..)
898### You can override these if you want to install them somewhere else.
899### Edit feature.h for compile-time settings.
900VIMLOC = $(DATADIR)$(VIMDIR)
901VIMRTLOC = $(DATADIR)$(VIMDIR)$(VIMRTDIR)
902VIMRCLOC = $(VIMLOC)
903HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
904COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
905SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
906INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
907PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
908FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
909LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
910COMPSUBLOC = $(VIMRTLOC)$(COMPSUBDIR)
911KMAPSUBLOC = $(VIMRTLOC)$(KMAPSUBDIR)
912MACROSUBLOC = $(VIMRTLOC)$(MACROSUBDIR)
913TOOLSSUBLOC = $(VIMRTLOC)$(TOOLSSUBDIR)
914TUTORSUBLOC = $(VIMRTLOC)$(TUTORSUBDIR)
915PRINTSUBLOC = $(VIMRTLOC)$(PRINTSUBDIR)
916SCRIPTLOC = $(VIMRTLOC)
917
918### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
919### the runtime directory is not below it.
920#VIMRUNTIMEDIR = $(VIMRTLOC)
921
922### Name of the evim file target.
923EVIM_FILE = $(DESTDIR)$(SCRIPTLOC)/evim.vim
924MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.vim
925
926### Name of the menu file target.
927SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.vim
928SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.vim
929SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.vim
930
931### Name of the bugreport file target.
932SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.vim
933
934### Name of the file type detection file target.
935SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.vim
936
937### Name of the file type detection file target.
938SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.vim
939
940### Name of the file type detection script file target.
941SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.vim
942
943### Name of the ftplugin-on file target.
944SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.vim
945
946### Name of the ftplugin-off file target.
947SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.vim
948
949### Name of the indent-on file target.
950SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.vim
951
952### Name of the indent-off file target.
953SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.vim
954
955### Name of the option window script file target.
956SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.vim
957
958# Program to install the program in the target directory. Could also be "mv".
959INSTALL_PROG = cp
960
961# Program to install the data in the target directory. Cannot be "mv"!
962INSTALL_DATA = cp
963INSTALL_DATA_R = cp -r
964
965### Program to run on installed binary
966#STRIP = strip
967
968### Permissions for binaries {{{1
969BINMOD = 755
970
971### Permissions for man page
972MANMOD = 644
973
974### Permissions for help files
975HELPMOD = 644
976
977### Permissions for Perl and shell scripts
978SCRIPTMOD = 755
979
980### Permission for Vim script files (menu.vim, bugreport.vim, ..)
981VIMSCRIPTMOD = 644
982
983### Permissions for all directories that are created
984DIRMOD = 755
985
986### Permissions for all other files that are created
987FILEMOD = 644
988
989# Where to copy the man and help files from
990HELPSOURCE = ../runtime/doc
991
992# Where to copy the script files from (menu, bugreport)
993SCRIPTSOURCE = ../runtime
994
995# Where to copy the colorscheme files from
996COLSOURCE = ../runtime/colors
997
998# Where to copy the syntax files from
999SYNSOURCE = ../runtime/syntax
1000
1001# Where to copy the indent files from
1002INDSOURCE = ../runtime/indent
1003
1004# Where to copy the standard plugin files from
1005PLUGSOURCE = ../runtime/plugin
1006
1007# Where to copy the ftplugin files from
1008FTPLUGSOURCE = ../runtime/ftplugin
1009
1010# Where to copy the macro files from
1011MACROSOURCE = ../runtime/macros
1012
1013# Where to copy the tools files from
1014TOOLSSOURCE = ../runtime/tools
1015
1016# Where to copy the tutor files from
1017TUTORSOURCE = ../runtime/tutor
1018
1019# Where to look for language specific files
1020LANGSOURCE = ../runtime/lang
1021
1022# Where to look for compiler files
1023COMPSOURCE = ../runtime/compiler
1024
1025# Where to look for keymap files
1026KMAPSOURCE = ../runtime/keymap
1027
1028# Where to look for print resource files
1029PRINTSOURCE = ../runtime/print
1030
1031# If you are using Linux, you might want to use this to make vim the
1032# default vi editor, it will create a link from vi to Vim when doing
1033# "make install". An existing file will be overwritten!
1034# When not using it, some make programs can't handle an undefined $(LINKIT).
1035#LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
1036LINKIT = @echo >/dev/null
1037
1038###
1039### GRAPHICAL USER INTERFACE (GUI). {{{1
1040### 'configure --enable-gui' can enable one of these for you if you did set
1041### a corresponding CONF_OPT_GUI above and have X11.
1042### Override configures choice by uncommenting all the following lines.
1043### As they are, the GUI is disabled. Replace "NONE" with "ATHENA" or "MOTIF"
1044### for enabling the Athena or Motif GUI.
1045#GUI_SRC = $(NONE_SRC)
1046#GUI_OBJ = $(NONE_OBJ)
1047#GUI_DEFS = $(NONE_DEFS)
1048#GUI_IPATH = $(NONE_IPATH)
1049#GUI_LIBS_DIR = $(NONE_LIBS_DIR)
1050#GUI_LIBS1 = $(NONE_LIBS1)
1051#GUI_LIBS2 = $(NONE_LIBS2)
1052#GUI_INSTALL = $(NONE_INSTALL)
1053#GUI_TARGETS = $(NONE_TARGETS)
1054#GUI_MAN_TARGETS= $(NONE_MAN_TARGETS)
1055#GUI_TESTTARGET = $(NONE_TESTTARGET)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001056#GUI_BUNDLE = $(NONE_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001057
1058# Without a GUI install the normal way.
1059NONE_INSTALL = install_normal
1060
Bram Moolenaar843ee412004-06-30 16:16:41 +00001061### KDE GUI interface.
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001062KDE_SRC = gui.c pty.c gui_kde.cc gui_kde_x11.cc gui_kde_wid.cc gui_kde_wid_moc.cc kvim_iface_skel.cc
Bram Moolenaar843ee412004-06-30 16:16:41 +00001063KDE_OBJ = objects/gui.o objects/pty.o objects/gui_kde.o objects/gui_kde_x11.o \
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001064 objects/gui_kde_wid.o objects/gui_kde_wid_moc.o \
Bram Moolenaar843ee412004-06-30 16:16:41 +00001065 objects/kvim_iface_skel.o
1066KDE_DEFS = -DFEAT_GUI_KDE $(NARROW_PROTO)
1067KDE_IPATH = $(GUI_INC_LOC)
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001068KDE_LIBS_DIR = $(GUI_LIB_LOC) # Includes the libraries themselves
1069KDE_DIR = $(KDE_PREFIX)
Bram Moolenaar843ee412004-06-30 16:16:41 +00001070KDE_LIBS1 =
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001071KDE_LIBS2 =
Bram Moolenaar843ee412004-06-30 16:16:41 +00001072KDE_INSTALL = install_normal
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001073KDE_TARGETS = installglinks installkdeicons
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001074KDE_MAN_TARGETS = yes
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001075KDE_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001076KDE_BUNDLE =
Bram Moolenaar843ee412004-06-30 16:16:41 +00001077
Bram Moolenaare1d12892004-06-13 13:02:36 +00001078### GTK GUI
1079GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \
1080 gui_beval.c
1081GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \
1082 objects/pty.o objects/gui_gtk_f.o \
1083 objects/gui_beval.o
1084GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1085GTK_IPATH = $(GUI_INC_LOC)
1086GTK_LIBS_DIR = $(GUI_LIB_LOC)
1087GTK_LIBS1 =
1088GTK_LIBS2 = $(GTK_LIBNAME)
1089GTK_INSTALL = install_normal
1090GTK_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001091GTK_MAN_TARGETS = yes
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001092GTK_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001093GTK_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001094
1095### Motif GUI
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001096MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001097 gui_xmdlg.c gui_xmebw.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001098MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001099 objects/pty.o objects/gui_beval.o \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001100 objects/gui_xmdlg.o objects/gui_xmebw.o
Bram Moolenaare1d12892004-06-13 13:02:36 +00001101MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO)
1102MOTIF_IPATH = $(GUI_INC_LOC)
1103MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1104MOTIF_LIBS1 =
1105MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1106MOTIF_INSTALL = install_normal
1107MOTIF_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001108MOTIF_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001109MOTIF_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001110MOTIF_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001111
1112### Athena GUI
1113### Use Xaw3d to make the menus look a little bit nicer
1114#XAW_LIB = -lXaw3d
1115XAW_LIB = -lXaw
1116
1117### When using Xaw3d, uncomment/comment the following lines to also get the
1118### scrollbars from Xaw3d.
1119#ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1120#ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1121# objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1122#ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO) \
1123# -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \
1124# -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb
1125ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c \
1126 gui_at_sb.c gui_at_fs.c
1127ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1128 objects/pty.o objects/gui_beval.o \
1129 objects/gui_at_sb.o objects/gui_at_fs.o
1130ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO)
1131
1132ATHENA_IPATH = $(GUI_INC_LOC)
1133ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1134ATHENA_LIBS1 = $(XAW_LIB)
1135ATHENA_LIBS2 = -lXt
1136ATHENA_INSTALL = install_normal
1137ATHENA_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001138ATHENA_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001139ATHENA_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001140ATHENA_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001141
1142### neXtaw GUI
1143NEXTAW_LIB = -lneXtaw
1144
1145NEXTAW_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1146NEXTAW_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1147 objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1148NEXTAW_DEFS = -DFEAT_GUI_ATHENA -DFEAT_GUI_NEXTAW $(NARROW_PROTO)
1149
1150NEXTAW_IPATH = $(GUI_INC_LOC)
1151NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1152NEXTAW_LIBS1 = $(NEXTAW_LIB)
1153NEXTAW_LIBS2 = -lXt
1154NEXTAW_INSTALL = install_normal
1155NEXTAW_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001156NEXTAW_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001157NEXTAW_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001158NEXTAW_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001159
1160### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1161# errors: ld: Undefined symbol
1162# _get_wmShellWidgetClass
1163# _get_applicationShellWidgetClass
1164# then you need to get patches 100512-02 and 100573-03 from Sun. In the
1165# meantime, uncomment the following GUI_X_LIBS definition as a workaround:
1166#GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext
1167# If you also get cos, sin etc. as undefined symbols, try uncommenting this
1168# too:
1169#EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm
1170
Bram Moolenaare1d12892004-06-13 13:02:36 +00001171# PHOTON GUI
1172PHOTONGUI_SRC = gui.c gui_photon.c pty.c
1173PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o
1174PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON
1175PHOTONGUI_IPATH =
1176PHOTONGUI_LIBS_DIR =
1177PHOTONGUI_LIBS1 = -lph -lphexlib
1178PHOTONGUI_LIBS2 =
1179PHOTONGUI_INSTALL = install_normal
1180PHOTONGUI_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001181PHOTONGUI_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001182PHOTONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001183PHOTONGUI_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001184
1185# CARBON GUI
1186CARBONGUI_SRC = gui.c gui_mac.c
1187CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o
1188CARBONGUI_DEFS = -DFEAT_GUI_MAC -arch ppc -fno-common -fpascal-strings \
1189 -Wall -Wno-unknown-pragmas \
1190 -mdynamic-no-pic -pipe
1191CARBONGUI_IPATH = -I. -Iproto
1192CARBONGUI_LIBS_DIR =
1193CARBONGUI_LIBS1 = -framework Carbon
1194CARBONGUI_LIBS2 =
1195CARBONGUI_INSTALL = install_macosx
1196CARBONGUI_TARGETS =
1197CARBONGUI_MAN_TARGETS =
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001198CARBONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001199CARBONGUI_BUNDLE = gui_bundle
1200APPDIR = $(VIMNAME).app
1201CARBONGUI_TESTARG = VIMPROG=../$(APPDIR)/Contents/MacOS/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001202
1203# All GUI files
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001204ALL_GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_motif.c gui_xmdlg.c gui_xmebw.c gui_athena.c gui_gtk_x11.c gui_x11.c gui_at_sb.c gui_at_fs.c pty.c gui_kde.cc gui_kde_wid.cc gui_kde_x11.cc gui_kde_wid_moc.cc
Bram Moolenaar323850c2005-01-04 21:24:54 +00001205ALL_GUI_PRO = gui.pro gui_gtk.pro gui_motif.pro gui_xmdlg.pro gui_athena.pro gui_gtk_x11.pro gui_x11.pro gui_w16.pro gui_w32.pro gui_photon.pro
Bram Moolenaare1d12892004-06-13 13:02:36 +00001206
1207# }}}
1208
1209### Command to create dependencies based on #include "..."
1210### prototype headers are ignored due to -DPROTO, system
1211### headers #include <...> are ignored if we use the -MM option, as
1212### e.g. provided by gcc-cpp.
1213### Include FEAT_GUI to get gependency on gui.h
1214CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) $(DEPEND_CFLAGS)
1215
1216# flags for cproto
1217# This is for cproto 3 patchlevel 8 or below
1218# __inline, __attribute__ and __extension__ are not recognized by cproto
1219NO_ATTR = -D__inline= -D"__attribute__\\(x\\)=" -D"__asm__\\(x\\)=" -D__extension__= \
1220-D__restrict="" -D__gnuc_va_list=char -D__builtin_va_list=char
1221
1222#
1223# This is for cproto 3 patchlevel 9 or above (currently 4.6)
1224# __inline and __attribute__ are now recognized by cproto
1225# -D"foo()=" is not supported by all compilers so do not use it
1226# NO_ATTR=
1227#
1228# maybe the "/usr/bin/cc -E" has to be adjusted for some systems
1229# This is for cproto 3.5 patchlevel 3:
1230# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1231#
1232# Use this for cproto 3 patchlevel 6 or below (use "cproto -V" to check):
1233# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1234#
1235# Use this for cproto 3 patchlevel 7 or above (use "cproto -V" to check):
1236PROTO_FLAGS = -m -M__ARGS -d -E"$(CPP)" $(NO_ATTR)
1237
1238
1239################################################
1240## no changes required below this line ##
1241################################################
1242
1243SHELL = /bin/sh
1244
1245.SUFFIXES:
1246.SUFFIXES: .cc .c .o .pro
1247
1248PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001249POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001250
1251ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS)
1252
1253LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca
1254
1255DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1256
1257PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1258
1259ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001260ALL_LIBS = $(GUI_LIBS1) $(GUI_X_LIBS) $(GUI_LIBS2) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(LIBS) $(EXTRA_LIBS) $(MZSCHEME_LIBS) $(PERL_LIBS) $(PYTHON_LIBS) $(TCL_LIBS) $(RUBY_LIBS) $(PROFILE_LIBS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001261
1262# abbreviations
1263DEST_BIN = $(DESTDIR)$(BINDIR)
1264DEST_VIM = $(DESTDIR)$(VIMLOC)
1265DEST_RT = $(DESTDIR)$(VIMRTLOC)
1266DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
1267DEST_COL = $(DESTDIR)$(COLSUBLOC)
1268DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
1269DEST_IND = $(DESTDIR)$(INDSUBLOC)
1270DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
1271DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
1272DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
1273DEST_COMP = $(DESTDIR)$(COMPSUBLOC)
1274DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC)
1275DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1276DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1277DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
1278DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1279DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001280DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001281
1282# We assume that the ".../man/xx/man1/" directory is for latin1 manual pages.
1283# Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/"
1284# directory first.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001285DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
1286DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001287DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR)
1288DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
1289DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001290
1291# BASIC_SRC: files that are always used
1292# GUI_SRC: extra GUI files for current configuration
1293# ALL_GUI_SRC: all GUI files for Unix
1294#
1295# SRC: files used for current configuration
1296# TAGS_SRC: source files used for make tags
1297# TAGS_INCL: include files used for make tags
1298# ALL_SRC: source files used for make depend and make lint
1299
1300TAGS_INCL = *.h
1301
1302BASIC_SRC = \
1303 buffer.c \
1304 charset.c \
1305 diff.c \
1306 digraph.c \
1307 edit.c \
1308 eval.c \
1309 ex_cmds.c \
1310 ex_cmds2.c \
1311 ex_docmd.c \
1312 ex_eval.c \
1313 ex_getln.c \
1314 fileio.c \
1315 fold.c \
1316 getchar.c \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001317 hashtable.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001318 if_cscope.c \
1319 if_xcmdsrv.c \
1320 main.c \
1321 mark.c \
1322 memfile.c \
1323 memline.c \
1324 menu.c \
1325 message.c \
1326 misc1.c \
1327 misc2.c \
1328 move.c \
1329 mbyte.c \
1330 normal.c \
1331 ops.c \
1332 option.c \
1333 os_unix.c \
1334 auto/pathdef.c \
1335 quickfix.c \
1336 regexp.c \
1337 screen.c \
1338 search.c \
1339 syntax.c \
1340 tag.c \
1341 term.c \
1342 ui.c \
1343 undo.c \
1344 version.c \
1345 window.c \
1346 $(OS_EXTRA_SRC)
1347
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001348SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(MZSCHEME_SRC) \
1349 $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(RUBY_SRC) \
1350 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001351
Bram Moolenaar843ee412004-06-30 16:16:41 +00001352TAGS_SRC = *.c *.cpp *.cc if_perl.xs
Bram Moolenaare1d12892004-06-13 13:02:36 +00001353
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001354EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
1355 if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
1356 workshop.c wsdebug.c integration.c netbeans.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001357
1358# All sources, also the ones that are not configured
1359ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC)
1360
1361# Which files to check with lint. Select one of these three lines. ALL_SRC
1362# checks more, but may not work well for checking a GUI that wasn't configured.
1363# The perl sources also don't work well with lint.
1364LINT_SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(PYTHON_SRC) $(TCL_SRC) \
1365 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC) $(NETBEANS_SRC)
1366#LINT_SRC = $(SRC)
1367#LINT_SRC = $(ALL_SRC)
1368
1369OBJ = \
1370 objects/buffer.o \
1371 objects/charset.o \
1372 objects/diff.o \
1373 objects/digraph.o \
1374 objects/edit.o \
1375 objects/eval.o \
1376 objects/ex_cmds.o \
1377 objects/ex_cmds2.o \
1378 objects/ex_docmd.o \
1379 objects/ex_eval.o \
1380 objects/ex_getln.o \
1381 objects/fileio.o \
1382 objects/fold.o \
1383 objects/getchar.o \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001384 objects/hashtable.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001385 $(HANGULIN_OBJ) \
1386 objects/if_cscope.o \
1387 objects/if_xcmdsrv.o \
1388 objects/main.o \
1389 objects/mark.o \
1390 objects/memfile.o \
1391 objects/memline.o \
1392 objects/menu.o \
1393 objects/message.o \
1394 objects/misc1.o \
1395 objects/misc2.o \
1396 objects/move.o \
1397 objects/mbyte.o \
1398 objects/normal.o \
1399 objects/ops.o \
1400 objects/option.o \
1401 objects/os_unix.o \
1402 objects/pathdef.o \
1403 objects/quickfix.o \
1404 objects/regexp.o \
1405 objects/screen.o \
1406 objects/search.o \
1407 objects/syntax.o \
1408 $(SNIFF_OBJ) \
1409 objects/tag.o \
1410 objects/term.o \
1411 objects/ui.o \
1412 objects/undo.o \
1413 objects/window.o \
1414 $(GUI_OBJ) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001415 $(MZSCHEME_OBJ) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001416 $(PERL_OBJ) \
1417 $(PYTHON_OBJ) \
1418 $(TCL_OBJ) \
1419 $(RUBY_OBJ) \
1420 $(OS_EXTRA_OBJ) \
1421 $(WORKSHOP_OBJ) \
1422 $(NETBEANS_OBJ) \
1423 $(WSDEBUG_OBJ)
1424
1425PRO_AUTO = \
1426 buffer.pro \
1427 charset.pro \
1428 diff.pro \
1429 digraph.pro \
1430 edit.pro \
1431 eval.pro \
1432 ex_cmds.pro \
1433 ex_cmds2.pro \
1434 ex_docmd.pro \
1435 ex_eval.pro \
1436 ex_getln.pro \
1437 fileio.pro \
1438 fold.pro \
1439 getchar.pro \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001440 hashtable.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001441 hangulin.pro \
1442 if_cscope.pro \
1443 if_xcmdsrv.pro \
1444 if_python.pro \
1445 if_ruby.pro \
1446 main.pro \
1447 mark.pro \
1448 memfile.pro \
1449 memline.pro \
1450 menu.pro \
1451 message.pro \
1452 misc1.pro \
1453 misc2.pro \
1454 move.pro \
1455 mbyte.pro \
1456 normal.pro \
1457 ops.pro \
1458 option.pro \
1459 os_unix.pro \
1460 quickfix.pro \
1461 regexp.pro \
1462 screen.pro \
1463 search.pro \
1464 syntax.pro \
1465 tag.pro \
1466 term.pro \
1467 termlib.pro \
1468 ui.pro \
1469 undo.pro \
1470 version.pro \
1471 window.pro \
1472 gui_beval.pro \
1473 workshop.pro \
1474 netbeans.pro \
1475 $(ALL_GUI_PRO) \
1476 $(TCL_PRO)
1477
1478PRO_MANUAL = os_amiga.pro os_msdos.pro os_win16.pro os_win32.pro \
1479 os_mswin.pro os_beos.pro os_vms.pro os_riscos.pro $(PERL_PRO)
1480
1481# Default target is making the executable and tools
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001482all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001483
1484tools: $(TOOLS)
1485
1486# Run configure with all the setting from above.
1487#
1488# Note: auto/config.h doesn't depend on configure, because running configure
1489# doesn't always update auto/config.h. The timestamp isn't changed if the
1490# file contents didn't change (to avoid recompiling everything). Including a
1491# dependency on auto/config.h would cause running configure each time when
1492# auto/config.h isn't updated. The dependency on auto/config.mk should make
1493# sure configure is run when it's needed.
1494#
1495config auto/config.mk: auto/configure config.mk.in config.h.in
1496 GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
1497 CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
1498 LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
1499 ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
1500 $(CONF_OPT_DARWIN) $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) \
1501 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
1502 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
1503 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1504 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1505 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001506 $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001507
1508# Use "make reconfig" to rerun configure without cached values.
1509# When config.h changes, most things will be recompiled automatically.
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001510# Invoke $(MAKE) to run config with the empty auto/config.mk.
1511# Invoke $(MAKE) to build all with the filled auto/config.mk.
1512reconfig: scratch clean
1513 $(MAKE) -f Makefile config
1514 $(MAKE) -f Makefile all
Bram Moolenaare1d12892004-06-13 13:02:36 +00001515
1516# Run autoconf to produce auto/configure.
1517# Note:
1518# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
1519# producing auto/configure.
1520# - autoconf is not run automatically, because a patch usually changes both
1521# configure.in and auto/configure but can't update the timestamps. People
1522# who do not have (the correct version of) autoconf would run into trouble.
1523#
1524# Two tricks are required to make autoconf put its output in the "auto" dir:
1525# - Temporarily move the ./configure script to ./configure.save. Don't
1526# overwrite it, it's probably the result of an aborted autoconf.
1527# - Use sed to change ./config.log to auto/config.log in the configure script.
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001528# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
1529# care of:
1530# - configure.lineno: has the line numbers replaced with $LINENO. That
1531# improves patches a LOT, thus use it instead (until someone says it doesn't
1532# work on some system).
1533# - autom4te.cache directory is created and not cleaned up. Delete it.
1534# - Uses ">config.log" instead of "./config.log".
Bram Moolenaare1d12892004-06-13 13:02:36 +00001535autoconf:
1536 if test ! -f configure.save; then mv configure configure.save; fi
1537 autoconf
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001538 sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure
Bram Moolenaare1d12892004-06-13 13:02:36 +00001539 chmod 755 auto/configure
1540 mv -f configure.save configure
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001541 -rm -rf autom4te.cache
Bram Moolenaare1d12892004-06-13 13:02:36 +00001542 -rm -f auto/config.status auto/config.cache
1543
1544# Re-execute this Makefile to include the new auto/config.mk produced by
1545# configure Only used when typing "make" with a fresh auto/config.mk.
1546myself:
1547 $(MAKE) -f Makefile all
1548
1549
1550# The normal command to compile a .c file to its .o file.
1551CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
1552
1553
1554# Link the target for normal use or debugging.
1555# A shell script is used to try linking without unneccesary libraries.
1556$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
1557 $(CCC) version.c -o objects/version.o
1558 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
1559 -o $(VIMTARGET) $(OBJ) objects/version.o $(ALL_LIBS)" \
1560 MAKE="$(MAKE)" sh $(srcdir)/link.sh
1561
1562xxd/xxd$(EXEEXT): xxd/xxd.c
1563 cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
1564 $(MAKE) -f Makefile
1565
1566# Build the language specific files if they were unpacked.
1567# Generate the converted .mo files separately, it's no problem if this fails.
1568languages:
1569 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1570 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
1571 fi
1572 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1573 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
1574 fi
1575
1576# Update the *.po files for changes in the sources. Only run manually.
1577update-po:
1578 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
1579
1580# Generate function prototypes. This is not needed to compile vim, but if
1581# you want to use it, cproto is out there on the net somewhere -- Webb
1582#
1583# When generating os_amiga.pro, os_msdos.pro and os_win32.pro there will be a
1584# few include files that can not be found, that's OK.
1585
1586proto: $(PRO_AUTO) $(PRO_MANUAL)
1587
1588### Would be nice if this would work for "normal" make.
1589### Currently it only works for (Free)BSD make.
1590#$(PRO_AUTO): $$(*F).c
1591# cproto $(PFLAGS) -DFEAT_GUI $(*F).c > $@
1592
1593# Always define FEAT_GUI. This may generate a few warnings if it's also
1594# defined in auto/config.h, you can ignore that.
1595.c.pro:
1596 cproto $(PFLAGS) -DFEAT_GUI $< > proto/$@
1597 echo "/* vim: set ft=c : */" >> proto/$@
1598
1599os_amiga.pro: os_amiga.c
1600 cproto $(PFLAGS) -DAMIGA -UHAVE_CONFIG_H -DBPTR=char* $< > proto/$@
1601 echo "/* vim: set ft=c : */" >> proto/$@
1602
1603os_msdos.pro: os_msdos.c
1604 cproto $(PFLAGS) -DMSDOS -UHAVE_CONFIG_H $< > proto/$@
1605 echo "/* vim: set ft=c : */" >> proto/$@
1606
1607os_win16.pro: os_win16.c
1608 cproto $(PFLAGS) -DWIN16 -UHAVE_CONFIG_H $< > proto/$@
1609 echo "/* vim: set ft=c : */" >> proto/$@
1610
1611os_win32.pro: os_win32.c
1612 cproto $(PFLAGS) -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1613 echo "/* vim: set ft=c : */" >> proto/$@
1614
1615os_mswin.pro: os_mswin.c
1616 cproto $(PFLAGS) -DWIN16 -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1617 echo "/* vim: set ft=c : */" >> proto/$@
1618
1619os_beos.pro: os_beos.c
1620 cproto $(PFLAGS) -D__BEOS__ -UHAVE_CONFIG_H $< > proto/$@
1621 echo "/* vim: set ft=c : */" >> proto/$@
1622
1623os_vms.pro: os_vms.c
1624# must use os_vms_conf.h for auto/config.h
1625 mv auto/config.h auto/config.h.save
1626 cp os_vms_conf.h auto/config.h
1627 cproto $(PFLAGS) -DVMS -UFEAT_GUI_ATHENA -UFEAT_GUI_NEXTAW -UFEAT_GUI_MOTIF -UFEAT_GUI_GTK $< > proto/$@
1628 echo "/* vim: set ft=c : */" >> proto/$@
1629 rm auto/config.h
1630 mv auto/config.h.save auto/config.h
1631
1632# if_perl.pro is special: Use the generated if_perl.c for input and remove
1633# prototypes for local functions.
1634if_perl.pro: auto/if_perl.c
1635 cproto $(PFLAGS) -DFEAT_GUI auto/if_perl.c | sed "/_VI/d" > proto/$@
1636
1637
1638notags:
1639 -rm -f tags
1640
1641# Note: tags is made for the currently configured version, can't include both
1642# Motif and Athena GUI
1643# You can ignore error messages for missing files.
1644tags TAGS: notags
1645 $(TAGPRG) $(TAGS_SRC) $(TAGS_INCL)
1646
1647# Make a highlight file for types. Requires Exuberant ctags and awk
1648types: types.vim
1649types.vim: $(TAGS_SRC) $(TAGS_INCL)
1650 ctags --c-kinds=gstu -o- $(TAGS_SRC) $(TAGS_INCL) |\
1651 awk 'BEGIN{printf("syntax keyword Type\t")}\
1652 {printf("%s ", $$1)}END{print ""}' > $@
1653
1654# Execute the test scripts. Run these after compiling Vim, before installing.
1655# This doesn't depend on $(VIMTARGET), because that won't work when configure
1656# wasn't run yet. Restart make to build it instead.
1657#
1658# This will produce a lot of garbage on your screen, including a few error
1659# messages. Don't worry about that.
1660# If there is a real error, there will be a difference between "test.out" and
1661# a "test99.ok" file.
1662# If everything is allright, the final message will be "ALL DONE".
1663#
1664test check:
1665 $(MAKE) -f Makefile $(VIMTARGET)
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001666 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001667
1668testclean:
1669 cd testdir; $(MAKE) -f Makefile clean
1670
1671#
1672# Avoid overwriting an existing executable, somebody might be running it and
1673# overwriting it could cause it to crash. Deleting it is OK, it won't be
1674# really deleted until all running processes for it have exited. It is
1675# renamed first, in case the deleting doesn't work.
1676#
1677# If you want to keep an older version, rename it before running "make
1678# install".
1679#
1680install: $(GUI_INSTALL)
1681
1682install_normal: installvim installtools install-languages install-icons
1683
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001684installvim: installvimbin installruntime installlinks installmanlinks installmacros installtutor
Bram Moolenaare1d12892004-06-13 13:02:36 +00001685
1686installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1687 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1688 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1689 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
1690 fi
1691 $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
1692 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
1693 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
1694# may create a link to the new executable from /usr/bin/vi
1695 -$(LINKIT)
1696
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001697# Long list of arguments for the shell script that installs the manual pages
1698# for one language.
1699INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
1700 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
1701
1702# install the help files; first adjust the contents for the final location
1703installruntime: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001704 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
1705 $(DEST_FTP) $(DEST_PLUG) $(DEST_TUTOR) $(DEST_COMP)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001706 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001707 @echo generating help tags
1708# Generate the help tags with ":helptags" to handle all languages.
1709 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
1710 cd $(HELPSOURCE); \
1711 files=`ls *.txt tags`; \
1712 files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \
1713 $(INSTALL_DATA) $$files $(DEST_HELP); \
1714 cd $(DEST_HELP); \
1715 chmod $(HELPMOD) $$files
1716 $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
1717 chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
1718# install the menu files
1719 $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
1720 chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
1721 $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.vim $(SYS_SYNMENU_FILE)
1722 chmod $(VIMSCRIPTMOD) $(SYS_SYNMENU_FILE)
1723 $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.vim $(SYS_DELMENU_FILE)
1724 chmod $(VIMSCRIPTMOD) $(SYS_DELMENU_FILE)
1725# install the evim file
1726 $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.vim $(MSWIN_FILE)
1727 chmod $(VIMSCRIPTMOD) $(MSWIN_FILE)
1728 $(INSTALL_DATA) $(SCRIPTSOURCE)/evim.vim $(EVIM_FILE)
1729 chmod $(VIMSCRIPTMOD) $(EVIM_FILE)
1730# install the bugreport file
1731 $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.vim $(SYS_BUGR_FILE)
1732 chmod $(VIMSCRIPTMOD) $(SYS_BUGR_FILE)
1733# install the example vimrc files
1734 $(INSTALL_DATA) $(SCRIPTSOURCE)/vimrc_example.vim $(DEST_SCRIPT)
1735 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/vimrc_example.vim
1736 $(INSTALL_DATA) $(SCRIPTSOURCE)/gvimrc_example.vim $(DEST_SCRIPT)
1737 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/gvimrc_example.vim
1738# install the file type detection files
1739 $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.vim $(SYS_FILETYPE_FILE)
1740 chmod $(VIMSCRIPTMOD) $(SYS_FILETYPE_FILE)
1741 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.vim $(SYS_FTOFF_FILE)
1742 chmod $(VIMSCRIPTMOD) $(SYS_FTOFF_FILE)
1743 $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.vim $(SYS_SCRIPTS_FILE)
1744 chmod $(VIMSCRIPTMOD) $(SYS_SCRIPTS_FILE)
1745 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.vim $(SYS_FTPLUGIN_FILE)
1746 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGIN_FILE)
1747 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.vim $(SYS_FTPLUGOF_FILE)
1748 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGOF_FILE)
1749 $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.vim $(SYS_INDENT_FILE)
1750 chmod $(VIMSCRIPTMOD) $(SYS_INDENT_FILE)
1751 $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.vim $(SYS_INDOFF_FILE)
1752 chmod $(VIMSCRIPTMOD) $(SYS_INDOFF_FILE)
1753 $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.vim $(SYS_OPTWIN_FILE)
1754 chmod $(VIMSCRIPTMOD) $(SYS_OPTWIN_FILE)
1755# install the print resource files
1756 cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT)
1757 cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
1758# install the colorscheme files
1759 cd $(COLSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COL)
1760 cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt
1761# install the syntax files
1762 cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
1763 cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
1764# install the indent files
1765 cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
1766 cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
1767# install the standard plugin files
1768 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
1769 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
1770# install the ftplugin files
1771 cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_FTP)
1772 cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
1773# install the compiler files
1774 cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
1775 cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
1776
1777installmacros: $(MACROSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_MACRO)
1778 $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO)
1779 chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print`
1780 chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
1781 chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
1782# When using CVS some CVS directories might have been copied.
1783 cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR \) -print`; \
1784 if test -n "$$cvs"; then \
1785 rm -rf $$cvs; \
1786 fi
1787
1788# install the tutor files
1789installtutor: $(TUTORSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TUTOR)
1790 $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1791 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
1792 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
1793 chmod $(HELPMOD) $(DEST_TUTOR)/*
1794
1795# install helper program xxd
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001796installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001797 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS)
1798 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
1799 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
1800 rm -f $(DEST_BIN)/xxd.rm; \
1801 fi
1802 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
1803 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
1804 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001805 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
1806 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001807 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001808 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001809 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001810# install the runtime tools
1811 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
1812# When using CVS some CVS directories might have been copied.
1813 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
1814 if test -n "$$cvs"; then \
1815 rm -rf $$cvs; \
1816 fi
1817 -chmod $(FILEMOD) $(DEST_TOOLS)/*
1818# replace the path in some tools
1819 perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl
1820 awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1821 awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1822 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
1823 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
1824
1825# install the language specific files, if they were unpacked
1826install-languages: languages $(DEST_LANG) $(DEST_KMAP)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001827 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001828 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001829 -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001830 -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001831 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1832 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001833 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001834 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
1835 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001836 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001837 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1838 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001839 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1840 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
1841 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
1842 fi
1843 if test -d $(LANGSOURCE); then \
1844 $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.vim $(DEST_LANG); \
1845 chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.vim; \
1846 fi
1847 if test -d $(KMAPSOURCE); then \
1848 $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.vim $(DEST_KMAP); \
1849 chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.vim; \
1850 fi
1851
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001852# Install the icons for the KDE GUI. This differs from the KDE icons for
1853# other GUIs.
Bram Moolenaar843ee412004-06-30 16:16:41 +00001854installkdeicons:
1855 mkdir -p $(DESTDIR)$(KDE_DIR)/share/applnk/Editors/
1856 mkdir -p $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/32x32/apps/
1857 mkdir -p $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/48x48/apps/
1858 mkdir -p $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/22x22/actions/
1859 mkdir -p $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/16x16/actions/
1860 mkdir -p $(DESTDIR)$(KDE_DIR)/share/apps/kvim
1861
1862 cp ../runtime/KVim.desktop $(DESTDIR)$(KDE_DIR)/share/applnk/Editors/ && chmod 644 $(DESTDIR)$(KDE_DIR)/share/applnk/Editors/KVim.desktop
1863 cp ../runtime/kvim32x32.png $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/32x32/apps/kvim.png && chmod 644 $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/32x32/apps/kvim.png
1864 cp ../runtime/kvim48x48.png $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/48x48/apps/kvim.png && chmod 644 $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/48x48/apps/kvim.png
1865 cp ../runtime/hi16-action-make.png $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/16x16/actions/hi16-action-make.png
1866 cp ../runtime/hi22-action-make.png $(DESTDIR)$(KDE_DIR)/share/icons/hicolor/22x22/actions/hi22-action-make.png
1867 cp ../runtime/kde-tips $(DESTDIR)$(KDE_DIR)/share/apps/kvim/tips && chmod 644 $(DESTDIR)$(KDE_DIR)/share/apps/kvim/tips
1868
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001869# install the icons for KDE, if the directory exists and the icon doesn't.
Bram Moolenaare1d12892004-06-13 13:02:36 +00001870ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
1871ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
1872ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
1873KDEPATH = $(HOME)/.kde/share/icons
1874install-icons:
1875 if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
1876 -a ! -f $(ICON48PATH)/gvim.png; then \
1877 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; \
1878 fi
1879 if test -d $(ICON32PATH) -a -w $(ICON32PATH) \
1880 -a ! -f $(ICON32PATH)/gvim.png; then \
1881 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim32x32.png $(ICON32PATH)/gvim.png; \
1882 fi
1883 if test -d $(ICON16PATH) -a -w $(ICON16PATH) \
1884 -a ! -f $(ICON16PATH)/gvim.png; then \
1885 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
1886 fi
1887
1888
1889$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
1890 @echo Runtime files not found.
1891 @echo You need to unpack the runtime archive before running "make install".
1892 test -f error
1893
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001894$(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1895 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001896 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
1897 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
1898 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_PLUG):
1899 -$(SHELL) ./mkinstalldirs $@
1900 -chmod $(DIRMOD) $@
1901
1902# create links from various names to vim. This is only done when the links
1903# (or executables with the same name) don't exist yet.
1904installlinks: $(GUI_TARGETS) \
1905 $(DEST_BIN)/$(EXTARGET) \
1906 $(DEST_BIN)/$(VIEWTARGET) \
1907 $(DEST_BIN)/$(RVIMTARGET) \
1908 $(DEST_BIN)/$(RVIEWTARGET) \
1909 $(INSTALLVIMDIFF)
1910
1911installglinks: $(DEST_BIN)/$(GVIMTARGET) \
1912 $(DEST_BIN)/$(GVIEWTARGET) \
1913 $(DEST_BIN)/$(RGVIMTARGET) \
1914 $(DEST_BIN)/$(RGVIEWTARGET) \
1915 $(DEST_BIN)/$(EVIMTARGET) \
1916 $(DEST_BIN)/$(EVIEWTARGET) \
1917 $(INSTALLGVIMDIFF)
1918
1919installvimdiff: $(DEST_BIN)/$(VIMDIFFTARGET)
1920installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
1921
1922$(DEST_BIN)/$(EXTARGET):
1923 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EXTARGET)
1924
1925$(DEST_BIN)/$(VIEWTARGET):
1926 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIEWTARGET)
1927
1928$(DEST_BIN)/$(GVIMTARGET):
1929 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMTARGET)
1930
1931$(DEST_BIN)/$(GVIEWTARGET):
1932 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIEWTARGET)
1933
1934$(DEST_BIN)/$(RVIMTARGET):
1935 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIMTARGET)
1936
1937$(DEST_BIN)/$(RVIEWTARGET):
1938 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIEWTARGET)
1939
1940$(DEST_BIN)/$(RGVIMTARGET):
1941 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIMTARGET)
1942
1943$(DEST_BIN)/$(RGVIEWTARGET):
1944 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIEWTARGET)
1945
1946$(DEST_BIN)/$(VIMDIFFTARGET):
1947 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIMDIFFTARGET)
1948
1949$(DEST_BIN)/$(GVIMDIFFTARGET):
1950 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMDIFFTARGET)
1951
1952$(DEST_BIN)/$(EVIMTARGET):
1953 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIMTARGET)
1954
1955$(DEST_BIN)/$(EVIEWTARGET):
1956 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
1957
1958# create links for the manual pages with various names to vim. This is only
1959# done when the links (or manpages with the same name) don't exist yet.
Bram Moolenaare1d12892004-06-13 13:02:36 +00001960
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001961INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
1962 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
1963 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
1964 $(GVIMDIFFNAME) $(EVIEWNAME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001965
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001966installmanlinks:
1967 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1968 $(DEST_MAN) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001969
1970uninstall: uninstall_runtime
1971 -rm -f $(DEST_BIN)/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001972 -rm -f $(DEST_BIN)/vimtutor
Bram Moolenaare1d12892004-06-13 13:02:36 +00001973 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
1974 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
1975 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
1976 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
1977 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
1978 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001979 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001980
1981# Note: the "rmdir" will fail if any files were added after "make install"
1982uninstall_runtime:
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001983 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001984 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS)
1985 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS)
1986 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS)
1987 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001988 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
1989 $(DEST_MAN) $(INSTALLMLARGS)
1990 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
1991 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001992 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001993 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
1994 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001995 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001996 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
1997 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
1998 -rm -f $(DEST_MAN)/xxd.1
1999 -rm -f $(DEST_MAN_IT)/xxd.1 $(DEST_MAN_IT_U)/xxd.1
2000 -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1
Bram Moolenaare1d12892004-06-13 13:02:36 +00002001 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2002 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2003 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2004 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2005 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim
2006 -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE)
2007 -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE)
2008 -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE)
2009 -rm -f $(SYS_OPTWIN_FILE)
2010 -rm -f $(DEST_COL)/*.vim $(DEST_COL)/README.txt
2011 -rm -f $(DEST_SYN)/*.vim $(DEST_SYN)/README.txt
2012 -rm -f $(DEST_IND)/*.vim $(DEST_IND)/README.txt
2013 -rm -rf $(DEST_MACRO)
2014 -rm -rf $(DEST_TUTOR)
2015 -rm -rf $(DEST_TOOLS)
2016 -rm -rf $(DEST_LANG)
2017 -rm -rf $(DEST_KMAP)
2018 -rm -rf $(DEST_COMP)
2019 -rm -f $(DEST_PRINT)/*.ps
2020 -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
2021 -rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt
2022 -rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
2023 -rmdir $(DEST_FTP) $(DEST_PLUG) $(DEST_RT)
2024# This will fail when other Vim versions are installed, no worries.
2025 -rmdir $(DEST_VIM)
2026
2027# Clean up all the files that have been produced, except configure's.
2028# We support common typing mistakes for Juergen! :-)
2029clean celan: testclean
2030 -rm -f *.o objects/* core $(VIMTARGET).core $(VIMTARGET) xxd/*.o
2031 -rm -f $(TOOLS) auto/osdef.h auto/pathdef.c auto/if_perl.c
2032 -rm -f conftest* *~ auto/link.sed
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002033 -rm -rf $(APPDIR)
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002034 -rm -f gui_kde_wid_moc.cc kvim_iface_skel.cc *.kidl
Bram Moolenaare1d12892004-06-13 13:02:36 +00002035 if test -d $(PODIR); then \
2036 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
2037 fi
2038
2039# Make a shadow directory for compilation on another system or with different
2040# features.
2041SHADOWDIR = shadow
2042
2043shadow: runtime pixmaps
2044 mkdir $(SHADOWDIR)
2045 cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
2046 mkdir $(SHADOWDIR)/auto
2047 cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
2048 cd $(SHADOWDIR); rm -f auto/link.sed
2049 cp Makefile configure $(SHADOWDIR)
2050 rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
2051 cp config.mk.dist $(SHADOWDIR)/auto/config.mk
2052 cp config.mk.dist $(SHADOWDIR)
2053 mkdir $(SHADOWDIR)/xxd
2054 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
2055 mkdir $(SHADOWDIR)/testdir
2056 cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
2057 ../../testdir/vimrc.unix \
2058 ../../testdir/*.in \
2059 ../../testdir/unix.vim \
2060 ../../testdir/*.ok .
2061
2062# Link needed for doing "make install" in a shadow directory.
2063runtime:
2064 -ln -s ../runtime .
2065
2066# Link needed for doing "make" using GTK in a shadow directory.
2067pixmaps:
2068 -ln -s ../pixmaps .
2069
2070# Update the synmenu.vim file with the latest Syntax menu.
2071# This is only needed when runtime/makemenu.vim was changed.
2072menu: ./vim ../runtime/makemenu.vim
2073 ./vim -u ../runtime/makemenu.vim
2074
2075# Start configure from scratch
2076scrub scratch:
2077 -rm -f auto/config.status auto/config.cache config.log auto/config.log
2078 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
2079 touch auto/config.h
2080 cp config.mk.dist auto/config.mk
2081
2082distclean: clean scratch
2083 -rm -f tags
2084
2085dist: distclean
2086 @echo
2087 @echo Making the distribution has to be done in the top directory
2088
2089mdepend:
2090 -@rm -f Makefile~
2091 cp Makefile Makefile~
2092 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2093 @for i in $(ALL_SRC) ; do \
2094 echo "$$i" ; \
2095 echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\
2096 $(CPP) $$i |\
2097 grep '^# .*"\./.*\.h"' |\
2098 sort -t'"' -u +1 -2 |\
2099 sed -e 's/.*"\.\/\(.*\)".*/\1/'\
2100 ` >> tmp_make ; \
2101 done
2102 mv tmp_make Makefile
2103
2104depend:
2105 -@rm -f Makefile~
2106 cp Makefile Makefile~
2107 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2108 -for i in $(ALL_SRC); do echo $$i; \
2109 $(CPP_DEPEND) $$i | \
2110 sed -e 's+^\([^ ]*\.o\)+objects/\1+' >> tmp_make; done
2111 mv tmp_make Makefile
2112
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002113# Run lint. Clean up the *.ln files that are sometimes left behind.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002114lint:
2115 lint $(LINT_OPTIONS) $(LINT_CFLAGS) -DUSE_SNIFF -DHANGUL_INPUT $(LINT_SRC)
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002116 -rm -f *.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002117
2118# Check dosinst.c with lint.
2119lintinstall:
2120 lint $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002121 -rm -f dosinst.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002122
2123###########################################################################
2124
2125.c.o:
2126 $(CCC) $<
2127
2128.cc.o:
2129 $(CCC) $<
2130
2131auto/if_perl.c: if_perl.xs
2132 $(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
2133 $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
2134 $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
2135
2136auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
2137 CC="$(CC) $(ALL_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
2138
2139QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
2140auto/pathdef.c: Makefile auto/config.mk
2141 -@echo creating $@
2142 -@echo '/* pathdef.c */' > $@
2143 -@echo '/* This file is automatically created by Makefile' >> $@
2144 -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@
2145 -@echo '#include "vim.h"' >> $@
2146 -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
2147 -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
2148 -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@
2149 -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@
2150 -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
2151 -@if test -n "$(COMPILEDBY)"; then \
2152 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
2153 else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
2154 -@echo '";' >> $@
2155 -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
2156 -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
2157 -@echo '";' >> $@
2158 -@sh $(srcdir)/pathdef.sh
2159
2160# All the object files are put in the "objects" directory. Since not all make
2161# commands understand putting object files in another directory, it must be
2162# specified for each file separately.
2163
2164objects:
2165 mkdir objects
2166
2167objects/buffer.o: buffer.c
2168 $(CCC) -o $@ buffer.c
2169
2170objects/charset.o: charset.c
2171 $(CCC) -o $@ charset.c
2172
2173objects/diff.o: diff.c
2174 $(CCC) -o $@ diff.c
2175
2176objects/digraph.o: digraph.c
2177 $(CCC) -o $@ digraph.c
2178
2179objects/edit.o: edit.c
2180 $(CCC) -o $@ edit.c
2181
2182objects/eval.o: eval.c
2183 $(CCC) -o $@ eval.c
2184
2185objects/ex_cmds.o: ex_cmds.c
2186 $(CCC) -o $@ ex_cmds.c
2187
2188objects/ex_cmds2.o: ex_cmds2.c
2189 $(CCC) -o $@ ex_cmds2.c
2190
2191objects/ex_docmd.o: ex_docmd.c
2192 $(CCC) -o $@ ex_docmd.c
2193
2194objects/ex_eval.o: ex_eval.c
2195 $(CCC) -o $@ ex_eval.c
2196
2197objects/ex_getln.o: ex_getln.c
2198 $(CCC) -o $@ ex_getln.c
2199
2200objects/fileio.o: fileio.c
2201 $(CCC) -o $@ fileio.c
2202
2203objects/fold.o: fold.c
2204 $(CCC) -o $@ fold.c
2205
2206objects/getchar.o: getchar.c
2207 $(CCC) -o $@ getchar.c
2208
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002209objects/hashtable.o: hashtable.c
2210 $(CCC) -o $@ hashtable.c
2211
Bram Moolenaare1d12892004-06-13 13:02:36 +00002212objects/gui.o: gui.c
2213 $(CCC) -o $@ gui.c
2214
2215objects/gui_at_fs.o: gui_at_fs.c
2216 $(CCC) -o $@ gui_at_fs.c
2217
2218objects/gui_at_sb.o: gui_at_sb.c
2219 $(CCC) -o $@ gui_at_sb.c
2220
2221objects/gui_athena.o: gui_athena.c
2222 $(CCC) -o $@ gui_athena.c
2223
Bram Moolenaare1d12892004-06-13 13:02:36 +00002224objects/gui_beval.o: gui_beval.c
2225 $(CCC) -o $@ gui_beval.c
2226
2227objects/gui_gtk.o: gui_gtk.c
2228 $(CCC) -o $@ gui_gtk.c
2229
2230objects/gui_gtk_f.o: gui_gtk_f.c
2231 $(CCC) -o $@ gui_gtk_f.c
2232
2233objects/gui_gtk_x11.o: gui_gtk_x11.c
2234 $(CCC) -o $@ gui_gtk_x11.c
2235
2236objects/gui_motif.o: gui_motif.c
2237 $(CCC) -o $@ gui_motif.c
2238
Bram Moolenaardfccaf02004-12-31 20:56:11 +00002239objects/gui_xmdlg.o: gui_xmdlg.c
2240 $(CCC) -o $@ gui_xmdlg.c
2241
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00002242objects/gui_xmebw.o: gui_xmebw.c
2243 $(CCC) -o $@ gui_xmebw.c
2244
Bram Moolenaare1d12892004-06-13 13:02:36 +00002245objects/gui_x11.o: gui_x11.c
2246 $(CCC) -o $@ gui_x11.c
2247
2248objects/gui_photon.o: gui_photon.c
2249 $(CCC) -o $@ gui_photon.c
2250
2251objects/gui_mac.o: gui_mac.c
2252 $(CCC) -o $@ gui_mac.c
2253
2254objects/hangulin.o: hangulin.c
2255 $(CCC) -o $@ hangulin.c
2256
2257objects/if_cscope.o: if_cscope.c
2258 $(CCC) -o $@ if_cscope.c
2259
2260objects/if_xcmdsrv.o: if_xcmdsrv.c
2261 $(CCC) -o $@ if_xcmdsrv.c
2262
Bram Moolenaar325b7a22004-07-05 15:58:32 +00002263objects/if_mzsch.o: if_mzsch.c
2264 $(CCC) -o $@ if_mzsch.c
2265
Bram Moolenaare1d12892004-06-13 13:02:36 +00002266objects/if_perl.o: auto/if_perl.c
2267 $(CCC) -o $@ auto/if_perl.c
2268
2269objects/if_perlsfio.o: if_perlsfio.c
2270 $(CCC) -o $@ if_perlsfio.c
2271
2272objects/if_python.o: if_python.c
2273 $(CCC) -o $@ if_python.c
2274
2275objects/if_ruby.o: if_ruby.c
2276 $(CCC) -o $@ if_ruby.c
2277
2278objects/if_sniff.o: if_sniff.c
2279 $(CCC) -o $@ if_sniff.c
2280
2281objects/if_tcl.o: if_tcl.c
2282 $(CCC) -o $@ if_tcl.c
2283
2284objects/integration.o: integration.c
2285 $(CCC) -o $@ integration.c
2286
2287objects/main.o: main.c
2288 $(CCC) -o $@ main.c
2289
2290objects/mark.o: mark.c
2291 $(CCC) -o $@ mark.c
2292
2293objects/memfile.o: memfile.c
2294 $(CCC) -o $@ memfile.c
2295
2296objects/memline.o: memline.c
2297 $(CCC) -o $@ memline.c
2298
2299objects/menu.o: menu.c
2300 $(CCC) -o $@ menu.c
2301
2302objects/message.o: message.c
2303 $(CCC) -o $@ message.c
2304
2305objects/misc1.o: misc1.c
2306 $(CCC) -o $@ misc1.c
2307
2308objects/misc2.o: misc2.c
2309 $(CCC) -o $@ misc2.c
2310
2311objects/move.o: move.c
2312 $(CCC) -o $@ move.c
2313
2314objects/mbyte.o: mbyte.c
2315 $(CCC) -o $@ mbyte.c
2316
2317objects/normal.o: normal.c
2318 $(CCC) -o $@ normal.c
2319
2320objects/ops.o: ops.c
2321 $(CCC) -o $@ ops.c
2322
2323objects/option.o: option.c
2324 $(CCC) -o $@ option.c
2325
2326objects/os_beos.o: os_beos.c
2327 $(CCC) -o $@ os_beos.c
2328
2329objects/os_qnx.o: os_qnx.c
2330 $(CCC) -o $@ os_qnx.c
2331
2332objects/os_macosx.o: os_macosx.c
2333 $(CCC) -o $@ os_macosx.c
2334
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002335objects/os_mac_conv.o: os_mac_conv.c
2336 $(CCC) -o $@ os_mac_conv.c
2337
Bram Moolenaare1d12892004-06-13 13:02:36 +00002338objects/os_unix.o: os_unix.c
2339 $(CCC) -o $@ os_unix.c
2340
2341objects/pathdef.o: auto/pathdef.c
2342 $(CCC) -o $@ auto/pathdef.c
2343
2344objects/py_config.o: $(PYTHON_CONFDIR)/config.c
2345 $(CCC) -o $@ $(PYTHON_CONFDIR)/config.c \
2346 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN
2347
2348objects/py_getpath.o: $(PYTHON_CONFDIR)/getpath.c
2349 $(CCC) -o $@ $(PYTHON_CONFDIR)/getpath.c \
2350 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN \
2351 $(PYTHON_GETPATH_CFLAGS)
2352
2353objects/pty.o: pty.c
2354 $(CCC) -o $@ pty.c
2355
2356objects/quickfix.o: quickfix.c
2357 $(CCC) -o $@ quickfix.c
2358
2359objects/regexp.o: regexp.c
2360 $(CCC) -o $@ regexp.c
2361
2362objects/screen.o: screen.c
2363 $(CCC) -o $@ screen.c
2364
2365objects/search.o: search.c
2366 $(CCC) -o $@ search.c
2367
2368objects/syntax.o: syntax.c
2369 $(CCC) -o $@ syntax.c
2370
2371objects/tag.o: tag.c
2372 $(CCC) -o $@ tag.c
2373
2374objects/term.o: term.c
2375 $(CCC) -o $@ term.c
2376
2377objects/ui.o: ui.c
2378 $(CCC) -o $@ ui.c
2379
2380objects/undo.o: undo.c
2381 $(CCC) -o $@ undo.c
2382
2383objects/window.o: window.c
2384 $(CCC) -o $@ window.c
2385
2386objects/workshop.o: workshop.c
2387 $(CCC) -o $@ workshop.c
2388
2389objects/wsdebug.o: wsdebug.c
2390 $(CCC) -o $@ wsdebug.c
2391
Bram Moolenaar843ee412004-06-30 16:16:41 +00002392objects/gui_kde.o: gui_kde.cc
2393 $(CCC) -o $@ gui_kde.cc
2394
2395objects/gui_kde_x11.o: gui_kde_x11.cc
2396 $(CCC) -o $@ gui_kde_x11.cc
2397
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002398objects/gui_kde_wid.o: gui_kde_wid.cc
2399 $(MOC) -o gui_kde_wid_moc.cc gui_kde_wid.h
Bram Moolenaar843ee412004-06-30 16:16:41 +00002400 $(KDE_DIR)/bin/dcopidl kvim_iface.h > kvim_iface.kidl || ( rm -f kvim_iface.kidl ; /bin/false )
2401 $(KDE_DIR)/bin/dcopidl2cpp --c++-suffix cc --no-stub kvim_iface.kidl
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002402 $(CCC) -o $@ gui_kde_wid.cc
Bram Moolenaar843ee412004-06-30 16:16:41 +00002403
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002404gui_kde_wid_moc.cc: objects/gui_kde_wid.o
2405objects/gui_kde_wid_moc.o: gui_kde_wid_moc.cc
2406 $(CCC) -o $@ gui_kde_wid_moc.cc
Bram Moolenaar843ee412004-06-30 16:16:41 +00002407
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002408kvim_iface_skel.cc: objects/gui_kde_wid.o
Bram Moolenaar843ee412004-06-30 16:16:41 +00002409objects/kvim_iface_skel.o: kvim_iface_skel.cc
2410 $(CCC) -o $@ kvim_iface_skel.cc
2411
Bram Moolenaare1d12892004-06-13 13:02:36 +00002412objects/netbeans.o: netbeans.c
2413 $(CCC) -o $@ netbeans.c
2414
2415Makefile:
2416 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
2417
2418###############################################################################
2419### MacOS X installation
2420###
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002421### This installs a runnable Vim.app in $(prefix)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002422
2423REZ = /Developer/Tools/Rez
Bram Moolenaare1d12892004-06-13 13:02:36 +00002424RESDIR = $(APPDIR)/Contents/Resources
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00002425VERSION = $(VIMMAJOR).$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002426
2427### Common flags
2428M4FLAGSX = $(M4FLAGS) -DAPP_EXE=$(VIMNAME) -DAPP_NAME=$(VIMNAME) \
2429 -DAPP_VER=$(VERSION) -DICON_APP=$(ICON_APP)
2430
2431### Icons
2432ICON_APP = gui_mac.icns
2433ICONS = $(RESDIR)/$(ICON_APP)
2434
2435# If you uncomment the following lines the *.icns in the src directory will be
2436# detected by this Makefile automatically, and used for Vim.
2437#ICON_APP = $(shell if [ -e app.icns ] ; then echo app.icns ; else echo gui_mac.icns ; fi)
2438#ICON_DOC = $(shell if [ -e doc.icns ] ; then echo doc.icns ; else echo ; fi)
2439#ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi)
2440#ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT))
2441
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002442install_macosx: gui_bundle
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002443 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix)
2444
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002445gui_bundle: $(APPDIR) bundle-dir bundle-executable bundle-info bundle-resource \
Bram Moolenaare1d12892004-06-13 13:02:36 +00002446 bundle-language
2447
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002448$(APPDIR):
2449 mkdir -p $@
2450
Bram Moolenaare1d12892004-06-13 13:02:36 +00002451bundle-dir: $(APPDIR)/Contents $(VIMTARGET)
2452 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
2453 cp -R ../runtime $(APPDIR)
Bram Moolenaardf177f62005-02-22 08:39:57 +00002454# When using CVS some CVS directories might have been copied.
2455 cvs=`find $(APPDIR) \( -name CVS -o -name AAPDIR \) -print`; \
2456 if test -n "$$cvs"; then \
2457 rm -rf $$cvs; \
2458 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00002459
2460bundle-executable: $(VIMTARGET)
2461 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET)
2462
2463bundle-info: bundle-dir
2464 @echo "Creating PkgInfo"
2465 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo
2466 @echo "Creating Info.plist"
2467 m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
2468
2469bundle-resource: bundle-dir bundle-icons bundle-rsrc
2470
2471bundle-icons: $(ICONS)
2472
2473### Classic resources
2474# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
2475# This file is also required for OS X Vim.
2476bundle-rsrc: os_mac.rsr.hqx
2477 @echo "Creating resource fork"
2478 python dehqx.py $<
2479 rm -f gui_mac.rsrc
2480 mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
2481
2482# po/Make_osx.pl says something about generating a Mac message file
2483# for Ukrananian. Would somebody using Mac OS X in Ukranian
2484# *really* be upset that Carbon Vim was not localised in
2485# Ukranian?
2486#
2487#bundle-language: bundle-dir po/Make_osx.pl
2488# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
2489bundle-language: bundle-dir
2490
2491$(APPDIR)/Contents:
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002492 -$(SHELL) ./mkinstalldirs $(APPDIR)/Contents/MacOS
2493 -$(SHELL) ./mkinstalldirs $(RESDIR)/English.lproj
Bram Moolenaare1d12892004-06-13 13:02:36 +00002494
2495$(RESDIR)/%.icns: %.icns
2496 cp $< $@
2497
2498
2499###############################################################################
2500### (automatically generated by 'make depend')
2501### Dependencies:
2502objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h \
2503 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2504 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2505 globals.h farsi.h arabic.h version.h
2506objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h \
2507 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2508 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2509 globals.h farsi.h arabic.h
2510objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2511 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2512 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2513 arabic.h
2514objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h \
2515 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2516 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2517 globals.h farsi.h arabic.h
2518objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2519 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2520 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2521 arabic.h
2522objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2523 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2524 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2525 arabic.h version.h
2526objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h \
2527 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2528 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2529 globals.h farsi.h arabic.h version.h
2530objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
2531 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2532 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2533 globals.h farsi.h arabic.h version.h
2534objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
2535 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2536 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2537 globals.h farsi.h arabic.h
2538objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h \
2539 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2540 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2541 globals.h farsi.h arabic.h
2542objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
2543 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2544 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2545 globals.h farsi.h arabic.h
2546objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h \
2547 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2548 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2549 globals.h farsi.h arabic.h
2550objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2551 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2552 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2553 arabic.h
2554objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h \
2555 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2556 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2557 globals.h farsi.h arabic.h
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002558objects/hashtable.o: hashtable.c vim.h auto/config.h feature.h os_unix.h \
2559 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2560 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2561 globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002562objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
2563 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2564 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2565 globals.h farsi.h arabic.h if_cscope.h
2566objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
2567 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2568 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2569 globals.h farsi.h arabic.h version.h
2570objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2571 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2572 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2573 arabic.h farsi.c arabic.c
2574objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2575 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2576 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2577 arabic.h
2578objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h \
2579 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2580 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2581 globals.h farsi.h arabic.h
2582objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h \
2583 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2584 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2585 globals.h farsi.h arabic.h
2586objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2587 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2588 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2589 arabic.h
2590objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h \
2591 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2592 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2593 globals.h farsi.h arabic.h
2594objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2595 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2596 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2597 arabic.h version.h
2598objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2599 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2600 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2601 arabic.h
2602objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2603 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2604 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2605 arabic.h
2606objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2607 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2608 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2609 arabic.h
2610objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h \
2611 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2612 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2613 globals.h farsi.h arabic.h
2614objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2615 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2616 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2617 arabic.h
2618objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h \
2619 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2620 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2621 globals.h farsi.h arabic.h
2622objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h \
2623 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2624 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2625 globals.h farsi.h arabic.h os_unixx.h
2626objects/pathdef.o: auto/pathdef.c vim.h auto/config.h feature.h os_unix.h \
2627 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2628 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2629 globals.h farsi.h arabic.h
2630objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
2631 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2632 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2633 globals.h farsi.h arabic.h
2634objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h \
2635 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2636 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2637 globals.h farsi.h arabic.h
2638objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h \
2639 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2640 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2641 globals.h farsi.h arabic.h
2642objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h \
2643 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2644 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2645 globals.h farsi.h arabic.h
2646objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h \
2647 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2648 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2649 globals.h farsi.h arabic.h
2650objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2651 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2652 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2653 arabic.h
2654objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2655 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2656 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2657 arabic.h
2658objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2659 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2660 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2661 arabic.h
2662objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2663 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2664 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2665 arabic.h
2666objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h \
2667 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2668 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2669 globals.h farsi.h arabic.h version.h
2670objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h \
2671 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2672 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2673 globals.h farsi.h arabic.h
2674objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2675 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2676 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2677 arabic.h
2678objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h auto/config.h feature.h \
2679 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h structs.h \
2680 regexp.h gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h \
2681 proto.h globals.h farsi.h arabic.h ../pixmaps/stock_icons.h
2682objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
2683 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2684 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2685 globals.h farsi.h arabic.h gui_gtk_f.h
2686objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
2687 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2688 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2689 globals.h farsi.h arabic.h ../pixmaps/alert.xpm ../pixmaps/error.xpm \
2690 ../pixmaps/generic.xpm ../pixmaps/info.xpm ../pixmaps/quest.xpm
2691objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
2692 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2693 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2694 globals.h farsi.h arabic.h gui_at_sb.h
2695objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
2696 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2697 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2698 globals.h farsi.h arabic.h gui_gtk_f.h ../runtime/vim32x32.xpm \
2699 ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
2700objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h \
2701 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2702 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2703 globals.h farsi.h arabic.h ../runtime/vim32x32.xpm \
2704 ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm ../pixmaps/tb_new.xpm \
2705 ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm \
2706 ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm \
2707 ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2708 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2709 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2710 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2711 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2712 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2713 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2714 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2715 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2716 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2717 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2718 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2719 ../pixmaps/tb_minwidth.xpm
2720objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
2721 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2722 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2723 globals.h farsi.h arabic.h gui_at_sb.h
2724objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
2725 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2726 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2727 globals.h farsi.h arabic.h gui_at_sb.h
2728objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2729 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2730 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2731 arabic.h
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002732objects/gui_kde.o: gui_kde.cc gui_kde_wid.h kvim_iface.h vim.h \
Bram Moolenaar843ee412004-06-30 16:16:41 +00002733 auto/config.h feature.h os_unix.h auto/osdef.h ascii.h keymap.h \
2734 term.h macros.h structs.h regexp.h gui.h option.h ex_cmds.h proto.h \
2735 globals.h farsi.h
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002736objects/gui_kde_wid.o: gui_kde_wid.cc gui_kde_wid.h kvim_iface.h \
Bram Moolenaar843ee412004-06-30 16:16:41 +00002737 vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h keymap.h \
2738 term.h macros.h structs.h regexp.h gui.h option.h ex_cmds.h proto.h \
2739 globals.h farsi.h proto/../../pixmaps/alert.xpm proto/../../pixmaps/error.xpm \
2740 proto/../../pixmaps/generic.xpm proto/../../pixmaps/info.xpm \
2741 proto/../../pixmaps/quest.xpm
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002742objects/gui_kde_x11.o: gui_kde_x11.cc gui_kde_wid.h kvim_iface.h vim.h \
Bram Moolenaar843ee412004-06-30 16:16:41 +00002743 auto/config.h feature.h os_unix.h auto/osdef.h ascii.h keymap.h \
2744 term.h macros.h structs.h regexp.h gui.h option.h ex_cmds.h proto.h \
2745 globals.h farsi.h version.h ../runtime/vim32x32.xpm
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00002746objects/gui_kde_wid_moc.o: gui_kde_wid_moc.cc gui_kde_wid.h \
Bram Moolenaar843ee412004-06-30 16:16:41 +00002747 kvim_iface.h vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2748 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h option.h \
2749 ex_cmds.h proto.h globals.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002750objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
2751 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2752 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2753 globals.h farsi.h arabic.h
Bram Moolenaar325b7a22004-07-05 15:58:32 +00002754objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
2755 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2756 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2757 globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002758objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \
2759 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2760 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2761 globals.h farsi.h arabic.h
2762objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
2763 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2764 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2765 globals.h farsi.h arabic.h
2766objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
2767 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2768 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2769 globals.h farsi.h arabic.h
2770objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h \
2771 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2772 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2773 globals.h farsi.h arabic.h
2774objects/if_ruby.o: if_ruby.c vim.h auto/config.h feature.h os_unix.h \
2775 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2776 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2777 globals.h farsi.h arabic.h version.h
2778objects/if_sniff.o: if_sniff.c vim.h auto/config.h feature.h os_unix.h \
2779 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2780 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2781 globals.h farsi.h arabic.h os_unixx.h
2782objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
2783 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2784 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2785 globals.h farsi.h arabic.h
2786objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
2787 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h structs.h \
2788 regexp.h gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h \
2789 proto.h globals.h farsi.h arabic.h version.h workshop.h
2790objects/wsdebug.o: wsdebug.c
2791objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
2792 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2793 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2794 globals.h farsi.h arabic.h integration.h
2795objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
2796 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2797 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2798 globals.h farsi.h arabic.h version.h