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