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