blob: 1cdfd742d4280f1fc23c4a79c3b3e62e81718abf [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
307#CONF_ARGS = --with-vim-name=vim6 --with-ex-name=ex6 --with-view-name=view6
308#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.
357#CONF_OPT_DARWIN = --disable-darwin
358
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000359# PERL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000360# Uncomment this when you want to include the Perl interface.
361# The Perl option sometimes causes problems, because it adds extra flags
362# to the command line. If you see strange flags during compilation, check in
363# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
364# the next line.
365# When you get an error for a missing "perl.exp" file, try creating an emtpy
366# one: "touch perl.exp".
367# This requires at least "small" features, "tiny" doesn't work.
368#CONF_OPT_PERL = --enable-perlinterp
369
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000370# PYTHON
Bram Moolenaare1d12892004-06-13 13:02:36 +0000371# Uncomment this when you want to include the Python interface.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +0000372# NOTE: This may cause threading to be enabled, which has side effects (such
373# as using different libraries and debugging becomes more difficult).
Bram Moolenaara5792f52005-11-23 21:25:05 +0000374# NOTE: Using this together with Perl may cause a crash in initialization.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000375#CONF_OPT_PYTHON = --enable-pythoninterp
376
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000377# TCL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000378# Uncomment this when you want to include the Tcl interface.
379#CONF_OPT_TCL = --enable-tclinterp
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +0000380#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
Bram Moolenaare1d12892004-06-13 13:02:36 +0000381
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000382# RUBY
Bram Moolenaare1d12892004-06-13 13:02:36 +0000383# Uncomment this when you want to include the Ruby interface.
384#CONF_OPT_RUBY = --enable-rubyinterp
385
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000386# MZSCHEME
387# Uncomment this when you want to include the MzScheme interface.
388#CONF_OPT_MZSCHEME = --enable-mzschemeinterp
389# PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
390#CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
391#CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
392#CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
393
394# CSCOPE
Bram Moolenaare1d12892004-06-13 13:02:36 +0000395# Uncomment this when you want to include the Cscope interface.
396#CONF_OPT_CSCOPE = --enable-cscope
397
398# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
399#CONF_OPT_WORKSHOP = --enable-workshop
400
401# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
402# Motif version must have XPM libraries (see |workshop-xpm|).
403# Uncomment this when you do not want the netbeans interface.
404#CONF_OPT_NETBEANS = --disable-netbeans
405
406# SNIFF - Include support for SNiFF+.
407#CONF_OPT_SNIFF = --enable-sniff
408
409# MULTIBYTE - To edit multi-byte characters.
410# Uncomment this when you want to edit a multibyte language.
411# It's automatically enabled with big features or IME support.
412# Note: Compile on a machine where setlocale() actually works, otherwise the
413# configure tests may fail.
414#CONF_OPT_MULTIBYTE = --enable-multibyte
415
416# NLS - National Language Support
417# Uncomment this when you do not want to support translated messages, even
418# though configure can find support for it.
419#CONF_OPT_NLS = --disable-nls
420
Bram Moolenaara5792f52005-11-23 21:25:05 +0000421# XIM - X Input Method. Special character input support for X11 (Chinese,
422# Japanese, special symbols, etc). Also needed for dead-key support.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000423# When omitted it's automatically enabled for the X-windows GUI.
Bram Moolenaara5792f52005-11-23 21:25:05 +0000424# HANGUL - Input Hangul (Korean) language using internal routines.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000425# Uncomment one of these when you want to input a multibyte language.
426#CONF_OPT_INPUT = --enable-xim
427#CONF_OPT_INPUT = --disable-xim
428#CONF_OPT_INPUT = --enable-hangulinput
429
430# FONTSET - X fontset support for output of languages with many characters.
431# Uncomment this when you want to output a multibyte language.
432#CONF_OPT_OUTPUT = --enable-fontset
433
434# ACL - Uncomment this when you do not want to include ACL support, even
435# though your system does support it. E.g., when it's buggy.
436#CONF_OPT_ACL = --disable-acl
437
438# gpm - For mouse support on Linux console via gpm
439# Uncomment this when you do not want to include gpm support, even
440# though you have gpm libraries and includes
441#CONF_OPT_GPM = --disable-gpm
442
443# FEATURES - For creating Vim with more or less features
444# Uncomment one of these lines when you want to include few to many features.
445# The default is "normal".
446#CONF_OPT_FEAT = --with-features=tiny
447#CONF_OPT_FEAT = --with-features=small
448#CONF_OPT_FEAT = --with-features=normal
449#CONF_OPT_FEAT = --with-features=big
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000450#CONF_OPT_FEAT = --with-features=huge
Bram Moolenaare1d12892004-06-13 13:02:36 +0000451
452# COMPILED BY - For including a specific e-mail address for ":version".
453#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
454
455# X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
456# (otherwise Vim configure will try to include xterm titlebar access)
457# Also disable the GUI above, otherwise it will be included anyway.
458# When both GUI and X11 have been disabled this may save about 15% of the
459# code and make Vim startup quicker.
460#CONF_OPT_X = --without-x
461
462# X WINDOWS DIRECTORY - specify X directories
Bram Moolenaara5792f52005-11-23 21:25:05 +0000463# If configure can't find you X stuff, or if you have multiple X11 derivatives
Bram Moolenaare1d12892004-06-13 13:02:36 +0000464# installed, you may wish to specify which one to use.
465# Select nothing to let configure choose.
466# This here selects openwin (as found on sun).
467#XROOT = /usr/openwin
468#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib
469
470# X11 Session Management Protocol support
471# Vim will try to use XSMP to catch the user logging out if there are unsaved
472# files. Uncomment this line to disable that (it prevents vim trying to open
473# communications with the session manager).
474#CONF_OPT_XSMP = --disable-xsmp
475
476# You may wish to include xsmp but use exclude xsmp-interact if the logout
477# XSMP functionality does not work well with your session-manager (at time of
478# writing, this would be early GNOME-1 gnome-session: it 'freezes' other
479# applications after Vim has cancelled a logout (until Vim quits). This
480# *might* be the Vim code, but is more likely a bug in early GNOME-1.
481# This disables the dialog that asks you if you want to save files or not.
482#CONF_OPT_XSMP = --disable-xsmp-interact
483
484# COMPILER - Name of the compiler {{{1
485# The default from configure will mostly be fine, no need to change this, just
486# an example. If a compiler is defined here, configure will use it rather than
487# probing for one. It is dangerous to change this after configure was run.
488# Make will use your choice then -- but beware: Many things may change with
489# another compiler. It is wise to run 'make reconfig' to start all over
490# again.
491#CC = cc
492#CC = gcc
493
494# COMPILER FLAGS - change as you please. Either before running {{{1
495# configure or afterwards. For examples see below.
496# When using -g with some older versions of Linux you might get a
497# statically linked executable.
498# When not defined, configure will try to use -O2 -g for gcc and -O for cc.
499#CFLAGS = -g
500#CFLAGS = -O
501
502# Optimization limits - depends on the compiler. Automatic check in configure
503# doesn't work very well, because many compilers only give a warning for
504# unrecognized arguments.
505#CFLAGS = -O -OPT:Olimit=2600
506#CFLAGS = -O -Olimit 2000
507#CFLAGS = -O -FOlimit,2000
508
509# Often used for GCC: mixed optimizing, lot of optimizing, debugging
510#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000511#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaardf177f62005-02-22 08:39:57 +0000512#CFLAGS = -g -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000513#CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
514#CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000515#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000516
517# EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
518# allocated memory (and makes every malloc()/free() very slow).
519# Electric Fence is free (search ftp sites).
Bram Moolenaar53180ce2005-07-05 21:48:14 +0000520# You may want to set the EF_PROTECT_BELOW environment variable to check the
521# other side of allocated memory.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000522# On FreeBSD you might need to enlarge the number of mmaps allowed. Do this
523# as root: sysctl -w vm.max_proc_mmap=30000
524#EXTRA_LIBS = /usr/local/lib/libefence.a
525
526# PURIFY - remove the # to use the "purify" program (hoi Nia++!)
527#PURIFY = purify
528# }}}
529
530# LINT - for running lint
531LINT_OPTIONS = -beprxzF
532
533# PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
534# Might not work with GUI or Perl.
Bram Moolenaar4770d092006-01-12 23:22:24 +0000535# For unknown reasons adding "-lc" fixes a linking problem with GCC. That's
536# probably a bug in the "-pg" implementation.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000537# Need to recompile everything after changing this: "make clean" "make".
538#PROFILE_CFLAGS = -pg -g
539#PROFILE_LIBS = -pg
Bram Moolenaar4770d092006-01-12 23:22:24 +0000540#PROFILE_LIBS = -pg -lc
Bram Moolenaare1d12892004-06-13 13:02:36 +0000541
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000542# MEMORY LEAK DETECTION
543# Requires installing the ccmalloc library.
Bram Moolenaara40ceaf2006-01-13 22:35:40 +0000544# Configuration is in the .ccmalloc or ~/.ccmalloc file.
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000545# Doesn't work very well, since memory linked to from global variables
546# (indirectly) is also marked as leaked memory.
547#PROFILE_CFLAGS = -DEXITFREE
548#PROFILE_LIBS = -lccmalloc
549
Bram Moolenaarfaa959a2006-02-20 21:37:40 +0000550# MAC OS X platform
551#MAC_OSX_ARCH = -arch ppc
552MAC_OSX_ARCH = -arch i386 -arch ppc
553
Bram Moolenaare1d12892004-06-13 13:02:36 +0000554#####################################################
555### Specific systems, check if yours is listed! ### {{{
556#####################################################
557
558### Uncomment things here only if the values chosen by configure are wrong.
559### It's better to adjust configure.in and "make autoconf", if you can!
560### Then send the required changes to configure.in to the bugs list.
561
562### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries
563###
564#CC = shlicc2
565#CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin
566
567### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler
568### The first probably works on all systems
569### The second should work a bit better on newer systems
570### The third should work a bit better on HPUX 11.11
571### Information provided by: Richard Allen <ra@rhi.hi.is>
572#CC = c89 -D_HPUX_SOURCE
573#CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE
574#CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE
575
576### (2) For HP-UX: Enable the use of a different set of digraphs. Use this
577### when the default (ISO) digraphs look completely wrong.
578### After changing this do "touch digraph.c; make".
579#EXTRA_DEFS = -DHPUX_DIGRAPHS
580
581### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes
582### is too small to compile many routines. It produces too much defining
583### and no space errors.
584### Uncomment the following to specify a larger macro definition table.
585#CFLAGS = -Wp,-H256000
586
587### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with
588### libraries in /usr/lib instead of /lib (avoiding transition links).
589### Information provided by: David Green
590#XROOT = /usr
591#CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6
592#GUI_INC_LOC = -I/usr/include/Motif1.2
593#GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6
594
595### (5) AIX 4.1.4 with cc
596#CFLAGS = -O -qmaxmem=8192
597
598### AIX with c89 (Walter Briscoe)
599#CC = c89
600#CPPFLAGS = -D_ALL_SOURCE
601
602### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
603# needed to avoid a problem where strings.h gets included
604#CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
605
606### (W) Solaris with multi-threaded libraries (-lthread):
607### If suspending doesn't work properly, try using this line:
608#EXTRA_DEFS = -D_REENTRANT
609
610### (7) Solaris 2.4/2.5 with Centerline compiler
611#CC = clcc
612#X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib
613#CFLAGS = -O
614
615### (9) Solaris 2.x with cc (SunPro), using Athena.
616### Only required for compiling gui_at_sb.c.
617### Symptom: "identifier redeclared: vim_XawScrollbarSetThumb"
618### Use one of the lines (either Full ANSI or no ANSI at all)
619#CFLAGS = $(CFLAGS) -Xc
620#CFLAGS = $(CFLAGS) -Xs
621
622### Solaris 2.3 with X11 and specific cc
623#CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib
624
625### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc")
626#CC = /usr/ucb/cc
627#EXTRA_LIBS = -R/usr/ucblib
628
629### Solaris with Forte Developer and FEAT_SUN_WORKSHOP
630# The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm.
631#CC = cc
632#XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris
633#XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm
634#XPM_IPATH = -I$(XPM_DIR)/include
635#EXTRA_LIBS = $(XPM_LIB)
636#EXTRA_IPATHS = $(XPM_IPATH)
637#EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H
638
639### Solaris with workshop compilers: Vim is unstable when compiled with
640# "-fast". Use this instead. (Shea Martin)
641#CFLAGS = -x02 -xtarget=ultra
642
643### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this:
644#LDFLAGS = -lw -ldl -lXmu
645#GUI_LIB_LOC = -L/usr/local/lib
646
647### (8) Unisys 6035 (Glauber Ribeiro)
648#EXTRA_LIBS = -lnsl -lsocket -lgen
649
650### When builtin functions cause problems with gcc (for Sun 4.1.x)
651#CFLAGS = -O2 -Wall -traditional -Wno-implicit
652
653### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0)
654#EXTRA_DEFS = -DDOMAIN
655#CFLAGS= -O -A systype,bsd4.3
656
657### Coherent 4.2.10 on Intel 386 platform
658#EXTRA_DEFS = -Dvoid=int
659#EXTRA_LIBS = -lterm -lsocket
660
661### SCO 3.2, with different library name for terminfo
662#EXTRA_LIBS = -ltinfo
663
664### UTS2 for Amdahl UTS 2.1.x
665#EXTRA_DEFS = -DUTS2
666#EXTRA_LIBS = -lsocket
667
668### UTS4 for Amdahl UTS 4.x
669#EXTRA_DEFS = -DUTS4 -Xa
670
671### USL for Unix Systems Laboratories (SYSV 4.2)
672#EXTRA_DEFS = -DUSL
673
674### RISCos on MIPS without X11
675#EXTRA_DEFS = -DMIPS
676
677### RISCos on MIPS with X11
678#EXTRA_LIBS = -lsun
679
680### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
681#CC= gcc -D_POSIX_SOURCE
682#CFLAGS= -O2
683#EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11
684
685### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel)
686### Also use the CONF_TERM_LIB below!
687#EXTRA_LIBS = -lgen
688
689### (D) QNX (by G.F. Desrochers)
690#CFLAGS = -g -O -mf -4
691
692### (F) QNX (by John Oleynick)
693# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
694# CONF_OPT_X = --without-x.
695# 2. make config
696# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
697# have -ldir (does config find it somewhere?) and -ltermcap has at
698# least one problem so I use termlib.o instead. The problem with
699# termcap is that it segfaults if you call it with the name of
700# a non-existent terminal type.
701# 4. edit auto/config.h and add #define USE_TMPNAM
702# 5. add termlib.o to OBJ
703# 6. make
704
705### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein)
706#EXTRA_LIBS = -lgen
707
708### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z)
709#EXTRA_LIBS = -lgen -lnsl
710### For SINIX-Y this is needed for the right prototype of gettimeofday()
711#EXTRA_DEFS = -D_XPG_IV
712
713### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc
714# Use both "-F O3" lines for optimization or the "-g" line for debugging
715#EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE
716#CFLAGS = -F O3 -DSINIXN
717#LDFLAGS = -F O3
718#CFLAGS = -g -DSINIXN
719
720### (P) SCO 3.2.42, with different termcap names for some useful keys DJB
721#EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY
722#EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s
723
724### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz)
725#GUI_INC_LOC = -I/usr/include
726#GUI_LIB_LOC = -L/usr/lib
727#EXTRA_LIBS = -lgen
728
729### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz)
730#GUI_INC_LOC = -I/usr/necccs/include
731#GUI_LIB_LOC = -L/usr/necccs/lib/X11R6
732#XROOT = /usr/necccs
733#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
734#EXTRA_LIBS = -lsocket -lgen
735
736### Irix 4.0 & 5.2 (Silicon Graphics Machines, __sgi will be defined)
737# Not needed for Irix 5.3, Ives Aerts reported
738#EXTRA_LIBS = -lmalloc -lc_s
739# Irix 4.0, when regexp and regcmp cannot be found when linking:
740#EXTRA_LIBS = -lmalloc -lc_s -lPW
741
742### (S) Irix 6.x (MipsPro compiler): Uses different Olimit flag:
743# Note: This newer option style is used with the MipsPro compilers ONLY if
744# you are compiling an "n32" or "64" ABI binary (use either a -n32
745# flag or a -64 flag for CFLAGS). If you explicitly use a -o32 flag,
746# then the CFLAGS option format will be the typical style (i.e.
747# -Olimit 3000).
748#CFLAGS = -OPT:Olimit=3000 -O
749
750### (S) Irix 6.5 with MipsPro C compiler. Try this as a test to see new
751# compiler features! Beware, the optimization is EXTREMELY thorough
752# and takes quite a long time.
753# Note: See the note above. Here, the -mips3 option automatically
754# enables either the "n32" or "64" ABI, depending on what machine you
755# are compiling on (n32 is explicitly enabled here, just to make sure).
756#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
757#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
758
759### (K) for SGI Irix machines with 64 bit pointers ("uname -s" says IRIX64)
760### Suggested by Jon Wright <jon@gate.sinica.edu.tw>.
761### Tested on R8000 IRIX6.1 Power Indigo2.
762### Check /etc/compiler.defaults for your compiler settings.
763# either (for 64 bit pointers) uncomment the following line
764#GUI_LIB_LOC = -L/usr/lib64
765# then
766# 1) make config
767# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
768# 3) make
769#
770# or (for 32bit pointers) uncomment the following line
771#EXTRA_DEFS = -n32
772#GUI_LIB_LOC = -L/usr/lib32
773# then
774# 1) make config
775# 2) edit auto/config.mk, add -n32 to LDFLAGS
776# 3) make
777###
778
779### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library,
780### which is found by configure, doesn't work correctly. Symptom is the
781### error message "Termcap entry too long". Uncomment the next line.
782### On AIX 4.2.1 (and other versions probably), libtermcap is reported
783### not to display properly.
784### after changing this, you need to do "make reconfig".
785#CONF_TERM_LIB = --with-tlib=curses
786
787### (E) If you want to use termlib library instead of the automatically found
788### one. After changing this, you need to do "make reconfig".
789#CONF_TERM_LIB = --with-tlib=termlib
790
791### (a) ESIX V4.2 (Reinhard Wobst)
792#EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext
793
794### If you want to use ncurses library instead of the automatically found one
795### after changing this, you need to do "make reconfig".
796#CONF_TERM_LIB = --with-tlib=ncurses
797
798### For GCC on MSDOS, the ".exe" suffix will be added.
799#EXEEXT = .exe
800#LNKEXT = .exe
801
802### (O) For LynxOS 2.5.0, tested on PC.
803#EXTRA_LIBS = -lXext -lSM -lICE -lbsd
804### For LynxOS 3.0.1, tested on PPC
805#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11
806### For LynxOS 3.1.0, tested on PC
807#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu
808
809
810### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove
811### -Qtarget if only in a 5800 environment. (Kipp E. Howard)
812#CFLAGS = -O -Qtarget=m88110compat
813#EXTRA_LIBS = -lgen
814
815##################### end of system specific lines ################### }}}
816
817### Names of the programs and targets {{{1
818VIMTARGET = $(VIMNAME)$(EXEEXT)
819EXTARGET = $(EXNAME)$(LNKEXT)
820VIEWTARGET = $(VIEWNAME)$(LNKEXT)
821GVIMNAME = g$(VIMNAME)
822GVIMTARGET = $(GVIMNAME)$(LNKEXT)
823GVIEWNAME = g$(VIEWNAME)
824GVIEWTARGET = $(GVIEWNAME)$(LNKEXT)
825RVIMNAME = r$(VIMNAME)
826RVIMTARGET = $(RVIMNAME)$(LNKEXT)
827RVIEWNAME = r$(VIEWNAME)
828RVIEWTARGET = $(RVIEWNAME)$(LNKEXT)
829RGVIMNAME = r$(GVIMNAME)
830RGVIMTARGET = $(RGVIMNAME)$(LNKEXT)
831RGVIEWNAME = r$(GVIEWNAME)
832RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT)
833VIMDIFFNAME = $(VIMNAME)diff
834GVIMDIFFNAME = g$(VIMDIFFNAME)
835VIMDIFFTARGET = $(VIMDIFFNAME)$(LNKEXT)
836GVIMDIFFTARGET = $(GVIMDIFFNAME)$(LNKEXT)
837EVIMNAME = e$(VIMNAME)
838EVIMTARGET = $(EVIMNAME)$(LNKEXT)
839EVIEWNAME = e$(VIEWNAME)
840EVIEWTARGET = $(EVIEWNAME)$(LNKEXT)
841
842### Names of the tools that are also made {{{1
843TOOLS = xxd/xxd$(EXEEXT)
844
845### Installation directories. The defaults come from configure. {{{1
846#
847### prefix the top directory for the data (default "/usr/local")
848#
849# Uncomment the next line to install Vim in your home directory.
850#prefix = $(HOME)
851
852### exec_prefix is the top directory for the executable (default $(prefix))
853#
854# Uncomment the next line to install the Vim executable in "/usr/machine/bin"
855#exec_prefix = /usr/machine
856
857### BINDIR dir for the executable (default "$(exec_prefix)/bin")
858### MANDIR dir for the manual pages (default "$(prefix)/man")
859### DATADIR dir for the other files (default "$(prefix)/lib" or
860# "$(prefix)/share")
861# They may be different when using different architectures for the
862# executable and a common directory for the other files.
863#
864# Uncomment the next line to install Vim in "/usr/bin"
865#BINDIR = /usr/bin
866# Uncomment the next line to install Vim manuals in "/usr/share/man/man1"
867#MANDIR = /usr/share/man
868# Uncomment the next line to install Vim help files in "/usr/share/vim"
869#DATADIR = /usr/share
870
871### DESTDIR root of the installation tree. This is prepended to the other
872# directories. This directory must exist.
873#DESTDIR = ~/pkg/vim
874
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000875### Directory of the man pages
876MAN1DIR = /man1
Bram Moolenaare1d12892004-06-13 13:02:36 +0000877
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000878### Vim version (adjusted by a script)
879VIMMAJOR = 7
880VIMMINOR = 0aa
881
Bram Moolenaare1d12892004-06-13 13:02:36 +0000882### Location of Vim files (should not need to be changed, and {{{1
883### some things might not work when they are changed!)
884VIMDIR = /vim
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000885VIMRTDIR = /vim$(VIMMAJOR)$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000886HELPSUBDIR = /doc
887COLSUBDIR = /colors
888SYNSUBDIR = /syntax
889INDSUBDIR = /indent
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000890AUTOSUBDIR = /autoload
Bram Moolenaare1d12892004-06-13 13:02:36 +0000891PLUGSUBDIR = /plugin
892FTPLUGSUBDIR = /ftplugin
893LANGSUBDIR = /lang
894COMPSUBDIR = /compiler
895KMAPSUBDIR = /keymap
896MACROSUBDIR = /macros
897TOOLSSUBDIR = /tools
898TUTORSUBDIR = /tutor
Bram Moolenaar217ad922005-03-20 22:37:15 +0000899SPELLSUBDIR = /spell
Bram Moolenaare1d12892004-06-13 13:02:36 +0000900PRINTSUBDIR = /print
901PODIR = po
902
903### VIMLOC common root of the Vim files (all versions)
904### VIMRTLOC common root of the runtime Vim files (this version)
905### VIMRCLOC compiled-in location for global [g]vimrc files (all versions)
906### VIMRUNTIMEDIR compiled-in location for runtime files (optional)
907### HELPSUBLOC location for help files
908### COLSUBLOC location for colorscheme files
909### SYNSUBLOC location for syntax files
910### INDSUBLOC location for indent files
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000911### AUTOSUBLOC location for standard autoload files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000912### PLUGSUBLOC location for standard plugin files
913### FTPLUGSUBLOC location for ftplugin files
914### LANGSUBLOC location for language files
915### COMPSUBLOC location for compiler files
916### KMAPSUBLOC location for keymap files
917### MACROSUBLOC location for macro files
918### TOOLSSUBLOC location for tools files
919### TUTORSUBLOC location for tutor files
Bram Moolenaar217ad922005-03-20 22:37:15 +0000920### SPELLSUBLOC location for spell files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000921### PRINTSUBLOC location for PostScript files (prolog, latin1, ..)
922### SCRIPTLOC location for script files (menu.vim, bugreport.vim, ..)
923### You can override these if you want to install them somewhere else.
924### Edit feature.h for compile-time settings.
925VIMLOC = $(DATADIR)$(VIMDIR)
926VIMRTLOC = $(DATADIR)$(VIMDIR)$(VIMRTDIR)
927VIMRCLOC = $(VIMLOC)
928HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
929COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
930SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
931INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000932AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000933PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
934FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
935LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
936COMPSUBLOC = $(VIMRTLOC)$(COMPSUBDIR)
937KMAPSUBLOC = $(VIMRTLOC)$(KMAPSUBDIR)
938MACROSUBLOC = $(VIMRTLOC)$(MACROSUBDIR)
939TOOLSSUBLOC = $(VIMRTLOC)$(TOOLSSUBDIR)
940TUTORSUBLOC = $(VIMRTLOC)$(TUTORSUBDIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +0000941SPELLSUBLOC = $(VIMRTLOC)$(SPELLSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000942PRINTSUBLOC = $(VIMRTLOC)$(PRINTSUBDIR)
943SCRIPTLOC = $(VIMRTLOC)
944
945### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
946### the runtime directory is not below it.
947#VIMRUNTIMEDIR = $(VIMRTLOC)
948
949### Name of the evim file target.
950EVIM_FILE = $(DESTDIR)$(SCRIPTLOC)/evim.vim
951MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.vim
952
953### Name of the menu file target.
954SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.vim
955SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.vim
956SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.vim
957
958### Name of the bugreport file target.
959SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.vim
960
961### Name of the file type detection file target.
962SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.vim
963
964### Name of the file type detection file target.
965SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.vim
966
967### Name of the file type detection script file target.
968SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.vim
969
970### Name of the ftplugin-on file target.
971SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.vim
972
973### Name of the ftplugin-off file target.
974SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.vim
975
976### Name of the indent-on file target.
977SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.vim
978
979### Name of the indent-off file target.
980SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.vim
981
982### Name of the option window script file target.
983SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.vim
984
985# Program to install the program in the target directory. Could also be "mv".
986INSTALL_PROG = cp
987
988# Program to install the data in the target directory. Cannot be "mv"!
989INSTALL_DATA = cp
990INSTALL_DATA_R = cp -r
991
992### Program to run on installed binary
993#STRIP = strip
994
995### Permissions for binaries {{{1
996BINMOD = 755
997
998### Permissions for man page
999MANMOD = 644
1000
1001### Permissions for help files
1002HELPMOD = 644
1003
1004### Permissions for Perl and shell scripts
1005SCRIPTMOD = 755
1006
1007### Permission for Vim script files (menu.vim, bugreport.vim, ..)
1008VIMSCRIPTMOD = 644
1009
1010### Permissions for all directories that are created
1011DIRMOD = 755
1012
1013### Permissions for all other files that are created
1014FILEMOD = 644
1015
1016# Where to copy the man and help files from
1017HELPSOURCE = ../runtime/doc
1018
1019# Where to copy the script files from (menu, bugreport)
1020SCRIPTSOURCE = ../runtime
1021
1022# Where to copy the colorscheme files from
1023COLSOURCE = ../runtime/colors
1024
1025# Where to copy the syntax files from
1026SYNSOURCE = ../runtime/syntax
1027
1028# Where to copy the indent files from
1029INDSOURCE = ../runtime/indent
1030
1031# Where to copy the standard plugin files from
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001032AUTOSOURCE = ../runtime/autoload
1033
1034# Where to copy the standard plugin files from
Bram Moolenaare1d12892004-06-13 13:02:36 +00001035PLUGSOURCE = ../runtime/plugin
1036
1037# Where to copy the ftplugin files from
1038FTPLUGSOURCE = ../runtime/ftplugin
1039
1040# Where to copy the macro files from
1041MACROSOURCE = ../runtime/macros
1042
1043# Where to copy the tools files from
1044TOOLSSOURCE = ../runtime/tools
1045
1046# Where to copy the tutor files from
1047TUTORSOURCE = ../runtime/tutor
1048
Bram Moolenaar217ad922005-03-20 22:37:15 +00001049# Where to copy the spell files from
1050SPELLSOURCE = ../runtime/spell
1051
Bram Moolenaare1d12892004-06-13 13:02:36 +00001052# Where to look for language specific files
1053LANGSOURCE = ../runtime/lang
1054
1055# Where to look for compiler files
1056COMPSOURCE = ../runtime/compiler
1057
1058# Where to look for keymap files
1059KMAPSOURCE = ../runtime/keymap
1060
1061# Where to look for print resource files
1062PRINTSOURCE = ../runtime/print
1063
1064# If you are using Linux, you might want to use this to make vim the
1065# default vi editor, it will create a link from vi to Vim when doing
1066# "make install". An existing file will be overwritten!
1067# When not using it, some make programs can't handle an undefined $(LINKIT).
1068#LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
1069LINKIT = @echo >/dev/null
1070
1071###
1072### GRAPHICAL USER INTERFACE (GUI). {{{1
1073### 'configure --enable-gui' can enable one of these for you if you did set
1074### a corresponding CONF_OPT_GUI above and have X11.
1075### Override configures choice by uncommenting all the following lines.
1076### As they are, the GUI is disabled. Replace "NONE" with "ATHENA" or "MOTIF"
1077### for enabling the Athena or Motif GUI.
1078#GUI_SRC = $(NONE_SRC)
1079#GUI_OBJ = $(NONE_OBJ)
1080#GUI_DEFS = $(NONE_DEFS)
1081#GUI_IPATH = $(NONE_IPATH)
1082#GUI_LIBS_DIR = $(NONE_LIBS_DIR)
1083#GUI_LIBS1 = $(NONE_LIBS1)
1084#GUI_LIBS2 = $(NONE_LIBS2)
1085#GUI_INSTALL = $(NONE_INSTALL)
1086#GUI_TARGETS = $(NONE_TARGETS)
1087#GUI_MAN_TARGETS= $(NONE_MAN_TARGETS)
1088#GUI_TESTTARGET = $(NONE_TESTTARGET)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001089#GUI_BUNDLE = $(NONE_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001090
1091# Without a GUI install the normal way.
1092NONE_INSTALL = install_normal
1093
1094### GTK GUI
1095GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \
1096 gui_beval.c
1097GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \
1098 objects/pty.o objects/gui_gtk_f.o \
1099 objects/gui_beval.o
1100GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1101GTK_IPATH = $(GUI_INC_LOC)
1102GTK_LIBS_DIR = $(GUI_LIB_LOC)
1103GTK_LIBS1 =
1104GTK_LIBS2 = $(GTK_LIBNAME)
1105GTK_INSTALL = install_normal
1106GTK_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001107GTK_MAN_TARGETS = yes
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001108GTK_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001109GTK_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001110
1111### Motif GUI
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001112MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001113 gui_xmdlg.c gui_xmebw.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001114MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001115 objects/pty.o objects/gui_beval.o \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001116 objects/gui_xmdlg.o objects/gui_xmebw.o
Bram Moolenaare1d12892004-06-13 13:02:36 +00001117MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO)
1118MOTIF_IPATH = $(GUI_INC_LOC)
1119MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1120MOTIF_LIBS1 =
1121MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1122MOTIF_INSTALL = install_normal
1123MOTIF_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001124MOTIF_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001125MOTIF_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001126MOTIF_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001127
1128### Athena GUI
1129### Use Xaw3d to make the menus look a little bit nicer
1130#XAW_LIB = -lXaw3d
1131XAW_LIB = -lXaw
1132
1133### When using Xaw3d, uncomment/comment the following lines to also get the
1134### scrollbars from Xaw3d.
1135#ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1136#ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1137# objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1138#ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO) \
1139# -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \
1140# -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb
1141ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c \
1142 gui_at_sb.c gui_at_fs.c
1143ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1144 objects/pty.o objects/gui_beval.o \
1145 objects/gui_at_sb.o objects/gui_at_fs.o
1146ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO)
1147
1148ATHENA_IPATH = $(GUI_INC_LOC)
1149ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1150ATHENA_LIBS1 = $(XAW_LIB)
1151ATHENA_LIBS2 = -lXt
1152ATHENA_INSTALL = install_normal
1153ATHENA_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001154ATHENA_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001155ATHENA_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001156ATHENA_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001157
1158### neXtaw GUI
1159NEXTAW_LIB = -lneXtaw
1160
1161NEXTAW_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1162NEXTAW_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1163 objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1164NEXTAW_DEFS = -DFEAT_GUI_ATHENA -DFEAT_GUI_NEXTAW $(NARROW_PROTO)
1165
1166NEXTAW_IPATH = $(GUI_INC_LOC)
1167NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1168NEXTAW_LIBS1 = $(NEXTAW_LIB)
1169NEXTAW_LIBS2 = -lXt
1170NEXTAW_INSTALL = install_normal
1171NEXTAW_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001172NEXTAW_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001173NEXTAW_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001174NEXTAW_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001175
1176### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1177# errors: ld: Undefined symbol
1178# _get_wmShellWidgetClass
1179# _get_applicationShellWidgetClass
1180# then you need to get patches 100512-02 and 100573-03 from Sun. In the
1181# meantime, uncomment the following GUI_X_LIBS definition as a workaround:
1182#GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext
1183# If you also get cos, sin etc. as undefined symbols, try uncommenting this
1184# too:
1185#EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm
1186
Bram Moolenaare1d12892004-06-13 13:02:36 +00001187# PHOTON GUI
1188PHOTONGUI_SRC = gui.c gui_photon.c pty.c
1189PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o
1190PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON
1191PHOTONGUI_IPATH =
1192PHOTONGUI_LIBS_DIR =
1193PHOTONGUI_LIBS1 = -lph -lphexlib
1194PHOTONGUI_LIBS2 =
1195PHOTONGUI_INSTALL = install_normal
1196PHOTONGUI_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001197PHOTONGUI_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001198PHOTONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001199PHOTONGUI_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001200
1201# CARBON GUI
1202CARBONGUI_SRC = gui.c gui_mac.c
1203CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o
Bram Moolenaarfaa959a2006-02-20 21:37:40 +00001204CARBONGUI_DEFS = -DFEAT_GUI_MAC $(MAC_OSX_ARCH) -fno-common -fpascal-strings \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001205 -Wall -Wno-unknown-pragmas \
1206 -mdynamic-no-pic -pipe
1207CARBONGUI_IPATH = -I. -Iproto
Bram Moolenaarfaa959a2006-02-20 21:37:40 +00001208CARBONGUI_LIBS_DIR = $(MAC_OSX_ARCH)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001209CARBONGUI_LIBS1 = -framework Carbon
1210CARBONGUI_LIBS2 =
1211CARBONGUI_INSTALL = install_macosx
1212CARBONGUI_TARGETS =
1213CARBONGUI_MAN_TARGETS =
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001214CARBONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001215CARBONGUI_BUNDLE = gui_bundle
1216APPDIR = $(VIMNAME).app
1217CARBONGUI_TESTARG = VIMPROG=../$(APPDIR)/Contents/MacOS/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001218
1219# All GUI files
Bram Moolenaar9372a112005-12-06 19:59:18 +00001220ALL_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 +00001221ALL_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 +00001222
1223# }}}
1224
1225### Command to create dependencies based on #include "..."
1226### prototype headers are ignored due to -DPROTO, system
1227### headers #include <...> are ignored if we use the -MM option, as
1228### e.g. provided by gcc-cpp.
1229### Include FEAT_GUI to get gependency on gui.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001230### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
1231CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
1232 `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
Bram Moolenaare1d12892004-06-13 13:02:36 +00001233
1234# flags for cproto
1235# This is for cproto 3 patchlevel 8 or below
1236# __inline, __attribute__ and __extension__ are not recognized by cproto
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001237# G_IMPLEMENT_INLINES is to avoid functions defined in glib/gutils.h.
Bram Moolenaar051b7822005-05-19 21:00:46 +00001238NO_ATTR = -D__inline= -D__inline__= -DG_IMPLEMENT_INLINES \
1239 -D"__attribute__\\(x\\)=" -D"__asm__\\(x\\)=" \
1240 -D__extension__= -D__restrict="" \
1241 -D__gnuc_va_list=char -D__builtin_va_list=char
Bram Moolenaare1d12892004-06-13 13:02:36 +00001242
1243#
1244# This is for cproto 3 patchlevel 9 or above (currently 4.6)
1245# __inline and __attribute__ are now recognized by cproto
1246# -D"foo()=" is not supported by all compilers so do not use it
1247# NO_ATTR=
1248#
1249# maybe the "/usr/bin/cc -E" has to be adjusted for some systems
1250# This is for cproto 3.5 patchlevel 3:
1251# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1252#
1253# Use this for cproto 3 patchlevel 6 or below (use "cproto -V" to check):
1254# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1255#
1256# Use this for cproto 3 patchlevel 7 or above (use "cproto -V" to check):
1257PROTO_FLAGS = -m -M__ARGS -d -E"$(CPP)" $(NO_ATTR)
1258
1259
1260################################################
1261## no changes required below this line ##
1262################################################
1263
1264SHELL = /bin/sh
1265
1266.SUFFIXES:
Bram Moolenaar9372a112005-12-06 19:59:18 +00001267.SUFFIXES: .c .o .pro
Bram Moolenaare1d12892004-06-13 13:02:36 +00001268
1269PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001270POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001271
1272ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS)
1273
Bram Moolenaar051b7822005-05-19 21:00:46 +00001274LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca
1275
1276LINT_EXTRA = -DUSE_SNIFF -DHANGUL_INPUT -D"__attribute__(x)="
Bram Moolenaare1d12892004-06-13 13:02:36 +00001277
1278DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1279
1280PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1281
1282ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001283ALL_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 +00001284
1285# abbreviations
1286DEST_BIN = $(DESTDIR)$(BINDIR)
1287DEST_VIM = $(DESTDIR)$(VIMLOC)
1288DEST_RT = $(DESTDIR)$(VIMRTLOC)
1289DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
1290DEST_COL = $(DESTDIR)$(COLSUBLOC)
1291DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
1292DEST_IND = $(DESTDIR)$(INDSUBLOC)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001293DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001294DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
1295DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
1296DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
1297DEST_COMP = $(DESTDIR)$(COMPSUBLOC)
1298DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC)
1299DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1300DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1301DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001302DEST_SPELL = $(DESTDIR)$(SPELLSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001303DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1304DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001305DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001306
1307# We assume that the ".../man/xx/man1/" directory is for latin1 manual pages.
1308# Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/"
1309# directory first.
Bram Moolenaar217ad922005-03-20 22:37:15 +00001310# FreeBSD uses ".../man/xx.ISO8859-1/man1" for latin1, use that one too.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001311DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001312DEST_MAN_FR = $(DEST_MAN_TOP)/fr$(MAN1DIR)
1313DEST_MAN_FR_I = $(DEST_MAN_TOP)/fr.ISO8859-1$(MAN1DIR)
1314DEST_MAN_FR_U = $(DEST_MAN_TOP)/fr.UTF-8$(MAN1DIR)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001315DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001316DEST_MAN_IT_I = $(DEST_MAN_TOP)/it.ISO8859-1$(MAN1DIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001317DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR)
1318DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
1319DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001320
1321# BASIC_SRC: files that are always used
1322# GUI_SRC: extra GUI files for current configuration
1323# ALL_GUI_SRC: all GUI files for Unix
1324#
1325# SRC: files used for current configuration
1326# TAGS_SRC: source files used for make tags
1327# TAGS_INCL: include files used for make tags
1328# ALL_SRC: source files used for make depend and make lint
1329
1330TAGS_INCL = *.h
1331
1332BASIC_SRC = \
1333 buffer.c \
1334 charset.c \
1335 diff.c \
1336 digraph.c \
1337 edit.c \
1338 eval.c \
1339 ex_cmds.c \
1340 ex_cmds2.c \
1341 ex_docmd.c \
1342 ex_eval.c \
1343 ex_getln.c \
1344 fileio.c \
1345 fold.c \
1346 getchar.c \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001347 hardcopy.c \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001348 hashtable.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001349 if_cscope.c \
1350 if_xcmdsrv.c \
1351 main.c \
1352 mark.c \
1353 memfile.c \
1354 memline.c \
1355 menu.c \
1356 message.c \
1357 misc1.c \
1358 misc2.c \
1359 move.c \
1360 mbyte.c \
1361 normal.c \
1362 ops.c \
1363 option.c \
1364 os_unix.c \
1365 auto/pathdef.c \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001366 popupmenu.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001367 quickfix.c \
1368 regexp.c \
1369 screen.c \
1370 search.c \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001371 spell.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001372 syntax.c \
1373 tag.c \
1374 term.c \
1375 ui.c \
1376 undo.c \
1377 version.c \
1378 window.c \
1379 $(OS_EXTRA_SRC)
1380
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001381SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(MZSCHEME_SRC) \
1382 $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(RUBY_SRC) \
1383 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001384
Bram Moolenaar9372a112005-12-06 19:59:18 +00001385TAGS_SRC = *.c *.cpp if_perl.xs
Bram Moolenaare1d12892004-06-13 13:02:36 +00001386
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001387EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
1388 if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
1389 workshop.c wsdebug.c integration.c netbeans.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001390
1391# All sources, also the ones that are not configured
1392ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC)
1393
1394# Which files to check with lint. Select one of these three lines. ALL_SRC
1395# checks more, but may not work well for checking a GUI that wasn't configured.
1396# The perl sources also don't work well with lint.
1397LINT_SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(PYTHON_SRC) $(TCL_SRC) \
1398 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC) $(NETBEANS_SRC)
1399#LINT_SRC = $(SRC)
1400#LINT_SRC = $(ALL_SRC)
1401
1402OBJ = \
1403 objects/buffer.o \
1404 objects/charset.o \
1405 objects/diff.o \
1406 objects/digraph.o \
1407 objects/edit.o \
1408 objects/eval.o \
1409 objects/ex_cmds.o \
1410 objects/ex_cmds2.o \
1411 objects/ex_docmd.o \
1412 objects/ex_eval.o \
1413 objects/ex_getln.o \
1414 objects/fileio.o \
1415 objects/fold.o \
1416 objects/getchar.o \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001417 objects/hardcopy.o \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001418 objects/hashtable.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001419 $(HANGULIN_OBJ) \
1420 objects/if_cscope.o \
1421 objects/if_xcmdsrv.o \
1422 objects/main.o \
1423 objects/mark.o \
1424 objects/memfile.o \
1425 objects/memline.o \
1426 objects/menu.o \
1427 objects/message.o \
1428 objects/misc1.o \
1429 objects/misc2.o \
1430 objects/move.o \
1431 objects/mbyte.o \
1432 objects/normal.o \
1433 objects/ops.o \
1434 objects/option.o \
1435 objects/os_unix.o \
1436 objects/pathdef.o \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001437 objects/popupmenu.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001438 objects/quickfix.o \
1439 objects/regexp.o \
1440 objects/screen.o \
1441 objects/search.o \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001442 objects/spell.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001443 objects/syntax.o \
1444 $(SNIFF_OBJ) \
1445 objects/tag.o \
1446 objects/term.o \
1447 objects/ui.o \
1448 objects/undo.o \
1449 objects/window.o \
1450 $(GUI_OBJ) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001451 $(MZSCHEME_OBJ) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001452 $(PERL_OBJ) \
1453 $(PYTHON_OBJ) \
1454 $(TCL_OBJ) \
1455 $(RUBY_OBJ) \
1456 $(OS_EXTRA_OBJ) \
1457 $(WORKSHOP_OBJ) \
1458 $(NETBEANS_OBJ) \
1459 $(WSDEBUG_OBJ)
1460
1461PRO_AUTO = \
1462 buffer.pro \
1463 charset.pro \
1464 diff.pro \
1465 digraph.pro \
1466 edit.pro \
1467 eval.pro \
1468 ex_cmds.pro \
1469 ex_cmds2.pro \
1470 ex_docmd.pro \
1471 ex_eval.pro \
1472 ex_getln.pro \
1473 fileio.pro \
1474 fold.pro \
1475 getchar.pro \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001476 hardcopy.pro \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001477 hashtable.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001478 hangulin.pro \
1479 if_cscope.pro \
1480 if_xcmdsrv.pro \
1481 if_python.pro \
1482 if_ruby.pro \
1483 main.pro \
1484 mark.pro \
1485 memfile.pro \
1486 memline.pro \
1487 menu.pro \
1488 message.pro \
1489 misc1.pro \
1490 misc2.pro \
1491 move.pro \
1492 mbyte.pro \
1493 normal.pro \
1494 ops.pro \
1495 option.pro \
1496 os_unix.pro \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001497 popupmenu.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001498 quickfix.pro \
1499 regexp.pro \
1500 screen.pro \
1501 search.pro \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001502 spell.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001503 syntax.pro \
1504 tag.pro \
1505 term.pro \
1506 termlib.pro \
1507 ui.pro \
1508 undo.pro \
1509 version.pro \
1510 window.pro \
1511 gui_beval.pro \
1512 workshop.pro \
1513 netbeans.pro \
1514 $(ALL_GUI_PRO) \
1515 $(TCL_PRO)
1516
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00001517ICON_APP = gui_mac.icns
1518
Bram Moolenaare1d12892004-06-13 13:02:36 +00001519PRO_MANUAL = os_amiga.pro os_msdos.pro os_win16.pro os_win32.pro \
1520 os_mswin.pro os_beos.pro os_vms.pro os_riscos.pro $(PERL_PRO)
1521
1522# Default target is making the executable and tools
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001523all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001524
1525tools: $(TOOLS)
1526
1527# Run configure with all the setting from above.
1528#
1529# Note: auto/config.h doesn't depend on configure, because running configure
1530# doesn't always update auto/config.h. The timestamp isn't changed if the
1531# file contents didn't change (to avoid recompiling everything). Including a
1532# dependency on auto/config.h would cause running configure each time when
1533# auto/config.h isn't updated. The dependency on auto/config.mk should make
1534# sure configure is run when it's needed.
1535#
1536config auto/config.mk: auto/configure config.mk.in config.h.in
1537 GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
1538 CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
1539 LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
1540 ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
1541 $(CONF_OPT_DARWIN) $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) \
1542 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
1543 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
1544 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1545 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1546 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001547 $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001548
1549# Use "make reconfig" to rerun configure without cached values.
1550# When config.h changes, most things will be recompiled automatically.
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001551# Invoke $(MAKE) to run config with the empty auto/config.mk.
1552# Invoke $(MAKE) to build all with the filled auto/config.mk.
1553reconfig: scratch clean
1554 $(MAKE) -f Makefile config
1555 $(MAKE) -f Makefile all
Bram Moolenaare1d12892004-06-13 13:02:36 +00001556
1557# Run autoconf to produce auto/configure.
1558# Note:
1559# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
1560# producing auto/configure.
1561# - autoconf is not run automatically, because a patch usually changes both
1562# configure.in and auto/configure but can't update the timestamps. People
1563# who do not have (the correct version of) autoconf would run into trouble.
1564#
1565# Two tricks are required to make autoconf put its output in the "auto" dir:
1566# - Temporarily move the ./configure script to ./configure.save. Don't
1567# overwrite it, it's probably the result of an aborted autoconf.
1568# - Use sed to change ./config.log to auto/config.log in the configure script.
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001569# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
1570# care of:
1571# - configure.lineno: has the line numbers replaced with $LINENO. That
1572# improves patches a LOT, thus use it instead (until someone says it doesn't
1573# work on some system).
1574# - autom4te.cache directory is created and not cleaned up. Delete it.
1575# - Uses ">config.log" instead of "./config.log".
Bram Moolenaare1d12892004-06-13 13:02:36 +00001576autoconf:
1577 if test ! -f configure.save; then mv configure configure.save; fi
1578 autoconf
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001579 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 +00001580 chmod 755 auto/configure
1581 mv -f configure.save configure
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001582 -rm -rf autom4te.cache
Bram Moolenaare1d12892004-06-13 13:02:36 +00001583 -rm -f auto/config.status auto/config.cache
1584
1585# Re-execute this Makefile to include the new auto/config.mk produced by
1586# configure Only used when typing "make" with a fresh auto/config.mk.
1587myself:
1588 $(MAKE) -f Makefile all
1589
1590
1591# The normal command to compile a .c file to its .o file.
1592CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
1593
1594
1595# Link the target for normal use or debugging.
1596# A shell script is used to try linking without unneccesary libraries.
1597$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
1598 $(CCC) version.c -o objects/version.o
1599 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
1600 -o $(VIMTARGET) $(OBJ) objects/version.o $(ALL_LIBS)" \
1601 MAKE="$(MAKE)" sh $(srcdir)/link.sh
1602
1603xxd/xxd$(EXEEXT): xxd/xxd.c
1604 cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
1605 $(MAKE) -f Makefile
1606
1607# Build the language specific files if they were unpacked.
1608# Generate the converted .mo files separately, it's no problem if this fails.
1609languages:
1610 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001611 cd $(PODIR); \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001612 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001613 fi
1614 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1615 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
1616 fi
1617
1618# Update the *.po files for changes in the sources. Only run manually.
1619update-po:
1620 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
1621
1622# Generate function prototypes. This is not needed to compile vim, but if
1623# you want to use it, cproto is out there on the net somewhere -- Webb
1624#
1625# When generating os_amiga.pro, os_msdos.pro and os_win32.pro there will be a
1626# few include files that can not be found, that's OK.
1627
1628proto: $(PRO_AUTO) $(PRO_MANUAL)
1629
1630### Would be nice if this would work for "normal" make.
1631### Currently it only works for (Free)BSD make.
1632#$(PRO_AUTO): $$(*F).c
1633# cproto $(PFLAGS) -DFEAT_GUI $(*F).c > $@
1634
1635# Always define FEAT_GUI. This may generate a few warnings if it's also
1636# defined in auto/config.h, you can ignore that.
1637.c.pro:
1638 cproto $(PFLAGS) -DFEAT_GUI $< > proto/$@
1639 echo "/* vim: set ft=c : */" >> proto/$@
1640
1641os_amiga.pro: os_amiga.c
1642 cproto $(PFLAGS) -DAMIGA -UHAVE_CONFIG_H -DBPTR=char* $< > proto/$@
1643 echo "/* vim: set ft=c : */" >> proto/$@
1644
1645os_msdos.pro: os_msdos.c
1646 cproto $(PFLAGS) -DMSDOS -UHAVE_CONFIG_H $< > proto/$@
1647 echo "/* vim: set ft=c : */" >> proto/$@
1648
1649os_win16.pro: os_win16.c
1650 cproto $(PFLAGS) -DWIN16 -UHAVE_CONFIG_H $< > proto/$@
1651 echo "/* vim: set ft=c : */" >> proto/$@
1652
1653os_win32.pro: os_win32.c
1654 cproto $(PFLAGS) -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1655 echo "/* vim: set ft=c : */" >> proto/$@
1656
1657os_mswin.pro: os_mswin.c
1658 cproto $(PFLAGS) -DWIN16 -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1659 echo "/* vim: set ft=c : */" >> proto/$@
1660
1661os_beos.pro: os_beos.c
1662 cproto $(PFLAGS) -D__BEOS__ -UHAVE_CONFIG_H $< > proto/$@
1663 echo "/* vim: set ft=c : */" >> proto/$@
1664
1665os_vms.pro: os_vms.c
1666# must use os_vms_conf.h for auto/config.h
1667 mv auto/config.h auto/config.h.save
1668 cp os_vms_conf.h auto/config.h
1669 cproto $(PFLAGS) -DVMS -UFEAT_GUI_ATHENA -UFEAT_GUI_NEXTAW -UFEAT_GUI_MOTIF -UFEAT_GUI_GTK $< > proto/$@
1670 echo "/* vim: set ft=c : */" >> proto/$@
1671 rm auto/config.h
1672 mv auto/config.h.save auto/config.h
1673
1674# if_perl.pro is special: Use the generated if_perl.c for input and remove
1675# prototypes for local functions.
1676if_perl.pro: auto/if_perl.c
1677 cproto $(PFLAGS) -DFEAT_GUI auto/if_perl.c | sed "/_VI/d" > proto/$@
1678
1679
1680notags:
1681 -rm -f tags
1682
1683# Note: tags is made for the currently configured version, can't include both
1684# Motif and Athena GUI
1685# You can ignore error messages for missing files.
1686tags TAGS: notags
1687 $(TAGPRG) $(TAGS_SRC) $(TAGS_INCL)
1688
1689# Make a highlight file for types. Requires Exuberant ctags and awk
1690types: types.vim
1691types.vim: $(TAGS_SRC) $(TAGS_INCL)
1692 ctags --c-kinds=gstu -o- $(TAGS_SRC) $(TAGS_INCL) |\
1693 awk 'BEGIN{printf("syntax keyword Type\t")}\
1694 {printf("%s ", $$1)}END{print ""}' > $@
1695
1696# Execute the test scripts. Run these after compiling Vim, before installing.
1697# This doesn't depend on $(VIMTARGET), because that won't work when configure
1698# wasn't run yet. Restart make to build it instead.
1699#
1700# This will produce a lot of garbage on your screen, including a few error
1701# messages. Don't worry about that.
1702# If there is a real error, there will be a difference between "test.out" and
1703# a "test99.ok" file.
1704# If everything is allright, the final message will be "ALL DONE".
1705#
1706test check:
1707 $(MAKE) -f Makefile $(VIMTARGET)
Bram Moolenaard12f5c12006-01-25 22:10:52 +00001708 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar316059c2006-01-14 21:18:42 +00001709 cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
1710 fi
Bram Moolenaard12f5c12006-01-25 22:10:52 +00001711 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001712
1713testclean:
1714 cd testdir; $(MAKE) -f Makefile clean
Bram Moolenaar316059c2006-01-14 21:18:42 +00001715 if test -d $(PODIR); then \
1716 cd $(PODIR); $(MAKE) checkclean; \
1717 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00001718
1719#
1720# Avoid overwriting an existing executable, somebody might be running it and
1721# overwriting it could cause it to crash. Deleting it is OK, it won't be
1722# really deleted until all running processes for it have exited. It is
1723# renamed first, in case the deleting doesn't work.
1724#
1725# If you want to keep an older version, rename it before running "make
1726# install".
1727#
1728install: $(GUI_INSTALL)
1729
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001730install_normal: installvim installtools $(INSTALL_LANGS) install-icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00001731
Bram Moolenaare344bea2005-09-01 20:46:49 +00001732installvim: installvimbin installtutorbin \
1733 installruntime installlinks installmanlinks
Bram Moolenaare1d12892004-06-13 13:02:36 +00001734
1735installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1736 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1737 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1738 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
1739 fi
1740 $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
1741 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
1742 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
1743# may create a link to the new executable from /usr/bin/vi
1744 -$(LINKIT)
1745
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001746# Long list of arguments for the shell script that installs the manual pages
1747# for one language.
1748INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
1749 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
1750
Bram Moolenaare344bea2005-09-01 20:46:49 +00001751# Install most of the runtime files
1752installruntime: installrtbase installmacros installtutor installspell
1753
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001754# install the help files; first adjust the contents for the final location
Bram Moolenaare344bea2005-09-01 20:46:49 +00001755installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001756 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001757 $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_TUTOR) \
1758 $(DEST_SPELL) $(DEST_COMP)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001759 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001760 @echo generating help tags
1761# Generate the help tags with ":helptags" to handle all languages.
1762 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
1763 cd $(HELPSOURCE); \
1764 files=`ls *.txt tags`; \
1765 files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \
1766 $(INSTALL_DATA) $$files $(DEST_HELP); \
1767 cd $(DEST_HELP); \
1768 chmod $(HELPMOD) $$files
1769 $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
1770 chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
1771# install the menu files
1772 $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
1773 chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
1774 $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.vim $(SYS_SYNMENU_FILE)
1775 chmod $(VIMSCRIPTMOD) $(SYS_SYNMENU_FILE)
1776 $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.vim $(SYS_DELMENU_FILE)
1777 chmod $(VIMSCRIPTMOD) $(SYS_DELMENU_FILE)
1778# install the evim file
1779 $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.vim $(MSWIN_FILE)
1780 chmod $(VIMSCRIPTMOD) $(MSWIN_FILE)
1781 $(INSTALL_DATA) $(SCRIPTSOURCE)/evim.vim $(EVIM_FILE)
1782 chmod $(VIMSCRIPTMOD) $(EVIM_FILE)
1783# install the bugreport file
1784 $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.vim $(SYS_BUGR_FILE)
1785 chmod $(VIMSCRIPTMOD) $(SYS_BUGR_FILE)
1786# install the example vimrc files
1787 $(INSTALL_DATA) $(SCRIPTSOURCE)/vimrc_example.vim $(DEST_SCRIPT)
1788 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/vimrc_example.vim
1789 $(INSTALL_DATA) $(SCRIPTSOURCE)/gvimrc_example.vim $(DEST_SCRIPT)
1790 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/gvimrc_example.vim
1791# install the file type detection files
1792 $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.vim $(SYS_FILETYPE_FILE)
1793 chmod $(VIMSCRIPTMOD) $(SYS_FILETYPE_FILE)
1794 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.vim $(SYS_FTOFF_FILE)
1795 chmod $(VIMSCRIPTMOD) $(SYS_FTOFF_FILE)
1796 $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.vim $(SYS_SCRIPTS_FILE)
1797 chmod $(VIMSCRIPTMOD) $(SYS_SCRIPTS_FILE)
1798 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.vim $(SYS_FTPLUGIN_FILE)
1799 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGIN_FILE)
1800 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.vim $(SYS_FTPLUGOF_FILE)
1801 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGOF_FILE)
1802 $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.vim $(SYS_INDENT_FILE)
1803 chmod $(VIMSCRIPTMOD) $(SYS_INDENT_FILE)
1804 $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.vim $(SYS_INDOFF_FILE)
1805 chmod $(VIMSCRIPTMOD) $(SYS_INDOFF_FILE)
1806 $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.vim $(SYS_OPTWIN_FILE)
1807 chmod $(VIMSCRIPTMOD) $(SYS_OPTWIN_FILE)
1808# install the print resource files
1809 cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT)
1810 cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
1811# install the colorscheme files
1812 cd $(COLSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COL)
1813 cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt
1814# install the syntax files
1815 cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
1816 cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
1817# install the indent files
1818 cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
1819 cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001820# install the standard autoload files
1821 cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
1822 cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00001823# install the standard plugin files
1824 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
1825 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
1826# install the ftplugin files
1827 cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_FTP)
1828 cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
1829# install the compiler files
1830 cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
1831 cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
1832
Bram Moolenaar582fd852005-03-28 20:58:01 +00001833installmacros: $(DEST_VIM) $(DEST_RT) $(DEST_MACRO)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001834 $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO)
1835 chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print`
1836 chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
1837 chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
1838# When using CVS some CVS directories might have been copied.
1839 cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR \) -print`; \
1840 if test -n "$$cvs"; then \
1841 rm -rf $$cvs; \
1842 fi
1843
1844# install the tutor files
Bram Moolenaare344bea2005-09-01 20:46:49 +00001845installtutorbin: $(DEST_VIM)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001846 $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1847 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
Bram Moolenaare344bea2005-09-01 20:46:49 +00001848
1849installtutor: $(DEST_RT) $(DEST_TUTOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001850 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
1851 chmod $(HELPMOD) $(DEST_TUTOR)/*
1852
Bram Moolenaarcee55602005-08-21 22:12:59 +00001853# Install the spell files, if they exist. This assumes at least the English
1854# spell file is there.
Bram Moolenaar582fd852005-03-28 20:58:01 +00001855installspell: $(DEST_VIM) $(DEST_RT) $(DEST_SPELL)
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00001856 if test -f $(SPELLSOURCE)/en.latin1.spl; then \
Bram Moolenaara6c840d2005-08-22 22:59:46 +00001857 $(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(SPELLSOURCE)/*.vim $(DEST_SPELL); \
1858 chmod $(HELPMOD) $(DEST_SPELL)/*.spl $(DEST_SPELL)/*.vim; \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001859 fi
1860
Bram Moolenaare1d12892004-06-13 13:02:36 +00001861# install helper program xxd
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001862installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001863 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS) \
1864 $(INSTALL_TOOL_LANGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001865 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
1866 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
1867 rm -f $(DEST_BIN)/xxd.rm; \
1868 fi
1869 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
1870 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
1871 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001872 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001873
Bram Moolenaare1d12892004-06-13 13:02:36 +00001874# install the runtime tools
1875 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
1876# When using CVS some CVS directories might have been copied.
1877 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
1878 if test -n "$$cvs"; then \
1879 rm -rf $$cvs; \
1880 fi
1881 -chmod $(FILEMOD) $(DEST_TOOLS)/*
1882# replace the path in some tools
1883 perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl
1884 awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1885 awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1886 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
1887 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
1888
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001889# install the language specific files for tools, if they were unpacked
1890install-tool-languages:
1891 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1892 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1893 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
1894 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1895 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
1896 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
1897 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
1898 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
1899
Bram Moolenaare1d12892004-06-13 13:02:36 +00001900# install the language specific files, if they were unpacked
1901install-languages: languages $(DEST_LANG) $(DEST_KMAP)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001902 -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1903 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1904 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001905 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001906 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001907 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001908 -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001909 -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001910 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001911 $(DEST_MAN_FR) $(INSTALLMLARGS)
1912 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1913 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
1914 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1915 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
1916 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001917 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001918 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001919 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
1920 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001921 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
1922 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001923 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001924 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1925 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001926 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1927 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
1928 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
1929 fi
1930 if test -d $(LANGSOURCE); then \
1931 $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.vim $(DEST_LANG); \
1932 chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.vim; \
1933 fi
1934 if test -d $(KMAPSOURCE); then \
1935 $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.vim $(DEST_KMAP); \
1936 chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.vim; \
1937 fi
1938
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001939# install the icons for KDE, if the directory exists and the icon doesn't.
Bram Moolenaare1d12892004-06-13 13:02:36 +00001940ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
1941ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
1942ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
1943KDEPATH = $(HOME)/.kde/share/icons
1944install-icons:
1945 if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
1946 -a ! -f $(ICON48PATH)/gvim.png; then \
1947 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; \
1948 fi
1949 if test -d $(ICON32PATH) -a -w $(ICON32PATH) \
1950 -a ! -f $(ICON32PATH)/gvim.png; then \
1951 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim32x32.png $(ICON32PATH)/gvim.png; \
1952 fi
1953 if test -d $(ICON16PATH) -a -w $(ICON16PATH) \
1954 -a ! -f $(ICON16PATH)/gvim.png; then \
1955 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
1956 fi
1957
1958
1959$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
1960 @echo Runtime files not found.
1961 @echo You need to unpack the runtime archive before running "make install".
1962 test -f error
1963
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001964$(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1965 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001966 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
1967 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001968 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001969 $(DEST_AUTO) $(DEST_PLUG):
Bram Moolenaare1d12892004-06-13 13:02:36 +00001970 -$(SHELL) ./mkinstalldirs $@
1971 -chmod $(DIRMOD) $@
1972
1973# create links from various names to vim. This is only done when the links
1974# (or executables with the same name) don't exist yet.
1975installlinks: $(GUI_TARGETS) \
1976 $(DEST_BIN)/$(EXTARGET) \
1977 $(DEST_BIN)/$(VIEWTARGET) \
1978 $(DEST_BIN)/$(RVIMTARGET) \
1979 $(DEST_BIN)/$(RVIEWTARGET) \
1980 $(INSTALLVIMDIFF)
1981
1982installglinks: $(DEST_BIN)/$(GVIMTARGET) \
1983 $(DEST_BIN)/$(GVIEWTARGET) \
1984 $(DEST_BIN)/$(RGVIMTARGET) \
1985 $(DEST_BIN)/$(RGVIEWTARGET) \
1986 $(DEST_BIN)/$(EVIMTARGET) \
1987 $(DEST_BIN)/$(EVIEWTARGET) \
1988 $(INSTALLGVIMDIFF)
1989
1990installvimdiff: $(DEST_BIN)/$(VIMDIFFTARGET)
1991installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
1992
1993$(DEST_BIN)/$(EXTARGET):
1994 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EXTARGET)
1995
1996$(DEST_BIN)/$(VIEWTARGET):
1997 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIEWTARGET)
1998
1999$(DEST_BIN)/$(GVIMTARGET):
2000 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMTARGET)
2001
2002$(DEST_BIN)/$(GVIEWTARGET):
2003 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIEWTARGET)
2004
2005$(DEST_BIN)/$(RVIMTARGET):
2006 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIMTARGET)
2007
2008$(DEST_BIN)/$(RVIEWTARGET):
2009 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIEWTARGET)
2010
2011$(DEST_BIN)/$(RGVIMTARGET):
2012 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIMTARGET)
2013
2014$(DEST_BIN)/$(RGVIEWTARGET):
2015 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIEWTARGET)
2016
2017$(DEST_BIN)/$(VIMDIFFTARGET):
2018 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIMDIFFTARGET)
2019
2020$(DEST_BIN)/$(GVIMDIFFTARGET):
2021 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMDIFFTARGET)
2022
2023$(DEST_BIN)/$(EVIMTARGET):
2024 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIMTARGET)
2025
2026$(DEST_BIN)/$(EVIEWTARGET):
2027 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
2028
2029# create links for the manual pages with various names to vim. This is only
2030# done when the links (or manpages with the same name) don't exist yet.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002031
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002032INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
2033 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
2034 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
2035 $(GVIMDIFFNAME) $(EVIEWNAME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002036
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002037installmanlinks:
2038 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2039 $(DEST_MAN) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002040
2041uninstall: uninstall_runtime
2042 -rm -f $(DEST_BIN)/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002043 -rm -f $(DEST_BIN)/vimtutor
Bram Moolenaare1d12892004-06-13 13:02:36 +00002044 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
2045 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
2046 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
2047 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
2048 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
2049 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002050 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002051
2052# Note: the "rmdir" will fail if any files were added after "make install"
2053uninstall_runtime:
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002054 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002055 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR) "" $(INSTALLMANARGS)
2056 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_I) "" $(INSTALLMANARGS)
2057 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_U) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002058 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002059 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_I) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002060 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS)
2061 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS)
2062 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002063 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2064 $(DEST_MAN) $(INSTALLMLARGS)
2065 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002066 $(DEST_MAN_FR) $(INSTALLMLARGS)
2067 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2068 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
2069 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2070 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
2071 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002072 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002073 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00002074 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
2075 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002076 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
2077 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002078 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002079 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2080 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
2081 -rm -f $(DEST_MAN)/xxd.1
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002082 -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 +00002083 -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 +00002084 -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1
Bram Moolenaare1d12892004-06-13 13:02:36 +00002085 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2086 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2087 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2088 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2089 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim
2090 -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE)
2091 -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE)
2092 -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE)
2093 -rm -f $(SYS_OPTWIN_FILE)
2094 -rm -f $(DEST_COL)/*.vim $(DEST_COL)/README.txt
2095 -rm -f $(DEST_SYN)/*.vim $(DEST_SYN)/README.txt
2096 -rm -f $(DEST_IND)/*.vim $(DEST_IND)/README.txt
2097 -rm -rf $(DEST_MACRO)
2098 -rm -rf $(DEST_TUTOR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002099 -rm -rf $(DEST_SPELL)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002100 -rm -rf $(DEST_TOOLS)
2101 -rm -rf $(DEST_LANG)
2102 -rm -rf $(DEST_KMAP)
2103 -rm -rf $(DEST_COMP)
2104 -rm -f $(DEST_PRINT)/*.ps
2105 -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
2106 -rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002107 -rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00002108 -rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002109 -rmdir $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_RT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002110# This will fail when other Vim versions are installed, no worries.
2111 -rmdir $(DEST_VIM)
2112
2113# Clean up all the files that have been produced, except configure's.
2114# We support common typing mistakes for Juergen! :-)
2115clean celan: testclean
2116 -rm -f *.o objects/* core $(VIMTARGET).core $(VIMTARGET) xxd/*.o
2117 -rm -f $(TOOLS) auto/osdef.h auto/pathdef.c auto/if_perl.c
2118 -rm -f conftest* *~ auto/link.sed
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002119 -rm -rf $(APPDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002120 if test -d $(PODIR); then \
2121 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
2122 fi
2123
2124# Make a shadow directory for compilation on another system or with different
2125# features.
2126SHADOWDIR = shadow
2127
2128shadow: runtime pixmaps
2129 mkdir $(SHADOWDIR)
2130 cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
2131 mkdir $(SHADOWDIR)/auto
2132 cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
2133 cd $(SHADOWDIR); rm -f auto/link.sed
2134 cp Makefile configure $(SHADOWDIR)
2135 rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
2136 cp config.mk.dist $(SHADOWDIR)/auto/config.mk
2137 cp config.mk.dist $(SHADOWDIR)
2138 mkdir $(SHADOWDIR)/xxd
2139 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002140 if test -f $(ICON_APP); then \
2141 cd $(SHADOWDIR); \
2142 ln -s ../$(ICON_APP) ../os_mac.rsr.hqx ../dehqx.py .; \
2143 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00002144 mkdir $(SHADOWDIR)/testdir
2145 cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
2146 ../../testdir/vimrc.unix \
2147 ../../testdir/*.in \
2148 ../../testdir/unix.vim \
2149 ../../testdir/*.ok .
2150
2151# Link needed for doing "make install" in a shadow directory.
2152runtime:
2153 -ln -s ../runtime .
2154
2155# Link needed for doing "make" using GTK in a shadow directory.
2156pixmaps:
2157 -ln -s ../pixmaps .
2158
2159# Update the synmenu.vim file with the latest Syntax menu.
2160# This is only needed when runtime/makemenu.vim was changed.
2161menu: ./vim ../runtime/makemenu.vim
2162 ./vim -u ../runtime/makemenu.vim
2163
2164# Start configure from scratch
2165scrub scratch:
2166 -rm -f auto/config.status auto/config.cache config.log auto/config.log
2167 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
2168 touch auto/config.h
2169 cp config.mk.dist auto/config.mk
2170
2171distclean: clean scratch
2172 -rm -f tags
2173
2174dist: distclean
2175 @echo
2176 @echo Making the distribution has to be done in the top directory
2177
2178mdepend:
2179 -@rm -f Makefile~
2180 cp Makefile Makefile~
2181 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2182 @for i in $(ALL_SRC) ; do \
2183 echo "$$i" ; \
2184 echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\
2185 $(CPP) $$i |\
2186 grep '^# .*"\./.*\.h"' |\
2187 sort -t'"' -u +1 -2 |\
2188 sed -e 's/.*"\.\/\(.*\)".*/\1/'\
2189 ` >> tmp_make ; \
2190 done
2191 mv tmp_make Makefile
2192
2193depend:
2194 -@rm -f Makefile~
2195 cp Makefile Makefile~
2196 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2197 -for i in $(ALL_SRC); do echo $$i; \
2198 $(CPP_DEPEND) $$i | \
2199 sed -e 's+^\([^ ]*\.o\)+objects/\1+' >> tmp_make; done
2200 mv tmp_make Makefile
2201
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002202# Run lint. Clean up the *.ln files that are sometimes left behind.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002203lint:
Bram Moolenaar051b7822005-05-19 21:00:46 +00002204 lint $(LINT_OPTIONS) $(LINT_CFLAGS) $(LINT_EXTRA) $(LINT_SRC)
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002205 -rm -f *.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002206
2207# Check dosinst.c with lint.
2208lintinstall:
2209 lint $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002210 -rm -f dosinst.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002211
2212###########################################################################
2213
2214.c.o:
2215 $(CCC) $<
2216
Bram Moolenaare1d12892004-06-13 13:02:36 +00002217auto/if_perl.c: if_perl.xs
2218 $(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
2219 $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
2220 $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
2221
2222auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
2223 CC="$(CC) $(ALL_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
2224
2225QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
2226auto/pathdef.c: Makefile auto/config.mk
2227 -@echo creating $@
2228 -@echo '/* pathdef.c */' > $@
2229 -@echo '/* This file is automatically created by Makefile' >> $@
2230 -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@
2231 -@echo '#include "vim.h"' >> $@
2232 -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
2233 -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
2234 -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@
2235 -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@
2236 -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
2237 -@if test -n "$(COMPILEDBY)"; then \
2238 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
2239 else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
2240 -@echo '";' >> $@
2241 -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
2242 -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
2243 -@echo '";' >> $@
2244 -@sh $(srcdir)/pathdef.sh
2245
2246# All the object files are put in the "objects" directory. Since not all make
2247# commands understand putting object files in another directory, it must be
2248# specified for each file separately.
2249
2250objects:
2251 mkdir objects
2252
2253objects/buffer.o: buffer.c
2254 $(CCC) -o $@ buffer.c
2255
2256objects/charset.o: charset.c
2257 $(CCC) -o $@ charset.c
2258
2259objects/diff.o: diff.c
2260 $(CCC) -o $@ diff.c
2261
2262objects/digraph.o: digraph.c
2263 $(CCC) -o $@ digraph.c
2264
2265objects/edit.o: edit.c
2266 $(CCC) -o $@ edit.c
2267
2268objects/eval.o: eval.c
2269 $(CCC) -o $@ eval.c
2270
2271objects/ex_cmds.o: ex_cmds.c
2272 $(CCC) -o $@ ex_cmds.c
2273
2274objects/ex_cmds2.o: ex_cmds2.c
2275 $(CCC) -o $@ ex_cmds2.c
2276
2277objects/ex_docmd.o: ex_docmd.c
2278 $(CCC) -o $@ ex_docmd.c
2279
2280objects/ex_eval.o: ex_eval.c
2281 $(CCC) -o $@ ex_eval.c
2282
2283objects/ex_getln.o: ex_getln.c
2284 $(CCC) -o $@ ex_getln.c
2285
2286objects/fileio.o: fileio.c
2287 $(CCC) -o $@ fileio.c
2288
2289objects/fold.o: fold.c
2290 $(CCC) -o $@ fold.c
2291
2292objects/getchar.o: getchar.c
2293 $(CCC) -o $@ getchar.c
2294
Bram Moolenaar58d98232005-07-23 22:25:46 +00002295objects/hardcopy.o: hardcopy.c
2296 $(CCC) -o $@ hardcopy.c
2297
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002298objects/hashtable.o: hashtable.c
2299 $(CCC) -o $@ hashtable.c
2300
Bram Moolenaare1d12892004-06-13 13:02:36 +00002301objects/gui.o: gui.c
2302 $(CCC) -o $@ gui.c
2303
2304objects/gui_at_fs.o: gui_at_fs.c
2305 $(CCC) -o $@ gui_at_fs.c
2306
2307objects/gui_at_sb.o: gui_at_sb.c
2308 $(CCC) -o $@ gui_at_sb.c
2309
2310objects/gui_athena.o: gui_athena.c
2311 $(CCC) -o $@ gui_athena.c
2312
Bram Moolenaare1d12892004-06-13 13:02:36 +00002313objects/gui_beval.o: gui_beval.c
2314 $(CCC) -o $@ gui_beval.c
2315
2316objects/gui_gtk.o: gui_gtk.c
2317 $(CCC) -o $@ gui_gtk.c
2318
2319objects/gui_gtk_f.o: gui_gtk_f.c
2320 $(CCC) -o $@ gui_gtk_f.c
2321
2322objects/gui_gtk_x11.o: gui_gtk_x11.c
2323 $(CCC) -o $@ gui_gtk_x11.c
2324
2325objects/gui_motif.o: gui_motif.c
2326 $(CCC) -o $@ gui_motif.c
2327
Bram Moolenaardfccaf02004-12-31 20:56:11 +00002328objects/gui_xmdlg.o: gui_xmdlg.c
2329 $(CCC) -o $@ gui_xmdlg.c
2330
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00002331objects/gui_xmebw.o: gui_xmebw.c
2332 $(CCC) -o $@ gui_xmebw.c
2333
Bram Moolenaare1d12892004-06-13 13:02:36 +00002334objects/gui_x11.o: gui_x11.c
2335 $(CCC) -o $@ gui_x11.c
2336
2337objects/gui_photon.o: gui_photon.c
2338 $(CCC) -o $@ gui_photon.c
2339
2340objects/gui_mac.o: gui_mac.c
2341 $(CCC) -o $@ gui_mac.c
2342
2343objects/hangulin.o: hangulin.c
2344 $(CCC) -o $@ hangulin.c
2345
2346objects/if_cscope.o: if_cscope.c
2347 $(CCC) -o $@ if_cscope.c
2348
2349objects/if_xcmdsrv.o: if_xcmdsrv.c
2350 $(CCC) -o $@ if_xcmdsrv.c
2351
Bram Moolenaar325b7a22004-07-05 15:58:32 +00002352objects/if_mzsch.o: if_mzsch.c
2353 $(CCC) -o $@ if_mzsch.c
2354
Bram Moolenaare1d12892004-06-13 13:02:36 +00002355objects/if_perl.o: auto/if_perl.c
2356 $(CCC) -o $@ auto/if_perl.c
2357
2358objects/if_perlsfio.o: if_perlsfio.c
2359 $(CCC) -o $@ if_perlsfio.c
2360
2361objects/if_python.o: if_python.c
2362 $(CCC) -o $@ if_python.c
2363
2364objects/if_ruby.o: if_ruby.c
2365 $(CCC) -o $@ if_ruby.c
2366
2367objects/if_sniff.o: if_sniff.c
2368 $(CCC) -o $@ if_sniff.c
2369
2370objects/if_tcl.o: if_tcl.c
2371 $(CCC) -o $@ if_tcl.c
2372
2373objects/integration.o: integration.c
2374 $(CCC) -o $@ integration.c
2375
2376objects/main.o: main.c
2377 $(CCC) -o $@ main.c
2378
2379objects/mark.o: mark.c
2380 $(CCC) -o $@ mark.c
2381
2382objects/memfile.o: memfile.c
2383 $(CCC) -o $@ memfile.c
2384
2385objects/memline.o: memline.c
2386 $(CCC) -o $@ memline.c
2387
2388objects/menu.o: menu.c
2389 $(CCC) -o $@ menu.c
2390
2391objects/message.o: message.c
2392 $(CCC) -o $@ message.c
2393
2394objects/misc1.o: misc1.c
2395 $(CCC) -o $@ misc1.c
2396
2397objects/misc2.o: misc2.c
2398 $(CCC) -o $@ misc2.c
2399
2400objects/move.o: move.c
2401 $(CCC) -o $@ move.c
2402
2403objects/mbyte.o: mbyte.c
2404 $(CCC) -o $@ mbyte.c
2405
2406objects/normal.o: normal.c
2407 $(CCC) -o $@ normal.c
2408
2409objects/ops.o: ops.c
2410 $(CCC) -o $@ ops.c
2411
2412objects/option.o: option.c
2413 $(CCC) -o $@ option.c
2414
2415objects/os_beos.o: os_beos.c
2416 $(CCC) -o $@ os_beos.c
2417
2418objects/os_qnx.o: os_qnx.c
2419 $(CCC) -o $@ os_qnx.c
2420
2421objects/os_macosx.o: os_macosx.c
2422 $(CCC) -o $@ os_macosx.c
2423
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002424objects/os_mac_conv.o: os_mac_conv.c
2425 $(CCC) -o $@ os_mac_conv.c
2426
Bram Moolenaare1d12892004-06-13 13:02:36 +00002427objects/os_unix.o: os_unix.c
2428 $(CCC) -o $@ os_unix.c
2429
2430objects/pathdef.o: auto/pathdef.c
2431 $(CCC) -o $@ auto/pathdef.c
2432
2433objects/py_config.o: $(PYTHON_CONFDIR)/config.c
2434 $(CCC) -o $@ $(PYTHON_CONFDIR)/config.c \
2435 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN
2436
2437objects/py_getpath.o: $(PYTHON_CONFDIR)/getpath.c
2438 $(CCC) -o $@ $(PYTHON_CONFDIR)/getpath.c \
2439 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN \
2440 $(PYTHON_GETPATH_CFLAGS)
2441
2442objects/pty.o: pty.c
2443 $(CCC) -o $@ pty.c
2444
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00002445objects/popupmenu.o: popupmenu.c
2446 $(CCC) -o $@ popupmenu.c
2447
Bram Moolenaare1d12892004-06-13 13:02:36 +00002448objects/quickfix.o: quickfix.c
2449 $(CCC) -o $@ quickfix.c
2450
2451objects/regexp.o: regexp.c
2452 $(CCC) -o $@ regexp.c
2453
2454objects/screen.o: screen.c
2455 $(CCC) -o $@ screen.c
2456
2457objects/search.o: search.c
2458 $(CCC) -o $@ search.c
2459
Bram Moolenaar217ad922005-03-20 22:37:15 +00002460objects/spell.o: spell.c
2461 $(CCC) -o $@ spell.c
2462
Bram Moolenaare1d12892004-06-13 13:02:36 +00002463objects/syntax.o: syntax.c
2464 $(CCC) -o $@ syntax.c
2465
2466objects/tag.o: tag.c
2467 $(CCC) -o $@ tag.c
2468
2469objects/term.o: term.c
2470 $(CCC) -o $@ term.c
2471
2472objects/ui.o: ui.c
2473 $(CCC) -o $@ ui.c
2474
2475objects/undo.o: undo.c
2476 $(CCC) -o $@ undo.c
2477
2478objects/window.o: window.c
2479 $(CCC) -o $@ window.c
2480
2481objects/workshop.o: workshop.c
2482 $(CCC) -o $@ workshop.c
2483
2484objects/wsdebug.o: wsdebug.c
2485 $(CCC) -o $@ wsdebug.c
2486
2487objects/netbeans.o: netbeans.c
2488 $(CCC) -o $@ netbeans.c
2489
2490Makefile:
2491 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
2492
2493###############################################################################
2494### MacOS X installation
2495###
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002496### This installs a runnable Vim.app in $(prefix)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002497
2498REZ = /Developer/Tools/Rez
Bram Moolenaare1d12892004-06-13 13:02:36 +00002499RESDIR = $(APPDIR)/Contents/Resources
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00002500VERSION = $(VIMMAJOR).$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002501
2502### Common flags
2503M4FLAGSX = $(M4FLAGS) -DAPP_EXE=$(VIMNAME) -DAPP_NAME=$(VIMNAME) \
2504 -DAPP_VER=$(VERSION) -DICON_APP=$(ICON_APP)
2505
2506### Icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00002507ICONS = $(RESDIR)/$(ICON_APP)
2508
2509# If you uncomment the following lines the *.icns in the src directory will be
2510# detected by this Makefile automatically, and used for Vim.
2511#ICON_APP = $(shell if [ -e app.icns ] ; then echo app.icns ; else echo gui_mac.icns ; fi)
2512#ICON_DOC = $(shell if [ -e doc.icns ] ; then echo doc.icns ; else echo ; fi)
2513#ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi)
2514#ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT))
2515
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002516install_macosx: gui_bundle
Bram Moolenaare344bea2005-09-01 20:46:49 +00002517# Remove the link to the runtime dir, don't want to copy all of that.
2518 -rm $(APPDIR)/runtime
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002519 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix)
Bram Moolenaare344bea2005-09-01 20:46:49 +00002520# Install the runtime files. Recursive!
2521 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/runtime
2522 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
2523 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
2524 VIMEXE=$$srcdir/$(VIMTARGET) \
2525 prefix=$(DESTDIR)$(prefix)/$(APPDIR) \
2526 VIMRTLOC=$(DESTDIR)$(prefix)/$(APPDIR)/runtime
2527# Put the link back.
2528 ln -s `pwd`/../runtime $(APPDIR)
2529# TODO: Create the vimtutor application.
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002530
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002531gui_bundle: $(APPDIR) bundle-dir bundle-executable bundle-info bundle-resource \
Bram Moolenaare1d12892004-06-13 13:02:36 +00002532 bundle-language
2533
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002534$(APPDIR):
2535 mkdir -p $@
2536
Bram Moolenaare1d12892004-06-13 13:02:36 +00002537bundle-dir: $(APPDIR)/Contents $(VIMTARGET)
2538 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
Bram Moolenaare344bea2005-09-01 20:46:49 +00002539# Make a link to the runtime directory, so that we can try out the executable
2540# without installing it.
2541 -ln -s `pwd`/../runtime $(APPDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002542
2543bundle-executable: $(VIMTARGET)
2544 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET)
2545
2546bundle-info: bundle-dir
2547 @echo "Creating PkgInfo"
2548 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo
2549 @echo "Creating Info.plist"
2550 m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
2551
2552bundle-resource: bundle-dir bundle-icons bundle-rsrc
2553
2554bundle-icons: $(ICONS)
2555
2556### Classic resources
2557# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
2558# This file is also required for OS X Vim.
2559bundle-rsrc: os_mac.rsr.hqx
2560 @echo "Creating resource fork"
2561 python dehqx.py $<
2562 rm -f gui_mac.rsrc
2563 mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
2564
2565# po/Make_osx.pl says something about generating a Mac message file
2566# for Ukrananian. Would somebody using Mac OS X in Ukranian
2567# *really* be upset that Carbon Vim was not localised in
2568# Ukranian?
2569#
2570#bundle-language: bundle-dir po/Make_osx.pl
2571# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
2572bundle-language: bundle-dir
2573
2574$(APPDIR)/Contents:
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002575 -$(SHELL) ./mkinstalldirs $(APPDIR)/Contents/MacOS
2576 -$(SHELL) ./mkinstalldirs $(RESDIR)/English.lproj
Bram Moolenaare1d12892004-06-13 13:02:36 +00002577
2578$(RESDIR)/%.icns: %.icns
2579 cp $< $@
2580
2581
2582###############################################################################
2583### (automatically generated by 'make depend')
2584### Dependencies:
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002585objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2586 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002587 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2588 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002589objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2590 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002591 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2592 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002593objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002594 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002595 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2596 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002597objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2598 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002599 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2600 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002601objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002602 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002603 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2604 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002605objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002606 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002607 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2608 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002609objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2610 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002611 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2612 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002613objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002614 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002615 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2616 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002617objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002618 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002619 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2620 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002621objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2622 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002623 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2624 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002625objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002626 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002627 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2628 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002629objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2630 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002631 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2632 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002633objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002634 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002635 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2636 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002637objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2638 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002639 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2640 arabic.h if_sniff.h
Bram Moolenaar58d98232005-07-23 22:25:46 +00002641objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002642 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002643 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2644 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002645objects/hashtable.o: hashtable.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002646 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002647 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2648 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002649objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002650 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002651 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2652 farsi.h arabic.h if_sniff.h if_cscope.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002653objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002654 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002655 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2656 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002657objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002658 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002659 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2660 arabic.h if_sniff.h farsi.c arabic.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00002661objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002662 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002663 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2664 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002665objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2666 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002667 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2668 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002669objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2670 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002671 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2672 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002673objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002674 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002675 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2676 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002677objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2678 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002679 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2680 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002681objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002682 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002683 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2684 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002685objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002686 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002687 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2688 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002689objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002690 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002691 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2692 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002693objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002694 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002695 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2696 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002697objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2698 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002699 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2700 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002701objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2702 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002703 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2704 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002705objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2706 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002707 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2708 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002709objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2710 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002711 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2712 arabic.h if_sniff.h os_unixx.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002713objects/pathdef.o: auto/pathdef.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
2714 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./structs.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002715 ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro ./option.h \
2716 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h ./if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002717objects/popupmenu.o: popupmenu.c vim.h auto/config.h feature.h os_unix.h \
2718 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002719 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2720 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002721objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002722 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002723 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2724 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002725objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2726 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002727 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2728 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002729objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2730 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002731 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2732 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002733objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2734 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002735 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2736 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002737objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2738 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002739 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2740 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002741objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2742 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002743 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2744 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002745objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2746 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002747 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2748 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002749objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002750 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002751 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2752 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002753objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2754 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002755 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2756 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002757objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002758 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002759 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2760 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002761objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2762 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002763 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2764 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002765objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2766 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002767 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2768 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002769objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2770 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002771 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2772 arabic.h if_sniff.h
2773objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h auto/config.h feature.h os_unix.h \
2774 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2775 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2776 farsi.h arabic.h if_sniff.h ../pixmaps/stock_icons.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002777objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002778 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002779 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2780 farsi.h arabic.h if_sniff.h gui_gtk_f.h
2781objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
2782 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2783 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2784 farsi.h arabic.h if_sniff.h gui_xmebw.h ../pixmaps/alert.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002785 ../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002786 ../pixmaps/quest.xpm gui_x11_pm.h ../pixmaps/tb_new.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002787 ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm \
2788 ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm \
2789 ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2790 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2791 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2792 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2793 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2794 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2795 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2796 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2797 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2798 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2799 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2800 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2801 ../pixmaps/tb_minwidth.xpm
Bram Moolenaar202795b2005-10-11 20:29:39 +00002802objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
2803 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2804 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2805 farsi.h arabic.h if_sniff.h
2806objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
2807 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2808 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2809 farsi.h arabic.h if_sniff.h gui_xmebwp.h gui_xmebw.h
2810objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
2811 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2812 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2813 farsi.h arabic.h if_sniff.h gui_at_sb.h gui_x11_pm.h \
2814 ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
2815 ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
2816 ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2817 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2818 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2819 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2820 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2821 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2822 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2823 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2824 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2825 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2826 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2827 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2828 ../pixmaps/tb_minwidth.xpm
2829objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
2830 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2831 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2832 farsi.h arabic.h if_sniff.h gui_gtk_f.h ../runtime/vim32x32.xpm \
2833 ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
2834objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2835 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2836 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2837 arabic.h if_sniff.h ../runtime/vim32x32.xpm ../runtime/vim16x16.xpm \
2838 ../runtime/vim48x48.xpm
2839objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
2840 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2841 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2842 farsi.h arabic.h if_sniff.h gui_at_sb.h
2843objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
2844 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2845 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2846 farsi.h arabic.h if_sniff.h gui_at_sb.h
2847objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2848 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2849 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2850 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002851objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002852 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002853 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2854 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002855objects/if_perl.o: auto/if_perl.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
2856 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./structs.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002857 ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro ./option.h \
2858 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h ./if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002859objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002860 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002861 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2862 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002863objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002864 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002865 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2866 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002867objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2868 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002869 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2870 arabic.h if_sniff.h
2871objects/if_ruby.o: if_ruby.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2872 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2873 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2874 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002875objects/if_sniff.o: if_sniff.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002876 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002877 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2878 farsi.h arabic.h if_sniff.h os_unixx.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002879objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002880 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002881 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2882 farsi.h arabic.h if_sniff.h
2883objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
2884 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h structs.h \
2885 regexp.h gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002886 proto.h globals.h farsi.h arabic.h if_sniff.h version.h workshop.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002887objects/wsdebug.o: wsdebug.c
2888objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002889 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002890 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2891 farsi.h arabic.h if_sniff.h integration.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002892objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002893 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002894 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2895 farsi.h arabic.h if_sniff.h version.h