home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / src / Makefile < prev    next >
Encoding:
Makefile  |  2003-06-01  |  96.6 KB  |  2,561 lines

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