diff options
Diffstat (limited to 'mnv/src/Makefile')
| -rw-r--r-- | mnv/src/Makefile | 4813 |
1 files changed, 4813 insertions, 0 deletions
diff --git a/mnv/src/Makefile b/mnv/src/Makefile new file mode 100644 index 0000000000..52df55afd9 --- /dev/null +++ b/mnv/src/Makefile @@ -0,0 +1,4813 @@ +# Makefile for MNV on Unix and Unix-like systems mnv:ts=8:sw=8:tw=78 +# +# This Makefile is loosely based on the GNU Makefile conventions found in +# standards.info. +# +# Compiling MNV, summary: +# +# 3. make +# 5. make install +# +# Compiling MNV, details: +# +# Edit this file for adjusting to your system. You should not need to edit any +# other file for machine specific things! +# The name of this file MUST be Makefile (note the uppercase 'M'). +# +# 1. Edit this Makefile {{{1 +# The defaults for MNV should work on most machines, but you may want to +# uncomment some lines or make other changes below to tune it to your +# system, compiler or preferences. Uncommenting means that the '#' in +# the first column of a line is removed. +# - If you want a version of MNV that is small and starts up quickly, +# you might want to disable the GUI, X11, Perl, Python and Tcl. +# - Uncomment the line with --disable-gui if you have Motif and/or GTK +# but don't want to make gmnv (the GUI version of MNV with nice +# menus and scrollbars, but makes MNV bigger and startup slower). +# - Uncomment --disable-darwin if on Mac OS X but you want to compile a +# Unix version. +# - Uncomment the line "CONF_OPT_X = --without-x" if you have X11 but +# want to disable using X11 libraries. This speeds up starting MNV, +# but the window title will not be set and the X11 selection can not +# be used. +# - Uncomment the line "CONF_OPT_XSMP = --disable-xsmp" if you have the +# X11 Session Management Protocol (XSMP) library (libSM) but do not +# want to use it. +# This can speedup MNV startup but MNV loses the ability to catch the +# user logging out from session-managers like GNOME and work +# could be lost. +# - Uncomment one or more of these lines to include an interface; +# each makes MNV quite a bit bigger: +# --enable-luainterp for Lua interpreter +# --enable-mzschemeinterp for MzScheme interpreter +# --enable-perlinterp for Perl interpreter +# --enable-python3interp for Python3 interpreter +# --enable-pythoninterp for Python interpreter +# --enable-rubyinterp for Ruby interpreter +# --enable-tclinterp for Tcl interpreter +# --enable-cscope for Cscope interface +# - Uncomment one of the lines with --with-features= to enable a set of +# features (but not the interfaces just mentioned). +# - Uncomment the line with --disable-acl to disable ACL support even +# though your system supports it. +# - Uncomment the line with --disable-gpm to disable gpm support +# even though you have gpm libraries and includes. +# - Uncomment the line with --disable-sysmouse to disable sysmouse +# support even though you have /dev/sysmouse and includes. +# - Uncomment one of the lines with CFLAGS and/or CC if you have +# something very special or want to tune the optimizer. +# - Search for the name of your system to see if it needs anything +# special. +# - A few versions of make use '.include "file"' instead of 'include +# file'. Adjust the include line below if yours does. +# +# 2. Edit feature.h {{{1 +# Only if you do not agree with the default compile features, e.g.: +# - you want MNV to be as vi compatible as it can be +# - you want to use Emacs tags files +# - you want right-to-left editing (Hebrew) +# - you want 'langmap' support (Greek) +# - you want to remove features to make MNV smaller +# +# 3. "make" {{{1 +# Will first run ./configure with the options in this file. Then it will +# start make again on this Makefile to do the compiling. You can also do +# this in two steps with: +# make config +# make +# The configuration phase creates/overwrites auto/config.h and +# auto/config.mk. +# The configure script is created with "make autoconf". It can detect +# different features of your system and act accordingly. However, it is +# not correct for all systems. Check this: +# - If you have X windows, but configure could not find it or reported +# another include/library directory then you wanted to use, you have +# to set CONF_OPT_X below. You might also check the installation of +# xmkmf. +# - If you have --enable-gui=motif and have Motif on your system, but +# configure reports "checking for location of gui... <not found>", you +# have to set GUI_INC_LOC and GUI_LIB_LOC below. +# If you changed something, do this to run configure again: +# make reconfig +# +# - If you do not trust the automatic configuration code, then inspect +# auto/config.h and auto/config.mk, before starting the actual build +# phase. If possible edit this Makefile, rather than auto/config.mk -- +# especially look at the definition of MNVLOC below. Note that the +# configure phase overwrites auto/config.mk and auto/config.h again. +# - If you get error messages, find out what is wrong and try to correct +# it in this Makefile. You may need to do "make reconfig" when you +# change anything that configure uses (e.g. switching from an old C +# compiler to an ANSI C compiler). Only when auto/configure does +# something wrong you may need to change one of the other files. If +# you find a clean way to fix the problem, consider sending a note to +# the author of autoconf (bug-gnu-utils@prep.ai.mit.edu) or MNV +# (mnv-dev@mnv.org). Don't bother to do that when you made a hack +# solution for a non-standard system. +# +# 4. "make test" {{{1 +# This is optional. This will run MNV scripts on a number of test +# files, and compare the produced output with the expected output. +# If all is well, you will get the "ALL DONE" message in the end. If a +# test fails you get "TEST FAILURE". See below (search for "/^test"). +# +# 5. "make install" {{{1 +# If the new MNV seems to be working OK you can install it and the +# documentation in the appropriate location. The default is +# "/usr/local". Change "prefix" below to change the location. +# "auto/pathdef.c" will be compiled again after changing this to make +# the executable know where the help files are located. +# Note that any existing executable is removed or overwritten. If you +# want to keep it you will have to make a backup copy first. +# The runtime files are in a different directory for each version. You +# might want to delete an older version. +# If you don't want to install everything, there are other targets: +# make installmnv only installs MNV, not the tools +# make installmnvbin only installs the MNV executable +# make installruntime installs most of the runtime files +# make installrtbase only installs the MNV help and +# runtime files +# make installlinks only installs the MNV binary links +# make installmanlinks only installs the MNV manpage links +# make installmacros only installs the MNV macros +# make installpack only installs the packages +# make installtutorbin only installs the MNV tutor program +# make installtutor only installs the MNV tutor files +# make installspell only installs the spell files +# make installtools only installs xxd +# If you install MNV, not to install for real but to prepare a package +# or RPM, set DESTDIR to the root of the tree. +# +# 6. Use MNV until a new version comes out. {{{1 +# +# 7. "make uninstall_runtime" {{{1 +# Will remove the runtime files for the current version. This is safe +# to use while another version is being used, only version-specific +# files will be deleted. +# To remove the runtime files of another version: +# make uninstall_runtime MNVRTDIR=/mnv54 +# If you want to delete all installed files, use: +# make uninstall +# Note that this will delete files that have the same name for any +# version, thus you might need to do a "make install" soon after this. +# Be careful not to remove a version of MNV that is still being used! +# To find out which files and directories will be deleted, use: +# make -n uninstall +# }}} +# +### This Makefile has been successfully tested on many systems. {{{ +### Only the ones that require special options are mentioned here. +### Check the (*) column for remarks, listed below. +### Later code changes may cause small problems, otherwise MNV is supposed to +### compile and run without problems. + +#system: configurations: version (*) tested by: +#------------- ------------------------ ------- - ---------- +#AIX 3.2.5 cc (not gcc) - 4.5 (M) Will Fiveash +#AIX 4 cc +X11 -GUI 3.27 (4) Axel Kielhorn +#AIX 4.1.4 cc +X11 +GUI 4.5 (5) Nico Bakker +#AIX 4.2.1 cc 5.2k (C) Will Fiveash +#AIX 4.3.3.12 xic 3.6.6 5.6 (5) David R. Favor +#A/UX 3.1.1 gcc +X11 4.0 (6) Jim Jagielski +#BSDI 2.1 (x86) shlicc2 gcc-2.6.3 -X11 X11R6 4.5 (1) Jos Backus +#BSD/OS 3.0 (x86) gcc gcc-2.7.2.1 -X11 X11R6 4.6c (1) Jos Backus +#CX/UX 6.2 cc +X11 +GUI_Mofif 5.4 (V) Kipp E. Howard +#DG/UX 5.4* gcc 2.5.8 GUI 5.0e (H) Jonas Schlein +#DG/UX 5.4R4.20 gcc 2.7.2 GUI 5.0s (H) Rocky Olive +#HP-UX (most) c89 cc 5.1 (2) Bram Moolenaar +#HP-UX_9.04 cc +X11 +Motif 5.0 (2) Carton Lao +#Linux 2.0 gcc-2.7.2 Infomagic Motif 4.3 (3) Ronald Rietman +#NEC UP4800 UNIX_SV 4.2MP cc +X11R6 Motif 4.6b (Q) Lennart Schultz +#NetBSD 1.0A gcc-2.4.5 -X11 -GUI 3.21 (X) Juergen Weigert +#QNX 4.2 wcc386-10.6 -X11 4.2 (D) G.F. Desrochers +#QNX 4.23 Watcom -X11 4.2 (F) John Oleynick +#SCO Unix v3.2.5 cc +X11 Motif 3.27 (C) M. Kuperblum +#SCO Open Server 5 gcc 2.7.2.3 +X11 +GUI Motif 5.3 (A) Glauber Ribeiro +#SINIX-N 5.43 RM400 R4000 cc +X11 +GUI 5.0l (I) Martin Furter +#SINIX-Z 5.42 i386 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn +#SINIX-Y 5.43 RM600 R4000 gcc 2.7.2.3 +X11 +GUI Motif 5.1 (I) Joachim Fehn +#Reliant/SINIX 5.44 cc +X11 +GUI 5.5a (I) B. Pruemmer +#SNI Targon31 TOS 4.1.11 gcc-2.4.5 +X11 -GUI 4.6c (B) Paul Slootman +#Solaris 2.4 (Sparc) cc +X11 +GUI 3.29 (9) Glauber +#Solaris 2.4/2.5 clcc +X11 -GUI openwin 3.20 (7) Robert Colon +#Solaris 2.5 (sun4m) cc (SC4.0) +X11R6 +GUI (CDE) 4.6b (E) Andrew Large +#Solaris 2.5 gcc 2.5.6 +X11 Motif 5.0m (R) Ant. Colombo +#Solaris 2.6 gcc 2.8.1 ncurses 5.3 (G) Larry W. Virden +#Solaris with -lthread 5.5 (W) K. Nagano +#Solaris gcc (b) Riccardo +#SunOS 4.1.x +X11 -GUI 5.1b (J) Bram Moolenaar +#SUPER-UX 6.2 (NEC SX-4) cc +X11R6 Motif 4.6b (P) Lennart Schultz +#Tandem/NSK (c) Matthew Woehlke +#Unisys 6035 cc +X11 Motif 5.3 (8) Glauber Ribeiro +#ESIX V4.2 cc +X11 6.0 (a) Reinhard Wobst +# }}} + +# (*) Remarks: {{{ +# +# (1) Uncomment line below for shlicc2 +# (2) HPUX with compile problems or wrong digraphs, uncomment line below +# (3) Infomagic Motif needs GUI_LIB_LOC and GUI_INC_LOC set, see below. +# And add "-lXpm" to MOTIF_LIBS2. +# (4) For cc the optimizer must be disabled (use CFLAGS= after running +# configure) (symptom: ":set termcap" output looks weird). +# (5) Compiler may need extra argument, see below. +# (6) See below for a few lines to uncomment +# (7) See below for lines which enable the use of clcc +# (8) Needs some EXTRA_LIBS, search for Unisys below +# (9) Needs an extra compiler flag to compile gui_at_sb.c, see below. +# (A) May need EXTRA_LIBS, see below +# (B) Can't compile GUI because there is no waitpid()... Disable GUI below. +# (C) Force the use of curses instead of termcap, see below. +# (D) Uncomment lines below for QNX +# (E) You might want to use termlib instead of termcap, see below. +# (F) See below for instructions. +# (G) Using ncurses version 4.2 has reported to cause a crash. Use the +# Sun curses library instead. +# (H) See line for EXTRA_LIBS below. +# (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix. +# (J) If you get undefined symbols, see below for a solution. +# (K) See lines to uncomment below for machines with 64 bit pointers. +# (L) For Silicon Graphics O2 workstations remove "-lnsl" from auto/config.mk +# (M) gcc version cygnus-2.0.1 does NOT work (symptom: "dl" deletes two +# characters instead of one). +# (N) SCO with decmouse. +# (O) LynxOS needs EXTRA_LIBS, see below. +# (P) For SuperUX 6.2 on NEC SX-4 see a few lines below to uncomment. +# (Q) For UNIXSVR 4.2MP on NEC UP4800 see below for lines to uncomment. +# (R) For Solaris 2.5 (or 2.5.1) with gcc > 2.5.6, uncomment line below. +# (U) Must uncomment CONF_OPT_PYTHON option below to disable Python +# detection, since the configure script runs into an error when it +# detects Python (probably because of the bash shell). +# (V) See lines to uncomment below. +# (X) Need to use the .include "auto/config.mk" line below +# (Y) See line with c89 below +# (Z) See lines with cc or c89 below +# (a) See line with EXTRA_LIBS below. +# (b) When using gcc with the Solaris linker, make sure you don't use GNU +# strip, otherwise the binary may not run: "Cannot find ELF". +# (c) Add -lfloss to EXTRA_LIBS, see below. +# (x) When you get warnings for precompiled header files, run +# "sudo fixPrecomps". Also see CONF_OPT_DARWIN below. +# }}} + + +#DO NOT CHANGE the next line, we need it for configure to find the compiler +#instead of using the default from the "make" program. +#Use a line further down to change the value for CC. +CC= + +# Change and use these defines if configure cannot find your Motif stuff. +# Unfortunately there is no "standard" location for Motif. {{{ +# These defines can contain a single directory (recommended) or a list of +# directories (for when you are working with several systems). The LAST +# directory that exists is used. +# When changed, run "make reconfig" next! +#GUI_INC_LOC = -I/usr/include/Motif2.0 -I/usr/include/Motif1.2 +#GUI_LIB_LOC = -L/usr/lib/Motif2.0 -L/usr/lib/Motif1.2 +### Use these two lines for Infomagic Motif (3) +#GUI_INC_LOC = -I/usr/X11R6/include +#GUI_LIB_LOC = -L/usr/X11R6/lib +# }}} + +# Defaults used when auto/config.mk does not exist. +srcdir = . +MNVNAME = mnv +EXNAME = ex +VIEWNAME = view + +######################## auto/config.mk ######################## {{{1 +# At this position auto/config.mk is included. When starting from the +# toplevel Makefile it is almost empty. After running auto/configure it +# contains settings that have been discovered for your system. Settings below +# this include override settings in auto/config.mk! + +# Note: If make fails because auto/config.mk does not exist (it is not +# included in the repository), do: +# cp config.mk.dist auto/config.mk + +# (X) How to include auto/config.mk depends on the version of "make" you have, +# if the current choice doesn't work, try the other one. + +include auto/config.mk +#.include "auto/config.mk" +CClink = $(CC) + +#}}} + +# Include the configuration choices first, so we can override everything +# below. As shipped, this file contains a target that causes to run +# configure. Once configure was run, this file contains a list of +# make variables with predefined values instead. Thus any second invocation +# of make, will build MNV. + +# CONFIGURE - configure arguments {{{1 +# You can give a lot of options to configure. +# Change this to your desire and do 'make config' afterwards + +# examples you can uncomment: +#CONF_ARGS1 = --exec-prefix=/usr +#CONF_ARGS2 = --with-mnv-name=mnv8 --with-ex-name=ex8 --with-view-name=view8 +#CONF_ARGS3 = --with-global-runtime=/etc/mnv,/usr/share/mnv +#CONF_ARGS4 = --with-local-dir=/usr/share +#CONF_ARGS5 = --without-local-dir + +# Use this one if you distribute a modified version of MNV. +#CONF_ARGS6 = --with-modified-by="John Doe" + +# GUI - For creating MNV with GUI (gmnv) (B) +# Uncomment this line when you don't want to get the GUI version, although you +# have GTK and/or Motif. Also use --without-x if you don't want X11 +# at all. +#CONF_OPT_GUI = --disable-gui + +# Uncomment one of these lines if you have that GUI but don't want to use it. +# The automatic check will use another one that can be found. +# Gnome is disabled by default, because it may cause trouble. +# +# When both GTK+ 2 and GTK+ 3 are possible then GTK+ 2 will be selected. +# To use GTK+ 3 instead use --enable-gui=gtk3 (see below). +#CONF_OPT_GUI = --disable-gtk2-check +#CONF_OPT_GUI = --enable-gnome-check +#CONF_OPT_GUI = --disable-gtk3-check +#CONF_OPT_GUI = --disable-motif-check + +# Uncomment one of these lines to select a specific GUI to use. +# When using "yes" or nothing, configure will use the first one found: GTK+, +# or Motif. +# +# GTK versions that are known not to work 100% are rejected. +# Use "--disable-gtktest" to accept them anyway. +# For GTK 1 use MNV 7.2. +# +# GNOME means GTK with Gnome support. If using GTK and --enable-gnome-check +# is used then GNOME will automatically be used if it is found. If you have +# GNOME, but do not want to use it (e.g., want a GTK-only version), then use +# --enable-gui=gtk or leave out --enable-gnome-check. +# +# GNOME makes sense only for GTK+ 2. Avoid use of --enable-gnome-check with +# GTK+ 3 build, as the functionality of GNOME is already incorporated into +# GTK+ 3. +# +# If the selected GUI isn't found, the GUI is disabled automatically +#CONF_OPT_GUI = --enable-gui=gtk2 +#CONF_OPT_GUI = --enable-gui=gtk2 --disable-gtktest +#CONF_OPT_GUI = --enable-gui=gnome2 +#CONF_OPT_GUI = --enable-gui=gnome2 --disable-gtktest +#CONF_OPT_GUI = --enable-gui=gtk3 +#CONF_OPT_GUI = --enable-gui=gtk3 --disable-gtktest +#CONF_OPT_GUI = --enable-gui=motif +#CONF_OPT_GUI = --enable-gui=motif --with-motif-lib="-static -lXm -shared" + +# Uncomment this line to run an individual test with gmnv. +#GUI_TESTARG = GUI_FLAG=-g + +# DARWIN - detecting Mac OS X +# Uncomment this line when you want to compile a Unix version of MNV on +# Darwin. None of the Mac specific options or files will be used. +#CONF_OPT_DARWIN = --disable-darwin + +# Select the architecture supported. Default is to build for the current +# platform. Use "both" for a universal binary. That probably doesn't work +# when including Perl, Python, etc. +# NOTE: ppc probably doesn't work anymore, +#CONF_OPT_DARWIN = --with-mac-arch=intel +#CONF_OPT_DARWIN = --with-mac-arch=ppc +#CONF_OPT_DARWIN = --with-mac-arch=both + +# Uncomment the next line to fail if one of the requested language interfaces +# cannot be configured. Without this MNV will be build anyway, without +# the failing interfaces. +#CONF_OPT_FAIL = --enable-fail-if-missing + +# LUA +# Uncomment one of these when you want to include the Lua interface. +# First one is for static linking, second one for dynamic loading. +# Debian package is "lua5.3" and "liblua5.3-dev" or "lua5.4" and +# "liblua5.4-dev". +# Use --with-luajit if you want to use LuaJIT instead of Lua. +# Set PATH environment variable to find lua or luajit executable. +# This requires at least "normal" features, "tiny" doesn't work. +#CONF_OPT_LUA = --enable-luainterp +#CONF_OPT_LUA = --enable-luainterp=dynamic +#CONF_OPT_LUA = --enable-luainterp --with-luajit +#CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit +# Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr) +#CONF_OPT_LUA_PREFIX = --with-lua-prefix=/usr/local + +# MZSCHEME +# Uncomment this when you want to include the MzScheme interface. +# You may have to build racket from source to make this work. Version 7.9 has +# been reported to work, version 8.0 probably doesn't work, version 8.5 has +# been reported to work. +# NOTE: does not work well together with valgrind. +#CONF_OPT_MZSCHEME = --enable-mzschemeinterp +# PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works +#CONF_OPT_PLTHOME = --with-plthome=/usr/local +#CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt +#CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme +#CONF_OPT_PLTHOME = --with-plthome=/home/me/mz + +# PERL +# Uncomment one of these when you want to include the Perl interface. +# First one is for static linking, second one for dynamic loading. +# Debian package is "libperl-dev" +# The Perl option sometimes causes problems, because it adds extra flags +# to the command line. If you see strange flags during compilation, check in +# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting +# the next line. +# When you get an error for a missing "perl.exp" file, try creating an empty +# one: "touch perl.exp". +# This requires at least "normal" features, "tiny" doesn't work. +#CONF_OPT_PERL = --enable-perlinterp +#CONF_OPT_PERL = --enable-perlinterp=dynamic + +# PYTHON +# Uncomment lines here when you want to include the Python interface. +# Debian package is "libpython3-dev". +# This requires at least "normal" features, "tiny" doesn't work. +# Python 3 is preferred, Python 2 (often referred to as "Python") has been +# deprecated for a long time. +# NOTE: This may cause threading to be enabled, which has side effects (such +# as using different libraries and debugging becomes more difficult). +# For Python3 support make a symbolic link in /usr/local/bin: +# ln -s python3 python3.1 +# If both python2.x and python3.x are enabled then the linking will be via +# dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available +# However, this may still cause problems, such as "import termios" failing. +# Build two separate versions of MNV in that case. +#CONF_OPT_PYTHON = --enable-pythoninterp +#CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7 +#CONF_OPT_PYTHON = --enable-pythoninterp=dynamic +#CONF_OPT_PYTHON3 = --enable-python3interp +#CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6 +#CONF_OPT_PYTHON3 = --enable-python3interp=dynamic + +# RUBY +# Uncomment this when you want to include the Ruby interface. +# First one for static linking, second one for loading when used. +# Debian package is "ruby-dev". +# This requires at least "normal" features, "tiny" doesn't work. +#CONF_OPT_RUBY = --enable-rubyinterp +#CONF_OPT_RUBY = --enable-rubyinterp=dynamic +#CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1 + +# TCL +# Uncomment this when you want to include the Tcl interface. +# First one is for static linking, second one for dynamic loading. +# Debian package is "tcl-dev". +# This requires at least "normal" features, "tiny" doesn't work. +#CONF_OPT_TCL = --enable-tclinterp +#CONF_OPT_TCL = --enable-tclinterp=dynamic +#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4 + +# CSCOPE +# Uncomment this when you want to include the Cscope interface. +#CONF_OPT_CSCOPE = --enable-cscope + +# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome. +# Motif version must have XPM libraries (see |netbeans-xpm|). +# Uncomment this when you do not want the netbeans interface. +#CONF_OPT_NETBEANS = --disable-netbeans + +# CHANNEL - inter process communication. Same conditions as NetBeans. +# Uncomment this when you do not want inter process communication. +#CONF_OPT_CHANNEL = --disable-channel + +# TERMINAL - Terminal emulator support, :terminal command. Requires the +# channel feature. The default is enable for when using "huge" features. +# Uncomment the first line when you want terminal emulator support for +# not-huge builds. Uncomment the second line when you don't want terminal +# emulator support in the huge build. +#CONF_OPT_TERMINAL = --enable-terminal +#CONF_OPT_TERMINAL = --disable-terminal + +# MULTIBYTE - To edit multi-byte characters. +# This is now always enabled. + +# When building with "huge" features, right-left and Arabic +# features are enabled. Use this to disable them. +#CONF_OPT_MULTIBYTE = --disable-rightleft --disable-arabic + +# NLS - National Language Support +# Uncomment this when you do not want to support translated messages, even +# though configure can find support for it. +#CONF_OPT_NLS = --disable-nls + +# XIM - X Input Method. Special character input support for X11 (Chinese, +# Japanese, special symbols, etc). Also needed for dead-key support. +# When omitted it's automatically enabled for the X-windows GUI. +#CONF_OPT_INPUT = --enable-xim +#CONF_OPT_INPUT = --disable-xim + +# FONTSET - X fontset support for output of languages with many characters. +# Uncomment this when you want to output a multibyte language. +#CONF_OPT_OUTPUT = --enable-fontset + +# ACL - Uncomment this when you do not want to include ACL support, even +# though your system does support it. E.g., when it's buggy. +#CONF_OPT_ACL = --disable-acl + +# gpm - For mouse support on Linux console via gpm +# Uncomment this when you do not want to include gpm support, even +# though you have gpm libraries and includes. +# For Debian/Ubuntu gpm support requires the libgpm-dev package. +#CONF_OPT_GPM = --disable-gpm +# Use this to enable dynamic loading of the GPM library. +#CONF_OPT_GPM = --enable-gpm=dynamic + +# sysmouse - For mouse support on FreeBSD and DragonFly console via sysmouse +# Uncomment this when you do not want do include sysmouse support, even +# though you have /dev/sysmouse and includes. +#CONF_OPT_SYSMOUSE = --disable-sysmouse + +# libcanberra - For sound support. Default is on for huge features. +# Uncomment one of the two to chose otherwise. +# CONF_OPT_CANBERRA = --enable-canberra +# CONF_OPT_CANBERRA = --disable-canberra + +# libsodium - For enhanced encryption. Default is on. +# Uncomment the next line to not use libsodium +# CONF_OPT_SODIUM = --disable-libsodium + +# FEATURES - For creating MNV with more or less features +# Uncomment one of these lines when you want to include few to many features. +# The default is "huge" for most systems. +#CONF_OPT_FEAT = --with-features=tiny +#CONF_OPT_FEAT = --with-features=normal +#CONF_OPT_FEAT = --with-features=huge + +# COMPILED BY - For including a specific e-mail address for ":version". +#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>" + +# X WINDOWS DISABLE - For creating a plain MNV without any X11 related fancies +# (otherwise MNV configure will try to include xterm titlebar access) +# Also disable the GUI above, otherwise it will be included anyway. +# When both GUI and X11 have been disabled this may save about 15% of the +# code and make MNV startup quicker. +#CONF_OPT_X = --without-x + +# X WINDOWS DIRECTORY - specify X directories +# If configure can't find you X stuff, or if you have multiple X11 derivatives +# installed, you may wish to specify which one to use. +# Select nothing to let configure choose. +# This here selects openwin (as found on sun). +#XROOT = /usr/openwin +#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib + +# X11 Session Management Protocol support +# MNV will try to use XSMP to catch the user logging out if there are unsaved +# files. Uncomment this line to disable that (it prevents mnv trying to open +# communications with the session manager). +#CONF_OPT_XSMP = --disable-xsmp + +# You may wish to include xsmp but use exclude xsmp-interact if the logout +# XSMP functionality does not work well with your session-manager (at time of +# writing, this would be early GNOME-1 gnome-session: it 'freezes' other +# applications after MNV has cancelled a logout (until MNV quits). This +# *might* be the MNV code, but is more likely a bug in early GNOME-1. +# This disables the dialog that asks you if you want to save files or not. +#CONF_OPT_XSMP = --disable-xsmp-interact + +# If you want to always automatically add a servername, also in the terminal. +#CONF_OPT_AUTOSERVE = --enable-autoservername + +# COMPILER - Name of the compiler {{{1 +# The default from configure will mostly be fine, no need to change this, just +# an example. If a compiler is defined here, configure will use it rather than +# probing for one. It is dangerous to change this after configure was run. +# Make will use your choice then -- but beware: Many things may change with +# another compiler. It is wise to run 'make reconfig' to start all over +# again. +#CC = cc +#CC = gcc +#CC = clang + +# COMPILER FLAGS - change as you please. Either before running {{{1 +# configure or afterwards. For examples see below. +# When using -g with some older versions of Linux you might get a +# statically linked executable. +# When not defined, configure will try to use -O2 for gcc and -O for others. +#CFLAGS = -g +#CFLAGS = -O + +# Optimization limits - depends on the compiler. Automatic check in configure +# doesn't work very well, because many compilers only give a warning for +# unrecognized arguments. +#CFLAGS = -O -OPT:Olimit=2600 +#CFLAGS = -O -Olimit 2000 +#CFLAGS = -O -FOlimit,2000 + +# Often used for GCC: mixed optimizing, lot of optimizing, debugging +#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes +#CFLAGS = -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes +#CFLAGS = -g -Wall -Wmissing-prototypes +#CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes +#CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes +#CFLAGS = -g -O2 '-DSTARTUPTIME="mnvstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes + +# Use this with GCC to check for mistakes, unused arguments, etc. +# Note: If you use -Wextra and get warnings in GTK code about function +# parameters, you can add -Wno-cast-function-type (but not with clang) +#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 +#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 +# Add -Wpedantic to find // comments and other C99 constructs. +# Better disable Perl and Python to avoid a lot of warnings. +#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 +#CFLAGS = -g -O2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wno-cast-function-type -Wunused-result -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 +#PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers +#MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter + +# EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond +# allocated memory (and makes every malloc()/free() very slow). +# Electric Fence is free (search ftp sites). +# You may want to set the EF_PROTECT_BELOW environment variable to check the +# other side of allocated memory. +# On FreeBSD you might need to enlarge the number of mmaps allowed. Do this +# as root: sysctl -w vm.max_proc_mmap=30000 +#EXTRA_LIBS = /usr/local/lib/libefence.a + +# Autoconf binary. +AUTOCONF ?= autoconf + +# PURIFY - remove the # to use the "purify" program (hoi Nia++!) +#PURIFY = purify + +# VALGRIND - remove the # to use valgrind for memory leaks and access errors. +# Used for the unittest targets. +# VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind.$@ + +# NBDEBUG - debugging the netbeans interface. +#EXTRA_DEFS = -DNBDEBUG + +# }}} + +# LINT - for running lint +# For standard Unix lint +LINT = lint +LINT_OPTIONS = -beprxzF +# For splint +# It doesn't work well, crashes on include files and non-ascii characters. +#LINT = splint +#LINT_OPTIONS = +unixlib -weak -macrovarprefixexclude -showfunc -linelen 9999 + +# PROFILING - Uncomment the next two lines to do profiling with gcc and gprof. +# Might not work with GUI or Perl. +# After running MNV see the profile result with: gprof mnv gmon.out | mnv - +# Need to recompile everything after changing this: "make clean" "make". +#PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING +#PROFILE_LIBS = -pg + +# GCC 5 and later need the -no-pie argument. +#PROFILE_LIBS = -pg -no-pie + +# For unknown reasons adding "-lc" fixes a linking problem with some versions +# of GCC. That's probably a bug in the "-pg" implementation. +#PROFILE_LIBS = -pg -lc + + +# TEST COVERAGE - Uncomment the two lines below the explanation to get code +# coverage information. (provided by Yegappan Lakshmanan) +# 1. make clean, run configure and build MNV as usual. +# 2. Generate the baseline code coverage information: +# $ lcov -c -i -b . -d objects -o objects/coverage_base.info +# 3. Run "make test" to run the unit tests. The code coverage information will +# be generated in the src/objects directory. +# 4. Generate the code coverage information from the tests: +# $ lcov -c -b . -d objects/ -o objects/coverage_test.info +# 5. Combine the baseline and test code coverage data: +# $ lcov -a objects/coverage_base.info -a objects/coverage_test.info -o objects/coverage_total.info +# 6. Process the test coverage data and generate a report in html: +# $ genhtml objects/coverage_total.info -o objects +# 7. Open the objects/index.html file in a web browser to view the coverage +# information. +# +# LDFLAGS=--coverage +# PROFILE_CFLAGS=-g -O0 -fprofile-arcs -ftest-coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH +# Alternate flags +# PROFILE_CFLAGS=-g -O0 --coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH + + +# Uncomment the next lines to compile MNV with the address sanitizer (asan) and +# with the undefined sanitizer. Works with gcc. +# You should also use -DEXITFREE to avoid false reports. +# May make MNV twice as slow. Errors are reported on stderr. +# More at: https://code.google.com/p/address-sanitizer/ +# Useful environment variables: +# $ export ASAN_OPTIONS="print_stacktrace=1 log_path=asan" +# $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt" +# When running tests output can be found in testdir/asan.* +#SANITIZER_CFLAGS = -g -O0 -fsanitize-recover=all \ +# -fsanitize=address -fsanitize=undefined \ +# -fno-omit-frame-pointer + +# Similarly when compiling with clang and using ubsan. +# $ export UBSAN_OPTIONS="print_stacktrace=1 log_path=ubsan" +# $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt" +# When running tests output can be found in testdir/ubsan.* +#SANITIZER_CFLAGS = -g -O0 -fsanitize-recover=all -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer + +SANITIZER_LIBS = $(SANITIZER_CFLAGS) + +# MEMORY LEAK DETECTION +# Requires installing the ccmalloc library. +# Configuration is in the .ccmalloc or ~/.ccmalloc file. +# Doesn't work very well, since memory linked to from global variables +# (in libraries) is also marked as leaked memory. +#LEAK_CFLAGS = -DEXITFREE +#LEAK_LIBS = -lccmalloc + +# Uncomment this line to have MNV call abort() when an internal error is +# detected. Useful when using a tool to find errors. +#ABORT_CFLAGS = -DABORT_ON_INTERNAL_ERROR + +#################################################### +### Specific systems, check if yours is listed ### {{{ +#################################################### + +### Uncomment things here only if the values chosen by configure are wrong. +### It's better to adjust configure.ac and "make autoconf", if you can! +### Then send the required changes to configure.ac to the bugs list. + +### (1) BSD/OS 2.0.1, 2.1 or 3.0 using shared libraries +### +#CC = shlicc2 +#CFLAGS = -O2 -g -m486 -Wall -Wshadow -Wmissing-prototypes -fno-builtin + +### (2) HP-UX with a non-ANSI cc, use the c89 ANSI compiler +### The first probably works on all systems +### The second should work a bit better on newer systems +### The third should work a bit better on HPUX 11.11 +### Information provided by: Richard Allen <ra@rhi.hi.is> +#CC = c89 -D_HPUX_SOURCE +#CC = c89 -O +Onolimit +ESlit -D_HPUX_SOURCE +#CC = c89 -O +Onolimit +ESlit +e -D_HPUX_SOURCE + +### (2) For HP-UX: 9.04 cpp default macro definition table of 128000 bytes +### is too small to compile many routines. It produces too much defining +### and no space errors. +### Uncomment the following to specify a larger macro definition table. +#CFLAGS = -Wp,-H256000 + +### (2) For HP-UX 10.20 using the HP cc, with X11R6 and Motif 1.2, with +### libraries in /usr/lib instead of /lib (avoiding transition links). +### Information provided by: David Green +#XROOT = /usr +#CONF_OPT_X = --x-include=$(XROOT)/include/X11R6 --x-libraries=$(XROOT)/lib/X11R6 +#GUI_INC_LOC = -I/usr/include/Motif1.2 +#GUI_LIB_LOC = -L/usr/lib/Motif1.2_R6 + +### (5) AIX 4.1.4 with cc +#CFLAGS = -O -qmaxmem=8192 + +### AIX with c89 (Walter Briscoe) +#CC = c89 +#CPPFLAGS = -D_ALL_SOURCE + +### AIX 4.3.3.12 with xic 3.6.6 (David R. Favor) +# needed to avoid a problem where strings.h gets included +#CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__ + +### (7) Solaris 2.4/2.5 with Centerline compiler +#CC = clcc +#X_LIBS_DIR = -L/usr/openwin/lib -R/usr/openwin/lib +#CFLAGS = -O + +### Solaris 2.3 with X11 and specific cc +#CC=/opt/SUNWspro/bin/cc -O -Xa -v -R/usr/openwin/lib + +### Solaris with /usr/ucb/cc (it is rejected by autoconf as "cc") +#CC = /usr/ucb/cc +#EXTRA_LIBS = -R/usr/ucblib + +### Solaris with Forte Developer and NetBeans. +# The Xpm library is available from http://koala.ilog.fr/ftp/pub/xpm. +#CC = cc +#XPM_DIR = /usr/local/xpm/xpm-3.4k-solaris +#XPM_LIB = -L$(XPM_DIR)/lib -R$(XPM_DIR)/lib -lXpm +#XPM_IPATH = -I$(XPM_DIR)/include +#EXTRA_LIBS = $(XPM_LIB) +#EXTRA_IPATHS = $(XPM_IPATH) +#EXTRA_DEFS = -xCC -DHAVE_X11_XPM_H + +### (R) for Solaris 2.5 (or 2.5.1) with gcc > 2.5.6 you might need this: +#LDFLAGS = -lw -ldl -lXmu +#GUI_LIB_LOC = -L/usr/local/lib + +### (8) Unisys 6035 (Glauber Ribeiro) +#EXTRA_LIBS = -lnsl -lsocket -lgen + +### When builtin functions cause problems with gcc (for Sun 4.1.x) +#CFLAGS = -O2 -Wall -traditional -Wno-implicit + +### Apollo DOMAIN (with SYSTYPE = bsd4.3) (TESTED for version 3.0) +#EXTRA_DEFS = -DDOMAIN +#CFLAGS= -O -A systype,bsd4.3 + +### Coherent 4.2.10 on Intel 386 platform +#EXTRA_DEFS = -Dvoid=int +#EXTRA_LIBS = -lterm -lsocket + +### SCO 3.2, with different library name for terminfo +#EXTRA_LIBS = -ltinfo + +### UTS2 for Amdahl UTS 2.1.x +#EXTRA_DEFS = -DUTS2 +#EXTRA_LIBS = -lsocket + +### UTS4 for Amdahl UTS 4.x +#EXTRA_DEFS = -DUTS4 -Xa + +### USL for Unix Systems Laboratories (SYSV 4.2) +#EXTRA_DEFS = -DUSL + +### (6) A/UX 3.1.1 with gcc (Jim Jagielski) +#CC= gcc -D_POSIX_SOURCE +#CFLAGS= -O2 +#EXTRA_LIBS = -lposix -lbsd -ltermcap -lX11 + +### (A) Some versions of SCO Open Server 5 (Jan Christiaan van Winkel) +### Also use the CONF_TERM_LIB below! +#EXTRA_LIBS = -lgen + +### (D) QNX (by G.F. Desrochers) +#CFLAGS = -g -O -mf -4 + +### (F) QNX (by John Oleynick) +# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment +# CONF_OPT_X = --without-x. +# 2. make config +# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't +# have -ldir (does config find it somewhere?) and -ltermcap has at +# least one problem so I use termlib.o instead. The problem with +# termcap is that it segfaults if you call it with the name of +# a non-existent terminal type. +# 4. edit auto/config.h and add #define USE_TMPNAM +# 5. add termlib.o to OBJ +# 6. make + +### (H) for Data general DG/UX 5.4.2 and 5.4R3.10 (Jonas J. Schlein) +#EXTRA_LIBS = -lgen + +### (I) SINIX-N 5.42 or 5.43 RM400 R4000 (also SINIX-Y and SINIX-Z) +#EXTRA_LIBS = -lgen -lnsl +### For SINIX-Y this is needed for the right prototype of gettimeofday() +#EXTRA_DEFS = -D_XPG_IV + +### (I) Reliant-Unix (aka SINIX) 5.44 with standard cc +# Use both "-F O3" lines for optimization or the "-g" line for debugging +#EXTRA_LIBS = -lgen -lsocket -lnsl -lSM -lICE +#CFLAGS = -F O3 -DSINIXN +#LDFLAGS = -F O3 +#CFLAGS = -g -DSINIXN + +### (P) SCO 3.2.42, with different termcap names for some useful keys DJB +#EXTRA_DEFS = -DSCOKEYS -DNETTERM_MOUSE -DDEC_MOUSE -DXTERM_MOUSE -DHAVE_GETTIMEOFDAY +#EXTRA_LIBS = -lsocket -ltermcap -lmalloc -lc_s + +### (P) SuperUX 6.2 on NEC SX-4 (Lennart Schultz) +#GUI_INC_LOC = -I/usr/include +#GUI_LIB_LOC = -L/usr/lib +#EXTRA_LIBS = -lgen + +### (Q) UNIXSVR 4.2MP on NEC UP4800 (Lennart Schultz) +#GUI_INC_LOC = -I/usr/necccs/include +#GUI_LIB_LOC = -L/usr/necccs/lib/X11R6 +#XROOT = /usr/necccs +#CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6 +#EXTRA_LIBS = -lsocket -lgen + +### (C) On SCO Unix v3.2.5 (and probably other versions) the termcap library, +### which is found by configure, doesn't work correctly. Symptom is the +### error message "Termcap entry too long". Uncomment the next line. +### On AIX 4.2.1 (and other versions probably), libtermcap is reported +### not to display properly. +### after changing this, you need to do "make reconfig". +#CONF_TERM_LIB = --with-tlib=curses + +### (E) If you want to use termlib library instead of the automatically found +### one. After changing this, you need to do "make reconfig". +#CONF_TERM_LIB = --with-tlib=termlib + +### (a) ESIX V4.2 (Reinhard Wobst) +#EXTRA_LIBS = -lnsl -lsocket -lgen -lXIM -lXmu -lXext + +### (c) Tandem/NSK (Matthew Woehlke) +#EXTRA_LIBS = -lfloss + +### If you want to use ncurses library instead of the automatically found one +### after changing this, you need to do "make reconfig". +#CONF_TERM_LIB = --with-tlib=ncurses + +### For GCC on MS-Windows, the ".exe" suffix will be added. +#EXEEXT = .exe +#LNKEXT = .exe + +### (O) For LynxOS 2.5.0, tested on PC. +#EXTRA_LIBS = -lXext -lSM -lICE -lbsd +### For LynxOS 3.0.1, tested on PPC +#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu -liberty -lX11 +### For LynxOS 3.1.0, tested on PC +#EXTRA_LIBS= -lXext -lSM -lICE -lnetinet -lXmu + + +### (V) For CX/UX 6.2 (on Harris/Concurrent NightHawk 4800, 5800). Remove +### -Qtarget if only in a 5800 environment. (Kipp E. Howard) +#CFLAGS = -O -Qtarget=m88110compat +#EXTRA_LIBS = -lgen + +# The value of QUOTESED comes from auto/config.mk. +# Uncomment the next line to use the default value. +# QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' -e 's/ */ /g' + +##################### end of system specific lines ################### }}} + +### Names of the programs and targets {{{1 +MNVTARGET = $(MNVNAME)$(EXEEXT) +EXTARGET = $(EXNAME)$(LNKEXT) +VIEWTARGET = $(VIEWNAME)$(LNKEXT) +GMNVNAME = g$(MNVNAME) +GMNVTARGET = $(GMNVNAME)$(LNKEXT) +GVIEWNAME = g$(VIEWNAME) +GVIEWTARGET = $(GVIEWNAME)$(LNKEXT) +RMNVNAME = r$(MNVNAME) +RMNVTARGET = $(RMNVNAME)$(LNKEXT) +RVIEWNAME = r$(VIEWNAME) +RVIEWTARGET = $(RVIEWNAME)$(LNKEXT) +RGMNVNAME = r$(GMNVNAME) +RGMNVTARGET = $(RGMNVNAME)$(LNKEXT) +RGVIEWNAME = r$(GVIEWNAME) +RGVIEWTARGET = $(RGVIEWNAME)$(LNKEXT) +MNVDIFFNAME = $(MNVNAME)diff +GMNVDIFFNAME = g$(MNVDIFFNAME) +MNVDIFFTARGET = $(MNVDIFFNAME)$(LNKEXT) +GMNVDIFFTARGET = $(GMNVDIFFNAME)$(LNKEXT) +EMNVNAME = e$(MNVNAME) +EMNVTARGET = $(EMNVNAME)$(LNKEXT) +EVIEWNAME = e$(VIEWNAME) +EVIEWTARGET = $(EVIEWNAME)$(LNKEXT) + +### Names of the tools that are also made {{{1 +TOOLS = xxd/xxd$(EXEEXT) + +### Installation directories. The defaults come from configure. {{{1 +# +### prefix the top directory for the data (default "/usr/local") +# +# Uncomment the next line to install MNV in your home directory. +#prefix = $(HOME) + +### exec_prefix is the top directory for the executable (default $(prefix)) +# +# Uncomment the next line to install the MNV executable in "/usr/machine/bin" +#exec_prefix = /usr/machine + +### BINDIR dir for the executable (default "$(exec_prefix)/bin") +### MANDIR dir for the manual pages (default "$(prefix)/man") +### DATADIR dir for the other files (default "$(prefix)/lib" or +# "$(prefix)/share") +# They may be different when using different architectures for the +# executable and a common directory for the other files. +# +# Uncomment the next line to install MNV in "/usr/bin" +#BINDIR = /usr/bin +# Uncomment the next line to install MNV manuals in "/usr/share/man/man1" +#MANDIR = /usr/share/man +# Uncomment the next line to install MNV help files in "/usr/share/mnv" +#DATADIR = /usr/share + +### DESTDIR root of the installation tree. This is prepended to the other +# directories. This directory must exist. +#DESTDIR = ~/pkg/mnv + +### Directory of the man pages +MAN1DIR = /man1 + +### MNV version (adjusted by a script) +MNVMAJOR = 10 +MNVMINOR = 0 + +### Location of MNV files (should not need to be changed, and {{{1 +### some things might not work when they are changed!) +MNVDIR = /mnv +MNVRTDIR = /mnv$(MNVMAJOR)$(MNVMINOR) +HELPSUBDIR = /doc +COLSUBDIR = /colors +SYNSUBDIR = /syntax +INDSUBDIR = /indent +AUTOSUBDIR = /autoload +IMPORTSUBDIR = /import +PLUGSUBDIR = /plugin +FTPLUGSUBDIR = /ftplugin +LANGSUBDIR = /lang +COMPSUBDIR = /compiler +KMAPSUBDIR = /keymap +MACROSUBDIR = /macros +PACKSUBDIR = /pack +TOOLSSUBDIR = /tools +TUTORSUBDIR = /tutor +SPELLSUBDIR = /spell +PRINTSUBDIR = /print +PODIR = po + +### MNVLOC common root of the MNV files (all versions) +### MNVRTLOC common root of the runtime MNV files (this version) +### MNVRCLOC compiled-in location for global [g]mnvrc files (all versions) +### MNVRUNTIMEDIR compiled-in location for runtime files (optional) +### HELPSUBLOC location for help files +### COLSUBLOC location for colorscheme files +### SYNSUBLOC location for syntax files +### INDSUBLOC location for indent files +### AUTOSUBLOC location for standard autoload files +### IMPORTSUBLOC location for standard import files +### PLUGSUBLOC location for standard plugin files +### FTPLUGSUBLOC location for ftplugin files +### LANGSUBLOC location for language files +### COMPSUBLOC location for compiler files +### KMAPSUBLOC location for keymap files +### MACROSUBLOC location for macro files +### PACKSUBLOC location for packages +### TOOLSSUBLOC location for tools files +### TUTORSUBLOC location for tutor files +### SPELLSUBLOC location for spell files +### PRINTSUBLOC location for PostScript files (prolog, latin1, ..) +### SCRIPTLOC location for script files (menu.mnv, bugreport.mnv, ..) +### You can override these if you want to install them somewhere else. +### Edit feature.h for compile-time settings. +MNVLOC = $(DATADIR)$(MNVDIR) +MNVRTLOC = $(DATADIR)$(MNVDIR)$(MNVRTDIR) +MNVRCLOC = $(MNVLOC) +HELPSUBLOC = $(MNVRTLOC)$(HELPSUBDIR) +COLSUBLOC = $(MNVRTLOC)$(COLSUBDIR) +SYNSUBLOC = $(MNVRTLOC)$(SYNSUBDIR) +INDSUBLOC = $(MNVRTLOC)$(INDSUBDIR) +AUTOSUBLOC = $(MNVRTLOC)$(AUTOSUBDIR) +IMPORTSUBLOC = $(MNVRTLOC)$(IMPORTSUBDIR) +PLUGSUBLOC = $(MNVRTLOC)$(PLUGSUBDIR) +FTPLUGSUBLOC = $(MNVRTLOC)$(FTPLUGSUBDIR) +LANGSUBLOC = $(MNVRTLOC)$(LANGSUBDIR) +COMPSUBLOC = $(MNVRTLOC)$(COMPSUBDIR) +KMAPSUBLOC = $(MNVRTLOC)$(KMAPSUBDIR) +MACROSUBLOC = $(MNVRTLOC)$(MACROSUBDIR) +PACKSUBLOC = $(MNVRTLOC)$(PACKSUBDIR) +TOOLSSUBLOC = $(MNVRTLOC)$(TOOLSSUBDIR) +TUTORSUBLOC = $(MNVRTLOC)$(TUTORSUBDIR) +SPELLSUBLOC = $(MNVRTLOC)$(SPELLSUBDIR) +PRINTSUBLOC = $(MNVRTLOC)$(PRINTSUBDIR) +SCRIPTLOC = $(MNVRTLOC) + +### Only set MNVRUNTIMEDIR when MNVRTLOC is set to a different location and +### the runtime directory is not below it. +#MNVRUNTIMEDIR = $(MNVRTLOC) + +### Name of the defaults/emnv/mswin file target. +MNV_DEFAULTS_FILE = $(DESTDIR)$(SCRIPTLOC)/defaults.mnv +EMNV_FILE = $(DESTDIR)$(SCRIPTLOC)/emnv.mnv +MSWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/mswin.mnv + +### Name of the menu file target. +SYS_MENU_FILE = $(DESTDIR)$(SCRIPTLOC)/menu.mnv +SYS_SYNMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/synmenu.mnv +SYS_DELMENU_FILE = $(DESTDIR)$(SCRIPTLOC)/delmenu.mnv + +### Name of the bugreport file target. +SYS_BUGR_FILE = $(DESTDIR)$(SCRIPTLOC)/bugreport.mnv + +### Name of the file type detection file target. +SYS_FILETYPE_FILE = $(DESTDIR)$(SCRIPTLOC)/filetype.mnv + +### Name of the file type detection file target. +SYS_FTOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftoff.mnv + +### Name of the file type detection script file target. +SYS_SCRIPTS_FILE = $(DESTDIR)$(SCRIPTLOC)/scripts.mnv + +### Name of the ftplugin-on file target. +SYS_FTPLUGIN_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugin.mnv + +### Name of the ftplugin-off file target. +SYS_FTPLUGOF_FILE = $(DESTDIR)$(SCRIPTLOC)/ftplugof.mnv + +### Name of the indent-on file target. +SYS_INDENT_FILE = $(DESTDIR)$(SCRIPTLOC)/indent.mnv + +### Name of the indent-off file target. +SYS_INDOFF_FILE = $(DESTDIR)$(SCRIPTLOC)/indoff.mnv + +### Name of the option window script file target. +SYS_OPTWIN_FILE = $(DESTDIR)$(SCRIPTLOC)/optwin.mnv + +# Program to install the program in the target directory. Could also be "mv". +INSTALL_PROG = cp + +# Program to install the data in the target directory. Cannot be "mv"! +INSTALL_DATA = cp +INSTALL_DATA_R = cp -r + +### Program to run on installed binary. Use the second one to disable strip. +#STRIP = strip +#STRIP = /bin/true + +### Permissions for binaries {{{1 +BINMOD = 755 + +### Permissions for man page +MANMOD = 644 + +### Permissions for help files +HELPMOD = 644 + +### Permissions for Perl and shell scripts +SCRIPTMOD = 755 + +### Permission for MNV script files (menu.mnv, bugreport.mnv, ..) +MNVSCRIPTMOD = 644 + +### Permissions for all directories that are created +DIRMOD = 755 + +### Permissions for all other files that are created +FILEMOD = 644 + +# Where to copy the man and help files from +HELPSOURCE = ../runtime/doc + +# Where to copy the script files from (menu, bugreport) +SCRIPTSOURCE = ../runtime + +# Where to copy the colorscheme files from +COLSOURCE = ../runtime/colors + +# Where to copy the syntax files from +SYNSOURCE = ../runtime/syntax + +# Where to copy the indent files from +INDSOURCE = ../runtime/indent + +# Where to copy the standard plugin files from +AUTOSOURCE = ../runtime/autoload + +# Where to copy the standard import files from +IMPORTSOURCE = ../runtime/import + +# Where to copy the standard plugin files from +PLUGSOURCE = ../runtime/plugin + +# Where to copy the ftplugin files from +FTPLUGSOURCE = ../runtime/ftplugin + +# Where to copy the macro files from +MACROSOURCE = ../runtime/macros + +# Where to copy the package files from +PACKSOURCE = ../runtime/pack + +# Where to copy the tools files from +TOOLSSOURCE = ../runtime/tools + +# Where to copy the tutor files from +TUTORSOURCE = ../runtime/tutor + +# Where to copy the spell files from +SPELLSOURCE = ../runtime/spell + +# Where to look for language specific files +LANGSOURCE = ../runtime/lang + +# Where to look for compiler files +COMPSOURCE = ../runtime/compiler + +# Where to look for keymap files +KMAPSOURCE = ../runtime/keymap + +# Where to look for print resource files +PRINTSOURCE = ../runtime/print + +# Where to look translated README and LICENSE files +TRANSSOURCE = ../lang + +# If you are using Linux, you might want to use this to make mnv the +# default vi editor, it will create a link from vi to MNV when doing +# "make install". An existing file will be overwritten! +# When not using it, some make programs can't handle an undefined $(LINKIT). +#LINKIT = ln -f -s $(DEST_BIN)/$(MNVTARGET) $(DESTDIR)/usr/bin/vi +LINKIT = @echo >/dev/null + +### +### GRAPHICAL USER INTERFACE (GUI). {{{1 +### 'configure --enable-gui' can enable one of these for you if you did set +### a corresponding CONF_OPT_GUI above and have X11. +### Override configures choice by uncommenting all the following lines. +### As they are, the GUI is disabled. Replace "NONE" with "MOTIF" +### for enabling the Motif GUI. +#GUI_SRC = $(NONE_SRC) +#GUI_OBJ = $(NONE_OBJ) +#GUI_DEFS = $(NONE_DEFS) +#GUI_IPATH = $(NONE_IPATH) +#GUI_LIBS_DIR = $(NONE_LIBS_DIR) +#GUI_LIBS1 = $(NONE_LIBS1) +#GUI_LIBS2 = $(NONE_LIBS2) +#GUI_INSTALL = $(NONE_INSTALL) +#GUI_TARGETS = $(NONE_TARGETS) +#GUI_MAN_TARGETS= $(NONE_MAN_TARGETS) +#GUI_TESTTARGET = $(NONE_TESTTARGET) +#GUI_BUNDLE = $(NONE_BUNDLE) + +# Without a GUI install the normal way. +NONE_INSTALL = install_normal + +### GTK GUI +GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c gui_gtk_f.c \ + gui_beval.c $(GRESOURCE_SRC) +GTK_OBJ = objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o \ + objects/gui_gtk_f.o \ + objects/gui_beval.o $(GRESOURCE_OBJ) +GTK_DEFS = -DFEAT_GUI_GTK $(NARROW_PROTO) +GTK_IPATH = $(GUI_INC_LOC) +GTK_LIBS_DIR = $(GUI_LIB_LOC) +GTK_LIBS1 = +GTK_LIBS2 = $(GTK_LIBNAME) +GTK_INSTALL = install_normal install_gui_extra +GTK_TARGETS = installglinks +GTK_MAN_TARGETS = yes +GTK_TESTTARGET = gui +GTK_BUNDLE = + +### Motif GUI +MOTIF_SRC = gui.c gui_motif.c gui_x11.c gui_beval.c \ + gui_xmdlg.c gui_xmebw.c +MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \ + objects/gui_beval.o \ + objects/gui_xmdlg.o objects/gui_xmebw.o +MOTIF_DEFS = -DFEAT_GUI_MOTIF $(NARROW_PROTO) +MOTIF_IPATH = $(GUI_INC_LOC) +MOTIF_LIBS_DIR = $(GUI_LIB_LOC) +MOTIF_LIBS1 = +MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt +MOTIF_INSTALL = install_normal install_gui_extra +MOTIF_TARGETS = installglinks +MOTIF_MAN_TARGETS = yes +MOTIF_TESTTARGET = gui +MOTIF_BUNDLE = + +### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld +# errors: ld: Undefined symbol +# _get_wmShellWidgetClass +# _get_applicationShellWidgetClass +# then you need to get patches 100512-02 and 100573-03 from Sun. In the +# meantime, uncomment the following GUI_X_LIBS definition as a workaround: +#GUI_X_LIBS = -Bstatic -lXmu -Bdynamic -lXext +# If you also get cos, sin etc. as undefined symbols, try uncommenting this +# too: +#EXTRA_LIBS = /usr/openwin/lib/libXmu.sa -lm + +# PHOTON GUI +PHOTONGUI_SRC = gui.c gui_photon.c +PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o +PHOTONGUI_DEFS = -DFEAT_GUI_PHOTON +PHOTONGUI_IPATH = +PHOTONGUI_LIBS_DIR = +PHOTONGUI_LIBS1 = -lph -lphexlib +PHOTONGUI_LIBS2 = +PHOTONGUI_INSTALL = install_normal install_gui_extra +PHOTONGUI_TARGETS = installglinks +PHOTONGUI_MAN_TARGETS = yes +PHOTONGUI_TESTTARGET = gui +PHOTONGUI_BUNDLE = + +### Haiku GUI +HAIKUGUI_SRC = gui.c gui_haiku.cc +HAIKUGUI_OBJ = objects/gui.o objects/gui_haiku.o +HAIKUGUI_DEFS = -DFEAT_GUI_HAIKU +HAIKUGUI_IPATH = +HAIKUGUI_LIBS_DIR = +HAIKUGUI_LIBS1 = -lbe -lroot -ltracker -ltranslation -lsupc++ -lstdc++ +HAIKUGUI_LIBS2 = +HAIKUGUI_INSTALL = install_normal install_haiku_extra +HAIKUGUI_TARGETS = installglinks_haiku +HAIKUGUI_MAN_TARGETS = +HAIKUGUI_TESTTARGET = gui +HAIKUGUI_BUNDLE = + +# All GUI files +ALL_GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_motif.c gui_xmdlg.c gui_xmebw.c gui_gtk_x11.c gui_x11.c gui_haiku.cc +ALL_GUI_PRO = proto/gui.pro proto/gui_gtk.pro proto/gui_motif.pro proto/gui_xmdlg.pro proto/gui_gtk_x11.pro proto/gui_x11.pro proto/gui_w32.pro proto/gui_photon.pro + +# }}} + +TERM_DEPS = \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h \ + libvterm/src/rect.h \ + libvterm/src/utf8.h \ + libvterm/src/vterm_internal.h + +TERM_SRC = libvterm/src/*.c + +XDIFF_SRC = \ + xdiff/xdiffi.c \ + xdiff/xemit.c \ + xdiff/xprepare.c \ + xdiff/xutils.c \ + xdiff/xhistogram.c \ + xdiff/xpatience.c \ + +XDIFF_OBJS = \ + objects/xdiffi.o \ + objects/xemit.o \ + objects/xprepare.o \ + objects/xutils.o \ + objects/xhistogram.o \ + objects/xpatience.o \ + +XDIFF_INCL = \ + xdiff/xdiff.h \ + xdiff/xdiffi.h \ + xdiff/xemit.h \ + xdiff/xinclude.h \ + xdiff/xmacros.h \ + xdiff/xprepare.h \ + xdiff/xtypes.h \ + xdiff/xutils.h \ + +### Command to create dependencies based on #include "..." +### prototype headers are ignored due to -DPROTO, system +### headers #include <...> are ignored if we use the -MM option, as +### e.g. provided by gcc-cpp. +### Include FEAT_GUI to get dependency on gui.h +### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x. +CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \ + `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)` + + +################################################ +## no changes required below this line ## +################################################ + +SHELL = /bin/sh + +# We would normally use "mkdir -p" but it doesn't work properly everywhere. +# Using AC_PROG_MKDIR_P in configure.ac has a problem with the "auto" +# directory. Always use the install-sh script, it's slower but reliable. +MKDIR_P = $(SHELL) install-sh -c -d + +.SUFFIXES: +.SUFFIXES: .c .o .pro + +VTERM_CFLAGS = -Ilibvterm/include + +PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS) +POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(EXTRA_DEFS) + +ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(SANITIZER_CFLAGS) $(LEAK_CFLAGS) $(ABORT_CFLAGS) $(POST_DEFS) + +ALL_IF_CFLAGS = $(LUA_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(PYTHON3_CFLAGS) $(RUBY_CFLAGS) $(TCL_CFLAGS) +ALL_IF_CFLAGS_EXTRA = $(LUA_CFLAGS_EXTRA) $(PERL_CFLAGS_EXTRA) $(PYTHON_CFLAGS_EXTRA) $(PYTHON3_CFLAGS_EXTRA) $(RUBY_CFLAGS_EXTRA) $(TCL_CFLAGS_EXTRA) + +# Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together +# with "-E". +OSDEF_CFLAGS = $(PRE_DEFS) $(POST_DEFS) + +LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) $(ALL_IF_CFLAGS) $(VTERM_CFLAGS) \ + -Dinline= -D__extension__= -Dalloca=alloca + +LINT_EXTRA = -D"__attribute__(x)=" + +DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS) + +# Note: MZSCHEME_LIBS must come before LIBS, because LIBS adds -lm which is +# needed by racket. +ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR) +ALL_LIBS = \ + $(GUI_LIBS1) \ + $(GUI_X_LIBS) \ + $(GUI_LIBS2) \ + $(X_PRE_LIBS) \ + $(X_LIBS) \ + $(WAYLAND_LIBS) \ + $(X_EXTRA_LIBS) \ + $(MZSCHEME_LIBS) \ + $(LIBS) \ + $(EXTRA_LIBS) \ + $(LUA_LIBS) \ + $(PERL_LIBS) \ + $(PYTHON_LIBS) \ + $(PYTHON3_LIBS) \ + $(TCL_LIBS) \ + $(RUBY_LIBS) \ + $(PROFILE_LIBS) \ + $(SANITIZER_LIBS) \ + $(LEAK_LIBS) + +# abbreviations +DEST_BIN = $(DESTDIR)$(BINDIR) +DEST_MNV = $(DESTDIR)$(MNVLOC) +DEST_RT = $(DESTDIR)$(MNVRTLOC) +DEST_HELP = $(DESTDIR)$(HELPSUBLOC) +DEST_COL = $(DESTDIR)$(COLSUBLOC) +DEST_SYN = $(DESTDIR)$(SYNSUBLOC) +DEST_IND = $(DESTDIR)$(INDSUBLOC) +DEST_AUTO = $(DESTDIR)$(AUTOSUBLOC) +DEST_IMPORT = $(DESTDIR)$(IMPORTSUBLOC) +DEST_PLUG = $(DESTDIR)$(PLUGSUBLOC) +DEST_FTP = $(DESTDIR)$(FTPLUGSUBLOC) +DEST_LANG = $(DESTDIR)$(LANGSUBLOC) +DEST_COMP = $(DESTDIR)$(COMPSUBLOC) +DEST_KMAP = $(DESTDIR)$(KMAPSUBLOC) +DEST_MACRO = $(DESTDIR)$(MACROSUBLOC) +DEST_PACK = $(DESTDIR)$(PACKSUBLOC) +DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC) +DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC) +DEST_SPELL = $(DESTDIR)$(SPELLSUBLOC) +DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC) +DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC) +DEST_MAN_TOP = $(DESTDIR)$(MANDIR) + +# We assume that the ".../man/xx/man1/" directory is for latin1 manual pages. +# Some systems use UTF-8, but these should find the ".../man/xx.UTF-8/man1/" +# directory first. +# FreeBSD uses ".../man/xx.ISO8859-1/man1" for latin1, use that one too. +DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR) +DEST_MAN_DA = $(DEST_MAN_TOP)/da$(MAN1DIR) +DEST_MAN_DA_I = $(DEST_MAN_TOP)/da.ISO8859-1$(MAN1DIR) +DEST_MAN_DA_U = $(DEST_MAN_TOP)/da.UTF-8$(MAN1DIR) +DEST_MAN_DE = $(DEST_MAN_TOP)/de$(MAN1DIR) +DEST_MAN_DE_I = $(DEST_MAN_TOP)/de.ISO8859-1$(MAN1DIR) +DEST_MAN_DE_U = $(DEST_MAN_TOP)/de.UTF-8$(MAN1DIR) +DEST_MAN_FR = $(DEST_MAN_TOP)/fr$(MAN1DIR) +DEST_MAN_FR_I = $(DEST_MAN_TOP)/fr.ISO8859-1$(MAN1DIR) +DEST_MAN_FR_U = $(DEST_MAN_TOP)/fr.UTF-8$(MAN1DIR) +DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR) +DEST_MAN_IT_I = $(DEST_MAN_TOP)/it.ISO8859-1$(MAN1DIR) +DEST_MAN_IT_U = $(DEST_MAN_TOP)/it.UTF-8$(MAN1DIR) +DEST_MAN_JA_U = $(DEST_MAN_TOP)/ja$(MAN1DIR) +DEST_MAN_PL = $(DEST_MAN_TOP)/pl$(MAN1DIR) +DEST_MAN_PL_I = $(DEST_MAN_TOP)/pl.ISO8859-2$(MAN1DIR) +DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR) +DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR) +DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR) +DEST_MAN_SV = $(DEST_MAN_TOP)/sv$(MAN1DIR) +DEST_MAN_SV_I = $(DEST_MAN_TOP)/sv.ISO8859-1$(MAN1DIR) +DEST_MAN_SV_U = $(DEST_MAN_TOP)/sv.UTF-8$(MAN1DIR) +DEST_MAN_TR = $(DEST_MAN_TOP)/tr$(MAN1DIR) +DEST_MAN_TR_I = $(DEST_MAN_TOP)/tr.ISO8859-9$(MAN1DIR) +DEST_MAN_TR_U = $(DEST_MAN_TOP)/tr.UTF-8$(MAN1DIR) + +# stuff common to all systems +include Make_all.mak + +# get the list of tests +include testdir/Make_all.mak + +# BASIC_SRC: files that are always used +# GUI_SRC: extra GUI files for current configuration +# ALL_GUI_SRC: all GUI files for Unix +# +# SRC: files used for current configuration +# ALL_SRC: source files used for make depend and make lint + +BASIC_SRC = \ + alloc.c \ + arabic.c \ + arglist.c \ + autocmd.c \ + beval.c \ + blob.c \ + blowfish.c \ + buffer.c \ + change.c \ + charset.c \ + cindent.c \ + clientserver.c \ + clipboard.c \ + cmdexpand.c \ + cmdhist.c \ + crypt.c \ + crypt_zip.c \ + debugger.c \ + dict.c \ + diff.c \ + digraph.c \ + drawline.c \ + drawscreen.c \ + edit.c \ + eval.c \ + evalbuffer.c \ + evalfunc.c \ + evalvars.c \ + evalwindow.c \ + ex_cmds.c \ + ex_cmds2.c \ + ex_docmd.c \ + ex_eval.c \ + ex_getln.c \ + fileio.c \ + filepath.c \ + findfile.c \ + float.c \ + fold.c \ + fuzzy.c \ + getchar.c \ + gc.c \ + gui_xim.c \ + hardcopy.c \ + hashtab.c \ + help.c \ + highlight.c \ + if_cscope.c \ + if_xcmdsrv.c \ + indent.c \ + insexpand.c \ + json.c \ + linematch.c \ + list.c \ + locale.c \ + logfile.c \ + main.c \ + map.c \ + mark.c \ + match.c \ + mbyte.c \ + memfile.c \ + memline.c \ + menu.c \ + message.c \ + misc1.c \ + misc2.c \ + mouse.c \ + move.c \ + normal.c \ + ops.c \ + option.c \ + optionstr.c \ + os_unix.c \ + auto/pathdef.c \ + popupmenu.c \ + popupwin.c \ + profiler.c \ + pty.c \ + quickfix.c \ + regexp.c \ + register.c \ + screen.c \ + scriptfile.c \ + search.c \ + session.c \ + sha256.c \ + sign.c \ + sound.c \ + spell.c \ + spellfile.c \ + spellsuggest.c \ + strings.c \ + syntax.c \ + tabpanel.c \ + tag.c \ + term.c \ + terminal.c \ + testing.c \ + textformat.c \ + textobject.c \ + textprop.c \ + time.c \ + tuple.c \ + typval.c \ + ui.c \ + undo.c \ + usercmd.c \ + userfunc.c \ + version.c \ + mnv9class.c \ + mnv9cmds.c \ + mnv9compile.c \ + mnv9execute.c \ + mnv9expr.c \ + mnv9generics.c \ + mnv9instr.c \ + mnv9script.c \ + mnv9type.c \ + mnvinfo.c \ + window.c \ + bufwrite.c \ + $(OS_EXTRA_SRC) + +SRC = $(BASIC_SRC) \ + $(GUI_SRC) \ + $(TERM_SRC) \ + $(XDIFF_SRC) \ + $(LUA_SRC) \ + $(MZSCHEME_SRC) \ + $(PERL_SRC) \ + $(PYTHON_SRC) $(PYTHON3_SRC) \ + $(TCL_SRC) \ + $(RUBY_SRC) \ + $(WAYLAND_SRC) + +EXTRA_SRC = if_lua.c if_mzsch.c auto/if_perl.c \ + if_python.c if_python3.c if_tcl.c if_ruby.c \ + gui_beval.c netbeans.c job.c channel.c \ + $(GRESOURCE_SRC) + +$(WAYLAND_SRC): genwaylandproto + +.PHONY: genwaylandproto +genwaylandproto: + cd auto/wayland; $(MAKE) + +# Needed for parallel jobs to work +auto/wayland/ext-data-control-v1.h: auto/wayland/ext-data-control-v1.c +auto/wayland/wlr-data-control-unstable-v1.h: auto/wayland/wlr-data-control-unstable-v1.c +auto/wayland/primary-selection-unstable-v1.h: auto/wayland/primary-selection-unstable-v1.c +auto/wayland/xdg-shell.h: auto/wayland/xdg-shell.c + +# Unittest files +JSON_TEST_SRC = json_test.c +JSON_TEST_TARGET = json_test$(EXEEXT) +KWORD_TEST_SRC = kword_test.c +KWORD_TEST_TARGET = kword_test$(EXEEXT) +MEMFILE_TEST_SRC = memfile_test.c +MEMFILE_TEST_TARGET = memfile_test$(EXEEXT) +MESSAGE_TEST_SRC = message_test.c +MESSAGE_TEST_TARGET = message_test$(EXEEXT) + +UNITTEST_SRC = $(JSON_TEST_SRC) $(KWORD_TEST_SRC) $(MEMFILE_TEST_SRC) $(MESSAGE_TEST_SRC) +UNITTEST_TARGETS = $(JSON_TEST_TARGET) $(KWORD_TEST_TARGET) $(MEMFILE_TEST_TARGET) $(MESSAGE_TEST_TARGET) +# We need to put WAYLAND_SRC because the protocol files need to be generated +# else wayland.h will error +RUN_UNITTESTS = $(WAYLAND_SRC) run_json_test run_kword_test run_memfile_test run_message_test + +# All sources, also the ones that are not configured +ALL_LOCAL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(UNITTEST_SRC) $(EXTRA_SRC) \ + $(WAYLAND_SRC) +ALL_SRC = $(ALL_LOCAL_SRC) $(TERM_SRC) $(XDIFF_SRC) + +# Which files to check with lint. Select one of these three lines. ALL_SRC +# checks more, but may not work well for checking a GUI that wasn't configured. +# The perl sources also don't work well with lint. +LINT_SRC = $(BASIC_SRC) $(GUI_SRC) \ + $(PYTHON_SRC) $(PYTHON3_SRC) $(TCL_SRC) \ + $(NETBEANS_SRC) $(CHANNEL_SRC) $(TERM_SRC) +#LINT_SRC = $(SRC) +#LINT_SRC = $(ALL_SRC) +#LINT_SRC = $(BASIC_SRC) + +OBJ_COMMON = \ + objects/alloc.o \ + objects/arabic.o \ + objects/arglist.o \ + objects/autocmd.o \ + objects/beval.o \ + objects/buffer.o \ + objects/change.o \ + objects/blob.o \ + objects/blowfish.o \ + objects/cindent.o \ + objects/clientserver.o \ + objects/clipboard.o \ + objects/cmdexpand.o \ + objects/cmdhist.o \ + objects/crypt.o \ + objects/crypt_zip.o \ + objects/debugger.o \ + objects/dict.o \ + objects/diff.o \ + objects/digraph.o \ + objects/drawline.o \ + objects/drawscreen.o \ + objects/edit.o \ + objects/eval.o \ + objects/evalbuffer.o \ + objects/evalfunc.o \ + objects/evalvars.o \ + objects/evalwindow.o \ + objects/ex_cmds.o \ + objects/ex_cmds2.o \ + objects/ex_docmd.o \ + objects/ex_eval.o \ + objects/ex_getln.o \ + objects/fileio.o \ + objects/filepath.o \ + objects/findfile.o \ + objects/float.o \ + objects/fold.o \ + objects/fuzzy.o \ + objects/getchar.o \ + objects/gc.o \ + objects/gui_xim.o \ + objects/hardcopy.o \ + objects/hashtab.o \ + objects/help.o \ + objects/highlight.o \ + objects/if_cscope.o \ + objects/if_xcmdsrv.o \ + objects/indent.o \ + objects/insexpand.o \ + objects/linematch.o \ + objects/list.o \ + objects/locale.o \ + objects/logfile.o \ + objects/map.o \ + objects/mark.o \ + objects/match.o \ + objects/mbyte.o \ + objects/memline.o \ + objects/menu.o \ + objects/misc1.o \ + objects/misc2.o \ + objects/mouse.o \ + objects/move.o \ + objects/normal.o \ + objects/ops.o \ + objects/option.o \ + objects/optionstr.o \ + objects/os_unix.o \ + objects/pathdef.o \ + objects/popupmenu.o \ + objects/popupwin.o \ + objects/profiler.o \ + objects/pty.o \ + objects/quickfix.o \ + objects/regexp.o \ + objects/register.o \ + objects/screen.o \ + objects/scriptfile.o \ + objects/search.o \ + objects/session.o \ + objects/sha256.o \ + objects/sign.o \ + objects/sound.o \ + objects/spell.o \ + objects/spellfile.o \ + objects/spellsuggest.o \ + objects/strings.o \ + objects/syntax.o \ + objects/tabpanel.o \ + objects/tag.o \ + objects/term.o \ + objects/terminal.o \ + objects/testing.o \ + objects/textformat.o \ + objects/textobject.o \ + objects/textprop.o \ + objects/time.o \ + objects/tuple.o \ + objects/typval.o \ + objects/ui.o \ + objects/undo.o \ + objects/usercmd.o \ + objects/userfunc.o \ + objects/version.o \ + objects/mnv9class.o \ + objects/mnv9cmds.o \ + objects/mnv9compile.o \ + objects/mnv9execute.o \ + objects/mnv9expr.o \ + objects/mnv9generics.o \ + objects/mnv9instr.o \ + objects/mnv9script.o \ + objects/mnv9type.o \ + objects/mnvinfo.o \ + objects/window.o \ + objects/bufwrite.o \ + $(GUI_OBJ) \ + $(TERM_OBJ) \ + $(LUA_OBJ) \ + $(MZSCHEME_OBJ) \ + $(PERL_OBJ) \ + $(PYTHON_OBJ) \ + $(PYTHON3_OBJ) \ + $(TCL_OBJ) \ + $(RUBY_OBJ) \ + $(OS_EXTRA_OBJ) \ + $(NETBEANS_OBJ) \ + $(CHANNEL_OBJ) \ + $(XDIFF_OBJS_USED) \ + $(WAYLAND_OBJ) + +# The files included by tests are not in OBJ_COMMON. +OBJ_MAIN = \ + objects/charset.o \ + objects/json.o \ + objects/main.o \ + objects/memfile.o \ + objects/message.o + +OBJ = $(OBJ_COMMON) $(OBJ_MAIN) + +OBJ_JSON_TEST = \ + objects/charset.o \ + objects/memfile.o \ + objects/message.o \ + objects/json_test.o + +JSON_TEST_OBJ = $(OBJ_COMMON) $(OBJ_JSON_TEST) + +OBJ_KWORD_TEST = \ + objects/json.o \ + objects/memfile.o \ + objects/message.o \ + objects/kword_test.o + +KWORD_TEST_OBJ = $(OBJ_COMMON) $(OBJ_KWORD_TEST) + +OBJ_MEMFILE_TEST = \ + objects/charset.o \ + objects/json.o \ + objects/message.o \ + objects/memfile_test.o + +MEMFILE_TEST_OBJ = $(OBJ_COMMON) $(OBJ_MEMFILE_TEST) + +OBJ_MESSAGE_TEST = \ + objects/charset.o \ + objects/json.o \ + objects/memfile.o \ + objects/message_test.o + +MESSAGE_TEST_OBJ = $(OBJ_COMMON) $(OBJ_MESSAGE_TEST) + +ALL_OBJ = $(OBJ_COMMON) \ + $(OBJ_MAIN) \ + $(OBJ_JSON_TEST) \ + $(OBJ_KWORD_TEST) \ + $(OBJ_MEMFILE_TEST) \ + $(OBJ_MESSAGE_TEST) + + +PROTO_FILES = \ + proto/alloc.pro \ + proto/arabic.pro \ + proto/arglist.pro \ + proto/autocmd.pro \ + proto/beval.pro \ + proto/blob.pro \ + proto/blowfish.pro \ + proto/buffer.pro \ + proto/bufwrite.pro \ + proto/change.pro \ + proto/channel.pro \ + proto/charset.pro \ + proto/cindent.pro \ + proto/clientserver.pro \ + proto/clipboard.pro \ + proto/cmdexpand.pro \ + proto/cmdhist.pro \ + proto/crypt.pro \ + proto/crypt_zip.pro \ + proto/debugger.pro \ + proto/dict.pro \ + proto/diff.pro \ + proto/digraph.pro \ + proto/drawline.pro \ + proto/drawscreen.pro \ + proto/edit.pro \ + proto/eval.pro \ + proto/evalbuffer.pro \ + proto/evalfunc.pro \ + proto/evalvars.pro \ + proto/evalwindow.pro \ + proto/ex_cmds.pro \ + proto/ex_cmds2.pro \ + proto/ex_docmd.pro \ + proto/ex_eval.pro \ + proto/ex_getln.pro \ + proto/fileio.pro \ + proto/filepath.pro \ + proto/findfile.pro \ + proto/float.pro \ + proto/fold.pro \ + proto/fuzzy.pro \ + proto/gc.pro \ + proto/getchar.pro \ + proto/gui_beval.pro \ + proto/gui_gtk_gresources.pro \ + proto/gui_xim.pro \ + proto/hardcopy.pro \ + proto/hashtab.pro \ + proto/help.pro \ + proto/highlight.pro \ + proto/if_cscope.pro \ + proto/if_lua.pro \ + proto/if_mzsch.pro \ + proto/if_python.pro \ + proto/if_python3.pro \ + proto/if_ruby.pro \ + proto/if_tcl.pro \ + proto/if_xcmdsrv.pro \ + proto/indent.pro \ + proto/insexpand.pro \ + proto/job.pro \ + proto/json.pro \ + proto/linematch.pro \ + proto/list.pro \ + proto/locale.pro \ + proto/logfile.pro \ + proto/main.pro \ + proto/map.pro \ + proto/mark.pro \ + proto/match.pro \ + proto/mbyte.pro \ + proto/memfile.pro \ + proto/memline.pro \ + proto/menu.pro \ + proto/message.pro \ + proto/misc1.pro \ + proto/misc2.pro \ + proto/mouse.pro \ + proto/move.pro \ + proto/netbeans.pro \ + proto/normal.pro \ + proto/ops.pro \ + proto/option.pro \ + proto/optionstr.pro \ + proto/os_amiga.pro \ + proto/os_mac_conv.pro \ + proto/os_mswin.pro \ + proto/os_qnx.pro \ + proto/os_unix.pro \ + proto/os_vms.pro \ + proto/os_win32.pro \ + proto/popupmenu.pro \ + proto/popupwin.pro \ + proto/profiler.pro \ + proto/pty.pro \ + proto/quickfix.pro \ + proto/regexp.pro \ + proto/register.pro \ + proto/screen.pro \ + proto/scriptfile.pro \ + proto/search.pro \ + proto/session.pro \ + proto/sha256.pro \ + proto/sign.pro \ + proto/sound.pro \ + proto/spell.pro \ + proto/spellfile.pro \ + proto/spellsuggest.pro \ + proto/strings.pro \ + proto/syntax.pro \ + proto/tabpanel.pro \ + proto/tag.pro \ + proto/term.pro \ + proto/terminal.pro \ + proto/termlib.pro \ + proto/testing.pro \ + proto/textformat.pro \ + proto/textobject.pro \ + proto/textprop.pro \ + proto/time.pro \ + proto/tuple.pro \ + proto/typval.pro \ + proto/ui.pro \ + proto/undo.pro \ + proto/usercmd.pro \ + proto/userfunc.pro \ + proto/version.pro \ + proto/mnv9class.pro \ + proto/mnv9cmds.pro \ + proto/mnv9compile.pro \ + proto/mnv9execute.pro \ + proto/mnv9expr.pro \ + proto/mnv9generics.pro \ + proto/mnv9instr.pro \ + proto/mnv9script.pro \ + proto/mnv9type.pro \ + proto/mnvinfo.pro \ + proto/wayland.pro \ + proto/winclip.pro \ + proto/window.pro \ + $(ALL_GUI_PRO) + +# Default target is making the executable and tools +all: $(MNVTARGET) $(TOOLS) languages $(GUI_BUNDLE) + +tools: $(TOOLS) + +# Run configure with all the setting from above. +# +# Note: auto/config.h doesn't depend on configure, because running configure +# doesn't always update auto/config.h. The timestamp isn't changed if the +# file contents didn't change (to avoid recompiling everything). Including a +# dependency on auto/config.h would cause running configure each time when +# auto/config.h isn't updated. The dependency on auto/config.mk should make +# sure configure is run when it's needed. +# +# Remove the config.cache every time, once in a while it causes problems that +# are very hard to figure out. +# +config auto/config.mk: auto/configure config.mk.in config.h.in + -rm -f auto/config.cache + if test "X$(MAKECMDGOALS)" != "Xclean" \ + -a "X$(MAKECMDGOALS)" != "Xdistclean" \ + -a "X$(MAKECMDGOALS)" != "Xautoconf" \ + -a "X$(MAKECMDGOALS)" != "Xreconfig"; then \ + GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \ + CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \ + ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \ + $(CONF_OPT_AUTOSERVE) $(CONF_OPT_DARWIN) $(CONF_OPT_FAIL) \ + $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_PYTHON3) \ + $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \ + $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \ + $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) \ + $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \ + $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \ + $(CONF_OPT_CHANNEL) $(CONF_OPT_TERMINAL) \ + $(CONF_ARGS) $(CONF_ARGS1) $(CONF_ARGS2) $(CONF_ARGS3) \ + $(CONF_ARGS4) $(CONF_ARGS5) $(CONF_ARGS6) \ + $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME) \ + $(CONF_OPT_LUA) $(CONF_OPT_LUA_PREFIX) \ + $(CONF_OPT_SYSMOUSE) $(CONF_OPT_CANBERRA) $(CONF_OPT_SODIUM); \ + fi + +# Use "make reconfig" to rerun configure without cached values. +# When config.h changes, most things will be recompiled automatically. +# Invoke $(MAKE) to run config with the empty auto/config.mk. +# Invoke $(MAKE) to build all with the filled auto/config.mk. +reconfig: scratch clean + $(MAKE) -f Makefile config + $(MAKE) -f Makefile all + +# Run autoconf to produce auto/configure. +# Note: +# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of +# producing auto/configure. +# - autoconf is not run automatically, because a patch usually changes both +# configure.ac and auto/configure but can't update the timestamps. People +# who do not have (the correct version of) autoconf would run into trouble. +# +# Two tricks are required to make autoconf put its output in the "auto" dir: +# - Temporarily move the ./configure script to ./configure.save. Don't +# overwrite it, it's probably the result of an aborted autoconf. +# - Use sed to change ./config.log to auto/config.log in the configure script. +# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take +# care of: +# - autom4te.cache directory is created and not cleaned up. Delete it. +# - Uses ">config.log" instead of "./config.log". +autoconf: + if test ! -f configure.save; then mv configure configure.save; fi + $(AUTOCONF) + sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure + chmod 755 auto/configure + mv -f configure.save configure + -rm -rf autom4te.cache + -rm -f auto/config.status auto/config.cache + +# Run MNV script to generate the Ex command lookup table. +# This only needs to be run when a command name has been added or changed. +# If this fails because you don't have MNV yet, first build and install MNV +# without changes. +# This requires a "mnv" executable with the +eval feature. +cmdidxs: ex_cmds.h + mnv --clean -X --not-a-term -S create_cmdidxs.mnv -c quit + +# Run MNV script to generate the normal/visual mode command lookup table. +# This only needs to be run when a new normal/visual mode command has been +# added. +# This requires a "mnv" executable with the +eval feature. +# If this fails because you don't have MNV yet: +# - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command. +# - run "make nvcmdidxs" to generate nv_cmdidxs.h +nvcmdidxs: auto/config.mk nv_cmds.h + $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs + mnv --clean -X --not-a-term -S create_nvcmdidxs.mnv -c quit + -rm -f create_nvcmdidxs + +# The normal command to compile a .c file to its .o file. +# Without or with ALL_CFLAGS. +CCC_NF = $(CC) -c -I$(srcdir) +CCC = $(CCC_NF) $(ALL_CFLAGS) + + +# Link the target for normal use or debugging. +# A shell script is used to try linking without unnecessary libraries. +$(MNVTARGET): auto/config.mk $(OBJ) objects/version.o + @$(BUILD_DATE_MSG) + @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \ + -o $(MNVTARGET) $(OBJ) $(ALL_LIBS)" \ + MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \ + PROG="mnv" \ + sh $(srcdir)/link.sh + +xxd/xxd$(EXEEXT): xxd/xxd.c + cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(MAKE) -f Makefile + +# Build the language specific files if they were unpacked. +# Generate the converted .mo files separately, it's no problem if this fails. +languages: + @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ + cd $(PODIR); \ + CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) originals; \ + fi + -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ + cd $(PODIR); \ + CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \ + fi + +# Update the *.po files for changes in the sources. Only run manually. +update-po: + cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po + +# Generate function prototypes. Previously, cproto was used, but since there +# was a lot of fiddling to do to generate them correctly, so we switched to a +# Python script using libclang. It has the following features: +# - Only the bare minimum of macro definitions is required. +# - Generates the same .pro file even across different operating systems. +# (maybe) +# Note: the following proto files need to be manually updated: +# proto/gui_haiku.pro +# proto/if_ole.pro +# proto/if_perl.pro +# proto/os_macosx.pro +# +# How to set up environment to run `make proto` +# On Ubuntu 24.04: +# - Install libclang +# Use the package provided by Ubuntu. +# $ sudo apt install python3-clang +# Or, Create venv (if you want to use it freely with pip) +# $ python3 -m venv ~/venv +# $ source ~/venv/bin/activate +# $ pip install --upgrade pip +# $ pip install libclang +# On Windows 11 (using Git Bash): +# - Install GNU Make 3.81 or later. +# - Download and install Python from the Python official website. +# - Install libclang +# $ python -m pip install libclang +# - Change the following lines in this file: +# s/^PYTHON=python3/PYTHON=python/ +# s/^tags TAGS: notags/tags: notags/ +PYTHON=python3 + +.PHONY: proto protoclean +proto: $(PROTO_FILES) + +protoclean: + -rm -f $(PROTO_FILES) + +GEN_PROTO_CMD = proto/gen_prototypes.py +GEN_PROTO_ARG = -DPROTO -DFEAT_GUI -DFEAT_WAYLAND -DFEAT_WAYLAND_CLIPBOARD -I. + +# Add `GENPROTO_DEBUG=1` before $(PYTHON) to get debug output. +proto/%.pro: %.c + @$(PYTHON) $(GEN_PROTO_CMD) $< $(GEN_PROTO_ARG) + +proto/gui_gtk_gresources.pro: auto/gui_gtk_gresources.c + @$(PYTHON) $(GEN_PROTO_CMD) $< $(GEN_PROTO_ARG) + +notags: + -rm -f tags + +# Note: tags is made for the currently configured version. +# You can ignore error messages for missing files. +tags TAGS: notags + $(TAGPRG) $(TAGS_FILES) + +# Build the cscope database. +# This may search more files than necessary. +.PHONY: cscope csclean +csclean: + -rm -vf cscope.out +cscope.out: + cscope -bv ./*.[ch] ./*.cpp ./if_perl.xs auto/*.h auto/pathdef.c proto/*.pro xxd/xxd.c +cscope: csclean cscope.out ; + +# Make a highlight file for types. Requires Exuberant ctags and awk +types: types.mnv +types.mnv: $(TAGS_FILES) + ctags --c-kinds=gstu -o- $(TAGS_FILES) |\ + awk 'BEGIN{printf("syntax keyword Type\t")}\ + {printf("%s ", $$1)}END{print ""}' > $@ + echo "syn keyword Constant OK FAIL TRUE FALSE MAYBE" >> $@ + +# TESTING +# +# Execute the test scripts and the unittests. +# Do the scripttests first, so that the summary shows last. +test check: unittests $(TERM_TEST) scripttests + +# Execute the test scripts. Run these after compiling MNV, before installing. +# This doesn't depend on $(MNVTARGET), because that won't work when configure +# wasn't run yet. Restart make to build it instead. +# +# This will produce a lot of garbage on your screen, including a few error +# messages. Don't worry about that. +# If everything is alright, the final message will be "ALL DONE". If not you +# get "TEST FAILURE". +# +scripttests: + $(MAKE) -f Makefile $(MNVTARGET) + if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ + cd $(PODIR); $(MAKE) -f Makefile check MNVPROG=../$(MNVTARGET); \ + fi + -if test $(MNVTARGET) != mnv -a ! -r mnv; then \ + ln -s $(MNVTARGET) mnv; \ + fi + cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) MNVPROG=../$(MNVTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +# Run the tests with the GUI. Assumes mnv/gmnv was already built +testgui: + cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) MNVPROG=../$(MNVTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +testtiny: + cd testdir; $(MAKE) -f Makefile tiny MNVPROG=../$(MNVTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +# Run benchmarks. +benchmark: + cd testdir; \ + $(MAKE) -f Makefile benchmarkclean; \ + $(MAKE) -f Makefile benchmark MNVPROG=../$(MNVTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +unittesttargets: + $(MAKE) -f Makefile $(UNITTEST_TARGETS) + +# Swap these lines to run individual tests with gmnv instead of mnv. +MNVTESTTARGET = $(MNVTARGET) +# MNVTESTTARGET = $(GMNVTARGET) + +# Execute the unittests one by one. +unittest unittests: $(RUN_UNITTESTS) + +run_json_test: $(JSON_TEST_TARGET) + $(VALGRIND) ./$(JSON_TEST_TARGET) || exit 1; echo $* passed; + +run_kword_test: $(KWORD_TEST_TARGET) + $(VALGRIND) ./$(KWORD_TEST_TARGET) || exit 1; echo $* passed; + +run_memfile_test: $(MEMFILE_TEST_TARGET) + $(VALGRIND) ./$(MEMFILE_TEST_TARGET) || exit 1; echo $* passed; + +run_message_test: $(MESSAGE_TEST_TARGET) + $(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed; + +# Run the libvterm tests. +# This works only on GNU make, not on BSD make. +# Libtool requires "gcc". +test_libvterm: + @if $(MAKE) --version 2>/dev/null | grep -qs "GNU Make"; then \ + if test -x "/usr/bin/gcc"; then \ + cd libvterm; $(MAKE) -f Makefile test CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \ + fi \ + fi + +# Run individual OLD style test. +# These do not depend on the executable, compile it when needed. +$(SCRIPTS_TINY): + cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out MNVPROG=../$(MNVTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +# Run individual NEW style test. +# These do not depend on the executable, compile it when needed. +# Set $TEST_FILTER to select what test function to invoke, e.g.: +# export TEST_FILTER=Test_terminal_wipe_buffer +# A partial match also works: +# export TEST_FILTER=wipe_buffer +$(NEW_TESTS) test_mnv9: + cd testdir; $(MAKE) $@ MNVPROG=../$(MNVTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) + +newtests: + cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent MNVPROG=../$(MNVTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) + @if test -f testdir/test.log; then \ + cat testdir/test.log; \ + fi + cat testdir/messages + +testclean: + cd testdir; $(MAKE) -f Makefile clean + if test -d $(PODIR); then \ + cd $(PODIR); $(MAKE) checkclean; \ + fi + +# Unittests +# It's build just like MNV to satisfy all dependencies. +$(JSON_TEST_TARGET): auto/config.mk $(JSON_TEST_OBJ) objects/version.o + @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \ + -o $(JSON_TEST_TARGET) $(JSON_TEST_OBJ) $(ALL_LIBS)" \ + MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \ + PROG="json_test" \ + sh $(srcdir)/link.sh + +$(KWORD_TEST_TARGET): auto/config.mk $(KWORD_TEST_OBJ) objects/version.o + @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \ + -o $(KWORD_TEST_TARGET) $(KWORD_TEST_OBJ) $(ALL_LIBS)" \ + MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \ + PROG="kword_test" \ + sh $(srcdir)/link.sh + +$(MEMFILE_TEST_TARGET): auto/config.mk $(MEMFILE_TEST_OBJ) objects/version.o + @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \ + -o $(MEMFILE_TEST_TARGET) $(MEMFILE_TEST_OBJ) $(ALL_LIBS)" \ + MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \ + PROG="memfile_test" \ + sh $(srcdir)/link.sh + +$(MESSAGE_TEST_TARGET): auto/config.mk $(MESSAGE_TEST_OBJ) objects/version.o + @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \ + -o $(MESSAGE_TEST_TARGET) $(MESSAGE_TEST_OBJ) $(ALL_LIBS)" \ + MAKE="$(MAKE)" LINK_AS_NEEDED=$(LINK_AS_NEEDED) \ + PROG="message_test" \ + sh $(srcdir)/link.sh + +# install targets + +install: $(GUI_INSTALL) + +install_normal: installmnv installtools $(INSTALL_LANGS) install-icons + +install_gui_extra: installgtutorbin + +installmnv: installmnvbin installtutorbin \ + installruntime installlinks installmanlinks + +# +# Avoid overwriting an existing executable, somebody might be running it and +# overwriting it could cause it to crash. Deleting it is OK, it won't be +# really deleted until all running processes for it have exited. It is +# renamed first, in case the deleting doesn't work. +# +# If you want to keep an older version, rename it before running "make +# install". +# +installmnvbin: $(MNVTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN) + -if test -f $(DEST_BIN)/$(MNVTARGET); then \ + mv -f $(DEST_BIN)/$(MNVTARGET) $(DEST_BIN)/$(MNVNAME).rm; \ + rm -f $(DEST_BIN)/$(MNVNAME).rm; \ + fi + $(INSTALL_PROG) $(MNVTARGET) $(DEST_BIN) + $(STRIP) $(DEST_BIN)/$(MNVTARGET) + chmod $(BINMOD) $(DEST_BIN)/$(MNVTARGET) +# may create a link to the new executable from /usr/bin/vi + -$(LINKIT) + +# Long list of arguments for the shell script that installs the manual pages +# for one language. +INSTALLMANARGS = $(MNVLOC) $(SCRIPTLOC) $(MNVRCLOC) $(HELPSOURCE) $(MANMOD) \ + $(MNVNAME) $(MNVDIFFNAME) $(EMNVNAME) + +# Install most of the runtime files +installruntime: installrtbase installmacros installpack installtutor installspell + +# Install the help files; first adjust the contents for the final location. +# Also install most of the other runtime files. +installrtbase: $(HELPSOURCE)/mnv.1 $(DEST_MNV) $(MNVTARGET) $(DEST_RT) \ + $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) \ + $(DEST_SYN) $(DEST_SYN)/modula2 $(DEST_SYN)/modula2/opt $(DEST_SYN)/shared \ + $(DEST_IND) $(DEST_FTP) \ + $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \ + $(DEST_AUTO)/rust $(DEST_AUTO)/cargo \ + $(DEST_IMPORT) $(DEST_IMPORT)/dist \ + $(DEST_PLUG) \ + $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr \ + $(DEST_TUTOR)/ru $(DEST_TUTOR)/sv \ + $(DEST_SPELL) $(DEST_COMP) + -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS) +# Generate the help tags with ":helptags" to handle all languages. +# Move the distributed tags file aside and restore it, to avoid it being +# different from the repository. + cd $(HELPSOURCE); if test -z "$(CROSS_COMPILING)" -a -f tags; then \ + mv -f tags tags.dist; fi + @echo generating help tags + -@BUILD_DIR=`pwd`; cd $(HELPSOURCE); if test -z "$(CROSS_COMPILING)"; then \ + $(MAKE) MNVPROG="$$BUILD_DIR/$(MNVTARGET)" mnvtags; fi + cd $(HELPSOURCE); \ + files=`ls *.txt tags`; \ + files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \ + $(INSTALL_DATA) $$files $(DEST_HELP); \ + cd $(DEST_HELP); \ + chmod $(HELPMOD) $$files + $(INSTALL_DATA) $(HELPSOURCE)/*.pl $(DEST_HELP) + chmod $(SCRIPTMOD) $(DEST_HELP)/*.pl + cd $(HELPSOURCE); if test -f tags.dist; then mv -f tags.dist tags; fi +# install the menu files + $(INSTALL_DATA) $(SCRIPTSOURCE)/menu.mnv $(SYS_MENU_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_MENU_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/synmenu.mnv $(SYS_SYNMENU_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_SYNMENU_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/delmenu.mnv $(SYS_DELMENU_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_DELMENU_FILE) +# install the defaults/emnv/mswin file + $(INSTALL_DATA) $(SCRIPTSOURCE)/defaults.mnv $(MNV_DEFAULTS_FILE) + chmod $(MNVSCRIPTMOD) $(MNV_DEFAULTS_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/emnv.mnv $(EMNV_FILE) + chmod $(MNVSCRIPTMOD) $(EMNV_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/mswin.mnv $(MSWIN_FILE) + chmod $(MNVSCRIPTMOD) $(MSWIN_FILE) +# install the bugreport file + $(INSTALL_DATA) $(SCRIPTSOURCE)/bugreport.mnv $(SYS_BUGR_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_BUGR_FILE) +# install the example mnvrc files + $(INSTALL_DATA) $(SCRIPTSOURCE)/mnvrc_example.mnv $(DEST_SCRIPT) + chmod $(MNVSCRIPTMOD) $(DEST_SCRIPT)/mnvrc_example.mnv + $(INSTALL_DATA) $(SCRIPTSOURCE)/gmnvrc_example.mnv $(DEST_SCRIPT) + chmod $(MNVSCRIPTMOD) $(DEST_SCRIPT)/gmnvrc_example.mnv +# install the xdg file + $(INSTALL_DATA) $(SCRIPTSOURCE)/xdg.mnv $(DEST_SCRIPT) + chmod $(MNVSCRIPTMOD) $(DEST_SCRIPT)/xdg.mnv +# install the file type detection files + $(INSTALL_DATA) $(SCRIPTSOURCE)/filetype.mnv $(SYS_FILETYPE_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_FILETYPE_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/ftoff.mnv $(SYS_FTOFF_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_FTOFF_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/scripts.mnv $(SYS_SCRIPTS_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_SCRIPTS_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugin.mnv $(SYS_FTPLUGIN_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_FTPLUGIN_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/ftplugof.mnv $(SYS_FTPLUGOF_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_FTPLUGOF_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/indent.mnv $(SYS_INDENT_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_INDENT_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/indoff.mnv $(SYS_INDOFF_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_INDOFF_FILE) + $(INSTALL_DATA) $(SCRIPTSOURCE)/optwin.mnv $(SYS_OPTWIN_FILE) + chmod $(MNVSCRIPTMOD) $(SYS_OPTWIN_FILE) +# install README and LICENCE files + $(INSTALL_DATA) ../README.txt $(DEST_RT) + chmod $(HELPMOD) $(DEST_RT)/README.txt + $(INSTALL_DATA) ../LICENSE $(DEST_RT) + chmod $(HELPMOD) $(DEST_RT)/LICENSE +# install the print resource files + cd $(PRINTSOURCE); $(INSTALL_DATA) *.ps $(DEST_PRINT) + cd $(DEST_PRINT); chmod $(FILEMOD) *.ps +# install the colorscheme files + cd $(COLSOURCE); $(INSTALL_DATA_R) *.mnv lists tools README.txt $(DEST_COL) + cd $(DEST_COL); chmod $(DIRMOD) lists tools + cd $(DEST_COL); chmod $(HELPMOD) *.mnv README.txt lists/*.mnv tools/*.mnv +# install the syntax files + cd $(SYNSOURCE); $(INSTALL_DATA) *.mnv README.txt $(DEST_SYN) + cd $(DEST_SYN); chmod $(HELPMOD) *.mnv README.txt + cd $(SYNSOURCE)/shared; $(INSTALL_DATA) *.mnv README.txt $(DEST_SYN)/shared + cd $(DEST_SYN)/shared; chmod $(HELPMOD) *.mnv README.txt + cd $(SYNSOURCE)/modula2/opt; $(INSTALL_DATA) *.mnv $(DEST_SYN)/modula2/opt + cd $(DEST_SYN)/modula2/opt; chmod $(HELPMOD) *.mnv +# install the indent files + cd $(INDSOURCE); $(INSTALL_DATA) *.mnv README.txt $(DEST_IND) + cd $(DEST_IND); chmod $(HELPMOD) *.mnv README.txt +# install the standard autoload files + cd $(AUTOSOURCE); $(INSTALL_DATA) *.mnv README.txt $(DEST_AUTO) + cd $(DEST_AUTO); chmod $(HELPMOD) *.mnv README.txt + cd $(AUTOSOURCE)/dist; $(INSTALL_DATA) *.mnv $(DEST_AUTO)/dist + cd $(DEST_AUTO)/dist; chmod $(HELPMOD) *.mnv + cd $(AUTOSOURCE)/xml; $(INSTALL_DATA) *.mnv $(DEST_AUTO)/xml + cd $(DEST_AUTO)/xml; chmod $(HELPMOD) *.mnv + cd $(AUTOSOURCE)/cargo; $(INSTALL_DATA) *.mnv $(DEST_AUTO)/cargo + cd $(DEST_AUTO)/cargo; chmod $(HELPMOD) *.mnv + cd $(AUTOSOURCE)/rust; $(INSTALL_DATA) *.mnv $(DEST_AUTO)/rust + cd $(DEST_AUTO)/rust; chmod $(HELPMOD) *.mnv +# install the standard import files + cd $(IMPORTSOURCE)/dist; $(INSTALL_DATA) *.mnv $(DEST_IMPORT)/dist + cd $(DEST_IMPORT)/dist; chmod $(HELPMOD) *.mnv +# install the standard plugin files, but first remove existing ones + -rm -f $(DEST_PLUG)/*.mnv + cd $(PLUGSOURCE); $(INSTALL_DATA) *.mnv README.txt $(DEST_PLUG) + cd $(DEST_PLUG); chmod $(HELPMOD) *.mnv README.txt +# install the ftplugin files + cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.mnv README.txt logtalk.dict $(DEST_FTP) + cd $(DEST_FTP); chmod $(HELPMOD) *.mnv README.txt logtalk.dict +# install the compiler files + cd $(COMPSOURCE); $(INSTALL_DATA) *.mnv README.txt $(DEST_COMP) + cd $(DEST_COMP); chmod $(HELPMOD) *.mnv README.txt + +installmacros: $(DEST_MNV) $(DEST_RT) $(DEST_MACRO) + $(INSTALL_DATA_R) $(MACROSOURCE)/* $(DEST_MACRO) + chmod $(DIRMOD) `find $(DEST_MACRO) -type d -print` + chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print` + chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh +# When using CVS some CVS directories might have been copied. +# Also delete AAPDIR and *.info files. + cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR -o -name "*.info" \) -print`; \ + if test -n "$$cvs"; then \ + rm -rf $$cvs; \ + fi + +installpack: $(DEST_MNV) $(DEST_RT) $(DEST_PACK) + $(INSTALL_DATA_R) $(PACKSOURCE)/* $(DEST_PACK) + chmod $(DIRMOD) `find $(DEST_PACK) -type d -print` + chmod $(FILEMOD) `find $(DEST_PACK) -type f -print` + +# install the tutor files +installtutorbin: $(DEST_BIN) + $(INSTALL_DATA) mnvtutor $(DEST_BIN)/$(MNVNAME)tutor + chmod $(SCRIPTMOD) $(DEST_BIN)/$(MNVNAME)tutor + +installgtutorbin: $(DEST_BIN) + $(INSTALL_DATA) gmnvtutor $(DEST_BIN)/$(GMNVNAME)tutor + chmod $(SCRIPTMOD) $(DEST_BIN)/$(GMNVNAME)tutor + +installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/sv $(DEST_TUTOR)/ru + -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR) + -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ + -$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/ + -$(INSTALL_DATA) $(TUTORSOURCE)/ru/* $(DEST_TUTOR)/ru/ + -$(INSTALL_DATA) $(TUTORSOURCE)/sr/* $(DEST_TUTOR)/sr/ + -$(INSTALL_DATA) $(TUTORSOURCE)/sv/* $(DEST_TUTOR)/sv/ + -rm -f $(DEST_TUTOR)/*.info + chmod $(HELPMOD) $(DEST_TUTOR)/* + chmod $(DIRMOD) $(DEST_TUTOR)/en + chmod $(DIRMOD) $(DEST_TUTOR)/it + chmod $(DIRMOD) $(DEST_TUTOR)/ru + chmod $(DIRMOD) $(DEST_TUTOR)/sr + chmod $(DIRMOD) $(DEST_TUTOR)/sv + +# Install the spell files, if they exist. This assumes at least the English +# spell file is there. +installspell: $(DEST_MNV) $(DEST_RT) $(DEST_SPELL) + if test -f $(SPELLSOURCE)/en.latin1.spl; then \ + $(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(SPELLSOURCE)/*.sug $(SPELLSOURCE)/*.mnv $(DEST_SPELL); \ + chmod $(HELPMOD) $(DEST_SPELL)/*.spl $(DEST_SPELL)/*.sug $(DEST_SPELL)/*.mnv; \ + fi + +# install helper program xxd +installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \ + $(TOOLSSOURCE) $(DEST_MNV) $(DEST_RT) $(DEST_TOOLS) \ + $(INSTALL_TOOL_LANGS) + if test -f $(DEST_BIN)/xxd$(EXEEXT); then \ + mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \ + rm -f $(DEST_BIN)/xxd.rm; \ + fi + $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN) + $(STRIP) $(DEST_BIN)/xxd$(EXEEXT) + chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT) + -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS) + +# install the runtime tools + $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS) +# When using CVS some CVS directories might have been copied. + cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \ + if test -n "$$cvs"; then \ + rm -rf $$cvs; \ + fi + -chmod $(FILEMOD) $(DEST_TOOLS)/* +# replace the path in some tools + perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl + awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \ + awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \ + awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi + -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*` + +# install the language specific files for tools, if they were unpacked +install-tool-languages: + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA) "-da" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA_I) "-da" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DA_U) "-da.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE) "-de" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE_I) "-de" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_DE_U) "-de.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_JA_U) "-ja.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV) "-sv" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV_I) "-sv" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_SV_U) "-sv.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR) "-tr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR_I) "-tr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh xxd $(DEST_MAN_TR_U) "-tr.UTF-8" $(INSTALLMANARGS) + + +# install the language specific files, if they were unpacked +install-languages: languages $(DEST_LANG) $(DEST_KMAP) $(DEST_RT) + -$(SHELL) ./installman.sh install $(DEST_MAN_DA) "-da" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_DA_I) "-da" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_DA_U) "-da.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_DE) "-de" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_DE_I) "-de" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_DE_U) "-de.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_JA_U) "-ja.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_SV) "-sv" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_SV_I) "-sv" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_SV_U) "-sv.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_TR) "-tr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_TR_I) "-tr" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh install $(DEST_MAN_TR_U) "-tr.UTF-8" $(INSTALLMANARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_JA_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_RU) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_RU_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR_U) $(INSTALLMLARGS) + if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ + cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \ + INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \ + fi + if test -d $(LANGSOURCE); then \ + $(INSTALL_DATA) $(LANGSOURCE)/README.txt $(LANGSOURCE)/*.mnv $(DEST_LANG); \ + chmod $(FILEMOD) $(DEST_LANG)/README.txt $(DEST_LANG)/*.mnv; \ + fi + if test -d $(KMAPSOURCE); then \ + $(INSTALL_DATA) $(KMAPSOURCE)/README.txt $(KMAPSOURCE)/*.mnv $(DEST_KMAP); \ + chmod $(FILEMOD) $(DEST_KMAP)/README.txt $(DEST_KMAP)/*.mnv; \ + fi +# Installing translated README and LICENSE files + if test -d $(TRANSSOURCE) ; then \ + if test -n "$(LANG)" ; then \ + lngusr=$${LANG%%.*} ; \ + elif test -n "$(LANGUAGE)" ; then \ + lngusr=$${LANGUAGE%%:*} ; \ + elif test -n "$(LC_MESSAGES)" ; then \ + lngusr=$${LC_MESSAGES%%.*} ; \ + fi; \ + if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" -o "$$lngusr" = "pt_BR" ; then \ + lngusr=`echo $$lngusr | tr '[:upper:]' '[:lower:]'` ; \ + elif test -n "$$lngusr" -a "$$lngusr" != "C" -a "$$lngusr" != "POSIX" ; then \ + lngusr=$${lngusr%%_*} ; \ + fi ; \ + if test -f $(TRANSSOURCE)/README.$$lngusr.txt ; then \ + $(INSTALL_DATA) $(TRANSSOURCE)/README.$$lngusr.txt $(DEST_RT) ; \ + chmod $(HELPMOD) $(DEST_RT)/README.$$lngusr.txt ; \ + fi ; \ + if test -f $(TRANSSOURCE)/LICENSE.$$lngusr.txt ; then \ + $(INSTALL_DATA) $(TRANSSOURCE)/LICENSE.$$lngusr.txt $(DEST_RT) ; \ + chmod $(HELPMOD) $(DEST_RT)/LICENSE.$$lngusr.txt ; \ + fi ; \ + fi + +# Install the icons for KDE, if the directory exists and the icon doesn't. +# Always when $(DESTDIR) is not empty. +ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps +ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps +ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps +ICONTHEMEPATH = $(DATADIR)/icons/hicolor +DESKTOPPATH = $(DESTDIR)$(DATADIR)/applications +KDEPATH = $(HOME)/.kde/share/icons +install-icons: + if test -n "$(DESTDIR)$(DATADIR)"; then \ + $(MKDIR_P) $(ICON48PATH) $(ICON32PATH) \ + $(ICON16PATH) $(DESKTOPPATH); \ + fi + + if test -d $(ICON48PATH) -a -w $(ICON48PATH) \ + -a ! -f $(ICON48PATH)/gmnv.png; then \ + $(INSTALL_DATA) $(SCRIPTSOURCE)/mnv48x48.png $(ICON48PATH)/gmnv.png; \ + if test -z "$(DESTDIR)" -a -x "$(GTK_UPDATE_ICON_CACHE)" \ + -a -w $(ICONTHEMEPATH) \ + -a -f $(ICONTHEMEPATH)/index.theme; then \ + $(GTK_UPDATE_ICON_CACHE) -q $(ICONTHEMEPATH); \ + fi \ + fi + if test -d $(ICON32PATH) -a -w $(ICON32PATH) \ + -a ! -f $(ICON32PATH)/gmnv.png; then \ + $(INSTALL_DATA) $(SCRIPTSOURCE)/mnv32x32.png $(ICON32PATH)/gmnv.png; \ + fi + if test -d $(ICON16PATH) -a -w $(ICON16PATH) \ + -a ! -f $(ICON16PATH)/gmnv.png; then \ + $(INSTALL_DATA) $(SCRIPTSOURCE)/mnv16x16.png $(ICON16PATH)/gmnv.png; \ + fi + if test -d $(DESKTOPPATH) -a -w $(DESKTOPPATH); then \ + if test -f po/mnv.desktop -a -f po/gmnv.desktop; then \ + $(INSTALL_DATA) po/mnv.desktop po/gmnv.desktop \ + $(DESKTOPPATH); \ + else \ + $(INSTALL_DATA) $(SCRIPTSOURCE)/mnv.desktop \ + $(SCRIPTSOURCE)/gmnv.desktop \ + $(DESKTOPPATH); \ + fi; \ + if test -z "$(DESTDIR)" -a -x "$(UPDATE_DESKTOP_DATABASE)"; then \ + $(UPDATE_DESKTOP_DATABASE) -q $(DESKTOPPATH); \ + fi \ + fi + +$(HELPSOURCE)/mnv.1 $(MACROSOURCE) $(TOOLSSOURCE): + @echo Runtime files not found. + @echo You need to unpack the runtime archive before running "make install". + test -f error + +$(DESTDIR)$(exec_prefix) $(DEST_BIN) \ + $(DEST_MNV) $(DEST_RT) $(DEST_HELP) \ + $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_SYN)/shared \ + $(DEST_SYN)/modula2 $(DEST_SYN)/modula2/opt \ + $(DEST_IND) $(DEST_FTP) \ + $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \ + $(DEST_PACK) $(DEST_TOOLS) \ + $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it \ + $(DEST_TUTOR)/sr $(DEST_TUTOR)/ru $(DEST_TUTOR)/sv \ + $(DEST_SPELL) \ + $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \ + $(DEST_AUTO)/cargo $(DEST_AUTO)/rust \ + $(DEST_IMPORT) $(DEST_IMPORT)/dist $(DEST_PLUG): + $(MKDIR_P) $@ + -chmod $(DIRMOD) $@ + +# Create links from various names to mnv. This is only done when the links +# (or executables with the same name) don't exist yet. +installlinks: $(GUI_TARGETS) \ + $(DEST_BIN)/$(EXTARGET) \ + $(DEST_BIN)/$(VIEWTARGET) \ + $(DEST_BIN)/$(RMNVTARGET) \ + $(DEST_BIN)/$(RVIEWTARGET) \ + $(INSTALLMNVDIFF) + +installglinks: $(DEST_BIN)/$(GMNVTARGET) \ + $(DEST_BIN)/$(GVIEWTARGET) \ + $(DEST_BIN)/$(RGMNVTARGET) \ + $(DEST_BIN)/$(RGVIEWTARGET) \ + $(DEST_BIN)/$(EMNVTARGET) \ + $(DEST_BIN)/$(EVIEWTARGET) \ + $(INSTALLGMNVDIFF) + +installmnvdiff: $(DEST_BIN)/$(MNVDIFFTARGET) +installgmnvdiff: $(DEST_BIN)/$(GMNVDIFFTARGET) + +$(DEST_BIN)/$(EXTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(EXTARGET) + +$(DEST_BIN)/$(VIEWTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(VIEWTARGET) + +$(DEST_BIN)/$(GMNVTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(GMNVTARGET) + +$(DEST_BIN)/$(GVIEWTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(GVIEWTARGET) + +$(DEST_BIN)/$(RMNVTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(RMNVTARGET) + +$(DEST_BIN)/$(RVIEWTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(RVIEWTARGET) + +$(DEST_BIN)/$(RGMNVTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(RGMNVTARGET) + +$(DEST_BIN)/$(RGVIEWTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(RGVIEWTARGET) + +$(DEST_BIN)/$(MNVDIFFTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(MNVDIFFTARGET) + +$(DEST_BIN)/$(GMNVDIFFTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(GMNVDIFFTARGET) + +$(DEST_BIN)/$(EMNVTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(EMNVTARGET) + +$(DEST_BIN)/$(EVIEWTARGET): $(DEST_BIN) + cd $(DEST_BIN); ln -sf $(MNVTARGET) $(EVIEWTARGET) + +# Create links for the manual pages with various names to mnv. This is only +# done when the links (or manpages with the same name) don't exist yet. + +INSTALLMLARGS = $(MNVNAME) $(MNVDIFFNAME) $(EMNVNAME) \ + $(EXNAME) $(VIEWNAME) $(RMNVNAME) $(RVIEWNAME) \ + $(GMNVNAME) $(GVIEWNAME) $(RGMNVNAME) $(RGVIEWNAME) \ + $(GMNVDIFFNAME) $(EVIEWNAME) + +installmanlinks: + -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN) $(INSTALLMLARGS) + +uninstall: uninstall_runtime + -rm -f $(DEST_BIN)/$(MNVTARGET) + -rm -f $(DEST_BIN)/mnvtutor + -rm -f $(DEST_BIN)/gmnvtutor + -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET) + -rm -f $(DEST_BIN)/$(GMNVTARGET) $(DEST_BIN)/$(GVIEWTARGET) + -rm -f $(DEST_BIN)/$(RMNVTARGET) $(DEST_BIN)/$(RVIEWTARGET) + -rm -f $(DEST_BIN)/$(RGMNVTARGET) $(DEST_BIN)/$(RGVIEWTARGET) + -rm -f $(DEST_BIN)/$(MNVDIFFTARGET) $(DEST_BIN)/$(GMNVDIFFTARGET) + -rm -f $(DEST_BIN)/$(EMNVTARGET) $(DEST_BIN)/$(EVIEWTARGET) + -rm -f $(DEST_BIN)/xxd$(EXEEXT) + +# Note: the "rmdir" will fail if any files were added after "make install" +uninstall_runtime: + -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DA_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_DE_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_FR_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_JA_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_PL_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_RU_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_SV_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR_I) "" $(INSTALLMANARGS) + -$(SHELL) ./installman.sh uninstall $(DEST_MAN_TR_U) "" $(INSTALLMANARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DA_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_DE_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_FR_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_IT_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_JA_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_PL_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_RU) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_RU_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_SV_U) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR_I) $(INSTALLMLARGS) + -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \ + $(DEST_MAN_TR_U) $(INSTALLMLARGS) + -rm -f $(DEST_MAN)/xxd.1 + -rm -f $(DEST_MAN_DA)/xxd.1 $(DEST_MAN_DA_I)/xxd.1 $(DEST_MAN_DA_U)/xxd.1 + -rm -f $(DEST_MAN_DE)/xxd.1 $(DEST_MAN_DE_I)/xxd.1 $(DEST_MAN_DE_U)/xxd.1 + -rm -f $(DEST_MAN_FR)/xxd.1 $(DEST_MAN_FR_I)/xxd.1 $(DEST_MAN_FR_U)/xxd.1 + -rm -f $(DEST_MAN_IT)/xxd.1 $(DEST_MAN_IT_I)/xxd.1 $(DEST_MAN_IT_U)/xxd.1 + -rm -f $(DEST_MAN_JA_U)/xxd.1 + -rm -f $(DEST_MAN_PL)/xxd.1 $(DEST_MAN_PL_I)/xxd.1 $(DEST_MAN_PL_U)/xxd.1 + -rm -f $(DEST_MAN_RU)/xxd.1 $(DEST_MAN_RU_U)/xxd.1 + -rm -f $(DEST_MAN_SV)/xxd.1 $(DEST_MAN_SV_I)/xxd.1 $(DEST_MAN_SV_U)/xxd.1 + -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl + -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-?? + -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE) + -rm -f $(SYS_BUGR_FILE) $(MNV_DEFAULTS_FILE) $(EMNV_FILE) $(MSWIN_FILE) + -rm -f $(DEST_SCRIPT)/gmnvrc_example.mnv $(DEST_SCRIPT)/mnvrc_example.mnv + -rm -f $(SYS_FILETYPE_FILE) $(SYS_FTOFF_FILE) $(SYS_SCRIPTS_FILE) + -rm -f $(SYS_INDOFF_FILE) $(SYS_INDENT_FILE) + -rm -f $(SYS_FTPLUGOF_FILE) $(SYS_FTPLUGIN_FILE) + -rm -f $(SYS_OPTWIN_FILE) + -rm -f $(DEST_COL)/*.mnv $(DEST_COL)/README.txt + -rm -rf $(DEST_COL)/tools + -rm -f $(DESKTOPPATH)/mnv.desktop $(DESKTOPPATH)/gmnv.desktop + -rm -f $(ICON16PATH)/gmnv.png $(ICON32PATH)/gmnv.png $(ICON48PATH)/gmnv.png + -rm -rf $(DEST_COL)/lists + -rm -f $(DEST_SYN)/shared/*.mnv $(DEST_SYN)/shared/README.txt + -rm -f $(DEST_SYN)/modula2/opt/*.mnv + -rm -f $(DEST_SYN)/*.mnv $(DEST_SYN)/README.txt + -rm -f $(DEST_IND)/*.mnv $(DEST_IND)/README.txt + -rm -rf $(DEST_MACRO) + -rm -rf $(DEST_PACK) + -rm -rf $(DEST_TUTOR)/en + -rm -rf $(DEST_TUTOR)/it + -rm -rf $(DEST_TUTOR)/ru + -rm -rf $(DEST_TUTOR)/sr + -rm -rf $(DEST_TUTOR)/sv + -rm -rf $(DEST_TUTOR) + -rm -rf $(DEST_SPELL) + -rm -rf $(DEST_TOOLS) + -rm -rf $(DEST_LANG) + -rm -rf $(DEST_KMAP) + -rm -rf $(DEST_COMP) + -rm -f $(DEST_PRINT)/*.ps + -rmdir $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN)/shared + -rmdir $(DEST_SYN)/modula2/opt $(DEST_SYN)/modula2 + -rmdir $(DEST_SYN) $(DEST_IND) + -rm -rf $(DEST_FTP)/*.mnv $(DEST_FTP)/README.txt $(DEST_FTP)/logtalk.dict + -rm -f $(DEST_AUTO)/*.mnv $(DEST_AUTO)/README.txt + -rm -f $(DEST_AUTO)/dist/*.mnv $(DEST_AUTO)/xml/*.mnv $(DEST_AUTO)/cargo/*.mnv $(DEST_AUTO)/rust/*.mnv + -rm -f $(DEST_IMPORT)/dist/*.mnv + -rm -f $(DEST_PLUG)/*.mnv $(DEST_PLUG)/README.txt + -rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)/cargo $(DEST_AUTO)/rust $(DEST_AUTO) + -rmdir $(DEST_IMPORT)/dist $(DEST_IMPORT) + -rm -f $(DEST_RT)/README.??.txt + -rm -f $(DEST_RT)/README.??_??.txt + -rm -f $(DEST_RT)/LICENSE.??.txt + -rm -f $(DEST_RT)/LICENSE.??_??.txt + -rm -f $(DEST_RT)/README.txt $(DEST_RT)/LICENSE + -rmdir $(DEST_PLUG) $(DEST_RT) +# This will fail when other MNV versions are installed, no worries. + -rmdir $(DEST_MNV) + +# Clean up all the files that have been produced, except configure's. +# We support common typing mistakes for Juergen! :-) +clean celan: testclean + -rm -f *.o core $(MNVTARGET).core $(MNVTARGET) mnv + -rm -rf objects + -rm -f auto/osdef.h auto/pathdef.c auto/if_perl.c auto/gui_gtk_gresources.c auto/gui_gtk_gresources.h auto/os_haiku.rdef + -rm -f conftest* *~ auto/link.sed + -rm -f testdir/opt_test.mnv + -rm -f $(UNITTEST_TARGETS) + -rm -f runtime pixmaps + -rm -f mzscheme_base.c + -rm -rf libvterm/.libs libvterm/src/.libs libvterm/t/.libs libvterm/src/*.o libvterm/src/*.lo libvterm/t/*.o libvterm/t/*.lo libvterm/t/harness libvterm/libvterm.la + if test -d $(PODIR); then \ + cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \ + fi + cd xxd; $(MAKE) clean + cd auto/wayland; $(MAKE) clean + +# Make a shadow directory for compilation on another system or with different +# features: +# % make shadow +# % cd shadow +# edit configuration in src/shadow/Makefile +# % make +# +# Alternatively use a link for the Makefile and run configure with flags in +# another way. When new source files are added use "shadowupdate": +# % cd shadow +# % rm Makefile +# % ln -s ../Makefile . +# % ./configure {options} +# % make +# And later: +# % git pull +# % make distclean shadowupdate +# % ./configure {options} +# % make +SHADOWDIR = shadow + +LINKEDFILES = ../*.[chm] ../*.cc ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../mnvtutor ../gmnvtutor ../install-sh ../Make_all.mak + +shadow: runtime pixmaps + $(MKDIR_P) $(SHADOWDIR) + cd $(SHADOWDIR); ln -s $(LINKEDFILES) . + mkdir $(SHADOWDIR)/auto + mkdir $(SHADOWDIR)/auto/wayland + cd $(SHADOWDIR)/auto/wayland; ln -s ../../../auto/wayland/* . + cd $(SHADOWDIR)/auto; ln -s ../../auto/configure . + $(MKDIR_P) $(SHADOWDIR)/po + cd $(SHADOWDIR)/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.mnv ../../po/*.in ../../po/Makefile ../../po/*.c . + cd $(SHADOWDIR); rm -f auto/link.sed + cp Makefile configure $(SHADOWDIR) + rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist + cp config.mk.dist $(SHADOWDIR)/auto/config.mk + cp config.mk.dist $(SHADOWDIR) + $(MKDIR_P) $(SHADOWDIR)/xxd + cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* . + $(MKDIR_P) $(SHADOWDIR)/xdiff + cd $(SHADOWDIR)/xdiff; ln -s ../../xdiff/*.[ch] . + $(MKDIR_P) $(SHADOWDIR)/testdir + cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \ + ../../testdir/Make_all.mak \ + ../../testdir/README.txt \ + ../../testdir/*.in \ + ../../testdir/*.mnv \ + ../../testdir/*.py \ + ../../testdir/python* \ + ../../testdir/pyxfile \ + ../../testdir/ru_RU \ + ../../testdir/sautest \ + ../../testdir/samples \ + ../../testdir/util \ + ../../testdir/dumps \ + ../../testdir/*.ok \ + ../../testdir/testluaplugin \ + . + +# After updating MNV new files may have been created, use this to refresh the +# symbolic links in the shadow directory. This isn't guaranteed to catch all +# changes, running "make shadow" again might sometimes be needed. +shadowupdate: + ln -sf $(LINKEDFILES) . + +# Link needed for doing "make install" in a shadow directory. +runtime: + -ln -s ../runtime . + -ln -s ../README.txt . + -ln -s ../LICENSE . + +# Link needed for doing "make" using GTK in a shadow directory. +pixmaps: + -ln -s ../pixmaps . + +# Update the synmenu.mnv file with the latest Syntax menu. +# This is only needed when runtime/makemenu.mnv was changed. +menu: ./mnv ../runtime/makemenu.mnv + ./mnv --clean -X --not-a-term -S ../runtime/makemenu.mnv + +# Start configure from scratch +scrub scratch: + -rm -f auto/config.status auto/config.cache config.log auto/config.log + -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk + touch auto/config.h + cp config.mk.dist auto/config.mk + +distclean: clean scratch + -rm -f tags + +dist: distclean + @echo + @echo Making the distribution has to be done in the top directory + +mdepend: + -@rm -f Makefile~ + cp Makefile Makefile~ + sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make + @for i in $(ALL_SRC) ; do \ + echo "$$i" ; \ + echo `echo "$$i" | sed -e 's/[^ ]*\.c$$/objects\/\1.o/'`": $$i" `\ + $(CPP) $$i |\ + grep '^# .*"\./.*\.h"' |\ + sort -t'"' -u +1 -2 |\ + sed -e 's/.*"\.\/\(.*\)".*/\1/'\ + ` >> tmp_make ; \ + done + mv tmp_make Makefile + +# this needs a MNV build with Perl & Wayland +depend: + -@rm -f Makefile~ + cp Makefile Makefile~ + sed -e '/\#\#\# Dependencies/q' < Makefile > tmp_make + -for i in $(ALL_LOCAL_SRC); do echo $$i; \ + $(CPP_DEPEND) $$i | \ + sed -e 's+^\([^ ]*\.o\)+objects/\1+' -e 's+proto/[^ ]*\.pro[ ]*++' >> tmp_make; done + -for i in $(TERM_SRC); do echo $$i; \ + $(CPP_DEPEND) $$i | \ + sed -e 's+^\([^ ]*\.o\)+objects/vterm_\1+' -e 's+proto/[^ ]*\.pro[ ]*++' >> tmp_make; done + -for i in $(XDIFF_SRC); do echo $$i; \ + $(CPP_DEPEND) $$i | \ + sed -e 's+^\([^ ]*\.o\)+objects/\1+' -e 's+proto/[^ ]*\.pro[ ]*++' -e 's+xdiff/\.\./++g' >> tmp_make; done + -for i in $(PROTO_FILES); do \ + base=`basename $$i .pro`; \ + echo "$$i: $$base.c" >> tmp_make; done + mv tmp_make Makefile + +# Run lint. Clean up the *.ln files that are sometimes left behind. +lint: + $(LINT) $(LINT_OPTIONS) $(LINT_CFLAGS) $(LINT_EXTRA) $(LINT_SRC) + -rm -f *.ln + +# Check dosinst.c with lint. +lintinstall: + $(LINT) $(LINT_OPTIONS) -DWIN32 -DUNIX_LINT dosinst.c + -rm -f dosinst.ln + +########################################################################### + +.c.o: + $(CCC) $< + +auto/if_perl.c: if_perl.xs + $(PERL) $(PERL_XSUBPP) -prototypes -typemap \ + $(PERLLIB)/ExtUtils/typemap if_perl.xs > $@ + +auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in + CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh + +auto/os_haiku.rdef: os_haiku.rdef.in + @echo creating $@ + @echo '/* This file is automatically created by Makefile */' >> $@ + @echo '/* DO NOT EDIT! Change Makefile only. */' >> $@ + @cat $(srcdir)/os_haiku.rdef.in >> auto/os_haiku.rdef + sed -i "s|@MAJOR@|$(MNVMAJOR)|" auto/os_haiku.rdef + sed -i "s|@MINOR@|$(MNVMINOR)|" auto/os_haiku.rdef + +auto/pathdef.c: Makefile auto/config.mk + -@echo creating $@ + -@echo '/* pathdef.c */' > $@ + -@echo '/* This file is automatically created by Makefile' >> $@ + -@echo ' * DO NOT EDIT! Change Makefile only. */' >> $@ + -@echo '#include "mnv.h"' >> $@ + -@echo 'char_u *default_mnv_dir = (char_u *)"$(MNVRCLOC)";' | $(QUOTESED) >> $@ + -@echo 'char_u *default_mnvruntime_dir = (char_u *)"$(MNVRUNTIMEDIR)";' | $(QUOTESED) >> $@ + -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@ + -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(MNVTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@ + -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@ + -@if test -n "$(COMPILEDBY)"; then \ + echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \ + else (logname 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi + -@echo '";' >> $@ + -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@ + -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi + -@echo '";' >> $@ + -@sh $(srcdir)/pathdef.sh + +GUI_GTK_RES_INPUTS = \ + ../pixmaps/stock_mnv_build_tags.png \ + ../pixmaps/stock_mnv_find_help.png \ + ../pixmaps/stock_mnv_save_all.png \ + ../pixmaps/stock_mnv_session_load.png \ + ../pixmaps/stock_mnv_session_new.png \ + ../pixmaps/stock_mnv_session_save.png \ + ../pixmaps/stock_mnv_shell.png \ + ../pixmaps/stock_mnv_window_maximize.png \ + ../pixmaps/stock_mnv_window_maximize_width.png \ + ../pixmaps/stock_mnv_window_minimize.png \ + ../pixmaps/stock_mnv_window_minimize_width.png \ + ../pixmaps/stock_mnv_window_split.png \ + ../pixmaps/stock_mnv_window_split_vertical.png + +auto/gui_gtk_gresources.c: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS) + $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml +auto/gui_gtk_gresources.h: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS) + if test -z "$(GLIB_COMPILE_RESOURCES)"; then touch $@; else \ + $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml; \ + fi + +# Dependencies through mnv.h that most targets depend on. Used by targets +# that are not taken care of by "make depend". +MNV_H_DEPENDENCIES = \ + mnv.h protodef.h auto/config.h feature.h os_unix.h \ + auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ + proto.h globals.h errors.h + +# All the object files are put in the "objects" directory. Since not all make +# commands understand putting object files in another directory, it must be +# specified for each file separately. + +objects: objects/.dirstamp + +objects/.dirstamp: + $(MKDIR_P) objects + touch objects/.dirstamp + +# All object files depend on the objects directory, so that parallel make +# works. Can't depend on the directory itself, its timestamp changes all the +# time. +$(ALL_OBJ): objects/.dirstamp + +objects/alloc.o: alloc.c + $(CCC) -o $@ alloc.c + +objects/arabic.o: arabic.c + $(CCC) -o $@ arabic.c + +objects/arglist.o: arglist.c + $(CCC) -o $@ arglist.c + +objects/autocmd.o: autocmd.c + $(CCC) -o $@ autocmd.c + +objects/blob.o: blob.c + $(CCC) -o $@ blob.c + +objects/blowfish.o: blowfish.c + $(CCC) -o $@ blowfish.c + +objects/buffer.o: buffer.c + $(CCC) -o $@ buffer.c + +objects/bufwrite.o: bufwrite.c + $(CCC) -o $@ bufwrite.c + +objects/change.o: change.c + $(CCC) -o $@ change.c + +objects/charset.o: charset.c + $(CCC) -o $@ charset.c + +objects/cindent.o: cindent.c + $(CCC) -o $@ cindent.c + +objects/clientserver.o: clientserver.c + $(CCC) -o $@ clientserver.c + +objects/clipboard.o: clipboard.c $(WAYLAND_SRC) + $(CCC) -o $@ clipboard.c + +objects/cmdexpand.o: cmdexpand.c + $(CCC) -o $@ cmdexpand.c + +objects/cmdhist.o: cmdhist.c + $(CCC) -o $@ cmdhist.c + +objects/crypt.o: crypt.c + $(CCC) -o $@ crypt.c + +objects/crypt_zip.o: crypt_zip.c + $(CCC) -o $@ crypt_zip.c + +objects/debugger.o: debugger.c + $(CCC) -o $@ debugger.c + +objects/dict.o: dict.c + $(CCC) -o $@ dict.c + +objects/diff.o: diff.c $(XDIFF_INCL) + $(CCC) -o $@ diff.c + +objects/digraph.o: digraph.c + $(CCC) -o $@ digraph.c + +objects/drawline.o: drawline.c + $(CCC) -o $@ drawline.c + +objects/drawscreen.o: drawscreen.c + $(CCC) -o $@ drawscreen.c + +objects/edit.o: edit.c + $(CCC) -o $@ edit.c + +objects/eval.o: eval.c + $(CCC) -o $@ eval.c + +objects/evalbuffer.o: evalbuffer.c + $(CCC) -o $@ evalbuffer.c + +objects/evalfunc.o: evalfunc.c + $(CCC) -o $@ evalfunc.c + +objects/evalvars.o: evalvars.c + $(CCC) -o $@ evalvars.c + +objects/evalwindow.o: evalwindow.c + $(CCC) -o $@ evalwindow.c + +objects/ex_cmds.o: ex_cmds.c + $(CCC) -o $@ ex_cmds.c + +objects/ex_cmds2.o: ex_cmds2.c + $(CCC) -o $@ ex_cmds2.c + +objects/ex_docmd.o: ex_docmd.c + $(CCC) -o $@ ex_docmd.c + +objects/ex_eval.o: ex_eval.c + $(CCC) -o $@ ex_eval.c + +objects/ex_getln.o: ex_getln.c + $(CCC) -o $@ ex_getln.c + +objects/fileio.o: fileio.c + $(CCC) -o $@ fileio.c + +objects/filepath.o: filepath.c + $(CCC) -o $@ filepath.c + +objects/findfile.o: findfile.c + $(CCC) -o $@ findfile.c + +objects/float.o: float.c + $(CCC) -o $@ float.c + +objects/fold.o: fold.c + $(CCC) -o $@ fold.c + +objects/fuzzy.o: fuzzy.c + $(CCC) -o $@ fuzzy.c + +objects/getchar.o: getchar.c + $(CCC) -o $@ getchar.c + +objects/gc.o: gc.c + $(CCC) -o $@ gc.c + +objects/hardcopy.o: hardcopy.c + $(CCC) -o $@ hardcopy.c + +objects/hashtab.o: hashtab.c + $(CCC) -o $@ hashtab.c + +objects/help.o: help.c + $(CCC) -o $@ help.c + +objects/gui.o: gui.c + $(CCC) -o $@ gui.c + +objects/beval.o: beval.c + $(CCC) -o $@ beval.c + +objects/gui_beval.o: gui_beval.c + $(CCC) -o $@ gui_beval.c + +objects/gui_gtk.o: gui_gtk.c + $(CCC) -o $@ gui_gtk.c + +objects/gui_gtk_f.o: gui_gtk_f.c + $(CCC) -o $@ gui_gtk_f.c + +objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c + $(CCC_NF) $(PERL_CFLAGS) $(ALL_CFLAGS) -o $@ auto/gui_gtk_gresources.c + +objects/gui_gtk_x11.o: gui_gtk_x11.c + $(CCC) -o $@ gui_gtk_x11.c + +objects/gui_haiku.o: gui_haiku.cc + $(CCC) -o $@ gui_haiku.cc + +objects/gui_motif.o: gui_motif.c + $(CCC) -o $@ gui_motif.c + +objects/gui_xmdlg.o: gui_xmdlg.c + $(CCC) -o $@ gui_xmdlg.c + +objects/gui_xmebw.o: gui_xmebw.c + $(CCC) -o $@ gui_xmebw.c + +objects/gui_x11.o: gui_x11.c + $(CCC) -o $@ gui_x11.c + +objects/gui_xim.o: gui_xim.c + $(CCC) -o $@ gui_xim.c + +objects/gui_photon.o: gui_photon.c + $(CCC) -o $@ gui_photon.c + +objects/highlight.o: highlight.c + $(CCC) -o $@ highlight.c + +objects/if_cscope.o: if_cscope.c + $(CCC) -o $@ if_cscope.c + +objects/if_xcmdsrv.o: if_xcmdsrv.c + $(CCC) -o $@ if_xcmdsrv.c + +objects/if_lua.o: if_lua.c + $(CCC_NF) $(LUA_CFLAGS) $(ALL_CFLAGS) $(LUA_CFLAGS_EXTRA) -o $@ if_lua.c + +objects/if_mzsch.o: if_mzsch.c $(MZSCHEME_EXTRA) + $(CCC) -o $@ $(MZSCHEME_CFLAGS_EXTRA) if_mzsch.c + +mzscheme_base.c: + $(MZSCHEME_MZC) --c-mods mzscheme_base.c ++lib scheme/base + +objects/if_perl.o: auto/if_perl.c + $(CCC_NF) $(PERL_CFLAGS) $(ALL_CFLAGS) $(PERL_CFLAGS_EXTRA) -o $@ auto/if_perl.c + +objects/if_python.o: if_python.c if_py_both.h + $(CCC_NF) $(PYTHON_CFLAGS) $(ALL_CFLAGS) $(PYTHON_CFLAGS_EXTRA) -o $@ if_python.c + +objects/if_python3.o: if_python3.c if_py_both.h + $(CCC_NF) $(PYTHON3_CFLAGS) $(ALL_CFLAGS) $(PYTHON3_CFLAGS_EXTRA) -o $@ if_python3.c + +objects/if_ruby.o: if_ruby.c + $(CCC_NF) $(RUBY_CFLAGS) $(ALL_CFLAGS) $(RUBY_CFLAGS_EXTRA) -o $@ if_ruby.c + +objects/if_tcl.o: if_tcl.c + $(CCC_NF) $(TCL_CFLAGS) $(ALL_CFLAGS) $(TCL_CFLAGS_EXTRA) -o $@ if_tcl.c + +objects/indent.o: indent.c + $(CCC) -o $@ indent.c + +objects/insexpand.o: insexpand.c + $(CCC) -o $@ insexpand.c + +objects/job.o: job.c + $(CCC) -o $@ job.c + +objects/json.o: json.c + $(CCC) -o $@ json.c + +objects/json_test.o: json_test.c + $(CCC) -o $@ json_test.c + +objects/kword_test.o: kword_test.c + $(CCC) -o $@ kword_test.c + +objects/linematch.o: linematch.c + $(CCC) -o $@ linematch.c + +objects/list.o: list.c + $(CCC) -o $@ list.c + +objects/locale.o: locale.c + $(CCC) -o $@ locale.c + +objects/logfile.o: logfile.c + $(CCC) -o $@ logfile.c + +objects/main.o: main.c + $(CCC) -o $@ main.c + +objects/map.o: map.c + $(CCC) -o $@ map.c + +objects/mark.o: mark.c + $(CCC) -o $@ mark.c + +objects/match.o: match.c + $(CCC) -o $@ match.c + +objects/memfile.o: memfile.c + $(CCC) -o $@ memfile.c + +objects/memfile_test.o: memfile_test.c + $(CCC) -o $@ memfile_test.c + +objects/memline.o: memline.c + $(CCC) -o $@ memline.c + +objects/menu.o: menu.c + $(CCC) -o $@ menu.c + +objects/message.o: message.c + $(CCC) -o $@ message.c + +objects/message_test.o: message_test.c + $(CCC) -o $@ message_test.c + +objects/misc1.o: misc1.c + $(CCC) -o $@ misc1.c + +objects/misc2.o: misc2.c + $(CCC) -o $@ misc2.c + +objects/mouse.o: mouse.c + $(CCC) -o $@ mouse.c + +objects/move.o: move.c + $(CCC) -o $@ move.c + +objects/mbyte.o: mbyte.c + $(CCC) -o $@ mbyte.c + +objects/normal.o: normal.c + $(CCC) -o $@ normal.c + +objects/ops.o: ops.c + $(CCC) -o $@ ops.c + +objects/option.o: option.c optiondefs.h + $(CCC_NF) $(ALL_IF_CFLAGS) $(ALL_CFLAGS) $(ALL_IF_CFLAGS_EXTRA) -o $@ option.c + +objects/optionstr.o: optionstr.c + $(CCC_NF) $(ALL_IF_CFLAGS) $(ALL_CFLAGS) $(ALL_IF_CFLAGS_EXTRA) -o $@ optionstr.c + +objects/os_qnx.o: os_qnx.c $(MNV_H_DEPENDENCIES) + $(CCC) -o $@ os_qnx.c + +objects/os_haiku.rsrc: auto/os_haiku.rdef + cat $< | $(CCC) -E - | grep -v '^#' | rc -o "$@" - + +objects/os_macosx.o: os_macosx.m + $(CCC) -o $@ os_macosx.m + +objects/os_mac_conv.o: os_mac_conv.c $(MNV_H_DEPENDENCIES) + $(CCC) -o $@ os_mac_conv.c + +objects/os_unix.o: os_unix.c + $(CCC) -o $@ os_unix.c + +objects/os_mswin.o: os_mswin.c $(MNV_H_DEPENDENCIES) + $(CCC) -o $@ os_mswin.c + +objects/winclip.o: winclip.c $(MNV_H_DEPENDENCIES) + $(CCC) -o $@ winclip.c + +objects/pathdef.o: auto/pathdef.c + $(CCC) -o $@ auto/pathdef.c + +objects/popupmenu.o: popupmenu.c + $(CCC) -o $@ popupmenu.c + +objects/popupwin.o: popupwin.c + $(CCC) -o $@ popupwin.c + +objects/profiler.o: profiler.c + $(CCC) -o $@ profiler.c + +objects/pty.o: pty.c + $(CCC) -o $@ pty.c + +objects/quickfix.o: quickfix.c + $(CCC) -o $@ quickfix.c + +objects/regexp.o: regexp.c regexp_bt.c regexp_nfa.c + $(CCC) -o $@ regexp.c + +objects/register.o: register.c + $(CCC) -o $@ register.c + +objects/scriptfile.o: scriptfile.c + $(CCC) -o $@ scriptfile.c + +objects/screen.o: screen.c + $(CCC) -o $@ screen.c + +objects/search.o: search.c + $(CCC) -o $@ search.c + +objects/session.o: session.c + $(CCC) -o $@ session.c + +objects/sha256.o: sha256.c + $(CCC) -o $@ sha256.c + +objects/sign.o: sign.c + $(CCC) -o $@ sign.c + +objects/sound.o: sound.c + $(CCC) -o $@ sound.c + +objects/spell.o: spell.c + $(CCC) -o $@ spell.c + +objects/spellfile.o: spellfile.c + $(CCC) -o $@ spellfile.c + +objects/spellsuggest.o: spellsuggest.c + $(CCC) -o $@ spellsuggest.c + +objects/strings.o: strings.c + $(CCC) -o $@ strings.c + +objects/syntax.o: syntax.c + $(CCC) -o $@ syntax.c + +objects/tabpanel.o: tabpanel.c + $(CCC) -o $@ tabpanel.c + +objects/tag.o: tag.c + $(CCC) -o $@ tag.c + +objects/term.o: term.c + $(CCC) -o $@ term.c + +objects/terminal.o: terminal.c $(TERM_DEPS) + $(CCC) -o $@ terminal.c + +objects/testing.o: testing.c + $(CCC) -o $@ testing.c + +objects/textformat.o: textformat.c + $(CCC) -o $@ textformat.c + +objects/textobject.o: textobject.c + $(CCC) -o $@ textobject.c + +objects/textprop.o: textprop.c + $(CCC) -o $@ textprop.c + +objects/time.o: time.c + $(CCC) -o $@ time.c + +objects/tuple.o: tuple.c + $(CCC) -o $@ tuple.c + +objects/typval.o: typval.c + $(CCC) -o $@ typval.c + +objects/ui.o: ui.c + $(CCC) -o $@ ui.c + +objects/undo.o: undo.c + $(CCC) -o $@ undo.c + +objects/usercmd.o: usercmd.c + $(CCC) -o $@ usercmd.c + +objects/userfunc.o: userfunc.c + $(CCC) -o $@ userfunc.c + +objects/version.o: version.c + $(CCC) -o $@ version.c + +objects/mnv9class.o: mnv9class.c + $(CCC) -o $@ mnv9class.c + +objects/mnv9cmds.o: mnv9cmds.c + $(CCC) -o $@ mnv9cmds.c + +objects/mnv9compile.o: mnv9compile.c + $(CCC) -o $@ mnv9compile.c + +objects/mnv9execute.o: mnv9execute.c + $(CCC) -o $@ mnv9execute.c + +objects/mnv9expr.o: mnv9expr.c + $(CCC) -o $@ mnv9expr.c + +objects/mnv9generics.o: mnv9generics.c + $(CCC) -o $@ mnv9generics.c + +objects/mnv9instr.o: mnv9instr.c + $(CCC) -o $@ mnv9instr.c + +objects/mnv9script.o: mnv9script.c + $(CCC) -o $@ mnv9script.c + +objects/mnv9type.o: mnv9type.c + $(CCC) -o $@ mnv9type.c + +objects/mnvinfo.o: mnvinfo.c + $(CCC) -o $@ mnvinfo.c + +objects/window.o: window.c + $(CCC) -o $@ window.c + +objects/wayland.o: wayland.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ wayland.c + +objects/wlr-data-control-unstable-v1.o: auto/wayland/wlr-data-control-unstable-v1.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/wlr-data-control-unstable-v1.c + +objects/ext-data-control-v1.o: auto/wayland/ext-data-control-v1.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/ext-data-control-v1.c + +objects/xdg-shell.o: auto/wayland/xdg-shell.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/xdg-shell.c + +objects/primary-selection-unstable-v1.o: auto/wayland/primary-selection-unstable-v1.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ auto/wayland/primary-selection-unstable-v1.c + +objects/netbeans.o: netbeans.c + $(CCC) -o $@ netbeans.c + +objects/channel.o: channel.c + $(CCC) -o $@ channel.c + +# Dependencies that "make depend" doesn't find +objects/gui_gtk_x11.o: version.h + + +# Build rules for libvterm. Putting them here allows for adding compilation +# options specific for MNV. Since the .o files go into objects/ we do need to +# prefix vterm_ to avoid name clashes. +CCCTERM = $(CCC_NF) $(VTERM_CFLAGS) $(ALL_CFLAGS) -DINLINE="" \ + -DVSNPRINTF=mnv_vsnprintf \ + -DSNPRINTF=mnv_snprintf \ + -DIS_COMBINING_FUNCTION=utf_iscomposing_uint \ + -DWCWIDTH_FUNCTION=utf_uint2cells + +objects/vterm_encoding.o: libvterm/src/encoding.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/encoding.c + +objects/vterm_keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/keyboard.c + +objects/vterm_mouse.o: libvterm/src/mouse.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/mouse.c + +objects/vterm_parser.o: libvterm/src/parser.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/parser.c + +objects/vterm_pen.o: libvterm/src/pen.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/pen.c + +objects/vterm_screen.o: libvterm/src/screen.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/screen.c + +objects/vterm_state.o: libvterm/src/state.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/state.c + +objects/vterm_unicode.o: libvterm/src/unicode.c $(TERM_DEPS) libvterm/src/fullwidth.inc + $(CCCTERM) -o $@ libvterm/src/unicode.c + +objects/vterm_vterm.o: libvterm/src/vterm.c $(TERM_DEPS) + $(CCCTERM) -o $@ libvterm/src/vterm.c + +CCCDIFF = $(CCC_NF) $(ALL_CFLAGS) + +objects/xdiffi.o: xdiff/xdiffi.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xdiffi.c + +objects/xprepare.o: xdiff/xprepare.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xprepare.c + +objects/xutils.o: xdiff/xutils.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xutils.c + +objects/xemit.o: xdiff/xemit.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xemit.c + +objects/xhistogram.o: xdiff/xhistogram.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xhistogram.c + +objects/xpatience.o: xdiff/xpatience.c $(XDIFF_INCL) + $(CCCDIFF) -o $@ xdiff/xpatience.c + + +Makefile: + @echo 'The name of the makefile MUST be "Makefile" (with capital M)!' + + +############################################################################### +# +# Haiku installation +# +# This rule: +# - add resources to already installed mnv binary to avoid +# stripping them during install; +# - update system MIME database with info about mnv application. +# +install_haiku_extra: $(DEST_BIN)/$(MNVTARGET) objects/os_haiku.rsrc + xres -o $(DEST_BIN)/$(MNVTARGET) objects/os_haiku.rsrc + mimeset $(DEST_BIN)/$(MNVTARGET) + +# List of g*-links that should be replaced with shell script equivalents. +# This solves the problem of them from Tracker. +# +HAIKU_GLINKS = $(DEST_BIN)/$(GMNVTARGET) \ + $(DEST_BIN)/$(GVIEWTARGET) \ + $(DEST_BIN)/$(GMNVDIFFTARGET) \ + $(DEST_BIN)/$(RGMNVTARGET) \ + $(DEST_BIN)/$(RGVIEWTARGET) + +# This rule: +# - Replace gmnv link with copy of mnv binary. +# - Replace g*-links with shell script equivalents to solve the +# problem of calling them from Tracker, +# - Add icon resources to mentioned g*-link shell scripts +# - in case gui-less mnv.con executable available use it. +# +installglinks_haiku: $(HAIKU_GLINKS) install_haiku_extra + @catattr -r "BEOS:ICON" $(DEST_BIN)/$(GMNVTARGET) > ~icon.attr + for i in $(HAIKU_GLINKS); do \ + rm $$i ; \ + echo "#!/bin/sh" > $$i ; \ + case $$i in \ + $(DEST_BIN)/$(GMNVTARGET)) \ + cp $(DEST_BIN)/$(MNVTARGET) $$i ; \ + if [ -f $(MNVTARGET).con ] ; then \ + $(STRIP) $(MNVTARGET).con ; \ + mv $(MNVTARGET).con $(DEST_BIN)/$(MNVTARGET) ; \ + fi ;; \ + $(DEST_BIN)/$(GVIEWTARGET)) printf "%s -R %c%c" $(GMNVTARGET) '$$' '*' >> $$i;; \ + $(DEST_BIN)/$(GMNVDIFFTARGET)) printf "%s -d %c%c" $(GMNVTARGET) '$$' '*' >> $$i;; \ + $(DEST_BIN)/$(RGMNVTARGET)) printf "%s -Z %c%c" $(GMNVTARGET) '$$' '*' >> $$i;; \ + $(DEST_BIN)/$(RGVIEWTARGET)) printf "%s -Z -R %c%c" $(GMNVTARGET) '$$' '*' >> $$i;; \ + *) printf "%s %c%c" $(GMNVTARGET) '$$' '*' >> $$i;; \ + esac ; \ + chmod $(BINMOD) $$i ; \ + addattr -f ~icon.attr -t \'VICN\' BEOS:ICON $$i ; \ + done + addattr -f ~icon.attr -t \'VICN\' BEOS:ICON $(DEST_BIN)/$(MNVNAME)tutor + @rm ~icon.attr + +############################################################################### +### (automatically generated by 'make depend') +### Dependencies: +objects/alloc.o: auto/osdef.h alloc.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/arabic.o: auto/osdef.h arabic.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/arglist.o: auto/osdef.h arglist.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/autocmd.o: auto/osdef.h autocmd.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/beval.o: auto/osdef.h beval.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/blob.o: auto/osdef.h blob.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/blowfish.o: auto/osdef.h blowfish.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/buffer.o: auto/osdef.h buffer.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/change.o: auto/osdef.h change.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/charset.o: auto/osdef.h charset.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/cindent.o: auto/osdef.h cindent.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/clientserver.o: auto/osdef.h clientserver.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/clipboard.o: auto/osdef.h clipboard.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h wayland.h +objects/cmdexpand.o: auto/osdef.h cmdexpand.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/cmdhist.o: auto/osdef.h cmdhist.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/crypt.o: auto/osdef.h crypt.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/crypt_zip.o: auto/osdef.h crypt_zip.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/debugger.o: auto/osdef.h debugger.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/dict.o: auto/osdef.h dict.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/diff.o: auto/osdef.h diff.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h xdiff/xdiff.h +objects/digraph.o: auto/osdef.h digraph.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/drawline.o: auto/osdef.h drawline.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/drawscreen.o: auto/osdef.h drawscreen.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/edit.o: auto/osdef.h edit.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/eval.o: auto/osdef.h eval.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/evalbuffer.o: auto/osdef.h evalbuffer.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/evalfunc.o: auto/osdef.h evalfunc.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/evalvars.o: auto/osdef.h evalvars.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/evalwindow.o: auto/osdef.h evalwindow.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/ex_cmds.o: auto/osdef.h ex_cmds.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/ex_cmds2.o: auto/osdef.h ex_cmds2.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/ex_docmd.o: auto/osdef.h ex_docmd.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h ex_cmdidxs.h +objects/ex_eval.o: auto/osdef.h ex_eval.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/ex_getln.o: auto/osdef.h ex_getln.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/fileio.o: auto/osdef.h fileio.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/filepath.o: auto/osdef.h filepath.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/findfile.o: auto/osdef.h findfile.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/float.o: auto/osdef.h float.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/fold.o: auto/osdef.h fold.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/fuzzy.o: auto/osdef.h fuzzy.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/getchar.o: auto/osdef.h getchar.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/gc.o: auto/osdef.h gc.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/gui_xim.o: auto/osdef.h gui_xim.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/hardcopy.o: auto/osdef.h hardcopy.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/hashtab.o: auto/osdef.h hashtab.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/help.o: auto/osdef.h help.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/highlight.o: auto/osdef.h highlight.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/if_cscope.o: auto/osdef.h if_cscope.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/if_xcmdsrv.o: auto/osdef.h if_xcmdsrv.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h version.h +objects/indent.o: auto/osdef.h indent.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/insexpand.o: auto/osdef.h insexpand.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/json.o: auto/osdef.h json.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/linematch.o: auto/osdef.h linematch.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h xdiff/xdiff.h \ + alloc.h ex_cmds.h spell.h proto.h globals.h errors.h +objects/list.o: auto/osdef.h list.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/locale.o: auto/osdef.h locale.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/logfile.o: auto/osdef.h logfile.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/main.o: auto/osdef.h main.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/map.o: auto/osdef.h map.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/mark.o: auto/osdef.h mark.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/match.o: auto/osdef.h match.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/mbyte.o: auto/osdef.h mbyte.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/memfile.o: auto/osdef.h memfile.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/memline.o: auto/osdef.h memline.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/menu.o: auto/osdef.h menu.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/message.o: auto/osdef.h message.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/misc1.o: auto/osdef.h misc1.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/misc2.o: auto/osdef.h misc2.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/mouse.o: auto/osdef.h mouse.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/move.o: auto/osdef.h move.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/normal.o: auto/osdef.h normal.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h nv_cmds.h nv_cmdidxs.h +objects/ops.o: auto/osdef.h ops.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/option.o: auto/osdef.h option.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h optiondefs.h +objects/optionstr.o: auto/osdef.h optionstr.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/os_unix.o: auto/osdef.h os_unix.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h os_unixx.h +objects/pathdef.o: auto/osdef.h auto/pathdef.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/popupmenu.o: auto/osdef.h popupmenu.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/popupwin.o: auto/osdef.h popupwin.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/profiler.o: auto/osdef.h profiler.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/pty.o: auto/osdef.h pty.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/quickfix.o: auto/osdef.h quickfix.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/regexp.o: auto/osdef.h regexp.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h regexp_bt.c regexp_nfa.c +objects/register.o: auto/osdef.h register.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/screen.o: auto/osdef.h screen.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/scriptfile.o: auto/osdef.h scriptfile.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/search.o: auto/osdef.h search.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/session.o: auto/osdef.h session.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/sha256.o: auto/osdef.h sha256.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/sign.o: auto/osdef.h sign.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/sound.o: auto/osdef.h sound.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/spell.o: auto/osdef.h spell.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/spellfile.o: auto/osdef.h spellfile.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/spellsuggest.o: auto/osdef.h spellsuggest.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/strings.o: auto/osdef.h strings.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/syntax.o: auto/osdef.h syntax.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/tabpanel.o: auto/osdef.h tabpanel.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/tag.o: auto/osdef.h tag.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/term.o: auto/osdef.h term.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/terminal.o: auto/osdef.h terminal.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/testing.o: auto/osdef.h testing.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/textformat.o: auto/osdef.h textformat.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/textobject.o: auto/osdef.h textobject.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/textprop.o: auto/osdef.h textprop.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/time.o: auto/osdef.h time.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/tuple.o: auto/osdef.h tuple.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/typval.o: auto/osdef.h typval.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/ui.o: auto/osdef.h ui.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/undo.o: auto/osdef.h undo.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/usercmd.o: auto/osdef.h usercmd.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/userfunc.o: auto/osdef.h userfunc.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/version.o: auto/osdef.h version.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/mnv9class.o: auto/osdef.h mnv9class.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9cmds.o: auto/osdef.h mnv9cmds.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h mnv9.h +objects/mnv9compile.o: auto/osdef.h mnv9compile.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9execute.o: auto/osdef.h mnv9execute.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9expr.o: auto/osdef.h mnv9expr.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h mnv9.h +objects/mnv9generics.o: auto/osdef.h mnv9generics.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9instr.o: auto/osdef.h mnv9instr.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9script.o: auto/osdef.h mnv9script.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h mnv9.h +objects/mnv9type.o: auto/osdef.h mnv9type.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h mnv9.h +objects/mnvinfo.o: auto/osdef.h mnvinfo.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/window.o: auto/osdef.h window.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/bufwrite.o: auto/osdef.h bufwrite.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/gui.o: auto/osdef.h gui.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/gui_gtk.o: auto/osdef.h gui_gtk.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h gui_gtk_f.h +objects/gui_gtk_f.o: auto/osdef.h gui_gtk_f.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h gui_gtk_f.h +objects/gui_motif.o: auto/osdef.h gui_motif.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h gui_xmebw.h \ + ../pixmaps/alert.xpm ../pixmaps/error.xpm ../pixmaps/generic.xpm \ + ../pixmaps/info.xpm ../pixmaps/quest.xpm gui_x11_pm.h \ + ../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \ + ../pixmaps/tb_save.xpm ../pixmaps/tb_print.xpm ../pixmaps/tb_cut.xpm \ + ../pixmaps/tb_copy.xpm ../pixmaps/tb_paste.xpm ../pixmaps/tb_find.xpm \ + ../pixmaps/tb_find_next.xpm ../pixmaps/tb_find_prev.xpm \ + ../pixmaps/tb_find_help.xpm ../pixmaps/tb_exit.xpm \ + ../pixmaps/tb_undo.xpm ../pixmaps/tb_redo.xpm ../pixmaps/tb_help.xpm \ + ../pixmaps/tb_macro.xpm ../pixmaps/tb_make.xpm \ + ../pixmaps/tb_save_all.xpm ../pixmaps/tb_jump.xpm \ + ../pixmaps/tb_ctags.xpm ../pixmaps/tb_load_session.xpm \ + ../pixmaps/tb_save_session.xpm ../pixmaps/tb_new_session.xpm \ + ../pixmaps/tb_blank.xpm ../pixmaps/tb_maximize.xpm \ + ../pixmaps/tb_split.xpm ../pixmaps/tb_minimize.xpm \ + ../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \ + ../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \ + ../pixmaps/tb_minwidth.xpm +objects/gui_xmdlg.o: auto/osdef.h gui_xmdlg.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/gui_xmebw.o: auto/osdef.h gui_xmebw.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h gui_xmebwp.h gui_xmebw.h +objects/gui_gtk_x11.o: auto/osdef.h gui_gtk_x11.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h auto/gui_gtk_gresources.h \ + gui_gtk_f.h ../runtime/mnv16x16_png.h ../runtime/mnv32x32_png.h \ + ../runtime/mnv48x48_png.h +objects/gui_x11.o: auto/osdef.h gui_x11.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h ../runtime/mnv32x32.xpm ../runtime/mnv16x16.xpm \ + ../runtime/mnv48x48.xpm errors.h mnv_icon.xbm mnv_mask.xbm +objects/gui_haiku.o: auto/osdef.h gui_haiku.cc mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/json_test.o: auto/osdef.h json_test.c main.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h json.c +objects/kword_test.o: auto/osdef.h kword_test.c main.c mnv.h protodef.h auto/config.h \ + feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \ + option.h beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h charset.c +objects/memfile_test.o: auto/osdef.h memfile_test.c main.c mnv.h protodef.h auto/config.h \ + feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \ + option.h beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h memfile.c +objects/message_test.o: auto/osdef.h message_test.c main.c mnv.h protodef.h auto/config.h \ + feature.h os_unix.h ascii.h keymap.h termdefs.h macros.h \ + option.h beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h message.c +objects/if_lua.o: auto/osdef.h if_lua.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/if_mzsch.o: auto/osdef.h if_mzsch.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h if_mzsch.h +objects/if_perl.o: auto/osdef.h auto/if_perl.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/if_python.o: auto/osdef.h if_python.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h if_py_both.h +objects/if_python3.o: auto/osdef.h if_python3.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h if_py_both.h +objects/if_tcl.o: auto/osdef.h if_tcl.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/if_ruby.o: auto/osdef.h if_ruby.c protodef.h auto/config.h mnv.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/gui_beval.o: auto/osdef.h gui_beval.c mnv.h protodef.h auto/config.h feature.h \ + os_unix.h ascii.h keymap.h termdefs.h macros.h option.h \ + beval.h structs.h regexp.h gui.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h +objects/netbeans.o: auto/osdef.h netbeans.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h version.h +objects/job.o: auto/osdef.h job.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/channel.o: auto/osdef.h channel.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \ + globals.h errors.h +objects/gui_gtk_gresources.o: auto/gui_gtk_gresources.c +objects/wlr-data-control-unstable-v1.o: \ + auto/wayland/wlr-data-control-unstable-v1.c +objects/ext-data-control-v1.o: auto/wayland/ext-data-control-v1.c +objects/xdg-shell.o: auto/wayland/xdg-shell.c +objects/primary-selection-unstable-v1.o: \ + auto/wayland/primary-selection-unstable-v1.c +objects/wayland.o: auto/osdef.h wayland.c mnv.h protodef.h auto/config.h feature.h os_unix.h \ + ascii.h keymap.h termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h errors.h wayland.h \ + auto/wayland/wlr-data-control-unstable-v1.h \ + auto/wayland/ext-data-control-v1.h auto/wayland/xdg-shell.h \ + auto/wayland/primary-selection-unstable-v1.h +objects/vterm_encoding.o: auto/osdef.h libvterm/src/encoding.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/encoding/DECdrawing.inc libvterm/src/encoding/uk.inc +objects/vterm_keyboard.o: auto/osdef.h libvterm/src/keyboard.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/utf8.h +objects/vterm_mouse.o: auto/osdef.h libvterm/src/mouse.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/utf8.h +objects/vterm_parser.o: auto/osdef.h libvterm/src/parser.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h +objects/vterm_pen.o: auto/osdef.h libvterm/src/pen.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h +objects/vterm_screen.o: auto/osdef.h libvterm/src/screen.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/rect.h libvterm/src/utf8.h +objects/vterm_state.o: auto/osdef.h libvterm/src/state.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h +objects/vterm_unicode.o: auto/osdef.h libvterm/src/unicode.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/fullwidth.inc +objects/vterm_vterm.o: auto/osdef.h libvterm/src/vterm.c libvterm/src/vterm_internal.h \ + libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \ + libvterm/src/utf8.h +objects/xdiffi.o: auto/osdef.h xdiff/xdiffi.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +objects/xemit.o: auto/osdef.h xdiff/xemit.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +objects/xprepare.o: auto/osdef.h xdiff/xprepare.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +objects/xutils.o: auto/osdef.h xdiff/xutils.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +objects/xhistogram.o: auto/osdef.h xdiff/xhistogram.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +objects/xpatience.o: auto/osdef.h xdiff/xpatience.c xdiff/xinclude.h auto/config.h \ + xdiff/xmacros.h xdiff/xdiff.h mnv.h protodef.h \ + auto/config.h feature.h os_unix.h \ + ascii.h keymap.h \ + termdefs.h macros.h option.h beval.h \ + structs.h regexp.h gui.h \ + libvterm/include/vterm.h \ + libvterm/include/vterm_keycodes.h alloc.h \ + ex_cmds.h spell.h proto.h globals.h \ + errors.h xdiff/xtypes.h xdiff/xutils.h xdiff/xprepare.h \ + xdiff/xdiffi.h xdiff/xemit.h +proto/alloc.pro: alloc.c +proto/arabic.pro: arabic.c +proto/arglist.pro: arglist.c +proto/autocmd.pro: autocmd.c +proto/beval.pro: beval.c +proto/blob.pro: blob.c +proto/blowfish.pro: blowfish.c +proto/buffer.pro: buffer.c +proto/bufwrite.pro: bufwrite.c +proto/change.pro: change.c +proto/channel.pro: channel.c +proto/charset.pro: charset.c +proto/cindent.pro: cindent.c +proto/clientserver.pro: clientserver.c +proto/clipboard.pro: clipboard.c +proto/cmdexpand.pro: cmdexpand.c +proto/cmdhist.pro: cmdhist.c +proto/crypt.pro: crypt.c +proto/crypt_zip.pro: crypt_zip.c +proto/debugger.pro: debugger.c +proto/dict.pro: dict.c +proto/diff.pro: diff.c +proto/digraph.pro: digraph.c +proto/drawline.pro: drawline.c +proto/drawscreen.pro: drawscreen.c +proto/edit.pro: edit.c +proto/eval.pro: eval.c +proto/evalbuffer.pro: evalbuffer.c +proto/evalfunc.pro: evalfunc.c +proto/evalvars.pro: evalvars.c +proto/evalwindow.pro: evalwindow.c +proto/ex_cmds.pro: ex_cmds.c +proto/ex_cmds2.pro: ex_cmds2.c +proto/ex_docmd.pro: ex_docmd.c +proto/ex_eval.pro: ex_eval.c +proto/ex_getln.pro: ex_getln.c +proto/fileio.pro: fileio.c +proto/filepath.pro: filepath.c +proto/findfile.pro: findfile.c +proto/float.pro: float.c +proto/fold.pro: fold.c +proto/fuzzy.pro: fuzzy.c +proto/gc.pro: gc.c +proto/getchar.pro: getchar.c +proto/gui_beval.pro: gui_beval.c +proto/gui_gtk_gresources.pro: auto/gui_gtk_gresources.c +proto/gui_xim.pro: gui_xim.c +proto/hardcopy.pro: hardcopy.c +proto/hashtab.pro: hashtab.c +proto/help.pro: help.c +proto/highlight.pro: highlight.c +proto/if_cscope.pro: if_cscope.c +proto/if_lua.pro: if_lua.c +proto/if_mzsch.pro: if_mzsch.c +proto/if_python.pro: if_python.c +proto/if_python3.pro: if_python3.c +proto/if_ruby.pro: if_ruby.c +proto/if_tcl.pro: if_tcl.c +proto/if_xcmdsrv.pro: if_xcmdsrv.c +proto/indent.pro: indent.c +proto/insexpand.pro: insexpand.c +proto/job.pro: job.c +proto/json.pro: json.c +proto/linematch.pro: linematch.c +proto/list.pro: list.c +proto/locale.pro: locale.c +proto/logfile.pro: logfile.c +proto/main.pro: main.c +proto/map.pro: map.c +proto/mark.pro: mark.c +proto/match.pro: match.c +proto/mbyte.pro: mbyte.c +proto/memfile.pro: memfile.c +proto/memline.pro: memline.c +proto/menu.pro: menu.c +proto/message.pro: message.c +proto/misc1.pro: misc1.c +proto/misc2.pro: misc2.c +proto/mouse.pro: mouse.c +proto/move.pro: move.c +proto/netbeans.pro: netbeans.c +proto/normal.pro: normal.c +proto/ops.pro: ops.c +proto/option.pro: option.c +proto/optionstr.pro: optionstr.c +proto/os_amiga.pro: os_amiga.c +proto/os_mac_conv.pro: os_mac_conv.c +proto/os_mswin.pro: os_mswin.c +proto/os_qnx.pro: os_qnx.c +proto/os_unix.pro: os_unix.c +proto/os_vms.pro: os_vms.c +proto/os_win32.pro: os_win32.c +proto/popupmenu.pro: popupmenu.c +proto/popupwin.pro: popupwin.c +proto/profiler.pro: profiler.c +proto/pty.pro: pty.c +proto/quickfix.pro: quickfix.c +proto/regexp.pro: regexp.c +proto/register.pro: register.c +proto/screen.pro: screen.c +proto/scriptfile.pro: scriptfile.c +proto/search.pro: search.c +proto/session.pro: session.c +proto/sha256.pro: sha256.c +proto/sign.pro: sign.c +proto/sound.pro: sound.c +proto/spell.pro: spell.c +proto/spellfile.pro: spellfile.c +proto/spellsuggest.pro: spellsuggest.c +proto/strings.pro: strings.c +proto/syntax.pro: syntax.c +proto/tabpanel.pro: tabpanel.c +proto/tag.pro: tag.c +proto/term.pro: term.c +proto/terminal.pro: terminal.c +proto/termlib.pro: termlib.c +proto/testing.pro: testing.c +proto/textformat.pro: textformat.c +proto/textobject.pro: textobject.c +proto/textprop.pro: textprop.c +proto/time.pro: time.c +proto/tuple.pro: tuple.c +proto/typval.pro: typval.c +proto/ui.pro: ui.c +proto/undo.pro: undo.c +proto/usercmd.pro: usercmd.c +proto/userfunc.pro: userfunc.c +proto/version.pro: version.c +proto/mnv9class.pro: mnv9class.c +proto/mnv9cmds.pro: mnv9cmds.c +proto/mnv9compile.pro: mnv9compile.c +proto/mnv9execute.pro: mnv9execute.c +proto/mnv9expr.pro: mnv9expr.c +proto/mnv9generics.pro: mnv9generics.c +proto/mnv9instr.pro: mnv9instr.c +proto/mnv9script.pro: mnv9script.c +proto/mnv9type.pro: mnv9type.c +proto/mnvinfo.pro: mnvinfo.c +proto/wayland.pro: wayland.c +proto/winclip.pro: winclip.c +proto/window.pro: window.c +proto/gui.pro: gui.c +proto/gui_gtk.pro: gui_gtk.c +proto/gui_motif.pro: gui_motif.c +proto/gui_xmdlg.pro: gui_xmdlg.c +proto/gui_gtk_x11.pro: gui_gtk_x11.c +proto/gui_x11.pro: gui_x11.c +proto/gui_w32.pro: gui_w32.c +proto/gui_photon.pro: gui_photon.c |
