blob: 027421431bdee75cb430de78a15d28567568b52e [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
Bram Moolenaar9372a112005-12-06 19:59:18 +000037# user logging out from session-managers like GNOME and work
Bram Moolenaare1d12892004-06-13 13:02:36 +000038# 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
Bram Moolenaare344bea2005-09-01 20:46:49 +0000122# make installruntime installs most of the runtime files
123# make installrtbase only installs the Vim help and
Bram Moolenaare1d12892004-06-13 13:02:36 +0000124# runtime files
125# make installlinks only installs the Vim binary links
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000126# make installmanlinks only installs the Vim manpage links
Bram Moolenaare1d12892004-06-13 13:02:36 +0000127# make installmacros only installs the Vim macros
Bram Moolenaare344bea2005-09-01 20:46:49 +0000128# make installtutorbin only installs the Vim tutor program
129# make installtutor only installs the Vim tutor files
Bram Moolenaar217ad922005-03-20 22:37:15 +0000130# make installspell only installs the spell files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000131# make installtools only installs xxd
132# If you install Vim, not to install for real but to prepare a package
133# or RPM, set DESTDIR to the root of the tree.
134#
135# 6. Use Vim until a new version comes out. {{{1
136#
137# 7. "make uninstall_runtime" {{{1
138# Will remove the runtime files for the current version. This is safe
139# to use while another version is being used, only version-specific
140# files will be deleted.
141# To remove the runtime files of another version:
142# make uninstall_runtime VIMRTDIR=/vim54
143# If you want to delete all installed files, use:
144# make uninstall
145# Note that this will delete files that have the same name for any
146# version, thus you might need to do a "make install" soon after this.
147# Be careful not to remove a version of Vim that is still being used!
148# To find out which files and directories will be deleted, use:
149# make -n uninstall
150# }}}
151#
Bram Moolenaara5792f52005-11-23 21:25:05 +0000152### This Makefile has been successfully tested on many systems. {{{
Bram Moolenaare1d12892004-06-13 13:02:36 +0000153### Only the ones that require special options are mentioned here.
154### Check the (*) column for remarks, listed below.
155### Later code changes may cause small problems, otherwise Vim is supposed to
156### compile and run without problems.
157
158#system: configurations: version (*) tested by:
159#------------- ------------------------ ------- - ----------
160#AIX 3.2.5 cc (not gcc) - 4.5 (M) Will Fiveash
161#AIX 4 cc +X11 -GUI 3.27 (4) Axel Kielhorn
162#AIX 4.1.4 cc +X11 +GUI 4.5 (5) Nico Bakker
163#AIX 4.2.1 cc 5.2k (C) Will Fiveash
164#AIX 4.3.3.12 xic 3.6.6 5.6 (5) David R. Favor
165#A/UX 3.1.1 gcc +X11 4.0 (6) Jim Jagielski
166#BeOS PR mwcc DR3 5.0n (T) Olaf Seibert
167#BSDI 2.1 (x86) shlicc2 gcc-2.6.3 -X11 X11R6 4.5 (1) Jos Backus
168#BSD/OS 3.0 (x86) gcc gcc-2.7.2.1 -X11 X11R6 4.6c (1) Jos Backus
169#CX/UX 6.2 cc +X11 +GUI_Mofif 5.4 (V) Kipp E. Howard
170#DG/UX 5.4* gcc 2.5.8 GUI 5.0e (H) Jonas Schlein
171#DG/UX 5.4R4.20 gcc 2.7.2 GUI 5.0s (H) Rocky Olive
172#HP-UX (most) c89 cc 5.1 (2) Bram Moolenaar
173#HP-UX_9.04 cc +X11 +Motif 5.0 (2) Carton Lao
174#Irix 6.3 (O2) cc ? 4.5 (L) Edouard Poor
175#Irix 6.4 cc ? 5.0m (S) Rick Sayre
176#Irix 6.5 cc ? 6.0 (S) David Harrison
177#Irix 64 bit 4.5 (K) Jon Wright
178#Linux 2.0 gcc-2.7.2 Infomagic Motif 4.3 (3) Ronald Rietman
179#Linux 2.0.31 gcc +X11 +GUI Athena 5.0w (U) Darren Hiebert
180#LynxOS 3.0.1 2.9-gnupro-98r2 +X11 +GUI Athena 5.7.1(O) Lorenz Hahn
181#LynxOS 3.1.0 2.9-gnupro-98r2 +X11 +GUI Athena 5.7.1(O) Lorenz Hahn
182#NEC UP4800 UNIX_SV 4.2MP cc +X11R6 Motif,Athena4.6b (Q) Lennart Schultz
183#NetBSD 1.0A gcc-2.4.5 -X11 -GUI 3.21 (X) Juergen Weigert
184#QNX 4.2 wcc386-10.6 -X11 4.2 (D) G.F. Desrochers
185#QNX 4.23 Watcom -X11 4.2 (F) John Oleynick
186#SCO Unix v3.2.5 cc +X11 Motif 3.27 (C) M. Kuperblum
187#SCO Open Server 5 gcc 2.7.2.3 +X11 +GUI Motif 5.3 (A) Glauber Ribeiro
188#SINIX-N 5.43 RM400 R4000 cc +X11 +GUI 5.0l (I) Martin Furter
189#SINIX-Z 5.42 i386 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
190#SINIX-Y 5.43 RM600 R4000 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn
191#Reliant/SINIX 5.44 cc +X11 +GUI 5.5a (I) B. Pruemmer
192#SNI Targon31 TOS 4.1.11 gcc-2.4.5 +X11 -GUI 4.6c (B) Paul Slootman
193#Solaris 2.4 (Sparc) cc +X11 +GUI 3.29 (9) Glauber
194#Solaris 2.4/2.5 clcc +X11 -GUI openwin 3.20 (7) Robert Colon
195#Solaris 2.5 (sun4m) cc (SC4.0) +X11R6 +GUI (CDE) 4.6b (E) Andrew Large
196#Solaris 2.5 cc +X11 +GUI Athena 4.2 (9) Sonia Heimann
197#Solaris 2.5 gcc 2.5.6 +X11 Motif 5.0m (R) Ant. Colombo
198#Solaris 2.6 gcc 2.8.1 ncursus 5.3 (G) Larry W. Virden
199#Solaris with -lthread 5.5 (W) K. Nagano
200#Solaris gcc (b) Riccardo
201#SunOS 4.1.x +X11 -GUI 5.1b (J) Bram Moolenaar
202#SunOS 4.1.3_U1 (sun4c) gcc +X11 +GUI Athena 5.0w (J) Darren Hiebert
203#SUPER-UX 6.2 (NEC SX-4) cc +X11R6 Motif,Athena4.6b (P) Lennart Schultz
204#Unisys 6035 cc +X11 Motif 5.3 (8) Glauber Ribeiro
205#ESIX V4.2 cc +X11 6.0 (a) Reinhard Wobst
206#Mac OS X 10.[23] gcc Carbon 6.2 (x) Bram Moolenaar
207# }}}
208
209# (*) Remarks: {{{
210#
211# (1) Uncomment line below for shlicc2
212# (2) HPUX with compile problems or wrong digraphs, uncomment line below
213# (3) Infomagic Motif needs GUI_LIB_LOC and GUI_INC_LOC set, see below.
214# And add "-lXpm" to MOTIF_LIBS2.
215# (4) For cc the optimizer must be disabled (use CFLAGS= after running
216# configure) (symptom: ":set termcap" output looks weird).
217# (5) Compiler may need extra argument, see below.
218# (6) See below for a few lines to uncomment
219# (7) See below for lines which enable the use of clcc
220# (8) Needs some EXTRA_LIBS, search for Unisys below
221# (9) Needs an extra compiler flag to compile gui_at_sb.c, see below.
222# (A) May need EXTRA_LIBS, see below
223# (B) Can't compile GUI because there is no waitpid()... Disable GUI below.
224# (C) Force the use of curses instead of termcap, see below.
225# (D) Uncomment lines below for QNX
226# (E) You might want to use termlib instead of termcap, see below.
227# (F) See below for instructions.
228# (G) Using ncursus version 4.2 has reported to cause a crash. Use the
229# Sun cursus library instead.
230# (H) See line for EXTRA_LIBS below.
231# (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix.
232# (J) If you get undefined symbols, see below for a solution.
233# (K) See lines to uncomment below for machines with 64 bit pointers.
234# (L) For Silicon Graphics O2 workstations remove "-lnsl" from auto/config.mk
235# (M) gcc version cygnus-2.0.1 does NOT work (symptom: "dl" deletes two
236# characters instead of one).
237# (N) SCO with decmouse.
238# (O) LynxOS needs EXTRA_LIBS, see below.
239# (P) For SuperUX 6.2 on NEC SX-4 see a few lines below to uncomment.
240# (Q) For UNIXSVR 4.2MP on NEC UP4800 see below for lines to uncomment.
241# (R) For Solaris 2.5 (or 2.5.1) with gcc > 2.5.6, uncomment line below.
242# (S) For Irix 6.x with MipsPro compiler, use -OPT:Olimit. See line below.
243# (T) See ../doc/os_beos.txt.
244# (U) Must uncomment CONF_OPT_PYTHON option below to disable Python
245# detection, since the configure script runs into an error when it
246# detects Python (probably because of the bash shell).
247# (V) See lines to uncomment below.
248# (X) Need to use the .include "auto/config.mk" line below
249# (Y) See line with c89 below
250# (Z) See lines with cc or c89 below
251# (a) See line with EXTRA_LIBS below.
252# (b) When using gcc with the Solaris linker, make sure you don't use GNU
253# strip, otherwise the binary may not run: "Cannot find ELF".
254# (x) When you get warnings for precompiled header files, run
255# "sudo fixPrecomps". Also see CONF_OPT_DARWIN below.
256# }}}
257
258
259#DO NOT CHANGE the next line, we need it for configure to find the compiler
260#instead of using the default from the "make" program.
261#Use a line further down to change the value for CC.
262CC=
263
264# Change and use these defines if configure cannot find your Motif stuff.
265# Unfortunately there is no "standard" location for Motif. {{{
266# These defines can contain a single directory (recommended) or a list of
267# directories (for when you are working with several systems). The LAST
268# directory that exists is used.
269# When changed, run "make reconfig" next!
270#GUI_INC_LOC = -I/usr/include/Motif2.0 -I/usr/include/Motif1.2
271#GUI_LIB_LOC = -L/usr/lib/Motif2.0 -L/usr/lib/Motif1.2
272### Use these two lines for Infomagic Motif (3)
273#GUI_INC_LOC = -I/usr/X11R6/include
274#GUI_LIB_LOC = -L/usr/X11R6/lib
275# }}}
276
277######################## auto/config.mk ######################## {{{1
278# At this position auto/config.mk is included. When starting from the
279# distribution it is almost empty. After running auto/configure it contains
280# settings that have been discovered for your system. Settings below this
281# include override settings in auto/config.mk!
282
283# Note: if auto/config.mk is lost somehow (e.g., because configure was
284# interrupted), create an empty auto/config.mk file and do "make config".
285
286# (X) How to include auto/config.mk depends on the version of "make" you have,
287# if the current choice doesn't work, try the other one.
288
289include auto/config.mk
290#.include "auto/config.mk"
291CClink = $(CC)
292
293#}}}
294
295# Include the configuration choices first, so we can override everything
296# below. As shipped, this file contains a target that causes to run
297# configure. Once configure was run, this file contains a list of
298# make variables with predefined values instead. Thus any second invocation
Bram Moolenaara5792f52005-11-23 21:25:05 +0000299# of make, will build Vim.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000300
301# CONFIGURE - configure arguments {{{1
302# You can give a lot of options to configure.
303# Change this to your desire and do 'make config' afterwards
304
305# examples (can only use one!):
306#CONF_ARGS = --exec-prefix=/usr
Bram Moolenaarc01140a2006-03-24 22:21:52 +0000307#CONF_ARGS = --with-vim-name=vim7 --with-ex-name=ex7 --with-view-name=view7
Bram Moolenaare1d12892004-06-13 13:02:36 +0000308#CONF_ARGS = --with-global-runtime=/etc/vim
309
310# Use this one if you distribute a modified version of Vim.
311#CONF_ARGS = --with-modified-by="John Doe"
312
313# GUI - For creating Vim with GUI (gvim) (B)
314# Uncomment this line when you don't want to get the GUI version, although you
315# have GTK, Motif and/or Athena. Also use --without-x if you don't want X11
316# at all.
317#CONF_OPT_GUI = --disable-gui
318
319# Uncomment one of these lines if you have that GUI but don't want to use it.
320# The automatic check will use another one that can be found
321# Gnome is disabled by default, it may cause trouble.
322#CONF_OPT_GUI = --disable-gtk-check
323#CONF_OPT_GUI = --disable-gtk2-check
324#CONF_OPT_GUI = --enable-gnome-check
325#CONF_OPT_GUI = --enable-gnome2-check
326#CONF_OPT_GUI = --disable-motif-check
327#CONF_OPT_GUI = --disable-athena-check
328#CONF_OPT_GUI = --disable-nextaw-check
329
330# Uncomment one of these lines to select a specific GUI to use.
331# When using "yes" or nothing, configure will use the first one found: GTK+,
332# Motif or Athena.
333#
334# GTK versions that are known not to work 100% are rejected.
335# Use "--disable-gtktest" to accept them anyway.
336#
337# GNOME means GTK with Gnome support. If using GTK, then GNOME will
338# automatically be used if it is found. If you have GNOME, but do not want to
339# use it (e.g., want a GTK-only version), then use --enable-gui=gtk.
340#
341# If the selected GUI isn't found, the GUI is disabled automatically
342#CONF_OPT_GUI = --enable-gui=gtk
343#CONF_OPT_GUI = --enable-gui=gtk --disable-gtktest
344#CONF_OPT_GUI = --enable-gui=gtk2
345#CONF_OPT_GUI = --enable-gui=gtk2 --disable-gtktest
346#CONF_OPT_GUI = --enable-gui=gnome
347#CONF_OPT_GUI = --enable-gui=gnome2
348#CONF_OPT_GUI = --enable-gui=gnome2 --disable-gtktest
349#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.
Bram Moolenaara23ccb82006-02-27 00:08:02 +0000357# You can also change the architecture supported, default is to test for both.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000358#CONF_OPT_DARWIN = --disable-darwin
Bram Moolenaara23ccb82006-02-27 00:08:02 +0000359#CONF_OPT_DARWIN = --with-mac-arch=i386
360#CONF_OPT_DARWIN = --with-mac-arch=ppc
Bram Moolenaare1d12892004-06-13 13:02:36 +0000361
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000362# PERL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000363# Uncomment this when you want to include the Perl interface.
364# The Perl option sometimes causes problems, because it adds extra flags
365# to the command line. If you see strange flags during compilation, check in
366# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
367# the next line.
368# When you get an error for a missing "perl.exp" file, try creating an emtpy
369# one: "touch perl.exp".
370# This requires at least "small" features, "tiny" doesn't work.
371#CONF_OPT_PERL = --enable-perlinterp
372
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000373# PYTHON
Bram Moolenaare1d12892004-06-13 13:02:36 +0000374# Uncomment this when you want to include the Python interface.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +0000375# NOTE: This may cause threading to be enabled, which has side effects (such
376# as using different libraries and debugging becomes more difficult).
Bram Moolenaara5792f52005-11-23 21:25:05 +0000377# NOTE: Using this together with Perl may cause a crash in initialization.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000378#CONF_OPT_PYTHON = --enable-pythoninterp
379
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000380# TCL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000381# Uncomment this when you want to include the Tcl interface.
382#CONF_OPT_TCL = --enable-tclinterp
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +0000383#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
Bram Moolenaare1d12892004-06-13 13:02:36 +0000384
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000385# RUBY
Bram Moolenaare1d12892004-06-13 13:02:36 +0000386# Uncomment this when you want to include the Ruby interface.
387#CONF_OPT_RUBY = --enable-rubyinterp
388
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000389# MZSCHEME
390# Uncomment this when you want to include the MzScheme interface.
391#CONF_OPT_MZSCHEME = --enable-mzschemeinterp
392# PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
393#CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
394#CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
395#CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
396
397# CSCOPE
Bram Moolenaare1d12892004-06-13 13:02:36 +0000398# Uncomment this when you want to include the Cscope interface.
399#CONF_OPT_CSCOPE = --enable-cscope
400
401# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
402#CONF_OPT_WORKSHOP = --enable-workshop
403
404# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
405# Motif version must have XPM libraries (see |workshop-xpm|).
406# Uncomment this when you do not want the netbeans interface.
407#CONF_OPT_NETBEANS = --disable-netbeans
408
409# SNIFF - Include support for SNiFF+.
410#CONF_OPT_SNIFF = --enable-sniff
411
412# MULTIBYTE - To edit multi-byte characters.
413# Uncomment this when you want to edit a multibyte language.
414# It's automatically enabled with big features or IME support.
415# Note: Compile on a machine where setlocale() actually works, otherwise the
416# configure tests may fail.
417#CONF_OPT_MULTIBYTE = --enable-multibyte
418
419# NLS - National Language Support
420# Uncomment this when you do not want to support translated messages, even
421# though configure can find support for it.
422#CONF_OPT_NLS = --disable-nls
423
Bram Moolenaara5792f52005-11-23 21:25:05 +0000424# XIM - X Input Method. Special character input support for X11 (Chinese,
425# Japanese, special symbols, etc). Also needed for dead-key support.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000426# When omitted it's automatically enabled for the X-windows GUI.
Bram Moolenaara5792f52005-11-23 21:25:05 +0000427# HANGUL - Input Hangul (Korean) language using internal routines.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000428# Uncomment one of these when you want to input a multibyte language.
429#CONF_OPT_INPUT = --enable-xim
430#CONF_OPT_INPUT = --disable-xim
431#CONF_OPT_INPUT = --enable-hangulinput
432
433# FONTSET - X fontset support for output of languages with many characters.
434# Uncomment this when you want to output a multibyte language.
435#CONF_OPT_OUTPUT = --enable-fontset
436
437# ACL - Uncomment this when you do not want to include ACL support, even
438# though your system does support it. E.g., when it's buggy.
439#CONF_OPT_ACL = --disable-acl
440
441# gpm - For mouse support on Linux console via gpm
442# Uncomment this when you do not want to include gpm support, even
443# though you have gpm libraries and includes
444#CONF_OPT_GPM = --disable-gpm
445
446# FEATURES - For creating Vim with more or less features
447# Uncomment one of these lines when you want to include few to many features.
448# The default is "normal".
449#CONF_OPT_FEAT = --with-features=tiny
450#CONF_OPT_FEAT = --with-features=small
451#CONF_OPT_FEAT = --with-features=normal
452#CONF_OPT_FEAT = --with-features=big
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000453#CONF_OPT_FEAT = --with-features=huge
Bram Moolenaare1d12892004-06-13 13:02:36 +0000454
455# COMPILED BY - For including a specific e-mail address for ":version".
456#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
457
458# X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
459# (otherwise Vim configure will try to include xterm titlebar access)
460# Also disable the GUI above, otherwise it will be included anyway.
461# When both GUI and X11 have been disabled this may save about 15% of the
462# code and make Vim startup quicker.
463#CONF_OPT_X = --without-x
464
465# X WINDOWS DIRECTORY - specify X directories
Bram Moolenaara5792f52005-11-23 21:25:05 +0000466# If configure can't find you X stuff, or if you have multiple X11 derivatives
Bram Moolenaare1d12892004-06-13 13:02:36 +0000467# installed, you may wish to specify which one to use.
468# Select nothing to let configure choose.
469# This here selects openwin (as found on sun).
470#XROOT = /usr/openwin
471#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib
472
473# X11 Session Management Protocol support
474# Vim will try to use XSMP to catch the user logging out if there are unsaved
475# files. Uncomment this line to disable that (it prevents vim trying to open
476# communications with the session manager).
477#CONF_OPT_XSMP = --disable-xsmp
478
479# You may wish to include xsmp but use exclude xsmp-interact if the logout
480# XSMP functionality does not work well with your session-manager (at time of
481# writing, this would be early GNOME-1 gnome-session: it 'freezes' other
482# applications after Vim has cancelled a logout (until Vim quits). This
483# *might* be the Vim code, but is more likely a bug in early GNOME-1.
484# This disables the dialog that asks you if you want to save files or not.
485#CONF_OPT_XSMP = --disable-xsmp-interact
486
487# COMPILER - Name of the compiler {{{1
488# The default from configure will mostly be fine, no need to change this, just
489# an example. If a compiler is defined here, configure will use it rather than
490# probing for one. It is dangerous to change this after configure was run.
491# Make will use your choice then -- but beware: Many things may change with
492# another compiler. It is wise to run 'make reconfig' to start all over
493# again.
494#CC = cc
495#CC = gcc
496
497# COMPILER FLAGS - change as you please. Either before running {{{1
498# configure or afterwards. For examples see below.
499# When using -g with some older versions of Linux you might get a
500# statically linked executable.
501# When not defined, configure will try to use -O2 -g for gcc and -O for cc.
502#CFLAGS = -g
503#CFLAGS = -O
504
505# Optimization limits - depends on the compiler. Automatic check in configure
506# doesn't work very well, because many compilers only give a warning for
507# unrecognized arguments.
508#CFLAGS = -O -OPT:Olimit=2600
509#CFLAGS = -O -Olimit 2000
510#CFLAGS = -O -FOlimit,2000
511
512# Often used for GCC: mixed optimizing, lot of optimizing, debugging
513#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000514#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaardf177f62005-02-22 08:39:57 +0000515#CFLAGS = -g -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000516#CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
517#CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000518#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000519
520# EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
521# allocated memory (and makes every malloc()/free() very slow).
522# Electric Fence is free (search ftp sites).
Bram Moolenaar53180ce2005-07-05 21:48:14 +0000523# You may want to set the EF_PROTECT_BELOW environment variable to check the
524# other side of allocated memory.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000525# On FreeBSD you might need to enlarge the number of mmaps allowed. Do this
526# as root: sysctl -w vm.max_proc_mmap=30000
527#EXTRA_LIBS = /usr/local/lib/libefence.a
528
529# PURIFY - remove the # to use the "purify" program (hoi Nia++!)
530#PURIFY = purify
531# }}}
532
533# LINT - for running lint
534LINT_OPTIONS = -beprxzF
535
536# PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
537# Might not work with GUI or Perl.
Bram Moolenaar4770d092006-01-12 23:22:24 +0000538# For unknown reasons adding "-lc" fixes a linking problem with GCC. That's
539# probably a bug in the "-pg" implementation.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000540# Need to recompile everything after changing this: "make clean" "make".
541#PROFILE_CFLAGS = -pg -g
542#PROFILE_LIBS = -pg
Bram Moolenaar4770d092006-01-12 23:22:24 +0000543#PROFILE_LIBS = -pg -lc
Bram Moolenaare1d12892004-06-13 13:02:36 +0000544
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000545# MEMORY LEAK DETECTION
546# Requires installing the ccmalloc library.
Bram Moolenaara40ceaf2006-01-13 22:35:40 +0000547# Configuration is in the .ccmalloc or ~/.ccmalloc file.
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000548# Doesn't work very well, since memory linked to from global variables
Bram Moolenaar56718732006-03-15 22:53:57 +0000549# (in libraries) is also marked as leaked memory.
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000550#PROFILE_CFLAGS = -DEXITFREE
551#PROFILE_LIBS = -lccmalloc
552
Bram Moolenaare1d12892004-06-13 13:02:36 +0000553#####################################################
554### Specific systems, check if yours is listed! ### {{{
555#####################################################
556
557### Uncomment things here only if the values chosen by configure are wrong.
558### It's better to adjust configure.in and "make autoconf", if you can!
559### Then send the required changes to configure.in to the bugs list.
560
561### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries
562###
563#CC = shlicc2
564#CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin
565
566### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler
567### The first probably works on all systems
568### The second should work a bit better on newer systems
569### The third should work a bit better on HPUX 11.11
570### Information provided by: Richard Allen <ra@rhi.hi.is>
571#CC = c89 -D_HPUX_SOURCE
572#CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE
573#CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE
574
575### (2) For HP-UX: Enable the use of a different set of digraphs. Use this
576### when the default (ISO) digraphs look completely wrong.
577### After changing this do "touch digraph.c; make".
578#EXTRA_DEFS = -DHPUX_DIGRAPHS
579
580### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes
581### is too small to compile many routines. It produces too much defining
582### and no space errors.
583### Uncomment the following to specify a larger macro definition table.
584#CFLAGS = -Wp,-H256000
585
586### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with
587### libraries in /usr/lib instead of /lib (avoiding transition links).
588### Information provided by: David Green
589#XROOT = /usr
590#CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6
591#GUI_INC_LOC = -I/usr/include/Motif1.2
592#GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6
593
594### (5) AIX 4.1.4 with cc
595#CFLAGS = -O -qmaxmem=8192
596
597### AIX with c89 (Walter Briscoe)
598#CC = c89
599#CPPFLAGS = -D_ALL_SOURCE
600
601### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
602# needed to avoid a problem where strings.h gets included
603#CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
604
605### (W) Solaris with multi-threaded libraries (-lthread):
606### If suspending doesn't work properly, try using this line:
607#EXTRA_DEFS = -D_REENTRANT
608
609### (7) Solaris 2.4/2.5 with Centerline compiler
610#CC = clcc
611#X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib
612#CFLAGS = -O
613
614### (9) Solaris 2.x with cc (SunPro), using Athena.
615### Only required for compiling gui_at_sb.c.
616### Symptom: "identifier redeclared: vim_XawScrollbarSetThumb"
617### Use one of the lines (either Full ANSI or no ANSI at all)
618#CFLAGS = $(CFLAGS) -Xc
619#CFLAGS = $(CFLAGS) -Xs
620
621### Solaris 2.3 with X11 and specific cc
622#CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib
623
624### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc")
625#CC = /usr/ucb/cc
626#EXTRA_LIBS = -R/usr/ucblib
627
628### Solaris with Forte Developer and FEAT_SUN_WORKSHOP
629# The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm.
630#CC = cc
631#XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris
632#XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm
633#XPM_IPATH = -I$(XPM_DIR)/include
634#EXTRA_LIBS = $(XPM_LIB)
635#EXTRA_IPATHS = $(XPM_IPATH)
636#EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H
637
638### Solaris with workshop compilers: Vim is unstable when compiled with
639# "-fast". Use this instead. (Shea Martin)
640#CFLAGS = -x02 -xtarget=ultra
641
642### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this:
643#LDFLAGS = -lw -ldl -lXmu
644#GUI_LIB_LOC = -L/usr/local/lib
645
646### (8) Unisys 6035 (Glauber Ribeiro)
647#EXTRA_LIBS = -lnsl -lsocket -lgen
648
649### When builtin functions cause problems with gcc (for Sun 4.1.x)
650#CFLAGS = -O2 -Wall -traditional -Wno-implicit
651
652### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0)
653#EXTRA_DEFS = -DDOMAIN
654#CFLAGS= -O -A systype,bsd4.3
655
656### Coherent 4.2.10 on Intel 386 platform
657#EXTRA_DEFS = -Dvoid=int
658#EXTRA_LIBS = -lterm -lsocket
659
660### SCO 3.2, with different library name for terminfo
661#EXTRA_LIBS = -ltinfo
662
663### UTS2 for Amdahl UTS 2.1.x
664#EXTRA_DEFS = -DUTS2
665#EXTRA_LIBS = -lsocket
666
667### UTS4 for Amdahl UTS 4.x
668#EXTRA_DEFS = -DUTS4 -Xa
669
670### USL for Unix Systems Laboratories (SYSV 4.2)
671#EXTRA_DEFS = -DUSL
672
673### RISCos on MIPS without X11
674#EXTRA_DEFS = -DMIPS
675
676### RISCos on MIPS with X11
677#EXTRA_LIBS = -lsun
678
679### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
680#CC= gcc -D_POSIX_SOURCE
681#CFLAGS= -O2
682#EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11
683
684### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel)
685### Also use the CONF_TERM_LIB below!
686#EXTRA_LIBS = -lgen
687
688### (D) QNX (by G.F. Desrochers)
689#CFLAGS = -g -O -mf -4
690
691### (F) QNX (by John Oleynick)
692# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
693# CONF_OPT_X = --without-x.
694# 2. make config
695# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
696# have -ldir (does config find it somewhere?) and -ltermcap has at
697# least one problem so I use termlib.o instead. The problem with
698# termcap is that it segfaults if you call it with the name of
699# a non-existent terminal type.
700# 4. edit auto/config.h and add #define USE_TMPNAM
701# 5. add termlib.o to OBJ
702# 6. make
703
704### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein)
705#EXTRA_LIBS = -lgen
706
707### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z)
708#EXTRA_LIBS = -lgen -lnsl
709### For SINIX-Y this is needed for the right prototype of gettimeofday()
710#EXTRA_DEFS = -D_XPG_IV
711
712### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc
713# Use both "-F O3" lines for optimization or the "-g" line for debugging
714#EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE
715#CFLAGS = -F O3 -DSINIXN
716#LDFLAGS = -F O3
717#CFLAGS = -g -DSINIXN
718
719### (P) SCO 3.2.42, with different termcap names for some useful keys DJB
720#EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY
721#EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s
722
723### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz)
724#GUI_INC_LOC = -I/usr/include
725#GUI_LIB_LOC = -L/usr/lib
726#EXTRA_LIBS = -lgen
727
728### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz)
729#GUI_INC_LOC = -I/usr/necccs/include
730#GUI_LIB_LOC = -L/usr/necccs/lib/X11R6
731#XROOT = /usr/necccs
732#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
733#EXTRA_LIBS = -lsocket -lgen
734
735### Irix 4.0 & 5.2 (Silicon Graphics Machines, __sgi will be defined)
736# Not needed for Irix 5.3, Ives Aerts reported
737#EXTRA_LIBS = -lmalloc -lc_s
738# Irix 4.0, when regexp and regcmp cannot be found when linking:
739#EXTRA_LIBS = -lmalloc -lc_s -lPW
740
741### (S) Irix 6.x (MipsPro compiler): Uses different Olimit flag:
742# Note: This newer option style is used with the MipsPro compilers ONLY if
743# you are compiling an "n32" or "64" ABI binary (use either a -n32
744# flag or a -64 flag for CFLAGS). If you explicitly use a -o32 flag,
745# then the CFLAGS option format will be the typical style (i.e.
746# -Olimit 3000).
747#CFLAGS = -OPT:Olimit=3000 -O
748
749### (S) Irix 6.5 with MipsPro C compiler. Try this as a test to see new
750# compiler features! Beware, the optimization is EXTREMELY thorough
751# and takes quite a long time.
752# Note: See the note above. Here, the -mips3 option automatically
753# enables either the "n32" or "64" ABI, depending on what machine you
754# are compiling on (n32 is explicitly enabled here, just to make sure).
755#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
756#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
757
758### (K) for SGI Irix machines with 64 bit pointers ("uname -s" says IRIX64)
759### Suggested by Jon Wright <jon@gate.sinica.edu.tw>.
760### Tested on R8000 IRIX6.1 Power Indigo2.
761### Check /etc/compiler.defaults for your compiler settings.
762# either (for 64 bit pointers) uncomment the following line
763#GUI_LIB_LOC = -L/usr/lib64
764# then
765# 1) make config
766# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
767# 3) make
768#
769# or (for 32bit pointers) uncomment the following line
770#EXTRA_DEFS = -n32
771#GUI_LIB_LOC = -L/usr/lib32
772# then
773# 1) make config
774# 2) edit auto/config.mk, add -n32 to LDFLAGS
775# 3) make
776###
777
778### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library,
779### which is found by configure, doesn't work correctly. Symptom is the
780### error message "Termcap entry too long". Uncomment the next line.
781### On AIX 4.2.1 (and other versions probably), libtermcap is reported
782### not to display properly.
783### after changing this, you need to do "make reconfig".
784#CONF_TERM_LIB = --with-tlib=curses
785
786### (E) If you want to use termlib library instead of the automatically found
787### one. After changing this, you need to do "make reconfig".
788#CONF_TERM_LIB = --with-tlib=termlib
789
790### (a) ESIX V4.2 (Reinhard Wobst)
791#EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext
792
793### If you want to use ncurses library instead of the automatically found one
794### after changing this, you need to do "make reconfig".
795#CONF_TERM_LIB = --with-tlib=ncurses
796
797### For GCC on MSDOS, the ".exe" suffix will be added.
798#EXEEXT = .exe
799#LNKEXT = .exe
800
801### (O) For LynxOS 2.5.0, tested on PC.
802#EXTRA_LIBS = -lXext -lSM -lICE -lbsd
803### For LynxOS 3.0.1, tested on PPC
804#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11
805### For LynxOS 3.1.0, tested on PC
806#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu
807
808
809### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove
810### -Qtarget if only in a 5800 environment. (Kipp E. Howard)
811#CFLAGS = -O -Qtarget=m88110compat
812#EXTRA_LIBS = -lgen
813
814##################### end of system specific lines ################### }}}
815
816### Names of the programs and targets {{{1
817VIMTARGET = $(VIMNAME)$(EXEEXT)
818EXTARGET = $(EXNAME)$(LNKEXT)
819VIEWTARGET = $(VIEWNAME)$(LNKEXT)
820GVIMNAME = g$(VIMNAME)
821GVIMTARGET = $(GVIMNAME)$(LNKEXT)
822GVIEWNAME = g$(VIEWNAME)
823GVIEWTARGET = $(GVIEWNAME)$(LNKEXT)
824RVIMNAME = r$(VIMNAME)
825RVIMTARGET = $(RVIMNAME)$(LNKEXT)
826RVIEWNAME = r$(VIEWNAME)
827RVIEWTARGET = $(RVIEWNAME)$(LNKEXT)
828RGVIMNAME = r$(GVIMNAME)
829RGVIMTARGET = $(RGVIMNAME)$(LNKEXT)
830RGVIEWNAME = r$(GVIEWNAME)
831RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT)
832VIMDIFFNAME = $(VIMNAME)diff
833GVIMDIFFNAME = g$(VIMDIFFNAME)
834VIMDIFFTARGET = $(VIMDIFFNAME)$(LNKEXT)
835GVIMDIFFTARGET = $(GVIMDIFFNAME)$(LNKEXT)
836EVIMNAME = e$(VIMNAME)
837EVIMTARGET = $(EVIMNAME)$(LNKEXT)
838EVIEWNAME = e$(VIEWNAME)
839EVIEWTARGET = $(EVIEWNAME)$(LNKEXT)
840
841### Names of the tools that are also made {{{1
842TOOLS = xxd/xxd$(EXEEXT)
843
844### Installation directories. The defaults come from configure. {{{1
845#
846### prefix the top directory for the data (default "/usr/local")
847#
848# Uncomment the next line to install Vim in your home directory.
849#prefix = $(HOME)
850
851### exec_prefix is the top directory for the executable (default $(prefix))
852#
853# Uncomment the next line to install the Vim executable in "/usr/machine/bin"
854#exec_prefix = /usr/machine
855
856### BINDIR dir for the executable (default "$(exec_prefix)/bin")
857### MANDIR dir for the manual pages (default "$(prefix)/man")
858### DATADIR dir for the other files (default "$(prefix)/lib" or
859# "$(prefix)/share")
860# They may be different when using different architectures for the
861# executable and a common directory for the other files.
862#
863# Uncomment the next line to install Vim in "/usr/bin"
864#BINDIR = /usr/bin
865# Uncomment the next line to install Vim manuals in "/usr/share/man/man1"
866#MANDIR = /usr/share/man
867# Uncomment the next line to install Vim help files in "/usr/share/vim"
868#DATADIR = /usr/share
869
870### DESTDIR root of the installation tree. This is prepended to the other
871# directories. This directory must exist.
872#DESTDIR = ~/pkg/vim
873
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000874### Directory of the man pages
875MAN1DIR = /man1
Bram Moolenaare1d12892004-06-13 13:02:36 +0000876
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000877### Vim version (adjusted by a script)
878VIMMAJOR = 7
Bram Moolenaarc01140a2006-03-24 22:21:52 +0000879VIMMINOR = 0b
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000880
Bram Moolenaare1d12892004-06-13 13:02:36 +0000881### Location of Vim files (should not need to be changed, and {{{1
882### some things might not work when they are changed!)
883VIMDIR = /vim
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000884VIMRTDIR = /vim$(VIMMAJOR)$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000885HELPSUBDIR = /doc
886COLSUBDIR = /colors
887SYNSUBDIR = /syntax
888INDSUBDIR = /indent
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000889AUTOSUBDIR = /autoload
Bram Moolenaare1d12892004-06-13 13:02:36 +0000890PLUGSUBDIR = /plugin
891FTPLUGSUBDIR = /ftplugin
892LANGSUBDIR = /lang
893COMPSUBDIR = /compiler
894KMAPSUBDIR = /keymap
895MACROSUBDIR = /macros
896TOOLSSUBDIR = /tools
897TUTORSUBDIR = /tutor
Bram Moolenaar217ad922005-03-20 22:37:15 +0000898SPELLSUBDIR = /spell
Bram Moolenaare1d12892004-06-13 13:02:36 +0000899PRINTSUBDIR = /print
900PODIR = po
901
902### VIMLOC common root of the Vim files (all versions)
903### VIMRTLOC common root of the runtime Vim files (this version)
904### VIMRCLOC compiled-in location for global [g]vimrc files (all versions)
905### VIMRUNTIMEDIR compiled-in location for runtime files (optional)
906### HELPSUBLOC location for help files
907### COLSUBLOC location for colorscheme files
908### SYNSUBLOC location for syntax files
909### INDSUBLOC location for indent files
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000910### AUTOSUBLOC location for standard autoload files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000911### PLUGSUBLOC location for standard plugin files
912### FTPLUGSUBLOC location for ftplugin files
913### LANGSUBLOC location for language files
914### COMPSUBLOC location for compiler files
915### KMAPSUBLOC location for keymap files
916### MACROSUBLOC location for macro files
917### TOOLSSUBLOC location for tools files
918### TUTORSUBLOC location for tutor files
Bram Moolenaar217ad922005-03-20 22:37:15 +0000919### SPELLSUBLOC location for spell files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000920### PRINTSUBLOC location for PostScript files (prolog, latin1, ..)
921### SCRIPTLOC location for script files (menu.vim, bugreport.vim, ..)
922### You can override these if you want to install them somewhere else.
923### Edit feature.h for compile-time settings.
924VIMLOC = $(DATADIR)$(VIMDIR)
925VIMRTLOC = $(DATADIR)$(VIMDIR)$(VIMRTDIR)
926VIMRCLOC = $(VIMLOC)
927HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
928COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
929SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
930INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000931AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000932PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
933FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
934LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
935COMPSUBLOC = $(VIMRTLOC)$(COMPSUBDIR)
936KMAPSUBLOC = $(VIMRTLOC)$(KMAPSUBDIR)
937MACROSUBLOC = $(VIMRTLOC)$(MACROSUBDIR)
938TOOLSSUBLOC = $(VIMRTLOC)$(TOOLSSUBDIR)
939TUTORSUBLOC = $(VIMRTLOC)$(TUTORSUBDIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +0000940SPELLSUBLOC = $(VIMRTLOC)$(SPELLSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000941PRINTSUBLOC = $(VIMRTLOC)$(PRINTSUBDIR)
942SCRIPTLOC = $(VIMRTLOC)
943
944### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
945### the runtime directory is not below it.
946#VIMRUNTIMEDIR = $(VIMRTLOC)
947
948### Name of the evim file target.
949EVIM_FILE = $(DESTDIR)$(SCRIPTLOC)/evim.vim
950MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.vim
951
952### Name of the menu file target.
953SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.vim
954SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.vim
955SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.vim
956
957### Name of the bugreport file target.
958SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.vim
959
960### Name of the file type detection file target.
961SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.vim
962
963### Name of the file type detection file target.
964SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.vim
965
966### Name of the file type detection script file target.
967SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.vim
968
969### Name of the ftplugin-on file target.
970SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.vim
971
972### Name of the ftplugin-off file target.
973SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.vim
974
975### Name of the indent-on file target.
976SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.vim
977
978### Name of the indent-off file target.
979SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.vim
980
981### Name of the option window script file target.
982SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.vim
983
984# Program to install the program in the target directory. Could also be "mv".
985INSTALL_PROG = cp
986
987# Program to install the data in the target directory. Cannot be "mv"!
988INSTALL_DATA = cp
989INSTALL_DATA_R = cp -r
990
991### Program to run on installed binary
992#STRIP = strip
993
994### Permissions for binaries {{{1
995BINMOD = 755
996
997### Permissions for man page
998MANMOD = 644
999
1000### Permissions for help files
1001HELPMOD = 644
1002
1003### Permissions for Perl and shell scripts
1004SCRIPTMOD = 755
1005
1006### Permission for Vim script files (menu.vim, bugreport.vim, ..)
1007VIMSCRIPTMOD = 644
1008
1009### Permissions for all directories that are created
1010DIRMOD = 755
1011
1012### Permissions for all other files that are created
1013FILEMOD = 644
1014
1015# Where to copy the man and help files from
1016HELPSOURCE = ../runtime/doc
1017
1018# Where to copy the script files from (menu, bugreport)
1019SCRIPTSOURCE = ../runtime
1020
1021# Where to copy the colorscheme files from
1022COLSOURCE = ../runtime/colors
1023
1024# Where to copy the syntax files from
1025SYNSOURCE = ../runtime/syntax
1026
1027# Where to copy the indent files from
1028INDSOURCE = ../runtime/indent
1029
1030# Where to copy the standard plugin files from
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001031AUTOSOURCE = ../runtime/autoload
1032
1033# Where to copy the standard plugin files from
Bram Moolenaare1d12892004-06-13 13:02:36 +00001034PLUGSOURCE = ../runtime/plugin
1035
1036# Where to copy the ftplugin files from
1037FTPLUGSOURCE = ../runtime/ftplugin
1038
1039# Where to copy the macro files from
1040MACROSOURCE = ../runtime/macros
1041
1042# Where to copy the tools files from
1043TOOLSSOURCE = ../runtime/tools
1044
1045# Where to copy the tutor files from
1046TUTORSOURCE = ../runtime/tutor
1047
Bram Moolenaar217ad922005-03-20 22:37:15 +00001048# Where to copy the spell files from
1049SPELLSOURCE = ../runtime/spell
1050
Bram Moolenaare1d12892004-06-13 13:02:36 +00001051# Where to look for language specific files
1052LANGSOURCE = ../runtime/lang
1053
1054# Where to look for compiler files
1055COMPSOURCE = ../runtime/compiler
1056
1057# Where to look for keymap files
1058KMAPSOURCE = ../runtime/keymap
1059
1060# Where to look for print resource files
1061PRINTSOURCE = ../runtime/print
1062
1063# If you are using Linux, you might want to use this to make vim the
1064# default vi editor, it will create a link from vi to Vim when doing
1065# "make install". An existing file will be overwritten!
1066# When not using it, some make programs can't handle an undefined $(LINKIT).
1067#LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
1068LINKIT = @echo >/dev/null
1069
1070###
1071### GRAPHICAL USER INTERFACE (GUI). {{{1
1072### 'configure --enable-gui' can enable one of these for you if you did set
1073### a corresponding CONF_OPT_GUI above and have X11.
1074### Override configures choice by uncommenting all the following lines.
1075### As they are, the GUI is disabled. Replace "NONE" with "ATHENA" or "MOTIF"
1076### for enabling the Athena or Motif GUI.
1077#GUI_SRC = $(NONE_SRC)
1078#GUI_OBJ = $(NONE_OBJ)
1079#GUI_DEFS = $(NONE_DEFS)
1080#GUI_IPATH = $(NONE_IPATH)
1081#GUI_LIBS_DIR = $(NONE_LIBS_DIR)
1082#GUI_LIBS1 = $(NONE_LIBS1)
1083#GUI_LIBS2 = $(NONE_LIBS2)
1084#GUI_INSTALL = $(NONE_INSTALL)
1085#GUI_TARGETS = $(NONE_TARGETS)
1086#GUI_MAN_TARGETS= $(NONE_MAN_TARGETS)
1087#GUI_TESTTARGET = $(NONE_TESTTARGET)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001088#GUI_BUNDLE = $(NONE_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001089
1090# Without a GUI install the normal way.
1091NONE_INSTALL = install_normal
1092
1093### GTK GUI
1094GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \
1095 gui_beval.c
1096GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \
1097 objects/pty.o objects/gui_gtk_f.o \
1098 objects/gui_beval.o
1099GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1100GTK_IPATH = $(GUI_INC_LOC)
1101GTK_LIBS_DIR = $(GUI_LIB_LOC)
1102GTK_LIBS1 =
1103GTK_LIBS2 = $(GTK_LIBNAME)
1104GTK_INSTALL = install_normal
1105GTK_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001106GTK_MAN_TARGETS = yes
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001107GTK_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001108GTK_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001109
1110### Motif GUI
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001111MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001112 gui_xmdlg.c gui_xmebw.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001113MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001114 objects/pty.o objects/gui_beval.o \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001115 objects/gui_xmdlg.o objects/gui_xmebw.o
Bram Moolenaare1d12892004-06-13 13:02:36 +00001116MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO)
1117MOTIF_IPATH = $(GUI_INC_LOC)
1118MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1119MOTIF_LIBS1 =
1120MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1121MOTIF_INSTALL = install_normal
1122MOTIF_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001123MOTIF_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001124MOTIF_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001125MOTIF_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001126
1127### Athena GUI
1128### Use Xaw3d to make the menus look a little bit nicer
1129#XAW_LIB = -lXaw3d
1130XAW_LIB = -lXaw
1131
1132### When using Xaw3d, uncomment/comment the following lines to also get the
1133### scrollbars from Xaw3d.
1134#ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1135#ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1136# objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1137#ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO) \
1138# -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \
1139# -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb
1140ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c \
1141 gui_at_sb.c gui_at_fs.c
1142ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1143 objects/pty.o objects/gui_beval.o \
1144 objects/gui_at_sb.o objects/gui_at_fs.o
1145ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO)
1146
1147ATHENA_IPATH = $(GUI_INC_LOC)
1148ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1149ATHENA_LIBS1 = $(XAW_LIB)
1150ATHENA_LIBS2 = -lXt
1151ATHENA_INSTALL = install_normal
1152ATHENA_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001153ATHENA_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001154ATHENA_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001155ATHENA_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001156
1157### neXtaw GUI
1158NEXTAW_LIB = -lneXtaw
1159
1160NEXTAW_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1161NEXTAW_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1162 objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1163NEXTAW_DEFS = -DFEAT_GUI_ATHENA -DFEAT_GUI_NEXTAW $(NARROW_PROTO)
1164
1165NEXTAW_IPATH = $(GUI_INC_LOC)
1166NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1167NEXTAW_LIBS1 = $(NEXTAW_LIB)
1168NEXTAW_LIBS2 = -lXt
1169NEXTAW_INSTALL = install_normal
1170NEXTAW_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001171NEXTAW_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001172NEXTAW_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001173NEXTAW_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001174
1175### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1176# errors: ld: Undefined symbol
1177# _get_wmShellWidgetClass
1178# _get_applicationShellWidgetClass
1179# then you need to get patches 100512-02 and 100573-03 from Sun. In the
1180# meantime, uncomment the following GUI_X_LIBS definition as a workaround:
1181#GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext
1182# If you also get cos, sin etc. as undefined symbols, try uncommenting this
1183# too:
1184#EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm
1185
Bram Moolenaare1d12892004-06-13 13:02:36 +00001186# PHOTON GUI
1187PHOTONGUI_SRC = gui.c gui_photon.c pty.c
1188PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o
1189PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON
1190PHOTONGUI_IPATH =
1191PHOTONGUI_LIBS_DIR =
1192PHOTONGUI_LIBS1 = -lph -lphexlib
1193PHOTONGUI_LIBS2 =
1194PHOTONGUI_INSTALL = install_normal
1195PHOTONGUI_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001196PHOTONGUI_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001197PHOTONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001198PHOTONGUI_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001199
1200# CARBON GUI
1201CARBONGUI_SRC = gui.c gui_mac.c
1202CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o
Bram Moolenaara23ccb82006-02-27 00:08:02 +00001203CARBONGUI_DEFS = -DFEAT_GUI_MAC -fno-common -fpascal-strings \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001204 -Wall -Wno-unknown-pragmas \
1205 -mdynamic-no-pic -pipe
1206CARBONGUI_IPATH = -I. -Iproto
Bram Moolenaara23ccb82006-02-27 00:08:02 +00001207CARBONGUI_LIBS_DIR =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001208CARBONGUI_LIBS1 = -framework Carbon
1209CARBONGUI_LIBS2 =
1210CARBONGUI_INSTALL = install_macosx
1211CARBONGUI_TARGETS =
1212CARBONGUI_MAN_TARGETS =
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001213CARBONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001214CARBONGUI_BUNDLE = gui_bundle
1215APPDIR = $(VIMNAME).app
1216CARBONGUI_TESTARG = VIMPROG=../$(APPDIR)/Contents/MacOS/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001217
1218# All GUI files
Bram Moolenaar9372a112005-12-06 19:59:18 +00001219ALL_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
Bram Moolenaar323850c2005-01-04 21:24:54 +00001220ALL_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 +00001221
1222# }}}
1223
1224### Command to create dependencies based on #include "..."
1225### prototype headers are ignored due to -DPROTO, system
1226### headers #include <...> are ignored if we use the -MM option, as
1227### e.g. provided by gcc-cpp.
1228### Include FEAT_GUI to get gependency on gui.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001229### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
1230CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
1231 `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
Bram Moolenaare1d12892004-06-13 13:02:36 +00001232
1233# flags for cproto
1234# This is for cproto 3 patchlevel 8 or below
1235# __inline, __attribute__ and __extension__ are not recognized by cproto
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001236# G_IMPLEMENT_INLINES is to avoid functions defined in glib/gutils.h.
Bram Moolenaar051b7822005-05-19 21:00:46 +00001237NO_ATTR = -D__inline= -D__inline__= -DG_IMPLEMENT_INLINES \
1238 -D"__attribute__\\(x\\)=" -D"__asm__\\(x\\)=" \
1239 -D__extension__= -D__restrict="" \
1240 -D__gnuc_va_list=char -D__builtin_va_list=char
Bram Moolenaare1d12892004-06-13 13:02:36 +00001241
1242#
1243# This is for cproto 3 patchlevel 9 or above (currently 4.6)
1244# __inline and __attribute__ are now recognized by cproto
1245# -D"foo()=" is not supported by all compilers so do not use it
1246# NO_ATTR=
1247#
1248# maybe the "/usr/bin/cc -E" has to be adjusted for some systems
1249# This is for cproto 3.5 patchlevel 3:
1250# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1251#
1252# Use this for cproto 3 patchlevel 6 or below (use "cproto -V" to check):
1253# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1254#
1255# Use this for cproto 3 patchlevel 7 or above (use "cproto -V" to check):
1256PROTO_FLAGS = -m -M__ARGS -d -E"$(CPP)" $(NO_ATTR)
1257
1258
1259################################################
1260## no changes required below this line ##
1261################################################
1262
1263SHELL = /bin/sh
1264
1265.SUFFIXES:
Bram Moolenaar9372a112005-12-06 19:59:18 +00001266.SUFFIXES: .c .o .pro
Bram Moolenaare1d12892004-06-13 13:02:36 +00001267
1268PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001269POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001270
1271ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS)
1272
Bram Moolenaare224ffa2006-03-01 00:01:28 +00001273# Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together
1274# with "-E".
1275OSDEF_CFLAGS = $(PRE_DEFS) $(POST_DEFS)
1276
Bram Moolenaar051b7822005-05-19 21:00:46 +00001277LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca
1278
1279LINT_EXTRA = -DUSE_SNIFF -DHANGUL_INPUT -D"__attribute__(x)="
Bram Moolenaare1d12892004-06-13 13:02:36 +00001280
1281DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1282
1283PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1284
1285ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001286ALL_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 +00001287
1288# abbreviations
1289DEST_BIN = $(DESTDIR)$(BINDIR)
1290DEST_VIM = $(DESTDIR)$(VIMLOC)
1291DEST_RT = $(DESTDIR)$(VIMRTLOC)
1292DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
1293DEST_COL = $(DESTDIR)$(COLSUBLOC)
1294DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
1295DEST_IND = $(DESTDIR)$(INDSUBLOC)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001296DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001297DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
1298DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
1299DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
1300DEST_COMP = $(DESTDIR)$(COMPSUBLOC)
1301DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC)
1302DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1303DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1304DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001305DEST_SPELL = $(DESTDIR)$(SPELLSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001306DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1307DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001308DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001309
1310# We assume that the ".../man/xx/man1/" directory is for latin1 manual pages.
1311# Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/"
1312# directory first.
Bram Moolenaar217ad922005-03-20 22:37:15 +00001313# FreeBSD uses ".../man/xx.ISO8859-1/man1" for latin1, use that one too.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001314DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001315DEST_MAN_FR = $(DEST_MAN_TOP)/fr$(MAN1DIR)
1316DEST_MAN_FR_I = $(DEST_MAN_TOP)/fr.ISO8859-1$(MAN1DIR)
1317DEST_MAN_FR_U = $(DEST_MAN_TOP)/fr.UTF-8$(MAN1DIR)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001318DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001319DEST_MAN_IT_I = $(DEST_MAN_TOP)/it.ISO8859-1$(MAN1DIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001320DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR)
1321DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
1322DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001323
1324# BASIC_SRC: files that are always used
1325# GUI_SRC: extra GUI files for current configuration
1326# ALL_GUI_SRC: all GUI files for Unix
1327#
1328# SRC: files used for current configuration
1329# TAGS_SRC: source files used for make tags
1330# TAGS_INCL: include files used for make tags
1331# ALL_SRC: source files used for make depend and make lint
1332
1333TAGS_INCL = *.h
1334
1335BASIC_SRC = \
1336 buffer.c \
1337 charset.c \
1338 diff.c \
1339 digraph.c \
1340 edit.c \
1341 eval.c \
1342 ex_cmds.c \
1343 ex_cmds2.c \
1344 ex_docmd.c \
1345 ex_eval.c \
1346 ex_getln.c \
1347 fileio.c \
1348 fold.c \
1349 getchar.c \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001350 hardcopy.c \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001351 hashtab.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001352 if_cscope.c \
1353 if_xcmdsrv.c \
1354 main.c \
1355 mark.c \
1356 memfile.c \
1357 memline.c \
1358 menu.c \
1359 message.c \
1360 misc1.c \
1361 misc2.c \
1362 move.c \
1363 mbyte.c \
1364 normal.c \
1365 ops.c \
1366 option.c \
1367 os_unix.c \
1368 auto/pathdef.c \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001369 popupmnu.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001370 quickfix.c \
1371 regexp.c \
1372 screen.c \
1373 search.c \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001374 spell.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001375 syntax.c \
1376 tag.c \
1377 term.c \
1378 ui.c \
1379 undo.c \
1380 version.c \
1381 window.c \
1382 $(OS_EXTRA_SRC)
1383
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001384SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(MZSCHEME_SRC) \
1385 $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(RUBY_SRC) \
1386 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001387
Bram Moolenaar9372a112005-12-06 19:59:18 +00001388TAGS_SRC = *.c *.cpp if_perl.xs
Bram Moolenaare1d12892004-06-13 13:02:36 +00001389
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001390EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
1391 if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
1392 workshop.c wsdebug.c integration.c netbeans.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001393
1394# All sources, also the ones that are not configured
1395ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC)
1396
1397# Which files to check with lint. Select one of these three lines. ALL_SRC
1398# checks more, but may not work well for checking a GUI that wasn't configured.
1399# The perl sources also don't work well with lint.
1400LINT_SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(PYTHON_SRC) $(TCL_SRC) \
1401 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC) $(NETBEANS_SRC)
1402#LINT_SRC = $(SRC)
1403#LINT_SRC = $(ALL_SRC)
1404
1405OBJ = \
1406 objects/buffer.o \
1407 objects/charset.o \
1408 objects/diff.o \
1409 objects/digraph.o \
1410 objects/edit.o \
1411 objects/eval.o \
1412 objects/ex_cmds.o \
1413 objects/ex_cmds2.o \
1414 objects/ex_docmd.o \
1415 objects/ex_eval.o \
1416 objects/ex_getln.o \
1417 objects/fileio.o \
1418 objects/fold.o \
1419 objects/getchar.o \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001420 objects/hardcopy.o \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001421 objects/hashtab.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001422 $(HANGULIN_OBJ) \
1423 objects/if_cscope.o \
1424 objects/if_xcmdsrv.o \
1425 objects/main.o \
1426 objects/mark.o \
1427 objects/memfile.o \
1428 objects/memline.o \
1429 objects/menu.o \
1430 objects/message.o \
1431 objects/misc1.o \
1432 objects/misc2.o \
1433 objects/move.o \
1434 objects/mbyte.o \
1435 objects/normal.o \
1436 objects/ops.o \
1437 objects/option.o \
1438 objects/os_unix.o \
1439 objects/pathdef.o \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001440 objects/popupmnu.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001441 objects/quickfix.o \
1442 objects/regexp.o \
1443 objects/screen.o \
1444 objects/search.o \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001445 objects/spell.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001446 objects/syntax.o \
1447 $(SNIFF_OBJ) \
1448 objects/tag.o \
1449 objects/term.o \
1450 objects/ui.o \
1451 objects/undo.o \
1452 objects/window.o \
1453 $(GUI_OBJ) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001454 $(MZSCHEME_OBJ) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001455 $(PERL_OBJ) \
1456 $(PYTHON_OBJ) \
1457 $(TCL_OBJ) \
1458 $(RUBY_OBJ) \
1459 $(OS_EXTRA_OBJ) \
1460 $(WORKSHOP_OBJ) \
1461 $(NETBEANS_OBJ) \
1462 $(WSDEBUG_OBJ)
1463
1464PRO_AUTO = \
1465 buffer.pro \
1466 charset.pro \
1467 diff.pro \
1468 digraph.pro \
1469 edit.pro \
1470 eval.pro \
1471 ex_cmds.pro \
1472 ex_cmds2.pro \
1473 ex_docmd.pro \
1474 ex_eval.pro \
1475 ex_getln.pro \
1476 fileio.pro \
1477 fold.pro \
1478 getchar.pro \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001479 hardcopy.pro \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001480 hashtab.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001481 hangulin.pro \
1482 if_cscope.pro \
1483 if_xcmdsrv.pro \
1484 if_python.pro \
1485 if_ruby.pro \
1486 main.pro \
1487 mark.pro \
1488 memfile.pro \
1489 memline.pro \
1490 menu.pro \
1491 message.pro \
1492 misc1.pro \
1493 misc2.pro \
1494 move.pro \
1495 mbyte.pro \
1496 normal.pro \
1497 ops.pro \
1498 option.pro \
1499 os_unix.pro \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00001500 popupmnu.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001501 quickfix.pro \
1502 regexp.pro \
1503 screen.pro \
1504 search.pro \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001505 spell.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001506 syntax.pro \
1507 tag.pro \
1508 term.pro \
1509 termlib.pro \
1510 ui.pro \
1511 undo.pro \
1512 version.pro \
1513 window.pro \
1514 gui_beval.pro \
1515 workshop.pro \
1516 netbeans.pro \
1517 $(ALL_GUI_PRO) \
1518 $(TCL_PRO)
1519
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00001520ICON_APP = gui_mac.icns
1521
Bram Moolenaare1d12892004-06-13 13:02:36 +00001522PRO_MANUAL = os_amiga.pro os_msdos.pro os_win16.pro os_win32.pro \
1523 os_mswin.pro os_beos.pro os_vms.pro os_riscos.pro $(PERL_PRO)
1524
1525# Default target is making the executable and tools
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001526all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001527
1528tools: $(TOOLS)
1529
1530# Run configure with all the setting from above.
1531#
1532# Note: auto/config.h doesn't depend on configure, because running configure
1533# doesn't always update auto/config.h. The timestamp isn't changed if the
1534# file contents didn't change (to avoid recompiling everything). Including a
1535# dependency on auto/config.h would cause running configure each time when
1536# auto/config.h isn't updated. The dependency on auto/config.mk should make
1537# sure configure is run when it's needed.
1538#
1539config auto/config.mk: auto/configure config.mk.in config.h.in
1540 GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
1541 CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
1542 LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
1543 ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
1544 $(CONF_OPT_DARWIN) $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) \
1545 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
1546 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
1547 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1548 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1549 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001550 $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001551
1552# Use "make reconfig" to rerun configure without cached values.
1553# When config.h changes, most things will be recompiled automatically.
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001554# Invoke $(MAKE) to run config with the empty auto/config.mk.
1555# Invoke $(MAKE) to build all with the filled auto/config.mk.
1556reconfig: scratch clean
1557 $(MAKE) -f Makefile config
1558 $(MAKE) -f Makefile all
Bram Moolenaare1d12892004-06-13 13:02:36 +00001559
1560# Run autoconf to produce auto/configure.
1561# Note:
1562# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
1563# producing auto/configure.
1564# - autoconf is not run automatically, because a patch usually changes both
1565# configure.in and auto/configure but can't update the timestamps. People
1566# who do not have (the correct version of) autoconf would run into trouble.
1567#
1568# Two tricks are required to make autoconf put its output in the "auto" dir:
1569# - Temporarily move the ./configure script to ./configure.save. Don't
1570# overwrite it, it's probably the result of an aborted autoconf.
1571# - Use sed to change ./config.log to auto/config.log in the configure script.
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001572# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
1573# care of:
1574# - configure.lineno: has the line numbers replaced with $LINENO. That
1575# improves patches a LOT, thus use it instead (until someone says it doesn't
1576# work on some system).
1577# - autom4te.cache directory is created and not cleaned up. Delete it.
1578# - Uses ">config.log" instead of "./config.log".
Bram Moolenaare1d12892004-06-13 13:02:36 +00001579autoconf:
1580 if test ! -f configure.save; then mv configure configure.save; fi
1581 autoconf
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001582 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 +00001583 chmod 755 auto/configure
1584 mv -f configure.save configure
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001585 -rm -rf autom4te.cache
Bram Moolenaare1d12892004-06-13 13:02:36 +00001586 -rm -f auto/config.status auto/config.cache
1587
1588# Re-execute this Makefile to include the new auto/config.mk produced by
1589# configure Only used when typing "make" with a fresh auto/config.mk.
1590myself:
1591 $(MAKE) -f Makefile all
1592
1593
1594# The normal command to compile a .c file to its .o file.
1595CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
1596
1597
1598# Link the target for normal use or debugging.
1599# A shell script is used to try linking without unneccesary libraries.
1600$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
1601 $(CCC) version.c -o objects/version.o
1602 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
1603 -o $(VIMTARGET) $(OBJ) objects/version.o $(ALL_LIBS)" \
1604 MAKE="$(MAKE)" sh $(srcdir)/link.sh
1605
1606xxd/xxd$(EXEEXT): xxd/xxd.c
1607 cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
1608 $(MAKE) -f Makefile
1609
1610# Build the language specific files if they were unpacked.
1611# Generate the converted .mo files separately, it's no problem if this fails.
1612languages:
1613 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001614 cd $(PODIR); \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001615 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001616 fi
1617 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1618 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
1619 fi
1620
1621# Update the *.po files for changes in the sources. Only run manually.
1622update-po:
1623 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
1624
1625# Generate function prototypes. This is not needed to compile vim, but if
1626# you want to use it, cproto is out there on the net somewhere -- Webb
1627#
1628# When generating os_amiga.pro, os_msdos.pro and os_win32.pro there will be a
1629# few include files that can not be found, that's OK.
1630
1631proto: $(PRO_AUTO) $(PRO_MANUAL)
1632
1633### Would be nice if this would work for "normal" make.
1634### Currently it only works for (Free)BSD make.
1635#$(PRO_AUTO): $$(*F).c
1636# cproto $(PFLAGS) -DFEAT_GUI $(*F).c > $@
1637
1638# Always define FEAT_GUI. This may generate a few warnings if it's also
1639# defined in auto/config.h, you can ignore that.
1640.c.pro:
1641 cproto $(PFLAGS) -DFEAT_GUI $< > proto/$@
1642 echo "/* vim: set ft=c : */" >> proto/$@
1643
1644os_amiga.pro: os_amiga.c
1645 cproto $(PFLAGS) -DAMIGA -UHAVE_CONFIG_H -DBPTR=char* $< > proto/$@
1646 echo "/* vim: set ft=c : */" >> proto/$@
1647
1648os_msdos.pro: os_msdos.c
1649 cproto $(PFLAGS) -DMSDOS -UHAVE_CONFIG_H $< > proto/$@
1650 echo "/* vim: set ft=c : */" >> proto/$@
1651
1652os_win16.pro: os_win16.c
1653 cproto $(PFLAGS) -DWIN16 -UHAVE_CONFIG_H $< > proto/$@
1654 echo "/* vim: set ft=c : */" >> proto/$@
1655
1656os_win32.pro: os_win32.c
1657 cproto $(PFLAGS) -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1658 echo "/* vim: set ft=c : */" >> proto/$@
1659
1660os_mswin.pro: os_mswin.c
1661 cproto $(PFLAGS) -DWIN16 -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1662 echo "/* vim: set ft=c : */" >> proto/$@
1663
1664os_beos.pro: os_beos.c
1665 cproto $(PFLAGS) -D__BEOS__ -UHAVE_CONFIG_H $< > proto/$@
1666 echo "/* vim: set ft=c : */" >> proto/$@
1667
1668os_vms.pro: os_vms.c
1669# must use os_vms_conf.h for auto/config.h
1670 mv auto/config.h auto/config.h.save
1671 cp os_vms_conf.h auto/config.h
1672 cproto $(PFLAGS) -DVMS -UFEAT_GUI_ATHENA -UFEAT_GUI_NEXTAW -UFEAT_GUI_MOTIF -UFEAT_GUI_GTK $< > proto/$@
1673 echo "/* vim: set ft=c : */" >> proto/$@
1674 rm auto/config.h
1675 mv auto/config.h.save auto/config.h
1676
1677# if_perl.pro is special: Use the generated if_perl.c for input and remove
1678# prototypes for local functions.
1679if_perl.pro: auto/if_perl.c
1680 cproto $(PFLAGS) -DFEAT_GUI auto/if_perl.c | sed "/_VI/d" > proto/$@
1681
1682
1683notags:
1684 -rm -f tags
1685
1686# Note: tags is made for the currently configured version, can't include both
1687# Motif and Athena GUI
1688# You can ignore error messages for missing files.
1689tags TAGS: notags
1690 $(TAGPRG) $(TAGS_SRC) $(TAGS_INCL)
1691
1692# Make a highlight file for types. Requires Exuberant ctags and awk
1693types: types.vim
1694types.vim: $(TAGS_SRC) $(TAGS_INCL)
1695 ctags --c-kinds=gstu -o- $(TAGS_SRC) $(TAGS_INCL) |\
1696 awk 'BEGIN{printf("syntax keyword Type\t")}\
1697 {printf("%s ", $$1)}END{print ""}' > $@
1698
1699# Execute the test scripts. Run these after compiling Vim, before installing.
1700# This doesn't depend on $(VIMTARGET), because that won't work when configure
1701# wasn't run yet. Restart make to build it instead.
1702#
1703# This will produce a lot of garbage on your screen, including a few error
1704# messages. Don't worry about that.
1705# If there is a real error, there will be a difference between "test.out" and
1706# a "test99.ok" file.
1707# If everything is allright, the final message will be "ALL DONE".
1708#
1709test check:
1710 $(MAKE) -f Makefile $(VIMTARGET)
Bram Moolenaar1a14c2c2006-03-25 21:52:34 +00001711 -if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar316059c2006-01-14 21:18:42 +00001712 cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
1713 fi
Bram Moolenaard12f5c12006-01-25 22:10:52 +00001714 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001715
1716testclean:
1717 cd testdir; $(MAKE) -f Makefile clean
Bram Moolenaar316059c2006-01-14 21:18:42 +00001718 if test -d $(PODIR); then \
1719 cd $(PODIR); $(MAKE) checkclean; \
1720 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00001721
1722#
1723# Avoid overwriting an existing executable, somebody might be running it and
1724# overwriting it could cause it to crash. Deleting it is OK, it won't be
1725# really deleted until all running processes for it have exited. It is
1726# renamed first, in case the deleting doesn't work.
1727#
1728# If you want to keep an older version, rename it before running "make
1729# install".
1730#
1731install: $(GUI_INSTALL)
1732
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001733install_normal: installvim installtools $(INSTALL_LANGS) install-icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00001734
Bram Moolenaare344bea2005-09-01 20:46:49 +00001735installvim: installvimbin installtutorbin \
1736 installruntime installlinks installmanlinks
Bram Moolenaare1d12892004-06-13 13:02:36 +00001737
1738installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1739 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1740 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1741 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
1742 fi
1743 $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
1744 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
1745 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
1746# may create a link to the new executable from /usr/bin/vi
1747 -$(LINKIT)
1748
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001749# Long list of arguments for the shell script that installs the manual pages
1750# for one language.
1751INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
1752 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
1753
Bram Moolenaare344bea2005-09-01 20:46:49 +00001754# Install most of the runtime files
1755installruntime: installrtbase installmacros installtutor installspell
1756
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001757# install the help files; first adjust the contents for the final location
Bram Moolenaare344bea2005-09-01 20:46:49 +00001758installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001759 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001760 $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_TUTOR) \
1761 $(DEST_SPELL) $(DEST_COMP)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001762 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001763 @echo generating help tags
1764# Generate the help tags with ":helptags" to handle all languages.
1765 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
1766 cd $(HELPSOURCE); \
1767 files=`ls *.txt tags`; \
1768 files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \
1769 $(INSTALL_DATA) $$files $(DEST_HELP); \
1770 cd $(DEST_HELP); \
1771 chmod $(HELPMOD) $$files
1772 $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
1773 chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
1774# install the menu files
1775 $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
1776 chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
1777 $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.vim $(SYS_SYNMENU_FILE)
1778 chmod $(VIMSCRIPTMOD) $(SYS_SYNMENU_FILE)
1779 $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.vim $(SYS_DELMENU_FILE)
1780 chmod $(VIMSCRIPTMOD) $(SYS_DELMENU_FILE)
1781# install the evim file
1782 $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.vim $(MSWIN_FILE)
1783 chmod $(VIMSCRIPTMOD) $(MSWIN_FILE)
1784 $(INSTALL_DATA) $(SCRIPTSOURCE)/evim.vim $(EVIM_FILE)
1785 chmod $(VIMSCRIPTMOD) $(EVIM_FILE)
1786# install the bugreport file
1787 $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.vim $(SYS_BUGR_FILE)
1788 chmod $(VIMSCRIPTMOD) $(SYS_BUGR_FILE)
1789# install the example vimrc files
1790 $(INSTALL_DATA) $(SCRIPTSOURCE)/vimrc_example.vim $(DEST_SCRIPT)
1791 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/vimrc_example.vim
1792 $(INSTALL_DATA) $(SCRIPTSOURCE)/gvimrc_example.vim $(DEST_SCRIPT)
1793 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/gvimrc_example.vim
1794# install the file type detection files
1795 $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.vim $(SYS_FILETYPE_FILE)
1796 chmod $(VIMSCRIPTMOD) $(SYS_FILETYPE_FILE)
1797 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.vim $(SYS_FTOFF_FILE)
1798 chmod $(VIMSCRIPTMOD) $(SYS_FTOFF_FILE)
1799 $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.vim $(SYS_SCRIPTS_FILE)
1800 chmod $(VIMSCRIPTMOD) $(SYS_SCRIPTS_FILE)
1801 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.vim $(SYS_FTPLUGIN_FILE)
1802 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGIN_FILE)
1803 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.vim $(SYS_FTPLUGOF_FILE)
1804 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGOF_FILE)
1805 $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.vim $(SYS_INDENT_FILE)
1806 chmod $(VIMSCRIPTMOD) $(SYS_INDENT_FILE)
1807 $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.vim $(SYS_INDOFF_FILE)
1808 chmod $(VIMSCRIPTMOD) $(SYS_INDOFF_FILE)
1809 $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.vim $(SYS_OPTWIN_FILE)
1810 chmod $(VIMSCRIPTMOD) $(SYS_OPTWIN_FILE)
1811# install the print resource files
1812 cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT)
1813 cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
1814# install the colorscheme files
1815 cd $(COLSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COL)
1816 cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt
1817# install the syntax files
1818 cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
1819 cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
1820# install the indent files
1821 cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
1822 cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001823# install the standard autoload files
1824 cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
1825 cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00001826# install the standard plugin files
1827 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
1828 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
1829# install the ftplugin files
1830 cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_FTP)
1831 cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
1832# install the compiler files
1833 cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
1834 cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
1835
Bram Moolenaar582fd852005-03-28 20:58:01 +00001836installmacros: $(DEST_VIM) $(DEST_RT) $(DEST_MACRO)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001837 $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO)
1838 chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print`
1839 chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
1840 chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
1841# When using CVS some CVS directories might have been copied.
1842 cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR \) -print`; \
1843 if test -n "$$cvs"; then \
1844 rm -rf $$cvs; \
1845 fi
1846
1847# install the tutor files
Bram Moolenaare344bea2005-09-01 20:46:49 +00001848installtutorbin: $(DEST_VIM)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001849 $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1850 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
Bram Moolenaare344bea2005-09-01 20:46:49 +00001851
1852installtutor: $(DEST_RT) $(DEST_TUTOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001853 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
1854 chmod $(HELPMOD) $(DEST_TUTOR)/*
1855
Bram Moolenaarcee55602005-08-21 22:12:59 +00001856# Install the spell files, if they exist. This assumes at least the English
1857# spell file is there.
Bram Moolenaar582fd852005-03-28 20:58:01 +00001858installspell: $(DEST_VIM) $(DEST_RT) $(DEST_SPELL)
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00001859 if test -f $(SPELLSOURCE)/en.latin1.spl; then \
Bram Moolenaardb552d602006-03-23 22:59:57 +00001860 $(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(SPELLSOURCE)/*.sug $(SPELLSOURCE)/*.vim $(DEST_SPELL); \
1861 chmod $(HELPMOD) $(DEST_SPELL)/*.spl $(DEST_SPELL)/*.sug $(DEST_SPELL)/*.vim; \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001862 fi
1863
Bram Moolenaare1d12892004-06-13 13:02:36 +00001864# install helper program xxd
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001865installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001866 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS) \
1867 $(INSTALL_TOOL_LANGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001868 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
1869 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
1870 rm -f $(DEST_BIN)/xxd.rm; \
1871 fi
1872 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
1873 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
1874 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001875 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001876
Bram Moolenaare1d12892004-06-13 13:02:36 +00001877# install the runtime tools
1878 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
1879# When using CVS some CVS directories might have been copied.
1880 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
1881 if test -n "$$cvs"; then \
1882 rm -rf $$cvs; \
1883 fi
1884 -chmod $(FILEMOD) $(DEST_TOOLS)/*
1885# replace the path in some tools
1886 perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl
1887 awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1888 awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1889 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
1890 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
1891
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001892# install the language specific files for tools, if they were unpacked
1893install-tool-languages:
1894 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1895 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1896 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
1897 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1898 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
1899 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
1900 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
1901 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
1902
Bram Moolenaare1d12892004-06-13 13:02:36 +00001903# install the language specific files, if they were unpacked
1904install-languages: languages $(DEST_LANG) $(DEST_KMAP)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001905 -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1906 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1907 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001908 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001909 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001910 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001911 -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001912 -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001913 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001914 $(DEST_MAN_FR) $(INSTALLMLARGS)
1915 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1916 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
1917 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1918 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
1919 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001920 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001921 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001922 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
1923 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001924 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
1925 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001926 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001927 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1928 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001929 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1930 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
1931 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
1932 fi
1933 if test -d $(LANGSOURCE); then \
1934 $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.vim $(DEST_LANG); \
1935 chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.vim; \
1936 fi
1937 if test -d $(KMAPSOURCE); then \
1938 $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.vim $(DEST_KMAP); \
1939 chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.vim; \
1940 fi
1941
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001942# install the icons for KDE, if the directory exists and the icon doesn't.
Bram Moolenaare1d12892004-06-13 13:02:36 +00001943ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
1944ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
1945ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
1946KDEPATH = $(HOME)/.kde/share/icons
1947install-icons:
1948 if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
1949 -a ! -f $(ICON48PATH)/gvim.png; then \
1950 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; \
1951 fi
1952 if test -d $(ICON32PATH) -a -w $(ICON32PATH) \
1953 -a ! -f $(ICON32PATH)/gvim.png; then \
1954 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim32x32.png $(ICON32PATH)/gvim.png; \
1955 fi
1956 if test -d $(ICON16PATH) -a -w $(ICON16PATH) \
1957 -a ! -f $(ICON16PATH)/gvim.png; then \
1958 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
1959 fi
1960
1961
1962$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
1963 @echo Runtime files not found.
1964 @echo You need to unpack the runtime archive before running "make install".
1965 test -f error
1966
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001967$(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1968 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001969 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
1970 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001971 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001972 $(DEST_AUTO) $(DEST_PLUG):
Bram Moolenaare1d12892004-06-13 13:02:36 +00001973 -$(SHELL) ./mkinstalldirs $@
1974 -chmod $(DIRMOD) $@
1975
1976# create links from various names to vim. This is only done when the links
1977# (or executables with the same name) don't exist yet.
1978installlinks: $(GUI_TARGETS) \
1979 $(DEST_BIN)/$(EXTARGET) \
1980 $(DEST_BIN)/$(VIEWTARGET) \
1981 $(DEST_BIN)/$(RVIMTARGET) \
1982 $(DEST_BIN)/$(RVIEWTARGET) \
1983 $(INSTALLVIMDIFF)
1984
1985installglinks: $(DEST_BIN)/$(GVIMTARGET) \
1986 $(DEST_BIN)/$(GVIEWTARGET) \
1987 $(DEST_BIN)/$(RGVIMTARGET) \
1988 $(DEST_BIN)/$(RGVIEWTARGET) \
1989 $(DEST_BIN)/$(EVIMTARGET) \
1990 $(DEST_BIN)/$(EVIEWTARGET) \
1991 $(INSTALLGVIMDIFF)
1992
1993installvimdiff: $(DEST_BIN)/$(VIMDIFFTARGET)
1994installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
1995
1996$(DEST_BIN)/$(EXTARGET):
1997 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EXTARGET)
1998
1999$(DEST_BIN)/$(VIEWTARGET):
2000 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIEWTARGET)
2001
2002$(DEST_BIN)/$(GVIMTARGET):
2003 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMTARGET)
2004
2005$(DEST_BIN)/$(GVIEWTARGET):
2006 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIEWTARGET)
2007
2008$(DEST_BIN)/$(RVIMTARGET):
2009 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIMTARGET)
2010
2011$(DEST_BIN)/$(RVIEWTARGET):
2012 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIEWTARGET)
2013
2014$(DEST_BIN)/$(RGVIMTARGET):
2015 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIMTARGET)
2016
2017$(DEST_BIN)/$(RGVIEWTARGET):
2018 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIEWTARGET)
2019
2020$(DEST_BIN)/$(VIMDIFFTARGET):
2021 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIMDIFFTARGET)
2022
2023$(DEST_BIN)/$(GVIMDIFFTARGET):
2024 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMDIFFTARGET)
2025
2026$(DEST_BIN)/$(EVIMTARGET):
2027 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIMTARGET)
2028
2029$(DEST_BIN)/$(EVIEWTARGET):
2030 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
2031
Bram Moolenaardb552d602006-03-23 22:59:57 +00002032# Create links for the manual pages with various names to vim. This is only
Bram Moolenaare1d12892004-06-13 13:02:36 +00002033# done when the links (or manpages with the same name) don't exist yet.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002034
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002035INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
2036 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
2037 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
2038 $(GVIMDIFFNAME) $(EVIEWNAME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002039
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002040installmanlinks:
2041 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2042 $(DEST_MAN) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002043
2044uninstall: uninstall_runtime
2045 -rm -f $(DEST_BIN)/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002046 -rm -f $(DEST_BIN)/vimtutor
Bram Moolenaare1d12892004-06-13 13:02:36 +00002047 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
2048 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
2049 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
2050 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
2051 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
2052 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002053 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002054
2055# Note: the "rmdir" will fail if any files were added after "make install"
2056uninstall_runtime:
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002057 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002058 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR) "" $(INSTALLMANARGS)
2059 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_I) "" $(INSTALLMANARGS)
2060 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_U) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002061 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002062 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_I) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002063 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS)
2064 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS)
2065 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002066 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2067 $(DEST_MAN) $(INSTALLMLARGS)
2068 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002069 $(DEST_MAN_FR) $(INSTALLMLARGS)
2070 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2071 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
2072 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2073 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
2074 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002075 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002076 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00002077 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
2078 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002079 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
2080 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002081 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002082 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2083 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
2084 -rm -f $(DEST_MAN)/xxd.1
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002085 -rm -f $(DEST_MAN_FR)/xxd.1 $(DEST_MAN_FR_I)/xxd.1 $(DEST_MAN_FR_U)/xxd.1
Bram Moolenaar217ad922005-03-20 22:37:15 +00002086 -rm -f $(DEST_MAN_IT)/xxd.1 $(DEST_MAN_IT_I)/xxd.1 $(DEST_MAN_IT_U)/xxd.1
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002087 -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1
Bram Moolenaare1d12892004-06-13 13:02:36 +00002088 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2089 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2090 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2091 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2092 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim
2093 -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE)
2094 -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE)
2095 -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE)
2096 -rm -f $(SYS_OPTWIN_FILE)
2097 -rm -f $(DEST_COL)/*.vim $(DEST_COL)/README.txt
2098 -rm -f $(DEST_SYN)/*.vim $(DEST_SYN)/README.txt
2099 -rm -f $(DEST_IND)/*.vim $(DEST_IND)/README.txt
2100 -rm -rf $(DEST_MACRO)
2101 -rm -rf $(DEST_TUTOR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002102 -rm -rf $(DEST_SPELL)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002103 -rm -rf $(DEST_TOOLS)
2104 -rm -rf $(DEST_LANG)
2105 -rm -rf $(DEST_KMAP)
2106 -rm -rf $(DEST_COMP)
2107 -rm -f $(DEST_PRINT)/*.ps
2108 -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
2109 -rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002110 -rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00002111 -rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002112 -rmdir $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_RT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002113# This will fail when other Vim versions are installed, no worries.
2114 -rmdir $(DEST_VIM)
2115
2116# Clean up all the files that have been produced, except configure's.
2117# We support common typing mistakes for Juergen! :-)
2118clean celan: testclean
2119 -rm -f *.o objects/* core $(VIMTARGET).core $(VIMTARGET) xxd/*.o
2120 -rm -f $(TOOLS) auto/osdef.h auto/pathdef.c auto/if_perl.c
2121 -rm -f conftest* *~ auto/link.sed
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002122 -rm -rf $(APPDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002123 if test -d $(PODIR); then \
2124 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
2125 fi
2126
2127# Make a shadow directory for compilation on another system or with different
2128# features.
2129SHADOWDIR = shadow
2130
2131shadow: runtime pixmaps
2132 mkdir $(SHADOWDIR)
2133 cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
2134 mkdir $(SHADOWDIR)/auto
2135 cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
2136 cd $(SHADOWDIR); rm -f auto/link.sed
2137 cp Makefile configure $(SHADOWDIR)
2138 rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
2139 cp config.mk.dist $(SHADOWDIR)/auto/config.mk
2140 cp config.mk.dist $(SHADOWDIR)
2141 mkdir $(SHADOWDIR)/xxd
2142 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002143 if test -f $(ICON_APP); then \
2144 cd $(SHADOWDIR); \
2145 ln -s ../$(ICON_APP) ../os_mac.rsr.hqx ../dehqx.py .; \
2146 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00002147 mkdir $(SHADOWDIR)/testdir
2148 cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
2149 ../../testdir/vimrc.unix \
2150 ../../testdir/*.in \
2151 ../../testdir/unix.vim \
2152 ../../testdir/*.ok .
2153
2154# Link needed for doing "make install" in a shadow directory.
2155runtime:
2156 -ln -s ../runtime .
2157
2158# Link needed for doing "make" using GTK in a shadow directory.
2159pixmaps:
2160 -ln -s ../pixmaps .
2161
2162# Update the synmenu.vim file with the latest Syntax menu.
2163# This is only needed when runtime/makemenu.vim was changed.
2164menu: ./vim ../runtime/makemenu.vim
2165 ./vim -u ../runtime/makemenu.vim
2166
2167# Start configure from scratch
2168scrub scratch:
2169 -rm -f auto/config.status auto/config.cache config.log auto/config.log
2170 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
2171 touch auto/config.h
2172 cp config.mk.dist auto/config.mk
2173
2174distclean: clean scratch
2175 -rm -f tags
2176
2177dist: distclean
2178 @echo
2179 @echo Making the distribution has to be done in the top directory
2180
2181mdepend:
2182 -@rm -f Makefile~
2183 cp Makefile Makefile~
2184 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2185 @for i in $(ALL_SRC) ; do \
2186 echo "$$i" ; \
2187 echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\
2188 $(CPP) $$i |\
2189 grep '^# .*"\./.*\.h"' |\
2190 sort -t'"' -u +1 -2 |\
2191 sed -e 's/.*"\.\/\(.*\)".*/\1/'\
2192 ` >> tmp_make ; \
2193 done
2194 mv tmp_make Makefile
2195
2196depend:
2197 -@rm -f Makefile~
2198 cp Makefile Makefile~
2199 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2200 -for i in $(ALL_SRC); do echo $$i; \
2201 $(CPP_DEPEND) $$i | \
2202 sed -e 's+^\([^ ]*\.o\)+objects/\1+' >> tmp_make; done
2203 mv tmp_make Makefile
2204
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002205# Run lint. Clean up the *.ln files that are sometimes left behind.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002206lint:
Bram Moolenaar051b7822005-05-19 21:00:46 +00002207 lint $(LINT_OPTIONS) $(LINT_CFLAGS) $(LINT_EXTRA) $(LINT_SRC)
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002208 -rm -f *.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002209
2210# Check dosinst.c with lint.
2211lintinstall:
2212 lint $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002213 -rm -f dosinst.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002214
2215###########################################################################
2216
2217.c.o:
2218 $(CCC) $<
2219
Bram Moolenaare1d12892004-06-13 13:02:36 +00002220auto/if_perl.c: if_perl.xs
2221 $(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
2222 $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
2223 $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
2224
2225auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
Bram Moolenaare224ffa2006-03-01 00:01:28 +00002226 CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Bram Moolenaare1d12892004-06-13 13:02:36 +00002227
2228QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
2229auto/pathdef.c: Makefile auto/config.mk
2230 -@echo creating $@
2231 -@echo '/* pathdef.c */' > $@
2232 -@echo '/* This file is automatically created by Makefile' >> $@
2233 -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@
2234 -@echo '#include "vim.h"' >> $@
2235 -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
2236 -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
2237 -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@
2238 -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@
2239 -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
2240 -@if test -n "$(COMPILEDBY)"; then \
2241 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
2242 else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
2243 -@echo '";' >> $@
2244 -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
2245 -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
2246 -@echo '";' >> $@
2247 -@sh $(srcdir)/pathdef.sh
2248
2249# All the object files are put in the "objects" directory. Since not all make
2250# commands understand putting object files in another directory, it must be
2251# specified for each file separately.
2252
2253objects:
2254 mkdir objects
2255
2256objects/buffer.o: buffer.c
2257 $(CCC) -o $@ buffer.c
2258
2259objects/charset.o: charset.c
2260 $(CCC) -o $@ charset.c
2261
2262objects/diff.o: diff.c
2263 $(CCC) -o $@ diff.c
2264
2265objects/digraph.o: digraph.c
2266 $(CCC) -o $@ digraph.c
2267
2268objects/edit.o: edit.c
2269 $(CCC) -o $@ edit.c
2270
2271objects/eval.o: eval.c
2272 $(CCC) -o $@ eval.c
2273
2274objects/ex_cmds.o: ex_cmds.c
2275 $(CCC) -o $@ ex_cmds.c
2276
2277objects/ex_cmds2.o: ex_cmds2.c
2278 $(CCC) -o $@ ex_cmds2.c
2279
2280objects/ex_docmd.o: ex_docmd.c
2281 $(CCC) -o $@ ex_docmd.c
2282
2283objects/ex_eval.o: ex_eval.c
2284 $(CCC) -o $@ ex_eval.c
2285
2286objects/ex_getln.o: ex_getln.c
2287 $(CCC) -o $@ ex_getln.c
2288
2289objects/fileio.o: fileio.c
2290 $(CCC) -o $@ fileio.c
2291
2292objects/fold.o: fold.c
2293 $(CCC) -o $@ fold.c
2294
2295objects/getchar.o: getchar.c
2296 $(CCC) -o $@ getchar.c
2297
Bram Moolenaar58d98232005-07-23 22:25:46 +00002298objects/hardcopy.o: hardcopy.c
2299 $(CCC) -o $@ hardcopy.c
2300
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002301objects/hashtab.o: hashtab.c
2302 $(CCC) -o $@ hashtab.c
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002303
Bram Moolenaare1d12892004-06-13 13:02:36 +00002304objects/gui.o: gui.c
2305 $(CCC) -o $@ gui.c
2306
2307objects/gui_at_fs.o: gui_at_fs.c
2308 $(CCC) -o $@ gui_at_fs.c
2309
2310objects/gui_at_sb.o: gui_at_sb.c
2311 $(CCC) -o $@ gui_at_sb.c
2312
2313objects/gui_athena.o: gui_athena.c
2314 $(CCC) -o $@ gui_athena.c
2315
Bram Moolenaare1d12892004-06-13 13:02:36 +00002316objects/gui_beval.o: gui_beval.c
2317 $(CCC) -o $@ gui_beval.c
2318
2319objects/gui_gtk.o: gui_gtk.c
2320 $(CCC) -o $@ gui_gtk.c
2321
2322objects/gui_gtk_f.o: gui_gtk_f.c
2323 $(CCC) -o $@ gui_gtk_f.c
2324
2325objects/gui_gtk_x11.o: gui_gtk_x11.c
2326 $(CCC) -o $@ gui_gtk_x11.c
2327
2328objects/gui_motif.o: gui_motif.c
2329 $(CCC) -o $@ gui_motif.c
2330
Bram Moolenaardfccaf02004-12-31 20:56:11 +00002331objects/gui_xmdlg.o: gui_xmdlg.c
2332 $(CCC) -o $@ gui_xmdlg.c
2333
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00002334objects/gui_xmebw.o: gui_xmebw.c
2335 $(CCC) -o $@ gui_xmebw.c
2336
Bram Moolenaare1d12892004-06-13 13:02:36 +00002337objects/gui_x11.o: gui_x11.c
2338 $(CCC) -o $@ gui_x11.c
2339
2340objects/gui_photon.o: gui_photon.c
2341 $(CCC) -o $@ gui_photon.c
2342
2343objects/gui_mac.o: gui_mac.c
2344 $(CCC) -o $@ gui_mac.c
2345
2346objects/hangulin.o: hangulin.c
2347 $(CCC) -o $@ hangulin.c
2348
2349objects/if_cscope.o: if_cscope.c
2350 $(CCC) -o $@ if_cscope.c
2351
2352objects/if_xcmdsrv.o: if_xcmdsrv.c
2353 $(CCC) -o $@ if_xcmdsrv.c
2354
Bram Moolenaar325b7a22004-07-05 15:58:32 +00002355objects/if_mzsch.o: if_mzsch.c
2356 $(CCC) -o $@ if_mzsch.c
2357
Bram Moolenaare1d12892004-06-13 13:02:36 +00002358objects/if_perl.o: auto/if_perl.c
2359 $(CCC) -o $@ auto/if_perl.c
2360
2361objects/if_perlsfio.o: if_perlsfio.c
2362 $(CCC) -o $@ if_perlsfio.c
2363
2364objects/if_python.o: if_python.c
2365 $(CCC) -o $@ if_python.c
2366
2367objects/if_ruby.o: if_ruby.c
2368 $(CCC) -o $@ if_ruby.c
2369
2370objects/if_sniff.o: if_sniff.c
2371 $(CCC) -o $@ if_sniff.c
2372
2373objects/if_tcl.o: if_tcl.c
2374 $(CCC) -o $@ if_tcl.c
2375
2376objects/integration.o: integration.c
2377 $(CCC) -o $@ integration.c
2378
2379objects/main.o: main.c
2380 $(CCC) -o $@ main.c
2381
2382objects/mark.o: mark.c
2383 $(CCC) -o $@ mark.c
2384
2385objects/memfile.o: memfile.c
2386 $(CCC) -o $@ memfile.c
2387
2388objects/memline.o: memline.c
2389 $(CCC) -o $@ memline.c
2390
2391objects/menu.o: menu.c
2392 $(CCC) -o $@ menu.c
2393
2394objects/message.o: message.c
2395 $(CCC) -o $@ message.c
2396
2397objects/misc1.o: misc1.c
2398 $(CCC) -o $@ misc1.c
2399
2400objects/misc2.o: misc2.c
2401 $(CCC) -o $@ misc2.c
2402
2403objects/move.o: move.c
2404 $(CCC) -o $@ move.c
2405
2406objects/mbyte.o: mbyte.c
2407 $(CCC) -o $@ mbyte.c
2408
2409objects/normal.o: normal.c
2410 $(CCC) -o $@ normal.c
2411
2412objects/ops.o: ops.c
2413 $(CCC) -o $@ ops.c
2414
2415objects/option.o: option.c
2416 $(CCC) -o $@ option.c
2417
2418objects/os_beos.o: os_beos.c
2419 $(CCC) -o $@ os_beos.c
2420
2421objects/os_qnx.o: os_qnx.c
2422 $(CCC) -o $@ os_qnx.c
2423
2424objects/os_macosx.o: os_macosx.c
2425 $(CCC) -o $@ os_macosx.c
2426
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002427objects/os_mac_conv.o: os_mac_conv.c
2428 $(CCC) -o $@ os_mac_conv.c
2429
Bram Moolenaare1d12892004-06-13 13:02:36 +00002430objects/os_unix.o: os_unix.c
2431 $(CCC) -o $@ os_unix.c
2432
2433objects/pathdef.o: auto/pathdef.c
2434 $(CCC) -o $@ auto/pathdef.c
2435
2436objects/py_config.o: $(PYTHON_CONFDIR)/config.c
2437 $(CCC) -o $@ $(PYTHON_CONFDIR)/config.c \
2438 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN
2439
2440objects/py_getpath.o: $(PYTHON_CONFDIR)/getpath.c
2441 $(CCC) -o $@ $(PYTHON_CONFDIR)/getpath.c \
2442 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN \
2443 $(PYTHON_GETPATH_CFLAGS)
2444
2445objects/pty.o: pty.c
2446 $(CCC) -o $@ pty.c
2447
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002448objects/popupmnu.o: popupmnu.c
2449 $(CCC) -o $@ popupmnu.c
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00002450
Bram Moolenaare1d12892004-06-13 13:02:36 +00002451objects/quickfix.o: quickfix.c
2452 $(CCC) -o $@ quickfix.c
2453
2454objects/regexp.o: regexp.c
2455 $(CCC) -o $@ regexp.c
2456
2457objects/screen.o: screen.c
2458 $(CCC) -o $@ screen.c
2459
2460objects/search.o: search.c
2461 $(CCC) -o $@ search.c
2462
Bram Moolenaar217ad922005-03-20 22:37:15 +00002463objects/spell.o: spell.c
2464 $(CCC) -o $@ spell.c
2465
Bram Moolenaare1d12892004-06-13 13:02:36 +00002466objects/syntax.o: syntax.c
2467 $(CCC) -o $@ syntax.c
2468
2469objects/tag.o: tag.c
2470 $(CCC) -o $@ tag.c
2471
2472objects/term.o: term.c
2473 $(CCC) -o $@ term.c
2474
2475objects/ui.o: ui.c
2476 $(CCC) -o $@ ui.c
2477
2478objects/undo.o: undo.c
2479 $(CCC) -o $@ undo.c
2480
2481objects/window.o: window.c
2482 $(CCC) -o $@ window.c
2483
2484objects/workshop.o: workshop.c
2485 $(CCC) -o $@ workshop.c
2486
2487objects/wsdebug.o: wsdebug.c
2488 $(CCC) -o $@ wsdebug.c
2489
2490objects/netbeans.o: netbeans.c
2491 $(CCC) -o $@ netbeans.c
2492
2493Makefile:
2494 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
2495
2496###############################################################################
2497### MacOS X installation
2498###
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002499### This installs a runnable Vim.app in $(prefix)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002500
2501REZ = /Developer/Tools/Rez
Bram Moolenaare1d12892004-06-13 13:02:36 +00002502RESDIR = $(APPDIR)/Contents/Resources
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00002503VERSION = $(VIMMAJOR).$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002504
2505### Common flags
2506M4FLAGSX = $(M4FLAGS) -DAPP_EXE=$(VIMNAME) -DAPP_NAME=$(VIMNAME) \
2507 -DAPP_VER=$(VERSION) -DICON_APP=$(ICON_APP)
2508
2509### Icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00002510ICONS = $(RESDIR)/$(ICON_APP)
2511
2512# If you uncomment the following lines the *.icns in the src directory will be
2513# detected by this Makefile automatically, and used for Vim.
2514#ICON_APP = $(shell if [ -e app.icns ] ; then echo app.icns ; else echo gui_mac.icns ; fi)
2515#ICON_DOC = $(shell if [ -e doc.icns ] ; then echo doc.icns ; else echo ; fi)
2516#ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi)
2517#ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT))
2518
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002519install_macosx: gui_bundle
Bram Moolenaare344bea2005-09-01 20:46:49 +00002520# Remove the link to the runtime dir, don't want to copy all of that.
Bram Moolenaar56718732006-03-15 22:53:57 +00002521 -rm $(RESDIR)/vim/runtime
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002522 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix)
Bram Moolenaardb552d602006-03-23 22:59:57 +00002523# Generate the help tags file now, it won't work with "make installruntime".
2524 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
Bram Moolenaare344bea2005-09-01 20:46:49 +00002525# Install the runtime files. Recursive!
Bram Moolenaar56718732006-03-15 22:53:57 +00002526 -mkdir -p $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
2527# -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
Bram Moolenaare344bea2005-09-01 20:46:49 +00002528 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
2529 VIMEXE=$$srcdir/$(VIMTARGET) \
Bram Moolenaar56718732006-03-15 22:53:57 +00002530 prefix=$(DESTDIR)$(prefix)/$(RESDIR)/vim \
2531 VIMRTLOC=$(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
Bram Moolenaare344bea2005-09-01 20:46:49 +00002532# Put the link back.
Bram Moolenaar56718732006-03-15 22:53:57 +00002533 ln -s `pwd`/../runtime $(RESDIR)/vim
Bram Moolenaare344bea2005-09-01 20:46:49 +00002534# TODO: Create the vimtutor application.
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002535
Bram Moolenaar56718732006-03-15 22:53:57 +00002536gui_bundle: $(RESDIR) bundle-dir bundle-executable bundle-info bundle-resource \
Bram Moolenaare1d12892004-06-13 13:02:36 +00002537 bundle-language
2538
Bram Moolenaar56718732006-03-15 22:53:57 +00002539$(RESDIR):
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002540 mkdir -p $@
2541
Bram Moolenaare1d12892004-06-13 13:02:36 +00002542bundle-dir: $(APPDIR)/Contents $(VIMTARGET)
Bram Moolenaare344bea2005-09-01 20:46:49 +00002543# Make a link to the runtime directory, so that we can try out the executable
2544# without installing it.
Bram Moolenaar56718732006-03-15 22:53:57 +00002545 mkdir -p $(RESDIR)/vim
2546 -ln -s `pwd`/../runtime $(RESDIR)/vim
Bram Moolenaare1d12892004-06-13 13:02:36 +00002547
2548bundle-executable: $(VIMTARGET)
Bram Moolenaar56718732006-03-15 22:53:57 +00002549 mkdir -p $(APPDIR)/Contents/MacOS
Bram Moolenaare1d12892004-06-13 13:02:36 +00002550 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET)
2551
2552bundle-info: bundle-dir
2553 @echo "Creating PkgInfo"
2554 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo
2555 @echo "Creating Info.plist"
2556 m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
2557
2558bundle-resource: bundle-dir bundle-icons bundle-rsrc
2559
2560bundle-icons: $(ICONS)
2561
2562### Classic resources
2563# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
2564# This file is also required for OS X Vim.
2565bundle-rsrc: os_mac.rsr.hqx
2566 @echo "Creating resource fork"
2567 python dehqx.py $<
2568 rm -f gui_mac.rsrc
2569 mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
2570
2571# po/Make_osx.pl says something about generating a Mac message file
2572# for Ukrananian. Would somebody using Mac OS X in Ukranian
2573# *really* be upset that Carbon Vim was not localised in
2574# Ukranian?
2575#
2576#bundle-language: bundle-dir po/Make_osx.pl
2577# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
2578bundle-language: bundle-dir
2579
2580$(APPDIR)/Contents:
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002581 -$(SHELL) ./mkinstalldirs $(APPDIR)/Contents/MacOS
2582 -$(SHELL) ./mkinstalldirs $(RESDIR)/English.lproj
Bram Moolenaare1d12892004-06-13 13:02:36 +00002583
2584$(RESDIR)/%.icns: %.icns
2585 cp $< $@
2586
2587
2588###############################################################################
2589### (automatically generated by 'make depend')
2590### Dependencies:
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002591objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002592 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2593 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2594 arabic.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002595objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002596 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2597 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2598 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002599objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002600 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2601 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2602 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002603objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002604 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2605 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2606 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002607objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002608 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2609 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2610 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002611objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002612 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2613 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2614 arabic.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002615objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002616 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2617 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2618 arabic.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002619objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002620 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2621 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2622 globals.h farsi.h arabic.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002623objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002624 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2625 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2626 globals.h farsi.h arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002627objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002628 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2629 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2630 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002631objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002632 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2633 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2634 globals.h farsi.h arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002635objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002636 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2637 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2638 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002639objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002640 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2641 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2642 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002643objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002644 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2645 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2646 arabic.h
Bram Moolenaar58d98232005-07-23 22:25:46 +00002647objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002648 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2649 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2650 globals.h farsi.h arabic.h version.h
2651objects/hashtab.o: hashtab.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2652 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2653 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2654 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002655objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002656 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2657 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2658 globals.h farsi.h arabic.h if_cscope.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002659objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002660 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2661 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2662 globals.h farsi.h arabic.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002663objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002664 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2665 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2666 arabic.h farsi.c arabic.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00002667objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002668 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2669 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2670 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002671objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002672 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2673 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2674 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002675objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002676 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2677 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2678 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002679objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002680 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2681 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2682 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002683objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002684 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2685 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2686 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002687objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002688 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2689 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2690 arabic.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002691objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002692 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2693 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2694 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002695objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002696 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2697 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2698 arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002699objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002700 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2701 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2702 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002703objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002704 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2705 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2706 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002707objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002708 keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
2709 proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002710objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002711 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2712 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2713 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002714objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002715 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2716 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2717 arabic.h os_unixx.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002718objects/pathdef.o: auto/pathdef.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002719 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
2720 ./structs.h ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro \
2721 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h
2722objects/popupmnu.o: popupmnu.c vim.h auto/config.h feature.h os_unix.h \
2723 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2724 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2725 globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002726objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002727 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2728 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2729 globals.h farsi.h arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002730objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002731 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2732 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2733 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002734objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002735 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2736 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2737 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002738objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002739 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2740 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2741 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002742objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002743 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2744 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2745 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002746objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002747 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2748 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2749 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002750objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002751 keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
2752 proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002753objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002754 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2755 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2756 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002757objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002758 keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
2759 proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002760objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002761 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2762 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2763 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002764objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002765 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2766 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2767 arabic.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002768objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002769 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2770 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2771 arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002772objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002773 keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
2774 proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002775objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002776 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2777 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2778 globals.h farsi.h arabic.h ../pixmaps/stock_icons.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002779objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002780 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2781 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2782 globals.h farsi.h arabic.h gui_gtk_f.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002783objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002784 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2785 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2786 globals.h farsi.h arabic.h gui_xmebw.h ../pixmaps/alert.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002787 ../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002788 ../pixmaps/quest.xpm gui_x11_pm.h ../pixmaps/tb_new.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002789 ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm \
2790 ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm \
2791 ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2792 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2793 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2794 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2795 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2796 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2797 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2798 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2799 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2800 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2801 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2802 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2803 ../pixmaps/tb_minwidth.xpm
Bram Moolenaar202795b2005-10-11 20:29:39 +00002804objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002805 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2806 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2807 globals.h farsi.h arabic.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002808objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002809 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2810 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2811 globals.h farsi.h arabic.h gui_xmebwp.h gui_xmebw.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002812objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002813 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2814 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2815 globals.h farsi.h arabic.h gui_at_sb.h gui_x11_pm.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002816 ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
2817 ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
2818 ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2819 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2820 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2821 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2822 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2823 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2824 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2825 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2826 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2827 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2828 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2829 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2830 ../pixmaps/tb_minwidth.xpm
2831objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002832 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2833 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2834 globals.h farsi.h arabic.h gui_gtk_f.h ../runtime/vim32x32.xpm \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002835 ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
2836objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002837 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2838 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2839 arabic.h ../runtime/vim32x32.xpm ../runtime/vim16x16.xpm \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002840 ../runtime/vim48x48.xpm
2841objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002842 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2843 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2844 globals.h farsi.h arabic.h gui_at_sb.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002845objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002846 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2847 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2848 globals.h farsi.h arabic.h gui_at_sb.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002849objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002850 keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
2851 proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002852objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002853 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2854 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2855 globals.h farsi.h arabic.h
2856objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
2857 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2858 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2859 globals.h farsi.h arabic.h if_mzsch.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002860objects/if_perl.o: auto/if_perl.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002861 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
2862 ./structs.h ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro \
2863 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002864objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002865 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2866 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2867 globals.h farsi.h arabic.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002868objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002869 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2870 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2871 globals.h farsi.h arabic.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002872objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002873 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2874 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2875 arabic.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002876objects/if_ruby.o: if_ruby.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002877 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2878 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2879 arabic.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002880objects/if_sniff.o: if_sniff.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002881 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2882 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2883 globals.h farsi.h arabic.h os_unixx.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002884objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002885 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2886 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2887 globals.h farsi.h arabic.h
Bram Moolenaar202795b2005-10-11 20:29:39 +00002888objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002889 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
2890 structs.h regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h \
2891 proto.h globals.h farsi.h arabic.h version.h workshop.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002892objects/wsdebug.o: wsdebug.c
2893objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002894 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2895 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2896 globals.h farsi.h arabic.h integration.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002897objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002898 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2899 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2900 globals.h farsi.h arabic.h version.h