blob: 66185ce02c244fb47dcf350cc7cb91d94c78cc61 [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.
Bram Moolenaara23ccb82006-02-27 00:08:02 +0000357# You can also change the architecture supported, default is to test for both.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000358#CONF_OPT_DARWIN = --disable-darwin
Bram Moolenaara23ccb82006-02-27 00:08:02 +0000359#CONF_OPT_DARWIN = --with-mac-arch=i386
360#CONF_OPT_DARWIN = --with-mac-arch=ppc
Bram Moolenaare1d12892004-06-13 13:02:36 +0000361
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000362# PERL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000363# Uncomment this when you want to include the Perl interface.
364# The Perl option sometimes causes problems, because it adds extra flags
365# to the command line. If you see strange flags during compilation, check in
366# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
367# the next line.
368# When you get an error for a missing "perl.exp" file, try creating an emtpy
369# one: "touch perl.exp".
370# This requires at least "small" features, "tiny" doesn't work.
371#CONF_OPT_PERL = --enable-perlinterp
372
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000373# PYTHON
Bram Moolenaare1d12892004-06-13 13:02:36 +0000374# Uncomment this when you want to include the Python interface.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +0000375# NOTE: This may cause threading to be enabled, which has side effects (such
376# as using different libraries and debugging becomes more difficult).
Bram Moolenaara5792f52005-11-23 21:25:05 +0000377# NOTE: Using this together with Perl may cause a crash in initialization.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000378#CONF_OPT_PYTHON = --enable-pythoninterp
379
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000380# TCL
Bram Moolenaare1d12892004-06-13 13:02:36 +0000381# Uncomment this when you want to include the Tcl interface.
382#CONF_OPT_TCL = --enable-tclinterp
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +0000383#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
Bram Moolenaare1d12892004-06-13 13:02:36 +0000384
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000385# RUBY
Bram Moolenaare1d12892004-06-13 13:02:36 +0000386# Uncomment this when you want to include the Ruby interface.
387#CONF_OPT_RUBY = --enable-rubyinterp
388
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000389# MZSCHEME
390# Uncomment this when you want to include the MzScheme interface.
391#CONF_OPT_MZSCHEME = --enable-mzschemeinterp
392# PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
393#CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
394#CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
395#CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
396
397# CSCOPE
Bram Moolenaare1d12892004-06-13 13:02:36 +0000398# Uncomment this when you want to include the Cscope interface.
399#CONF_OPT_CSCOPE = --enable-cscope
400
401# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
402#CONF_OPT_WORKSHOP = --enable-workshop
403
404# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
405# Motif version must have XPM libraries (see |workshop-xpm|).
406# Uncomment this when you do not want the netbeans interface.
407#CONF_OPT_NETBEANS = --disable-netbeans
408
409# SNIFF - Include support for SNiFF+.
410#CONF_OPT_SNIFF = --enable-sniff
411
412# MULTIBYTE - To edit multi-byte characters.
413# Uncomment this when you want to edit a multibyte language.
414# It's automatically enabled with big features or IME support.
415# Note: Compile on a machine where setlocale() actually works, otherwise the
416# configure tests may fail.
417#CONF_OPT_MULTIBYTE = --enable-multibyte
418
419# NLS - National Language Support
420# Uncomment this when you do not want to support translated messages, even
421# though configure can find support for it.
422#CONF_OPT_NLS = --disable-nls
423
Bram Moolenaara5792f52005-11-23 21:25:05 +0000424# XIM - X Input Method. Special character input support for X11 (Chinese,
425# Japanese, special symbols, etc). Also needed for dead-key support.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000426# When omitted it's automatically enabled for the X-windows GUI.
Bram Moolenaara5792f52005-11-23 21:25:05 +0000427# HANGUL - Input Hangul (Korean) language using internal routines.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000428# Uncomment one of these when you want to input a multibyte language.
429#CONF_OPT_INPUT = --enable-xim
430#CONF_OPT_INPUT = --disable-xim
431#CONF_OPT_INPUT = --enable-hangulinput
432
433# FONTSET - X fontset support for output of languages with many characters.
434# Uncomment this when you want to output a multibyte language.
435#CONF_OPT_OUTPUT = --enable-fontset
436
437# ACL - Uncomment this when you do not want to include ACL support, even
438# though your system does support it. E.g., when it's buggy.
439#CONF_OPT_ACL = --disable-acl
440
441# gpm - For mouse support on Linux console via gpm
442# Uncomment this when you do not want to include gpm support, even
443# though you have gpm libraries and includes
444#CONF_OPT_GPM = --disable-gpm
445
446# FEATURES - For creating Vim with more or less features
447# Uncomment one of these lines when you want to include few to many features.
448# The default is "normal".
449#CONF_OPT_FEAT = --with-features=tiny
450#CONF_OPT_FEAT = --with-features=small
451#CONF_OPT_FEAT = --with-features=normal
452#CONF_OPT_FEAT = --with-features=big
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000453#CONF_OPT_FEAT = --with-features=huge
Bram Moolenaare1d12892004-06-13 13:02:36 +0000454
455# COMPILED BY - For including a specific e-mail address for ":version".
456#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
457
458# X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
459# (otherwise Vim configure will try to include xterm titlebar access)
460# Also disable the GUI above, otherwise it will be included anyway.
461# When both GUI and X11 have been disabled this may save about 15% of the
462# code and make Vim startup quicker.
463#CONF_OPT_X = --without-x
464
465# X WINDOWS DIRECTORY - specify X directories
Bram Moolenaara5792f52005-11-23 21:25:05 +0000466# If configure can't find you X stuff, or if you have multiple X11 derivatives
Bram Moolenaare1d12892004-06-13 13:02:36 +0000467# installed, you may wish to specify which one to use.
468# Select nothing to let configure choose.
469# This here selects openwin (as found on sun).
470#XROOT = /usr/openwin
471#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib
472
473# X11 Session Management Protocol support
474# Vim will try to use XSMP to catch the user logging out if there are unsaved
475# files. Uncomment this line to disable that (it prevents vim trying to open
476# communications with the session manager).
477#CONF_OPT_XSMP = --disable-xsmp
478
479# You may wish to include xsmp but use exclude xsmp-interact if the logout
480# XSMP functionality does not work well with your session-manager (at time of
481# writing, this would be early GNOME-1 gnome-session: it 'freezes' other
482# applications after Vim has cancelled a logout (until Vim quits). This
483# *might* be the Vim code, but is more likely a bug in early GNOME-1.
484# This disables the dialog that asks you if you want to save files or not.
485#CONF_OPT_XSMP = --disable-xsmp-interact
486
487# COMPILER - Name of the compiler {{{1
488# The default from configure will mostly be fine, no need to change this, just
489# an example. If a compiler is defined here, configure will use it rather than
490# probing for one. It is dangerous to change this after configure was run.
491# Make will use your choice then -- but beware: Many things may change with
492# another compiler. It is wise to run 'make reconfig' to start all over
493# again.
494#CC = cc
495#CC = gcc
496
497# COMPILER FLAGS - change as you please. Either before running {{{1
498# configure or afterwards. For examples see below.
499# When using -g with some older versions of Linux you might get a
500# statically linked executable.
501# When not defined, configure will try to use -O2 -g for gcc and -O for cc.
502#CFLAGS = -g
503#CFLAGS = -O
504
505# Optimization limits - depends on the compiler. Automatic check in configure
506# doesn't work very well, because many compilers only give a warning for
507# unrecognized arguments.
508#CFLAGS = -O -OPT:Olimit=2600
509#CFLAGS = -O -Olimit 2000
510#CFLAGS = -O -FOlimit,2000
511
512# Often used for GCC: mixed optimizing, lot of optimizing, debugging
513#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar69a7cb42004-06-20 12:51:53 +0000514#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaardf177f62005-02-22 08:39:57 +0000515#CFLAGS = -g -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000516#CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
517#CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
Bram Moolenaar592e0a22004-07-03 16:05:59 +0000518#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
Bram Moolenaare1d12892004-06-13 13:02:36 +0000519
520# EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
521# allocated memory (and makes every malloc()/free() very slow).
522# Electric Fence is free (search ftp sites).
Bram Moolenaar53180ce2005-07-05 21:48:14 +0000523# You may want to set the EF_PROTECT_BELOW environment variable to check the
524# other side of allocated memory.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000525# On FreeBSD you might need to enlarge the number of mmaps allowed. Do this
526# as root: sysctl -w vm.max_proc_mmap=30000
527#EXTRA_LIBS = /usr/local/lib/libefence.a
528
529# PURIFY - remove the # to use the "purify" program (hoi Nia++!)
530#PURIFY = purify
531# }}}
532
533# LINT - for running lint
534LINT_OPTIONS = -beprxzF
535
536# PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
537# Might not work with GUI or Perl.
Bram Moolenaar4770d092006-01-12 23:22:24 +0000538# For unknown reasons adding "-lc" fixes a linking problem with GCC. That's
539# probably a bug in the "-pg" implementation.
Bram Moolenaare1d12892004-06-13 13:02:36 +0000540# Need to recompile everything after changing this: "make clean" "make".
541#PROFILE_CFLAGS = -pg -g
542#PROFILE_LIBS = -pg
Bram Moolenaar4770d092006-01-12 23:22:24 +0000543#PROFILE_LIBS = -pg -lc
Bram Moolenaare1d12892004-06-13 13:02:36 +0000544
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000545# MEMORY LEAK DETECTION
546# Requires installing the ccmalloc library.
Bram Moolenaara40ceaf2006-01-13 22:35:40 +0000547# Configuration is in the .ccmalloc or ~/.ccmalloc file.
Bram Moolenaar0a5fe212005-06-24 23:01:23 +0000548# Doesn't work very well, since memory linked to from global variables
549# (indirectly) is also marked as leaked memory.
550#PROFILE_CFLAGS = -DEXITFREE
551#PROFILE_LIBS = -lccmalloc
552
Bram Moolenaare1d12892004-06-13 13:02:36 +0000553#####################################################
554### Specific systems, check if yours is listed! ### {{{
555#####################################################
556
557### Uncomment things here only if the values chosen by configure are wrong.
558### It's better to adjust configure.in and "make autoconf", if you can!
559### Then send the required changes to configure.in to the bugs list.
560
561### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries
562###
563#CC = shlicc2
564#CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin
565
566### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler
567### The first probably works on all systems
568### The second should work a bit better on newer systems
569### The third should work a bit better on HPUX 11.11
570### Information provided by: Richard Allen <ra@rhi.hi.is>
571#CC = c89 -D_HPUX_SOURCE
572#CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE
573#CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE
574
575### (2) For HP-UX: Enable the use of a different set of digraphs. Use this
576### when the default (ISO) digraphs look completely wrong.
577### After changing this do "touch digraph.c; make".
578#EXTRA_DEFS = -DHPUX_DIGRAPHS
579
580### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes
581### is too small to compile many routines. It produces too much defining
582### and no space errors.
583### Uncomment the following to specify a larger macro definition table.
584#CFLAGS = -Wp,-H256000
585
586### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with
587### libraries in /usr/lib instead of /lib (avoiding transition links).
588### Information provided by: David Green
589#XROOT = /usr
590#CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6
591#GUI_INC_LOC = -I/usr/include/Motif1.2
592#GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6
593
594### (5) AIX 4.1.4 with cc
595#CFLAGS = -O -qmaxmem=8192
596
597### AIX with c89 (Walter Briscoe)
598#CC = c89
599#CPPFLAGS = -D_ALL_SOURCE
600
601### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
602# needed to avoid a problem where strings.h gets included
603#CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
604
605### (W) Solaris with multi-threaded libraries (-lthread):
606### If suspending doesn't work properly, try using this line:
607#EXTRA_DEFS = -D_REENTRANT
608
609### (7) Solaris 2.4/2.5 with Centerline compiler
610#CC = clcc
611#X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib
612#CFLAGS = -O
613
614### (9) Solaris 2.x with cc (SunPro), using Athena.
615### Only required for compiling gui_at_sb.c.
616### Symptom: "identifier redeclared: vim_XawScrollbarSetThumb"
617### Use one of the lines (either Full ANSI or no ANSI at all)
618#CFLAGS = $(CFLAGS) -Xc
619#CFLAGS = $(CFLAGS) -Xs
620
621### Solaris 2.3 with X11 and specific cc
622#CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib
623
624### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc")
625#CC = /usr/ucb/cc
626#EXTRA_LIBS = -R/usr/ucblib
627
628### Solaris with Forte Developer and FEAT_SUN_WORKSHOP
629# The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm.
630#CC = cc
631#XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris
632#XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm
633#XPM_IPATH = -I$(XPM_DIR)/include
634#EXTRA_LIBS = $(XPM_LIB)
635#EXTRA_IPATHS = $(XPM_IPATH)
636#EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H
637
638### Solaris with workshop compilers: Vim is unstable when compiled with
639# "-fast". Use this instead. (Shea Martin)
640#CFLAGS = -x02 -xtarget=ultra
641
642### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this:
643#LDFLAGS = -lw -ldl -lXmu
644#GUI_LIB_LOC = -L/usr/local/lib
645
646### (8) Unisys 6035 (Glauber Ribeiro)
647#EXTRA_LIBS = -lnsl -lsocket -lgen
648
649### When builtin functions cause problems with gcc (for Sun 4.1.x)
650#CFLAGS = -O2 -Wall -traditional -Wno-implicit
651
652### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0)
653#EXTRA_DEFS = -DDOMAIN
654#CFLAGS= -O -A systype,bsd4.3
655
656### Coherent 4.2.10 on Intel 386 platform
657#EXTRA_DEFS = -Dvoid=int
658#EXTRA_LIBS = -lterm -lsocket
659
660### SCO 3.2, with different library name for terminfo
661#EXTRA_LIBS = -ltinfo
662
663### UTS2 for Amdahl UTS 2.1.x
664#EXTRA_DEFS = -DUTS2
665#EXTRA_LIBS = -lsocket
666
667### UTS4 for Amdahl UTS 4.x
668#EXTRA_DEFS = -DUTS4 -Xa
669
670### USL for Unix Systems Laboratories (SYSV 4.2)
671#EXTRA_DEFS = -DUSL
672
673### RISCos on MIPS without X11
674#EXTRA_DEFS = -DMIPS
675
676### RISCos on MIPS with X11
677#EXTRA_LIBS = -lsun
678
679### (6) A/UX 3.1.1 with gcc (Jim Jagielski)
680#CC= gcc -D_POSIX_SOURCE
681#CFLAGS= -O2
682#EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11
683
684### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel)
685### Also use the CONF_TERM_LIB below!
686#EXTRA_LIBS = -lgen
687
688### (D) QNX (by G.F. Desrochers)
689#CFLAGS = -g -O -mf -4
690
691### (F) QNX (by John Oleynick)
692# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
693# CONF_OPT_X = --without-x.
694# 2. make config
695# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
696# have -ldir (does config find it somewhere?) and -ltermcap has at
697# least one problem so I use termlib.o instead. The problem with
698# termcap is that it segfaults if you call it with the name of
699# a non-existent terminal type.
700# 4. edit auto/config.h and add #define USE_TMPNAM
701# 5. add termlib.o to OBJ
702# 6. make
703
704### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein)
705#EXTRA_LIBS = -lgen
706
707### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z)
708#EXTRA_LIBS = -lgen -lnsl
709### For SINIX-Y this is needed for the right prototype of gettimeofday()
710#EXTRA_DEFS = -D_XPG_IV
711
712### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc
713# Use both "-F O3" lines for optimization or the "-g" line for debugging
714#EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE
715#CFLAGS = -F O3 -DSINIXN
716#LDFLAGS = -F O3
717#CFLAGS = -g -DSINIXN
718
719### (P) SCO 3.2.42, with different termcap names for some useful keys DJB
720#EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY
721#EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s
722
723### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz)
724#GUI_INC_LOC = -I/usr/include
725#GUI_LIB_LOC = -L/usr/lib
726#EXTRA_LIBS = -lgen
727
728### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz)
729#GUI_INC_LOC = -I/usr/necccs/include
730#GUI_LIB_LOC = -L/usr/necccs/lib/X11R6
731#XROOT = /usr/necccs
732#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
733#EXTRA_LIBS = -lsocket -lgen
734
735### Irix 4.0 & 5.2 (Silicon Graphics Machines, __sgi will be defined)
736# Not needed for Irix 5.3, Ives Aerts reported
737#EXTRA_LIBS = -lmalloc -lc_s
738# Irix 4.0, when regexp and regcmp cannot be found when linking:
739#EXTRA_LIBS = -lmalloc -lc_s -lPW
740
741### (S) Irix 6.x (MipsPro compiler): Uses different Olimit flag:
742# Note: This newer option style is used with the MipsPro compilers ONLY if
743# you are compiling an "n32" or "64" ABI binary (use either a -n32
744# flag or a -64 flag for CFLAGS). If you explicitly use a -o32 flag,
745# then the CFLAGS option format will be the typical style (i.e.
746# -Olimit 3000).
747#CFLAGS = -OPT:Olimit=3000 -O
748
749### (S) Irix 6.5 with MipsPro C compiler. Try this as a test to see new
750# compiler features! Beware, the optimization is EXTREMELY thorough
751# and takes quite a long time.
752# Note: See the note above. Here, the -mips3 option automatically
753# enables either the "n32" or "64" ABI, depending on what machine you
754# are compiling on (n32 is explicitly enabled here, just to make sure).
755#CFLAGS = -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
756#LDFLAGS= -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
757
758### (K) for SGI Irix machines with 64 bit pointers ("uname -s" says IRIX64)
759### Suggested by Jon Wright <jon@gate.sinica.edu.tw>.
760### Tested on R8000 IRIX6.1 Power Indigo2.
761### Check /etc/compiler.defaults for your compiler settings.
762# either (for 64 bit pointers) uncomment the following line
763#GUI_LIB_LOC = -L/usr/lib64
764# then
765# 1) make config
766# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
767# 3) make
768#
769# or (for 32bit pointers) uncomment the following line
770#EXTRA_DEFS = -n32
771#GUI_LIB_LOC = -L/usr/lib32
772# then
773# 1) make config
774# 2) edit auto/config.mk, add -n32 to LDFLAGS
775# 3) make
776###
777
778### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library,
779### which is found by configure, doesn't work correctly. Symptom is the
780### error message "Termcap entry too long". Uncomment the next line.
781### On AIX 4.2.1 (and other versions probably), libtermcap is reported
782### not to display properly.
783### after changing this, you need to do "make reconfig".
784#CONF_TERM_LIB = --with-tlib=curses
785
786### (E) If you want to use termlib library instead of the automatically found
787### one. After changing this, you need to do "make reconfig".
788#CONF_TERM_LIB = --with-tlib=termlib
789
790### (a) ESIX V4.2 (Reinhard Wobst)
791#EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext
792
793### If you want to use ncurses library instead of the automatically found one
794### after changing this, you need to do "make reconfig".
795#CONF_TERM_LIB = --with-tlib=ncurses
796
797### For GCC on MSDOS, the ".exe" suffix will be added.
798#EXEEXT = .exe
799#LNKEXT = .exe
800
801### (O) For LynxOS 2.5.0, tested on PC.
802#EXTRA_LIBS = -lXext -lSM -lICE -lbsd
803### For LynxOS 3.0.1, tested on PPC
804#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11
805### For LynxOS 3.1.0, tested on PC
806#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu
807
808
809### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove
810### -Qtarget if only in a 5800 environment. (Kipp E. Howard)
811#CFLAGS = -O -Qtarget=m88110compat
812#EXTRA_LIBS = -lgen
813
814##################### end of system specific lines ################### }}}
815
816### Names of the programs and targets {{{1
817VIMTARGET = $(VIMNAME)$(EXEEXT)
818EXTARGET = $(EXNAME)$(LNKEXT)
819VIEWTARGET = $(VIEWNAME)$(LNKEXT)
820GVIMNAME = g$(VIMNAME)
821GVIMTARGET = $(GVIMNAME)$(LNKEXT)
822GVIEWNAME = g$(VIEWNAME)
823GVIEWTARGET = $(GVIEWNAME)$(LNKEXT)
824RVIMNAME = r$(VIMNAME)
825RVIMTARGET = $(RVIMNAME)$(LNKEXT)
826RVIEWNAME = r$(VIEWNAME)
827RVIEWTARGET = $(RVIEWNAME)$(LNKEXT)
828RGVIMNAME = r$(GVIMNAME)
829RGVIMTARGET = $(RGVIMNAME)$(LNKEXT)
830RGVIEWNAME = r$(GVIEWNAME)
831RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT)
832VIMDIFFNAME = $(VIMNAME)diff
833GVIMDIFFNAME = g$(VIMDIFFNAME)
834VIMDIFFTARGET = $(VIMDIFFNAME)$(LNKEXT)
835GVIMDIFFTARGET = $(GVIMDIFFNAME)$(LNKEXT)
836EVIMNAME = e$(VIMNAME)
837EVIMTARGET = $(EVIMNAME)$(LNKEXT)
838EVIEWNAME = e$(VIEWNAME)
839EVIEWTARGET = $(EVIEWNAME)$(LNKEXT)
840
841### Names of the tools that are also made {{{1
842TOOLS = xxd/xxd$(EXEEXT)
843
844### Installation directories. The defaults come from configure. {{{1
845#
846### prefix the top directory for the data (default "/usr/local")
847#
848# Uncomment the next line to install Vim in your home directory.
849#prefix = $(HOME)
850
851### exec_prefix is the top directory for the executable (default $(prefix))
852#
853# Uncomment the next line to install the Vim executable in "/usr/machine/bin"
854#exec_prefix = /usr/machine
855
856### BINDIR dir for the executable (default "$(exec_prefix)/bin")
857### MANDIR dir for the manual pages (default "$(prefix)/man")
858### DATADIR dir for the other files (default "$(prefix)/lib" or
859# "$(prefix)/share")
860# They may be different when using different architectures for the
861# executable and a common directory for the other files.
862#
863# Uncomment the next line to install Vim in "/usr/bin"
864#BINDIR = /usr/bin
865# Uncomment the next line to install Vim manuals in "/usr/share/man/man1"
866#MANDIR = /usr/share/man
867# Uncomment the next line to install Vim help files in "/usr/share/vim"
868#DATADIR = /usr/share
869
870### DESTDIR root of the installation tree. This is prepended to the other
871# directories. This directory must exist.
872#DESTDIR = ~/pkg/vim
873
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000874### Directory of the man pages
875MAN1DIR = /man1
Bram Moolenaare1d12892004-06-13 13:02:36 +0000876
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000877### Vim version (adjusted by a script)
878VIMMAJOR = 7
879VIMMINOR = 0aa
880
Bram Moolenaare1d12892004-06-13 13:02:36 +0000881### Location of Vim files (should not need to be changed, and {{{1
882### some things might not work when they are changed!)
883VIMDIR = /vim
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000884VIMRTDIR = /vim$(VIMMAJOR)$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000885HELPSUBDIR = /doc
886COLSUBDIR = /colors
887SYNSUBDIR = /syntax
888INDSUBDIR = /indent
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000889AUTOSUBDIR = /autoload
Bram Moolenaare1d12892004-06-13 13:02:36 +0000890PLUGSUBDIR = /plugin
891FTPLUGSUBDIR = /ftplugin
892LANGSUBDIR = /lang
893COMPSUBDIR = /compiler
894KMAPSUBDIR = /keymap
895MACROSUBDIR = /macros
896TOOLSSUBDIR = /tools
897TUTORSUBDIR = /tutor
Bram Moolenaar217ad922005-03-20 22:37:15 +0000898SPELLSUBDIR = /spell
Bram Moolenaare1d12892004-06-13 13:02:36 +0000899PRINTSUBDIR = /print
900PODIR = po
901
902### VIMLOC common root of the Vim files (all versions)
903### VIMRTLOC common root of the runtime Vim files (this version)
904### VIMRCLOC compiled-in location for global [g]vimrc files (all versions)
905### VIMRUNTIMEDIR compiled-in location for runtime files (optional)
906### HELPSUBLOC location for help files
907### COLSUBLOC location for colorscheme files
908### SYNSUBLOC location for syntax files
909### INDSUBLOC location for indent files
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000910### AUTOSUBLOC location for standard autoload files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000911### PLUGSUBLOC location for standard plugin files
912### FTPLUGSUBLOC location for ftplugin files
913### LANGSUBLOC location for language files
914### COMPSUBLOC location for compiler files
915### KMAPSUBLOC location for keymap files
916### MACROSUBLOC location for macro files
917### TOOLSSUBLOC location for tools files
918### TUTORSUBLOC location for tutor files
Bram Moolenaar217ad922005-03-20 22:37:15 +0000919### SPELLSUBLOC location for spell files
Bram Moolenaare1d12892004-06-13 13:02:36 +0000920### PRINTSUBLOC location for PostScript files (prolog, latin1, ..)
921### SCRIPTLOC location for script files (menu.vim, bugreport.vim, ..)
922### You can override these if you want to install them somewhere else.
923### Edit feature.h for compile-time settings.
924VIMLOC = $(DATADIR)$(VIMDIR)
925VIMRTLOC = $(DATADIR)$(VIMDIR)$(VIMRTDIR)
926VIMRCLOC = $(VIMLOC)
927HELPSUBLOC = $(VIMRTLOC)$(HELPSUBDIR)
928COLSUBLOC = $(VIMRTLOC)$(COLSUBDIR)
929SYNSUBLOC = $(VIMRTLOC)$(SYNSUBDIR)
930INDSUBLOC = $(VIMRTLOC)$(INDSUBDIR)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000931AUTOSUBLOC = $(VIMRTLOC)$(AUTOSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000932PLUGSUBLOC = $(VIMRTLOC)$(PLUGSUBDIR)
933FTPLUGSUBLOC = $(VIMRTLOC)$(FTPLUGSUBDIR)
934LANGSUBLOC = $(VIMRTLOC)$(LANGSUBDIR)
935COMPSUBLOC = $(VIMRTLOC)$(COMPSUBDIR)
936KMAPSUBLOC = $(VIMRTLOC)$(KMAPSUBDIR)
937MACROSUBLOC = $(VIMRTLOC)$(MACROSUBDIR)
938TOOLSSUBLOC = $(VIMRTLOC)$(TOOLSSUBDIR)
939TUTORSUBLOC = $(VIMRTLOC)$(TUTORSUBDIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +0000940SPELLSUBLOC = $(VIMRTLOC)$(SPELLSUBDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +0000941PRINTSUBLOC = $(VIMRTLOC)$(PRINTSUBDIR)
942SCRIPTLOC = $(VIMRTLOC)
943
944### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
945### the runtime directory is not below it.
946#VIMRUNTIMEDIR = $(VIMRTLOC)
947
948### Name of the evim file target.
949EVIM_FILE = $(DESTDIR)$(SCRIPTLOC)/evim.vim
950MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.vim
951
952### Name of the menu file target.
953SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.vim
954SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.vim
955SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.vim
956
957### Name of the bugreport file target.
958SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.vim
959
960### Name of the file type detection file target.
961SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.vim
962
963### Name of the file type detection file target.
964SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.vim
965
966### Name of the file type detection script file target.
967SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.vim
968
969### Name of the ftplugin-on file target.
970SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.vim
971
972### Name of the ftplugin-off file target.
973SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.vim
974
975### Name of the indent-on file target.
976SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.vim
977
978### Name of the indent-off file target.
979SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.vim
980
981### Name of the option window script file target.
982SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.vim
983
984# Program to install the program in the target directory. Could also be "mv".
985INSTALL_PROG = cp
986
987# Program to install the data in the target directory. Cannot be "mv"!
988INSTALL_DATA = cp
989INSTALL_DATA_R = cp -r
990
991### Program to run on installed binary
992#STRIP = strip
993
994### Permissions for binaries {{{1
995BINMOD = 755
996
997### Permissions for man page
998MANMOD = 644
999
1000### Permissions for help files
1001HELPMOD = 644
1002
1003### Permissions for Perl and shell scripts
1004SCRIPTMOD = 755
1005
1006### Permission for Vim script files (menu.vim, bugreport.vim, ..)
1007VIMSCRIPTMOD = 644
1008
1009### Permissions for all directories that are created
1010DIRMOD = 755
1011
1012### Permissions for all other files that are created
1013FILEMOD = 644
1014
1015# Where to copy the man and help files from
1016HELPSOURCE = ../runtime/doc
1017
1018# Where to copy the script files from (menu, bugreport)
1019SCRIPTSOURCE = ../runtime
1020
1021# Where to copy the colorscheme files from
1022COLSOURCE = ../runtime/colors
1023
1024# Where to copy the syntax files from
1025SYNSOURCE = ../runtime/syntax
1026
1027# Where to copy the indent files from
1028INDSOURCE = ../runtime/indent
1029
1030# Where to copy the standard plugin files from
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001031AUTOSOURCE = ../runtime/autoload
1032
1033# Where to copy the standard plugin files from
Bram Moolenaare1d12892004-06-13 13:02:36 +00001034PLUGSOURCE = ../runtime/plugin
1035
1036# Where to copy the ftplugin files from
1037FTPLUGSOURCE = ../runtime/ftplugin
1038
1039# Where to copy the macro files from
1040MACROSOURCE = ../runtime/macros
1041
1042# Where to copy the tools files from
1043TOOLSSOURCE = ../runtime/tools
1044
1045# Where to copy the tutor files from
1046TUTORSOURCE = ../runtime/tutor
1047
Bram Moolenaar217ad922005-03-20 22:37:15 +00001048# Where to copy the spell files from
1049SPELLSOURCE = ../runtime/spell
1050
Bram Moolenaare1d12892004-06-13 13:02:36 +00001051# Where to look for language specific files
1052LANGSOURCE = ../runtime/lang
1053
1054# Where to look for compiler files
1055COMPSOURCE = ../runtime/compiler
1056
1057# Where to look for keymap files
1058KMAPSOURCE = ../runtime/keymap
1059
1060# Where to look for print resource files
1061PRINTSOURCE = ../runtime/print
1062
1063# If you are using Linux, you might want to use this to make vim the
1064# default vi editor, it will create a link from vi to Vim when doing
1065# "make install". An existing file will be overwritten!
1066# When not using it, some make programs can't handle an undefined $(LINKIT).
1067#LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
1068LINKIT = @echo >/dev/null
1069
1070###
1071### GRAPHICAL USER INTERFACE (GUI). {{{1
1072### 'configure --enable-gui' can enable one of these for you if you did set
1073### a corresponding CONF_OPT_GUI above and have X11.
1074### Override configures choice by uncommenting all the following lines.
1075### As they are, the GUI is disabled. Replace "NONE" with "ATHENA" or "MOTIF"
1076### for enabling the Athena or Motif GUI.
1077#GUI_SRC = $(NONE_SRC)
1078#GUI_OBJ = $(NONE_OBJ)
1079#GUI_DEFS = $(NONE_DEFS)
1080#GUI_IPATH = $(NONE_IPATH)
1081#GUI_LIBS_DIR = $(NONE_LIBS_DIR)
1082#GUI_LIBS1 = $(NONE_LIBS1)
1083#GUI_LIBS2 = $(NONE_LIBS2)
1084#GUI_INSTALL = $(NONE_INSTALL)
1085#GUI_TARGETS = $(NONE_TARGETS)
1086#GUI_MAN_TARGETS= $(NONE_MAN_TARGETS)
1087#GUI_TESTTARGET = $(NONE_TESTTARGET)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001088#GUI_BUNDLE = $(NONE_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001089
1090# Without a GUI install the normal way.
1091NONE_INSTALL = install_normal
1092
1093### GTK GUI
1094GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \
1095 gui_beval.c
1096GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \
1097 objects/pty.o objects/gui_gtk_f.o \
1098 objects/gui_beval.o
1099GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO)
1100GTK_IPATH = $(GUI_INC_LOC)
1101GTK_LIBS_DIR = $(GUI_LIB_LOC)
1102GTK_LIBS1 =
1103GTK_LIBS2 = $(GTK_LIBNAME)
1104GTK_INSTALL = install_normal
1105GTK_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001106GTK_MAN_TARGETS = yes
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001107GTK_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001108GTK_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001109
1110### Motif GUI
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001111MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001112 gui_xmdlg.c gui_xmebw.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001113MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
Bram Moolenaardfccaf02004-12-31 20:56:11 +00001114 objects/pty.o objects/gui_beval.o \
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00001115 objects/gui_xmdlg.o objects/gui_xmebw.o
Bram Moolenaare1d12892004-06-13 13:02:36 +00001116MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO)
1117MOTIF_IPATH = $(GUI_INC_LOC)
1118MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1119MOTIF_LIBS1 =
1120MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1121MOTIF_INSTALL = install_normal
1122MOTIF_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001123MOTIF_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001124MOTIF_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001125MOTIF_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001126
1127### Athena GUI
1128### Use Xaw3d to make the menus look a little bit nicer
1129#XAW_LIB = -lXaw3d
1130XAW_LIB = -lXaw
1131
1132### When using Xaw3d, uncomment/comment the following lines to also get the
1133### scrollbars from Xaw3d.
1134#ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1135#ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1136# objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1137#ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO) \
1138# -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \
1139# -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb
1140ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c \
1141 gui_at_sb.c gui_at_fs.c
1142ATHENA_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1143 objects/pty.o objects/gui_beval.o \
1144 objects/gui_at_sb.o objects/gui_at_fs.o
1145ATHENA_DEFS = -DFEAT_GUI_ATHENA $(NARROW_PROTO)
1146
1147ATHENA_IPATH = $(GUI_INC_LOC)
1148ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1149ATHENA_LIBS1 = $(XAW_LIB)
1150ATHENA_LIBS2 = -lXt
1151ATHENA_INSTALL = install_normal
1152ATHENA_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001153ATHENA_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001154ATHENA_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001155ATHENA_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001156
1157### neXtaw GUI
1158NEXTAW_LIB = -lneXtaw
1159
1160NEXTAW_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_beval.c gui_at_fs.c
1161NEXTAW_OBJ = objects/gui.o objects/gui_athena.o objects/gui_x11.o \
1162 objects/pty.o objects/gui_beval.o objects/gui_at_fs.o
1163NEXTAW_DEFS = -DFEAT_GUI_ATHENA -DFEAT_GUI_NEXTAW $(NARROW_PROTO)
1164
1165NEXTAW_IPATH = $(GUI_INC_LOC)
1166NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1167NEXTAW_LIBS1 = $(NEXTAW_LIB)
1168NEXTAW_LIBS2 = -lXt
1169NEXTAW_INSTALL = install_normal
1170NEXTAW_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001171NEXTAW_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001172NEXTAW_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001173NEXTAW_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001174
1175### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1176# errors: ld: Undefined symbol
1177# _get_wmShellWidgetClass
1178# _get_applicationShellWidgetClass
1179# then you need to get patches 100512-02 and 100573-03 from Sun. In the
1180# meantime, uncomment the following GUI_X_LIBS definition as a workaround:
1181#GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext
1182# If you also get cos, sin etc. as undefined symbols, try uncommenting this
1183# too:
1184#EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm
1185
Bram Moolenaare1d12892004-06-13 13:02:36 +00001186# PHOTON GUI
1187PHOTONGUI_SRC = gui.c gui_photon.c pty.c
1188PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o
1189PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON
1190PHOTONGUI_IPATH =
1191PHOTONGUI_LIBS_DIR =
1192PHOTONGUI_LIBS1 = -lph -lphexlib
1193PHOTONGUI_LIBS2 =
1194PHOTONGUI_INSTALL = install_normal
1195PHOTONGUI_TARGETS = installglinks
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001196PHOTONGUI_MAN_TARGETS = yes
Bram Moolenaare1d12892004-06-13 13:02:36 +00001197PHOTONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001198PHOTONGUI_BUNDLE =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001199
1200# CARBON GUI
1201CARBONGUI_SRC = gui.c gui_mac.c
1202CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o
Bram Moolenaara23ccb82006-02-27 00:08:02 +00001203CARBONGUI_DEFS = -DFEAT_GUI_MAC -fno-common -fpascal-strings \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001204 -Wall -Wno-unknown-pragmas \
1205 -mdynamic-no-pic -pipe
1206CARBONGUI_IPATH = -I. -Iproto
Bram Moolenaara23ccb82006-02-27 00:08:02 +00001207CARBONGUI_LIBS_DIR =
Bram Moolenaare1d12892004-06-13 13:02:36 +00001208CARBONGUI_LIBS1 = -framework Carbon
1209CARBONGUI_LIBS2 =
1210CARBONGUI_INSTALL = install_macosx
1211CARBONGUI_TARGETS =
1212CARBONGUI_MAN_TARGETS =
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001213CARBONGUI_TESTTARGET = gui
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001214CARBONGUI_BUNDLE = gui_bundle
1215APPDIR = $(VIMNAME).app
1216CARBONGUI_TESTARG = VIMPROG=../$(APPDIR)/Contents/MacOS/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001217
1218# All GUI files
Bram Moolenaar9372a112005-12-06 19:59:18 +00001219ALL_GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_motif.c gui_xmdlg.c gui_xmebw.c gui_athena.c gui_gtk_x11.c gui_x11.c gui_at_sb.c gui_at_fs.c pty.c
Bram Moolenaar323850c2005-01-04 21:24:54 +00001220ALL_GUI_PRO = gui.pro gui_gtk.pro gui_motif.pro gui_xmdlg.pro gui_athena.pro gui_gtk_x11.pro gui_x11.pro gui_w16.pro gui_w32.pro gui_photon.pro
Bram Moolenaare1d12892004-06-13 13:02:36 +00001221
1222# }}}
1223
1224### Command to create dependencies based on #include "..."
1225### prototype headers are ignored due to -DPROTO, system
1226### headers #include <...> are ignored if we use the -MM option, as
1227### e.g. provided by gcc-cpp.
1228### Include FEAT_GUI to get gependency on gui.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001229### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
1230CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
1231 `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
Bram Moolenaare1d12892004-06-13 13:02:36 +00001232
1233# flags for cproto
1234# This is for cproto 3 patchlevel 8 or below
1235# __inline, __attribute__ and __extension__ are not recognized by cproto
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001236# G_IMPLEMENT_INLINES is to avoid functions defined in glib/gutils.h.
Bram Moolenaar051b7822005-05-19 21:00:46 +00001237NO_ATTR = -D__inline= -D__inline__= -DG_IMPLEMENT_INLINES \
1238 -D"__attribute__\\(x\\)=" -D"__asm__\\(x\\)=" \
1239 -D__extension__= -D__restrict="" \
1240 -D__gnuc_va_list=char -D__builtin_va_list=char
Bram Moolenaare1d12892004-06-13 13:02:36 +00001241
1242#
1243# This is for cproto 3 patchlevel 9 or above (currently 4.6)
1244# __inline and __attribute__ are now recognized by cproto
1245# -D"foo()=" is not supported by all compilers so do not use it
1246# NO_ATTR=
1247#
1248# maybe the "/usr/bin/cc -E" has to be adjusted for some systems
1249# This is for cproto 3.5 patchlevel 3:
1250# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1251#
1252# Use this for cproto 3 patchlevel 6 or below (use "cproto -V" to check):
1253# PROTO_FLAGS = -f4 -m__ARGS -d -E"$(CPP)" $(NO_ATTR)
1254#
1255# Use this for cproto 3 patchlevel 7 or above (use "cproto -V" to check):
1256PROTO_FLAGS = -m -M__ARGS -d -E"$(CPP)" $(NO_ATTR)
1257
1258
1259################################################
1260## no changes required below this line ##
1261################################################
1262
1263SHELL = /bin/sh
1264
1265.SUFFIXES:
Bram Moolenaar9372a112005-12-06 19:59:18 +00001266.SUFFIXES: .c .o .pro
Bram Moolenaare1d12892004-06-13 13:02:36 +00001267
1268PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001269POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001270
1271ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS)
1272
Bram Moolenaar051b7822005-05-19 21:00:46 +00001273LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca
1274
1275LINT_EXTRA = -DUSE_SNIFF -DHANGUL_INPUT -D"__attribute__(x)="
Bram Moolenaare1d12892004-06-13 13:02:36 +00001276
1277DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1278
1279PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1280
1281ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001282ALL_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 +00001283
1284# abbreviations
1285DEST_BIN = $(DESTDIR)$(BINDIR)
1286DEST_VIM = $(DESTDIR)$(VIMLOC)
1287DEST_RT = $(DESTDIR)$(VIMRTLOC)
1288DEST_HELP = $(DESTDIR)$(HELPSUBLOC)
1289DEST_COL = $(DESTDIR)$(COLSUBLOC)
1290DEST_SYN = $(DESTDIR)$(SYNSUBLOC)
1291DEST_IND = $(DESTDIR)$(INDSUBLOC)
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001292DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001293DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC)
1294DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC)
1295DEST_LANG = $(DESTDIR)$(LANGSUBLOC)
1296DEST_COMP = $(DESTDIR)$(COMPSUBLOC)
1297DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC)
1298DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1299DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1300DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001301DEST_SPELL = $(DESTDIR)$(SPELLSUBLOC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001302DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1303DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001304DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001305
1306# We assume that the ".../man/xx/man1/" directory is for latin1 manual pages.
1307# Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/"
1308# directory first.
Bram Moolenaar217ad922005-03-20 22:37:15 +00001309# FreeBSD uses ".../man/xx.ISO8859-1/man1" for latin1, use that one too.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001310DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001311DEST_MAN_FR = $(DEST_MAN_TOP)/fr$(MAN1DIR)
1312DEST_MAN_FR_I = $(DEST_MAN_TOP)/fr.ISO8859-1$(MAN1DIR)
1313DEST_MAN_FR_U = $(DEST_MAN_TOP)/fr.UTF-8$(MAN1DIR)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001314DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001315DEST_MAN_IT_I = $(DEST_MAN_TOP)/it.ISO8859-1$(MAN1DIR)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001316DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR)
1317DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
1318DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001319
1320# BASIC_SRC: files that are always used
1321# GUI_SRC: extra GUI files for current configuration
1322# ALL_GUI_SRC: all GUI files for Unix
1323#
1324# SRC: files used for current configuration
1325# TAGS_SRC: source files used for make tags
1326# TAGS_INCL: include files used for make tags
1327# ALL_SRC: source files used for make depend and make lint
1328
1329TAGS_INCL = *.h
1330
1331BASIC_SRC = \
1332 buffer.c \
1333 charset.c \
1334 diff.c \
1335 digraph.c \
1336 edit.c \
1337 eval.c \
1338 ex_cmds.c \
1339 ex_cmds2.c \
1340 ex_docmd.c \
1341 ex_eval.c \
1342 ex_getln.c \
1343 fileio.c \
1344 fold.c \
1345 getchar.c \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001346 hardcopy.c \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001347 hashtable.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001348 if_cscope.c \
1349 if_xcmdsrv.c \
1350 main.c \
1351 mark.c \
1352 memfile.c \
1353 memline.c \
1354 menu.c \
1355 message.c \
1356 misc1.c \
1357 misc2.c \
1358 move.c \
1359 mbyte.c \
1360 normal.c \
1361 ops.c \
1362 option.c \
1363 os_unix.c \
1364 auto/pathdef.c \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001365 popupmenu.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001366 quickfix.c \
1367 regexp.c \
1368 screen.c \
1369 search.c \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001370 spell.c \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001371 syntax.c \
1372 tag.c \
1373 term.c \
1374 ui.c \
1375 undo.c \
1376 version.c \
1377 window.c \
1378 $(OS_EXTRA_SRC)
1379
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001380SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(MZSCHEME_SRC) \
1381 $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(RUBY_SRC) \
1382 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001383
Bram Moolenaar9372a112005-12-06 19:59:18 +00001384TAGS_SRC = *.c *.cpp if_perl.xs
Bram Moolenaare1d12892004-06-13 13:02:36 +00001385
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001386EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
1387 if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
1388 workshop.c wsdebug.c integration.c netbeans.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00001389
1390# All sources, also the ones that are not configured
1391ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC)
1392
1393# Which files to check with lint. Select one of these three lines. ALL_SRC
1394# checks more, but may not work well for checking a GUI that wasn't configured.
1395# The perl sources also don't work well with lint.
1396LINT_SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(PYTHON_SRC) $(TCL_SRC) \
1397 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC) $(NETBEANS_SRC)
1398#LINT_SRC = $(SRC)
1399#LINT_SRC = $(ALL_SRC)
1400
1401OBJ = \
1402 objects/buffer.o \
1403 objects/charset.o \
1404 objects/diff.o \
1405 objects/digraph.o \
1406 objects/edit.o \
1407 objects/eval.o \
1408 objects/ex_cmds.o \
1409 objects/ex_cmds2.o \
1410 objects/ex_docmd.o \
1411 objects/ex_eval.o \
1412 objects/ex_getln.o \
1413 objects/fileio.o \
1414 objects/fold.o \
1415 objects/getchar.o \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001416 objects/hardcopy.o \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001417 objects/hashtable.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001418 $(HANGULIN_OBJ) \
1419 objects/if_cscope.o \
1420 objects/if_xcmdsrv.o \
1421 objects/main.o \
1422 objects/mark.o \
1423 objects/memfile.o \
1424 objects/memline.o \
1425 objects/menu.o \
1426 objects/message.o \
1427 objects/misc1.o \
1428 objects/misc2.o \
1429 objects/move.o \
1430 objects/mbyte.o \
1431 objects/normal.o \
1432 objects/ops.o \
1433 objects/option.o \
1434 objects/os_unix.o \
1435 objects/pathdef.o \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001436 objects/popupmenu.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001437 objects/quickfix.o \
1438 objects/regexp.o \
1439 objects/screen.o \
1440 objects/search.o \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001441 objects/spell.o \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001442 objects/syntax.o \
1443 $(SNIFF_OBJ) \
1444 objects/tag.o \
1445 objects/term.o \
1446 objects/ui.o \
1447 objects/undo.o \
1448 objects/window.o \
1449 $(GUI_OBJ) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001450 $(MZSCHEME_OBJ) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001451 $(PERL_OBJ) \
1452 $(PYTHON_OBJ) \
1453 $(TCL_OBJ) \
1454 $(RUBY_OBJ) \
1455 $(OS_EXTRA_OBJ) \
1456 $(WORKSHOP_OBJ) \
1457 $(NETBEANS_OBJ) \
1458 $(WSDEBUG_OBJ)
1459
1460PRO_AUTO = \
1461 buffer.pro \
1462 charset.pro \
1463 diff.pro \
1464 digraph.pro \
1465 edit.pro \
1466 eval.pro \
1467 ex_cmds.pro \
1468 ex_cmds2.pro \
1469 ex_docmd.pro \
1470 ex_eval.pro \
1471 ex_getln.pro \
1472 fileio.pro \
1473 fold.pro \
1474 getchar.pro \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001475 hardcopy.pro \
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00001476 hashtable.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001477 hangulin.pro \
1478 if_cscope.pro \
1479 if_xcmdsrv.pro \
1480 if_python.pro \
1481 if_ruby.pro \
1482 main.pro \
1483 mark.pro \
1484 memfile.pro \
1485 memline.pro \
1486 menu.pro \
1487 message.pro \
1488 misc1.pro \
1489 misc2.pro \
1490 move.pro \
1491 mbyte.pro \
1492 normal.pro \
1493 ops.pro \
1494 option.pro \
1495 os_unix.pro \
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00001496 popupmenu.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001497 quickfix.pro \
1498 regexp.pro \
1499 screen.pro \
1500 search.pro \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001501 spell.pro \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001502 syntax.pro \
1503 tag.pro \
1504 term.pro \
1505 termlib.pro \
1506 ui.pro \
1507 undo.pro \
1508 version.pro \
1509 window.pro \
1510 gui_beval.pro \
1511 workshop.pro \
1512 netbeans.pro \
1513 $(ALL_GUI_PRO) \
1514 $(TCL_PRO)
1515
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00001516ICON_APP = gui_mac.icns
1517
Bram Moolenaare1d12892004-06-13 13:02:36 +00001518PRO_MANUAL = os_amiga.pro os_msdos.pro os_win16.pro os_win32.pro \
1519 os_mswin.pro os_beos.pro os_vms.pro os_riscos.pro $(PERL_PRO)
1520
1521# Default target is making the executable and tools
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001522all: $(VIMTARGET) $(TOOLS) languages $(GUI_BUNDLE)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001523
1524tools: $(TOOLS)
1525
1526# Run configure with all the setting from above.
1527#
1528# Note: auto/config.h doesn't depend on configure, because running configure
1529# doesn't always update auto/config.h. The timestamp isn't changed if the
1530# file contents didn't change (to avoid recompiling everything). Including a
1531# dependency on auto/config.h would cause running configure each time when
1532# auto/config.h isn't updated. The dependency on auto/config.mk should make
1533# sure configure is run when it's needed.
1534#
1535config auto/config.mk: auto/configure config.mk.in config.h.in
1536 GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
1537 CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
1538 LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
1539 ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
1540 $(CONF_OPT_DARWIN) $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) \
1541 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
1542 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
1543 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1544 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1545 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001546 $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001547
1548# Use "make reconfig" to rerun configure without cached values.
1549# When config.h changes, most things will be recompiled automatically.
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001550# Invoke $(MAKE) to run config with the empty auto/config.mk.
1551# Invoke $(MAKE) to build all with the filled auto/config.mk.
1552reconfig: scratch clean
1553 $(MAKE) -f Makefile config
1554 $(MAKE) -f Makefile all
Bram Moolenaare1d12892004-06-13 13:02:36 +00001555
1556# Run autoconf to produce auto/configure.
1557# Note:
1558# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
1559# producing auto/configure.
1560# - autoconf is not run automatically, because a patch usually changes both
1561# configure.in and auto/configure but can't update the timestamps. People
1562# who do not have (the correct version of) autoconf would run into trouble.
1563#
1564# Two tricks are required to make autoconf put its output in the "auto" dir:
1565# - Temporarily move the ./configure script to ./configure.save. Don't
1566# overwrite it, it's probably the result of an aborted autoconf.
1567# - Use sed to change ./config.log to auto/config.log in the configure script.
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001568# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
1569# care of:
1570# - configure.lineno: has the line numbers replaced with $LINENO. That
1571# improves patches a LOT, thus use it instead (until someone says it doesn't
1572# work on some system).
1573# - autom4te.cache directory is created and not cleaned up. Delete it.
1574# - Uses ">config.log" instead of "./config.log".
Bram Moolenaare1d12892004-06-13 13:02:36 +00001575autoconf:
1576 if test ! -f configure.save; then mv configure configure.save; fi
1577 autoconf
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001578 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 +00001579 chmod 755 auto/configure
1580 mv -f configure.save configure
Bram Moolenaar9d75c832005-01-25 21:57:23 +00001581 -rm -rf autom4te.cache
Bram Moolenaare1d12892004-06-13 13:02:36 +00001582 -rm -f auto/config.status auto/config.cache
1583
1584# Re-execute this Makefile to include the new auto/config.mk produced by
1585# configure Only used when typing "make" with a fresh auto/config.mk.
1586myself:
1587 $(MAKE) -f Makefile all
1588
1589
1590# The normal command to compile a .c file to its .o file.
1591CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
1592
1593
1594# Link the target for normal use or debugging.
1595# A shell script is used to try linking without unneccesary libraries.
1596$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
1597 $(CCC) version.c -o objects/version.o
1598 @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
1599 -o $(VIMTARGET) $(OBJ) objects/version.o $(ALL_LIBS)" \
1600 MAKE="$(MAKE)" sh $(srcdir)/link.sh
1601
1602xxd/xxd$(EXEEXT): xxd/xxd.c
1603 cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
1604 $(MAKE) -f Makefile
1605
1606# Build the language specific files if they were unpacked.
1607# Generate the converted .mo files separately, it's no problem if this fails.
1608languages:
1609 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001610 cd $(PODIR); \
Bram Moolenaar58d98232005-07-23 22:25:46 +00001611 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001612 fi
1613 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1614 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
1615 fi
1616
1617# Update the *.po files for changes in the sources. Only run manually.
1618update-po:
1619 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
1620
1621# Generate function prototypes. This is not needed to compile vim, but if
1622# you want to use it, cproto is out there on the net somewhere -- Webb
1623#
1624# When generating os_amiga.pro, os_msdos.pro and os_win32.pro there will be a
1625# few include files that can not be found, that's OK.
1626
1627proto: $(PRO_AUTO) $(PRO_MANUAL)
1628
1629### Would be nice if this would work for "normal" make.
1630### Currently it only works for (Free)BSD make.
1631#$(PRO_AUTO): $$(*F).c
1632# cproto $(PFLAGS) -DFEAT_GUI $(*F).c > $@
1633
1634# Always define FEAT_GUI. This may generate a few warnings if it's also
1635# defined in auto/config.h, you can ignore that.
1636.c.pro:
1637 cproto $(PFLAGS) -DFEAT_GUI $< > proto/$@
1638 echo "/* vim: set ft=c : */" >> proto/$@
1639
1640os_amiga.pro: os_amiga.c
1641 cproto $(PFLAGS) -DAMIGA -UHAVE_CONFIG_H -DBPTR=char* $< > proto/$@
1642 echo "/* vim: set ft=c : */" >> proto/$@
1643
1644os_msdos.pro: os_msdos.c
1645 cproto $(PFLAGS) -DMSDOS -UHAVE_CONFIG_H $< > proto/$@
1646 echo "/* vim: set ft=c : */" >> proto/$@
1647
1648os_win16.pro: os_win16.c
1649 cproto $(PFLAGS) -DWIN16 -UHAVE_CONFIG_H $< > proto/$@
1650 echo "/* vim: set ft=c : */" >> proto/$@
1651
1652os_win32.pro: os_win32.c
1653 cproto $(PFLAGS) -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1654 echo "/* vim: set ft=c : */" >> proto/$@
1655
1656os_mswin.pro: os_mswin.c
1657 cproto $(PFLAGS) -DWIN16 -DWIN32 -UHAVE_CONFIG_H $< > proto/$@
1658 echo "/* vim: set ft=c : */" >> proto/$@
1659
1660os_beos.pro: os_beos.c
1661 cproto $(PFLAGS) -D__BEOS__ -UHAVE_CONFIG_H $< > proto/$@
1662 echo "/* vim: set ft=c : */" >> proto/$@
1663
1664os_vms.pro: os_vms.c
1665# must use os_vms_conf.h for auto/config.h
1666 mv auto/config.h auto/config.h.save
1667 cp os_vms_conf.h auto/config.h
1668 cproto $(PFLAGS) -DVMS -UFEAT_GUI_ATHENA -UFEAT_GUI_NEXTAW -UFEAT_GUI_MOTIF -UFEAT_GUI_GTK $< > proto/$@
1669 echo "/* vim: set ft=c : */" >> proto/$@
1670 rm auto/config.h
1671 mv auto/config.h.save auto/config.h
1672
1673# if_perl.pro is special: Use the generated if_perl.c for input and remove
1674# prototypes for local functions.
1675if_perl.pro: auto/if_perl.c
1676 cproto $(PFLAGS) -DFEAT_GUI auto/if_perl.c | sed "/_VI/d" > proto/$@
1677
1678
1679notags:
1680 -rm -f tags
1681
1682# Note: tags is made for the currently configured version, can't include both
1683# Motif and Athena GUI
1684# You can ignore error messages for missing files.
1685tags TAGS: notags
1686 $(TAGPRG) $(TAGS_SRC) $(TAGS_INCL)
1687
1688# Make a highlight file for types. Requires Exuberant ctags and awk
1689types: types.vim
1690types.vim: $(TAGS_SRC) $(TAGS_INCL)
1691 ctags --c-kinds=gstu -o- $(TAGS_SRC) $(TAGS_INCL) |\
1692 awk 'BEGIN{printf("syntax keyword Type\t")}\
1693 {printf("%s ", $$1)}END{print ""}' > $@
1694
1695# Execute the test scripts. Run these after compiling Vim, before installing.
1696# This doesn't depend on $(VIMTARGET), because that won't work when configure
1697# wasn't run yet. Restart make to build it instead.
1698#
1699# This will produce a lot of garbage on your screen, including a few error
1700# messages. Don't worry about that.
1701# If there is a real error, there will be a difference between "test.out" and
1702# a "test99.ok" file.
1703# If everything is allright, the final message will be "ALL DONE".
1704#
1705test check:
1706 $(MAKE) -f Makefile $(VIMTARGET)
Bram Moolenaard12f5c12006-01-25 22:10:52 +00001707 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
Bram Moolenaar316059c2006-01-14 21:18:42 +00001708 cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
1709 fi
Bram Moolenaard12f5c12006-01-25 22:10:52 +00001710 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001711
1712testclean:
1713 cd testdir; $(MAKE) -f Makefile clean
Bram Moolenaar316059c2006-01-14 21:18:42 +00001714 if test -d $(PODIR); then \
1715 cd $(PODIR); $(MAKE) checkclean; \
1716 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00001717
1718#
1719# Avoid overwriting an existing executable, somebody might be running it and
1720# overwriting it could cause it to crash. Deleting it is OK, it won't be
1721# really deleted until all running processes for it have exited. It is
1722# renamed first, in case the deleting doesn't work.
1723#
1724# If you want to keep an older version, rename it before running "make
1725# install".
1726#
1727install: $(GUI_INSTALL)
1728
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001729install_normal: installvim installtools $(INSTALL_LANGS) install-icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00001730
Bram Moolenaare344bea2005-09-01 20:46:49 +00001731installvim: installvimbin installtutorbin \
1732 installruntime installlinks installmanlinks
Bram Moolenaare1d12892004-06-13 13:02:36 +00001733
1734installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1735 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1736 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1737 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
1738 fi
1739 $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
1740 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
1741 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
1742# may create a link to the new executable from /usr/bin/vi
1743 -$(LINKIT)
1744
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001745# Long list of arguments for the shell script that installs the manual pages
1746# for one language.
1747INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
1748 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
1749
Bram Moolenaare344bea2005-09-01 20:46:49 +00001750# Install most of the runtime files
1751installruntime: installrtbase installmacros installtutor installspell
1752
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001753# install the help files; first adjust the contents for the final location
Bram Moolenaare344bea2005-09-01 20:46:49 +00001754installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001755 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001756 $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_TUTOR) \
1757 $(DEST_SPELL) $(DEST_COMP)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001758 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001759 @echo generating help tags
1760# Generate the help tags with ":helptags" to handle all languages.
1761 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
1762 cd $(HELPSOURCE); \
1763 files=`ls *.txt tags`; \
1764 files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \
1765 $(INSTALL_DATA) $$files $(DEST_HELP); \
1766 cd $(DEST_HELP); \
1767 chmod $(HELPMOD) $$files
1768 $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP)
1769 chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl
1770# install the menu files
1771 $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.vim $(SYS_MENU_FILE)
1772 chmod $(VIMSCRIPTMOD) $(SYS_MENU_FILE)
1773 $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.vim $(SYS_SYNMENU_FILE)
1774 chmod $(VIMSCRIPTMOD) $(SYS_SYNMENU_FILE)
1775 $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.vim $(SYS_DELMENU_FILE)
1776 chmod $(VIMSCRIPTMOD) $(SYS_DELMENU_FILE)
1777# install the evim file
1778 $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.vim $(MSWIN_FILE)
1779 chmod $(VIMSCRIPTMOD) $(MSWIN_FILE)
1780 $(INSTALL_DATA) $(SCRIPTSOURCE)/evim.vim $(EVIM_FILE)
1781 chmod $(VIMSCRIPTMOD) $(EVIM_FILE)
1782# install the bugreport file
1783 $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.vim $(SYS_BUGR_FILE)
1784 chmod $(VIMSCRIPTMOD) $(SYS_BUGR_FILE)
1785# install the example vimrc files
1786 $(INSTALL_DATA) $(SCRIPTSOURCE)/vimrc_example.vim $(DEST_SCRIPT)
1787 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/vimrc_example.vim
1788 $(INSTALL_DATA) $(SCRIPTSOURCE)/gvimrc_example.vim $(DEST_SCRIPT)
1789 chmod $(VIMSCRIPTMOD) $(DEST_SCRIPT)/gvimrc_example.vim
1790# install the file type detection files
1791 $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.vim $(SYS_FILETYPE_FILE)
1792 chmod $(VIMSCRIPTMOD) $(SYS_FILETYPE_FILE)
1793 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.vim $(SYS_FTOFF_FILE)
1794 chmod $(VIMSCRIPTMOD) $(SYS_FTOFF_FILE)
1795 $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.vim $(SYS_SCRIPTS_FILE)
1796 chmod $(VIMSCRIPTMOD) $(SYS_SCRIPTS_FILE)
1797 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.vim $(SYS_FTPLUGIN_FILE)
1798 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGIN_FILE)
1799 $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.vim $(SYS_FTPLUGOF_FILE)
1800 chmod $(VIMSCRIPTMOD) $(SYS_FTPLUGOF_FILE)
1801 $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.vim $(SYS_INDENT_FILE)
1802 chmod $(VIMSCRIPTMOD) $(SYS_INDENT_FILE)
1803 $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.vim $(SYS_INDOFF_FILE)
1804 chmod $(VIMSCRIPTMOD) $(SYS_INDOFF_FILE)
1805 $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.vim $(SYS_OPTWIN_FILE)
1806 chmod $(VIMSCRIPTMOD) $(SYS_OPTWIN_FILE)
1807# install the print resource files
1808 cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT)
1809 cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
1810# install the colorscheme files
1811 cd $(COLSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COL)
1812 cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt
1813# install the syntax files
1814 cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
1815 cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
1816# install the indent files
1817 cd $(INDSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_IND)
1818 cd $(DEST_IND); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001819# install the standard autoload files
1820 cd $(AUTOSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_AUTO)
1821 cd $(DEST_AUTO); chmod $(HELPMOD) *.vim README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00001822# install the standard plugin files
1823 cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG)
1824 cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
1825# install the ftplugin files
1826 cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_FTP)
1827 cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
1828# install the compiler files
1829 cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
1830 cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
1831
Bram Moolenaar582fd852005-03-28 20:58:01 +00001832installmacros: $(DEST_VIM) $(DEST_RT) $(DEST_MACRO)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001833 $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO)
1834 chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print`
1835 chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
1836 chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
1837# When using CVS some CVS directories might have been copied.
1838 cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR \) -print`; \
1839 if test -n "$$cvs"; then \
1840 rm -rf $$cvs; \
1841 fi
1842
1843# install the tutor files
Bram Moolenaare344bea2005-09-01 20:46:49 +00001844installtutorbin: $(DEST_VIM)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001845 $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1846 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
Bram Moolenaare344bea2005-09-01 20:46:49 +00001847
1848installtutor: $(DEST_RT) $(DEST_TUTOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001849 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
1850 chmod $(HELPMOD) $(DEST_TUTOR)/*
1851
Bram Moolenaarcee55602005-08-21 22:12:59 +00001852# Install the spell files, if they exist. This assumes at least the English
1853# spell file is there.
Bram Moolenaar582fd852005-03-28 20:58:01 +00001854installspell: $(DEST_VIM) $(DEST_RT) $(DEST_SPELL)
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00001855 if test -f $(SPELLSOURCE)/en.latin1.spl; then \
Bram Moolenaara6c840d2005-08-22 22:59:46 +00001856 $(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(SPELLSOURCE)/*.vim $(DEST_SPELL); \
1857 chmod $(HELPMOD) $(DEST_SPELL)/*.spl $(DEST_SPELL)/*.vim; \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001858 fi
1859
Bram Moolenaare1d12892004-06-13 13:02:36 +00001860# install helper program xxd
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001861installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001862 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS) \
1863 $(INSTALL_TOOL_LANGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001864 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
1865 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
1866 rm -f $(DEST_BIN)/xxd.rm; \
1867 fi
1868 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
1869 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
1870 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001871 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001872
Bram Moolenaare1d12892004-06-13 13:02:36 +00001873# install the runtime tools
1874 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
1875# When using CVS some CVS directories might have been copied.
1876 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
1877 if test -n "$$cvs"; then \
1878 rm -rf $$cvs; \
1879 fi
1880 -chmod $(FILEMOD) $(DEST_TOOLS)/*
1881# replace the path in some tools
1882 perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl
1883 awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1884 awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \
1885 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
1886 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
1887
Bram Moolenaar2389c3c2005-05-22 22:07:59 +00001888# install the language specific files for tools, if they were unpacked
1889install-tool-languages:
1890 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1891 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1892 -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
1893 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1894 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
1895 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
1896 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
1897 -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
1898
Bram Moolenaare1d12892004-06-13 13:02:36 +00001899# install the language specific files, if they were unpacked
1900install-languages: languages $(DEST_LANG) $(DEST_KMAP)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001901 -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
1902 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
1903 -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001904 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00001905 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001906 -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001907 -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001908 -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001909 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00001910 $(DEST_MAN_FR) $(INSTALLMLARGS)
1911 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1912 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
1913 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1914 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
1915 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001916 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001917 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001918 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
1919 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001920 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
1921 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00001922 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00001923 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1924 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00001925 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1926 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
1927 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
1928 fi
1929 if test -d $(LANGSOURCE); then \
1930 $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.vim $(DEST_LANG); \
1931 chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.vim; \
1932 fi
1933 if test -d $(KMAPSOURCE); then \
1934 $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.vim $(DEST_KMAP); \
1935 chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.vim; \
1936 fi
1937
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001938# install the icons for KDE, if the directory exists and the icon doesn't.
Bram Moolenaare1d12892004-06-13 13:02:36 +00001939ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
1940ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
1941ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
1942KDEPATH = $(HOME)/.kde/share/icons
1943install-icons:
1944 if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
1945 -a ! -f $(ICON48PATH)/gvim.png; then \
1946 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; \
1947 fi
1948 if test -d $(ICON32PATH) -a -w $(ICON32PATH) \
1949 -a ! -f $(ICON32PATH)/gvim.png; then \
1950 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim32x32.png $(ICON32PATH)/gvim.png; \
1951 fi
1952 if test -d $(ICON16PATH) -a -w $(ICON16PATH) \
1953 -a ! -f $(ICON16PATH)/gvim.png; then \
1954 $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
1955 fi
1956
1957
1958$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
1959 @echo Runtime files not found.
1960 @echo You need to unpack the runtime archive before running "make install".
1961 test -f error
1962
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001963$(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1964 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
Bram Moolenaare1d12892004-06-13 13:02:36 +00001965 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
1966 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
Bram Moolenaar217ad922005-03-20 22:37:15 +00001967 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00001968 $(DEST_AUTO) $(DEST_PLUG):
Bram Moolenaare1d12892004-06-13 13:02:36 +00001969 -$(SHELL) ./mkinstalldirs $@
1970 -chmod $(DIRMOD) $@
1971
1972# create links from various names to vim. This is only done when the links
1973# (or executables with the same name) don't exist yet.
1974installlinks: $(GUI_TARGETS) \
1975 $(DEST_BIN)/$(EXTARGET) \
1976 $(DEST_BIN)/$(VIEWTARGET) \
1977 $(DEST_BIN)/$(RVIMTARGET) \
1978 $(DEST_BIN)/$(RVIEWTARGET) \
1979 $(INSTALLVIMDIFF)
1980
1981installglinks: $(DEST_BIN)/$(GVIMTARGET) \
1982 $(DEST_BIN)/$(GVIEWTARGET) \
1983 $(DEST_BIN)/$(RGVIMTARGET) \
1984 $(DEST_BIN)/$(RGVIEWTARGET) \
1985 $(DEST_BIN)/$(EVIMTARGET) \
1986 $(DEST_BIN)/$(EVIEWTARGET) \
1987 $(INSTALLGVIMDIFF)
1988
1989installvimdiff: $(DEST_BIN)/$(VIMDIFFTARGET)
1990installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
1991
1992$(DEST_BIN)/$(EXTARGET):
1993 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EXTARGET)
1994
1995$(DEST_BIN)/$(VIEWTARGET):
1996 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIEWTARGET)
1997
1998$(DEST_BIN)/$(GVIMTARGET):
1999 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMTARGET)
2000
2001$(DEST_BIN)/$(GVIEWTARGET):
2002 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIEWTARGET)
2003
2004$(DEST_BIN)/$(RVIMTARGET):
2005 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIMTARGET)
2006
2007$(DEST_BIN)/$(RVIEWTARGET):
2008 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIEWTARGET)
2009
2010$(DEST_BIN)/$(RGVIMTARGET):
2011 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIMTARGET)
2012
2013$(DEST_BIN)/$(RGVIEWTARGET):
2014 cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIEWTARGET)
2015
2016$(DEST_BIN)/$(VIMDIFFTARGET):
2017 cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIMDIFFTARGET)
2018
2019$(DEST_BIN)/$(GVIMDIFFTARGET):
2020 cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMDIFFTARGET)
2021
2022$(DEST_BIN)/$(EVIMTARGET):
2023 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIMTARGET)
2024
2025$(DEST_BIN)/$(EVIEWTARGET):
2026 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
2027
2028# create links for the manual pages with various names to vim. This is only
2029# done when the links (or manpages with the same name) don't exist yet.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002030
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002031INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
2032 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
2033 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
2034 $(GVIMDIFFNAME) $(EVIEWNAME)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002035
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002036installmanlinks:
2037 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
2038 $(DEST_MAN) $(INSTALLMLARGS)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002039
2040uninstall: uninstall_runtime
2041 -rm -f $(DEST_BIN)/$(VIMTARGET)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002042 -rm -f $(DEST_BIN)/vimtutor
Bram Moolenaare1d12892004-06-13 13:02:36 +00002043 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
2044 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
2045 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
2046 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
2047 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
2048 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002049 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002050
2051# Note: the "rmdir" will fail if any files were added after "make install"
2052uninstall_runtime:
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002053 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002054 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR) "" $(INSTALLMANARGS)
2055 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_I) "" $(INSTALLMANARGS)
2056 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_U) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002057 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002058 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_I) "" $(INSTALLMANARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002059 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS)
2060 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS)
2061 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS)
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002062 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2063 $(DEST_MAN) $(INSTALLMLARGS)
2064 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002065 $(DEST_MAN_FR) $(INSTALLMLARGS)
2066 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2067 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
2068 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2069 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
2070 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00002071 $(DEST_MAN_IT) $(INSTALLMLARGS)
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002072 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar217ad922005-03-20 22:37:15 +00002073 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
2074 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002075 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
2076 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002077 $(DEST_MAN_RU) $(INSTALLMLARGS)
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002078 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
2079 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
2080 -rm -f $(DEST_MAN)/xxd.1
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002081 -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 +00002082 -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 +00002083 -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1
Bram Moolenaare1d12892004-06-13 13:02:36 +00002084 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2085 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2086 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2087 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2088 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim
2089 -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE)
2090 -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE)
2091 -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE)
2092 -rm -f $(SYS_OPTWIN_FILE)
2093 -rm -f $(DEST_COL)/*.vim $(DEST_COL)/README.txt
2094 -rm -f $(DEST_SYN)/*.vim $(DEST_SYN)/README.txt
2095 -rm -f $(DEST_IND)/*.vim $(DEST_IND)/README.txt
2096 -rm -rf $(DEST_MACRO)
2097 -rm -rf $(DEST_TUTOR)
Bram Moolenaar217ad922005-03-20 22:37:15 +00002098 -rm -rf $(DEST_SPELL)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002099 -rm -rf $(DEST_TOOLS)
2100 -rm -rf $(DEST_LANG)
2101 -rm -rf $(DEST_KMAP)
2102 -rm -rf $(DEST_COMP)
2103 -rm -f $(DEST_PRINT)/*.ps
2104 -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND)
2105 -rm -rf $(DEST_FTP)/*.vim $(DEST_FTP)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002106 -rm -f $(DEST_AUTO)/*.vim $(DEST_AUTO)/README.txt
Bram Moolenaare1d12892004-06-13 13:02:36 +00002107 -rm -f $(DEST_PLUG)/*.vim $(DEST_PLUG)/README.txt
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002108 -rmdir $(DEST_FTP) $(DEST_AUTO) $(DEST_PLUG) $(DEST_RT)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002109# This will fail when other Vim versions are installed, no worries.
2110 -rmdir $(DEST_VIM)
2111
2112# Clean up all the files that have been produced, except configure's.
2113# We support common typing mistakes for Juergen! :-)
2114clean celan: testclean
2115 -rm -f *.o objects/* core $(VIMTARGET).core $(VIMTARGET) xxd/*.o
2116 -rm -f $(TOOLS) auto/osdef.h auto/pathdef.c auto/if_perl.c
2117 -rm -f conftest* *~ auto/link.sed
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002118 -rm -rf $(APPDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002119 if test -d $(PODIR); then \
2120 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
2121 fi
2122
2123# Make a shadow directory for compilation on another system or with different
2124# features.
2125SHADOWDIR = shadow
2126
2127shadow: runtime pixmaps
2128 mkdir $(SHADOWDIR)
2129 cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
2130 mkdir $(SHADOWDIR)/auto
2131 cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
2132 cd $(SHADOWDIR); rm -f auto/link.sed
2133 cp Makefile configure $(SHADOWDIR)
2134 rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
2135 cp config.mk.dist $(SHADOWDIR)/auto/config.mk
2136 cp config.mk.dist $(SHADOWDIR)
2137 mkdir $(SHADOWDIR)/xxd
2138 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002139 if test -f $(ICON_APP); then \
2140 cd $(SHADOWDIR); \
2141 ln -s ../$(ICON_APP) ../os_mac.rsr.hqx ../dehqx.py .; \
2142 fi
Bram Moolenaare1d12892004-06-13 13:02:36 +00002143 mkdir $(SHADOWDIR)/testdir
2144 cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
2145 ../../testdir/vimrc.unix \
2146 ../../testdir/*.in \
2147 ../../testdir/unix.vim \
2148 ../../testdir/*.ok .
2149
2150# Link needed for doing "make install" in a shadow directory.
2151runtime:
2152 -ln -s ../runtime .
2153
2154# Link needed for doing "make" using GTK in a shadow directory.
2155pixmaps:
2156 -ln -s ../pixmaps .
2157
2158# Update the synmenu.vim file with the latest Syntax menu.
2159# This is only needed when runtime/makemenu.vim was changed.
2160menu: ./vim ../runtime/makemenu.vim
2161 ./vim -u ../runtime/makemenu.vim
2162
2163# Start configure from scratch
2164scrub scratch:
2165 -rm -f auto/config.status auto/config.cache config.log auto/config.log
2166 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
2167 touch auto/config.h
2168 cp config.mk.dist auto/config.mk
2169
2170distclean: clean scratch
2171 -rm -f tags
2172
2173dist: distclean
2174 @echo
2175 @echo Making the distribution has to be done in the top directory
2176
2177mdepend:
2178 -@rm -f Makefile~
2179 cp Makefile Makefile~
2180 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2181 @for i in $(ALL_SRC) ; do \
2182 echo "$$i" ; \
2183 echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\
2184 $(CPP) $$i |\
2185 grep '^# .*"\./.*\.h"' |\
2186 sort -t'"' -u +1 -2 |\
2187 sed -e 's/.*"\.\/\(.*\)".*/\1/'\
2188 ` >> tmp_make ; \
2189 done
2190 mv tmp_make Makefile
2191
2192depend:
2193 -@rm -f Makefile~
2194 cp Makefile Makefile~
2195 sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make
2196 -for i in $(ALL_SRC); do echo $$i; \
2197 $(CPP_DEPEND) $$i | \
2198 sed -e 's+^\([^ ]*\.o\)+objects/\1+' >> tmp_make; done
2199 mv tmp_make Makefile
2200
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002201# Run lint. Clean up the *.ln files that are sometimes left behind.
Bram Moolenaare1d12892004-06-13 13:02:36 +00002202lint:
Bram Moolenaar051b7822005-05-19 21:00:46 +00002203 lint $(LINT_OPTIONS) $(LINT_CFLAGS) $(LINT_EXTRA) $(LINT_SRC)
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002204 -rm -f *.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002205
2206# Check dosinst.c with lint.
2207lintinstall:
2208 lint $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c
Bram Moolenaar9d75c832005-01-25 21:57:23 +00002209 -rm -f dosinst.ln
Bram Moolenaare1d12892004-06-13 13:02:36 +00002210
2211###########################################################################
2212
2213.c.o:
2214 $(CCC) $<
2215
Bram Moolenaare1d12892004-06-13 13:02:36 +00002216auto/if_perl.c: if_perl.xs
2217 $(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
2218 $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
2219 $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
2220
2221auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
2222 CC="$(CC) $(ALL_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
2223
2224QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
2225auto/pathdef.c: Makefile auto/config.mk
2226 -@echo creating $@
2227 -@echo '/* pathdef.c */' > $@
2228 -@echo '/* This file is automatically created by Makefile' >> $@
2229 -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@
2230 -@echo '#include "vim.h"' >> $@
2231 -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
2232 -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
2233 -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@
2234 -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@
2235 -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
2236 -@if test -n "$(COMPILEDBY)"; then \
2237 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
2238 else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
2239 -@echo '";' >> $@
2240 -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
2241 -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
2242 -@echo '";' >> $@
2243 -@sh $(srcdir)/pathdef.sh
2244
2245# All the object files are put in the "objects" directory. Since not all make
2246# commands understand putting object files in another directory, it must be
2247# specified for each file separately.
2248
2249objects:
2250 mkdir objects
2251
2252objects/buffer.o: buffer.c
2253 $(CCC) -o $@ buffer.c
2254
2255objects/charset.o: charset.c
2256 $(CCC) -o $@ charset.c
2257
2258objects/diff.o: diff.c
2259 $(CCC) -o $@ diff.c
2260
2261objects/digraph.o: digraph.c
2262 $(CCC) -o $@ digraph.c
2263
2264objects/edit.o: edit.c
2265 $(CCC) -o $@ edit.c
2266
2267objects/eval.o: eval.c
2268 $(CCC) -o $@ eval.c
2269
2270objects/ex_cmds.o: ex_cmds.c
2271 $(CCC) -o $@ ex_cmds.c
2272
2273objects/ex_cmds2.o: ex_cmds2.c
2274 $(CCC) -o $@ ex_cmds2.c
2275
2276objects/ex_docmd.o: ex_docmd.c
2277 $(CCC) -o $@ ex_docmd.c
2278
2279objects/ex_eval.o: ex_eval.c
2280 $(CCC) -o $@ ex_eval.c
2281
2282objects/ex_getln.o: ex_getln.c
2283 $(CCC) -o $@ ex_getln.c
2284
2285objects/fileio.o: fileio.c
2286 $(CCC) -o $@ fileio.c
2287
2288objects/fold.o: fold.c
2289 $(CCC) -o $@ fold.c
2290
2291objects/getchar.o: getchar.c
2292 $(CCC) -o $@ getchar.c
2293
Bram Moolenaar58d98232005-07-23 22:25:46 +00002294objects/hardcopy.o: hardcopy.c
2295 $(CCC) -o $@ hardcopy.c
2296
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002297objects/hashtable.o: hashtable.c
2298 $(CCC) -o $@ hashtable.c
2299
Bram Moolenaare1d12892004-06-13 13:02:36 +00002300objects/gui.o: gui.c
2301 $(CCC) -o $@ gui.c
2302
2303objects/gui_at_fs.o: gui_at_fs.c
2304 $(CCC) -o $@ gui_at_fs.c
2305
2306objects/gui_at_sb.o: gui_at_sb.c
2307 $(CCC) -o $@ gui_at_sb.c
2308
2309objects/gui_athena.o: gui_athena.c
2310 $(CCC) -o $@ gui_athena.c
2311
Bram Moolenaare1d12892004-06-13 13:02:36 +00002312objects/gui_beval.o: gui_beval.c
2313 $(CCC) -o $@ gui_beval.c
2314
2315objects/gui_gtk.o: gui_gtk.c
2316 $(CCC) -o $@ gui_gtk.c
2317
2318objects/gui_gtk_f.o: gui_gtk_f.c
2319 $(CCC) -o $@ gui_gtk_f.c
2320
2321objects/gui_gtk_x11.o: gui_gtk_x11.c
2322 $(CCC) -o $@ gui_gtk_x11.c
2323
2324objects/gui_motif.o: gui_motif.c
2325 $(CCC) -o $@ gui_motif.c
2326
Bram Moolenaardfccaf02004-12-31 20:56:11 +00002327objects/gui_xmdlg.o: gui_xmdlg.c
2328 $(CCC) -o $@ gui_xmdlg.c
2329
Bram Moolenaarb7fcef52005-01-02 11:31:05 +00002330objects/gui_xmebw.o: gui_xmebw.c
2331 $(CCC) -o $@ gui_xmebw.c
2332
Bram Moolenaare1d12892004-06-13 13:02:36 +00002333objects/gui_x11.o: gui_x11.c
2334 $(CCC) -o $@ gui_x11.c
2335
2336objects/gui_photon.o: gui_photon.c
2337 $(CCC) -o $@ gui_photon.c
2338
2339objects/gui_mac.o: gui_mac.c
2340 $(CCC) -o $@ gui_mac.c
2341
2342objects/hangulin.o: hangulin.c
2343 $(CCC) -o $@ hangulin.c
2344
2345objects/if_cscope.o: if_cscope.c
2346 $(CCC) -o $@ if_cscope.c
2347
2348objects/if_xcmdsrv.o: if_xcmdsrv.c
2349 $(CCC) -o $@ if_xcmdsrv.c
2350
Bram Moolenaar325b7a22004-07-05 15:58:32 +00002351objects/if_mzsch.o: if_mzsch.c
2352 $(CCC) -o $@ if_mzsch.c
2353
Bram Moolenaare1d12892004-06-13 13:02:36 +00002354objects/if_perl.o: auto/if_perl.c
2355 $(CCC) -o $@ auto/if_perl.c
2356
2357objects/if_perlsfio.o: if_perlsfio.c
2358 $(CCC) -o $@ if_perlsfio.c
2359
2360objects/if_python.o: if_python.c
2361 $(CCC) -o $@ if_python.c
2362
2363objects/if_ruby.o: if_ruby.c
2364 $(CCC) -o $@ if_ruby.c
2365
2366objects/if_sniff.o: if_sniff.c
2367 $(CCC) -o $@ if_sniff.c
2368
2369objects/if_tcl.o: if_tcl.c
2370 $(CCC) -o $@ if_tcl.c
2371
2372objects/integration.o: integration.c
2373 $(CCC) -o $@ integration.c
2374
2375objects/main.o: main.c
2376 $(CCC) -o $@ main.c
2377
2378objects/mark.o: mark.c
2379 $(CCC) -o $@ mark.c
2380
2381objects/memfile.o: memfile.c
2382 $(CCC) -o $@ memfile.c
2383
2384objects/memline.o: memline.c
2385 $(CCC) -o $@ memline.c
2386
2387objects/menu.o: menu.c
2388 $(CCC) -o $@ menu.c
2389
2390objects/message.o: message.c
2391 $(CCC) -o $@ message.c
2392
2393objects/misc1.o: misc1.c
2394 $(CCC) -o $@ misc1.c
2395
2396objects/misc2.o: misc2.c
2397 $(CCC) -o $@ misc2.c
2398
2399objects/move.o: move.c
2400 $(CCC) -o $@ move.c
2401
2402objects/mbyte.o: mbyte.c
2403 $(CCC) -o $@ mbyte.c
2404
2405objects/normal.o: normal.c
2406 $(CCC) -o $@ normal.c
2407
2408objects/ops.o: ops.c
2409 $(CCC) -o $@ ops.c
2410
2411objects/option.o: option.c
2412 $(CCC) -o $@ option.c
2413
2414objects/os_beos.o: os_beos.c
2415 $(CCC) -o $@ os_beos.c
2416
2417objects/os_qnx.o: os_qnx.c
2418 $(CCC) -o $@ os_qnx.c
2419
2420objects/os_macosx.o: os_macosx.c
2421 $(CCC) -o $@ os_macosx.c
2422
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002423objects/os_mac_conv.o: os_mac_conv.c
2424 $(CCC) -o $@ os_mac_conv.c
2425
Bram Moolenaare1d12892004-06-13 13:02:36 +00002426objects/os_unix.o: os_unix.c
2427 $(CCC) -o $@ os_unix.c
2428
2429objects/pathdef.o: auto/pathdef.c
2430 $(CCC) -o $@ auto/pathdef.c
2431
2432objects/py_config.o: $(PYTHON_CONFDIR)/config.c
2433 $(CCC) -o $@ $(PYTHON_CONFDIR)/config.c \
2434 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN
2435
2436objects/py_getpath.o: $(PYTHON_CONFDIR)/getpath.c
2437 $(CCC) -o $@ $(PYTHON_CONFDIR)/getpath.c \
2438 -I$(PYTHON_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN \
2439 $(PYTHON_GETPATH_CFLAGS)
2440
2441objects/pty.o: pty.c
2442 $(CCC) -o $@ pty.c
2443
Bram Moolenaar1c7715d2005-10-03 22:02:18 +00002444objects/popupmenu.o: popupmenu.c
2445 $(CCC) -o $@ popupmenu.c
2446
Bram Moolenaare1d12892004-06-13 13:02:36 +00002447objects/quickfix.o: quickfix.c
2448 $(CCC) -o $@ quickfix.c
2449
2450objects/regexp.o: regexp.c
2451 $(CCC) -o $@ regexp.c
2452
2453objects/screen.o: screen.c
2454 $(CCC) -o $@ screen.c
2455
2456objects/search.o: search.c
2457 $(CCC) -o $@ search.c
2458
Bram Moolenaar217ad922005-03-20 22:37:15 +00002459objects/spell.o: spell.c
2460 $(CCC) -o $@ spell.c
2461
Bram Moolenaare1d12892004-06-13 13:02:36 +00002462objects/syntax.o: syntax.c
2463 $(CCC) -o $@ syntax.c
2464
2465objects/tag.o: tag.c
2466 $(CCC) -o $@ tag.c
2467
2468objects/term.o: term.c
2469 $(CCC) -o $@ term.c
2470
2471objects/ui.o: ui.c
2472 $(CCC) -o $@ ui.c
2473
2474objects/undo.o: undo.c
2475 $(CCC) -o $@ undo.c
2476
2477objects/window.o: window.c
2478 $(CCC) -o $@ window.c
2479
2480objects/workshop.o: workshop.c
2481 $(CCC) -o $@ workshop.c
2482
2483objects/wsdebug.o: wsdebug.c
2484 $(CCC) -o $@ wsdebug.c
2485
2486objects/netbeans.o: netbeans.c
2487 $(CCC) -o $@ netbeans.c
2488
2489Makefile:
2490 @echo The name of the makefile MUST be "Makefile" (with capital M)!!!!
2491
2492###############################################################################
2493### MacOS X installation
2494###
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002495### This installs a runnable Vim.app in $(prefix)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002496
2497REZ = /Developer/Tools/Rez
Bram Moolenaare1d12892004-06-13 13:02:36 +00002498RESDIR = $(APPDIR)/Contents/Resources
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00002499VERSION = $(VIMMAJOR).$(VIMMINOR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002500
2501### Common flags
2502M4FLAGSX = $(M4FLAGS) -DAPP_EXE=$(VIMNAME) -DAPP_NAME=$(VIMNAME) \
2503 -DAPP_VER=$(VERSION) -DICON_APP=$(ICON_APP)
2504
2505### Icons
Bram Moolenaare1d12892004-06-13 13:02:36 +00002506ICONS = $(RESDIR)/$(ICON_APP)
2507
2508# If you uncomment the following lines the *.icns in the src directory will be
2509# detected by this Makefile automatically, and used for Vim.
2510#ICON_APP = $(shell if [ -e app.icns ] ; then echo app.icns ; else echo gui_mac.icns ; fi)
2511#ICON_DOC = $(shell if [ -e doc.icns ] ; then echo doc.icns ; else echo ; fi)
2512#ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi)
2513#ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT))
2514
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002515install_macosx: gui_bundle
Bram Moolenaare344bea2005-09-01 20:46:49 +00002516# Remove the link to the runtime dir, don't want to copy all of that.
2517 -rm $(APPDIR)/runtime
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002518 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix)
Bram Moolenaare344bea2005-09-01 20:46:49 +00002519# Install the runtime files. Recursive!
2520 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/runtime
2521 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
2522 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
2523 VIMEXE=$$srcdir/$(VIMTARGET) \
2524 prefix=$(DESTDIR)$(prefix)/$(APPDIR) \
2525 VIMRTLOC=$(DESTDIR)$(prefix)/$(APPDIR)/runtime
2526# Put the link back.
2527 ln -s `pwd`/../runtime $(APPDIR)
2528# TODO: Create the vimtutor application.
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002529
Bram Moolenaarcd71fa32005-03-11 22:46:48 +00002530gui_bundle: $(APPDIR) bundle-dir bundle-executable bundle-info bundle-resource \
Bram Moolenaare1d12892004-06-13 13:02:36 +00002531 bundle-language
2532
Bram Moolenaar4317d9b2005-03-18 20:25:31 +00002533$(APPDIR):
2534 mkdir -p $@
2535
Bram Moolenaare1d12892004-06-13 13:02:36 +00002536bundle-dir: $(APPDIR)/Contents $(VIMTARGET)
2537 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
Bram Moolenaare344bea2005-09-01 20:46:49 +00002538# Make a link to the runtime directory, so that we can try out the executable
2539# without installing it.
2540 -ln -s `pwd`/../runtime $(APPDIR)
Bram Moolenaare1d12892004-06-13 13:02:36 +00002541
2542bundle-executable: $(VIMTARGET)
2543 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET)
2544
2545bundle-info: bundle-dir
2546 @echo "Creating PkgInfo"
2547 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo
2548 @echo "Creating Info.plist"
2549 m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
2550
2551bundle-resource: bundle-dir bundle-icons bundle-rsrc
2552
2553bundle-icons: $(ICONS)
2554
2555### Classic resources
2556# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
2557# This file is also required for OS X Vim.
2558bundle-rsrc: os_mac.rsr.hqx
2559 @echo "Creating resource fork"
2560 python dehqx.py $<
2561 rm -f gui_mac.rsrc
2562 mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
2563
2564# po/Make_osx.pl says something about generating a Mac message file
2565# for Ukrananian. Would somebody using Mac OS X in Ukranian
2566# *really* be upset that Carbon Vim was not localised in
2567# Ukranian?
2568#
2569#bundle-language: bundle-dir po/Make_osx.pl
2570# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
2571bundle-language: bundle-dir
2572
2573$(APPDIR)/Contents:
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00002574 -$(SHELL) ./mkinstalldirs $(APPDIR)/Contents/MacOS
2575 -$(SHELL) ./mkinstalldirs $(RESDIR)/English.lproj
Bram Moolenaare1d12892004-06-13 13:02:36 +00002576
2577$(RESDIR)/%.icns: %.icns
2578 cp $< $@
2579
2580
2581###############################################################################
2582### (automatically generated by 'make depend')
2583### Dependencies:
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002584objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2585 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002586 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2587 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002588objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2589 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002590 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2591 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002592objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002593 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002594 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2595 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002596objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2597 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002598 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2599 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002600objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002601 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002602 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2603 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002604objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002605 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002606 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2607 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002608objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2609 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002610 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2611 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002612objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002613 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002614 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2615 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002616objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002617 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002618 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2619 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002620objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2621 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002622 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2623 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002624objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002625 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002626 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2627 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002628objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2629 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002630 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2631 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002632objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002633 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002634 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2635 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002636objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2637 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002638 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2639 arabic.h if_sniff.h
Bram Moolenaar58d98232005-07-23 22:25:46 +00002640objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002641 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002642 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2643 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaar383f9bc2005-01-19 22:18:32 +00002644objects/hashtable.o: hashtable.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002645 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002646 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2647 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002648objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002649 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002650 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2651 farsi.h arabic.h if_sniff.h if_cscope.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002652objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002653 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002654 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2655 farsi.h arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002656objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002657 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002658 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2659 arabic.h if_sniff.h farsi.c arabic.c
Bram Moolenaare1d12892004-06-13 13:02:36 +00002660objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002661 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002662 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2663 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002664objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2665 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002666 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2667 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002668objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2669 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002670 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2671 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002672objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002673 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002674 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2675 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002676objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2677 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002678 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2679 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002680objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002681 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002682 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2683 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002684objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002685 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002686 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2687 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002688objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002689 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002690 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2691 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002692objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002693 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002694 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2695 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002696objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2697 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002698 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2699 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002700objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2701 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002702 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2703 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002704objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2705 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002706 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2707 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002708objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2709 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002710 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2711 arabic.h if_sniff.h os_unixx.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002712objects/pathdef.o: auto/pathdef.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
2713 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./structs.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002714 ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro ./option.h \
2715 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h ./if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002716objects/popupmenu.o: popupmenu.c vim.h auto/config.h feature.h os_unix.h \
2717 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002718 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2719 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002720objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002721 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002722 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2723 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002724objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2725 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002726 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2727 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002728objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2729 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002730 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2731 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002732objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2733 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002734 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2735 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002736objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2737 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002738 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2739 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002740objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2741 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002742 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2743 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002744objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2745 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002746 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2747 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002748objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002749 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002750 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2751 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002752objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2753 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002754 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2755 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002756objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002757 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002758 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2759 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002760objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2761 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002762 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2763 arabic.h if_sniff.h version.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002764objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2765 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002766 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2767 arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002768objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2769 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002770 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2771 arabic.h if_sniff.h
2772objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h auto/config.h feature.h os_unix.h \
2773 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2774 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2775 farsi.h arabic.h if_sniff.h ../pixmaps/stock_icons.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002776objects/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 +00002777 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002778 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2779 farsi.h arabic.h if_sniff.h gui_gtk_f.h
2780objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
2781 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2782 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2783 farsi.h arabic.h if_sniff.h gui_xmebw.h ../pixmaps/alert.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002784 ../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002785 ../pixmaps/quest.xpm gui_x11_pm.h ../pixmaps/tb_new.xpm \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002786 ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm ../pixmaps/tb_save.xpm \
2787 ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm ../pixmaps/tb_copy.xpm \
2788 ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2789 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2790 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2791 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2792 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2793 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2794 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2795 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2796 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2797 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2798 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2799 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2800 ../pixmaps/tb_minwidth.xpm
Bram Moolenaar202795b2005-10-11 20:29:39 +00002801objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
2802 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2803 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2804 farsi.h arabic.h if_sniff.h
2805objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
2806 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2807 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2808 farsi.h arabic.h if_sniff.h gui_xmebwp.h gui_xmebw.h
2809objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
2810 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2811 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2812 farsi.h arabic.h if_sniff.h gui_at_sb.h gui_x11_pm.h \
2813 ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
2814 ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \
2815 ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \
2816 ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \
2817 ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \
2818 ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \
2819 ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \
2820 ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \
2821 ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \
2822 ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \
2823 ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \
2824 ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \
2825 ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
2826 ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
2827 ../pixmaps/tb_minwidth.xpm
2828objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
2829 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2830 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2831 farsi.h arabic.h if_sniff.h gui_gtk_f.h ../runtime/vim32x32.xpm \
2832 ../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
2833objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2834 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2835 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2836 arabic.h if_sniff.h ../runtime/vim32x32.xpm ../runtime/vim16x16.xpm \
2837 ../runtime/vim48x48.xpm
2838objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
2839 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2840 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2841 farsi.h arabic.h if_sniff.h gui_at_sb.h
2842objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
2843 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
2844 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2845 farsi.h arabic.h if_sniff.h gui_at_sb.h
2846objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
2847 keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2848 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2849 arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002850objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002851 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002852 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2853 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002854objects/if_perl.o: auto/if_perl.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
2855 ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./structs.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002856 ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro ./option.h \
2857 ./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h ./if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002858objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002859 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002860 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2861 farsi.h arabic.h if_sniff.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002862objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002863 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002864 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2865 farsi.h arabic.h if_sniff.h
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002866objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2867 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002868 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2869 arabic.h if_sniff.h
2870objects/if_ruby.o: if_ruby.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2871 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
2872 proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
2873 arabic.h if_sniff.h version.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002874objects/if_sniff.o: if_sniff.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002875 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002876 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2877 farsi.h arabic.h if_sniff.h os_unixx.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002878objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002879 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002880 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2881 farsi.h arabic.h if_sniff.h
2882objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
2883 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h structs.h \
2884 regexp.h gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002885 proto.h globals.h farsi.h arabic.h if_sniff.h version.h workshop.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002886objects/wsdebug.o: wsdebug.c
2887objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002888 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002889 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2890 farsi.h arabic.h if_sniff.h integration.h
Bram Moolenaare1d12892004-06-13 13:02:36 +00002891objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00002892 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h \
Bram Moolenaar202795b2005-10-11 20:29:39 +00002893 gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h globals.h \
2894 farsi.h arabic.h if_sniff.h version.h