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