2013-07-23 22:57:17 +00:00
|
|
|
### @configure_input@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
2024-01-02 01:47:10 +00:00
|
|
|
# Copyright (C) 2013-2024 Free Software Foundation, Inc.
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
# This file is part of GNU Emacs.
|
|
|
|
|
|
|
|
# GNU Emacs is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2017-09-30 00:44:23 +00:00
|
|
|
# along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
# Avoid trouble on systems where the `SHELL' variable might be
|
|
|
|
# inherited from the environment.
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
# ==================== Things `configure' will edit ====================
|
|
|
|
|
|
|
|
CC=@CC@
|
|
|
|
CFLAGS=@CFLAGS@
|
2014-06-15 17:45:38 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
|
2013-04-01 13:18:20 +00:00
|
|
|
version=@version@
|
|
|
|
## Used in $archlibdir.
|
|
|
|
configuration=@configuration@
|
|
|
|
EXEEXT=@EXEEXT@
|
|
|
|
C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
|
|
|
|
C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
|
|
|
|
PROFILING_CFLAGS = @PROFILING_CFLAGS@
|
|
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
|
|
|
WERROR_CFLAGS = @WERROR_CFLAGS@
|
|
|
|
|
|
|
|
# Program name transformation.
|
|
|
|
TRANSFORM = @program_transform_name@
|
|
|
|
|
Simplify silent-rules build machinery
* src/verbose.mk.in: New file.
* configure.ac (AM_V, AM_DEFAULT_V): Remove output variables.
(src/verbose.mk): New output file.
* Makefile.in, admin/charsets/Makefile.in:
* admin/grammars/Makefile.in, admin/unidata/Makefile.in:
* doc/emacs/Makefile.in, doc/lispintro/Makefile.in:
* doc/lispref/Makefile.in, doc/misc/Makefile.in, leim/Makefile.in:
* lib-src/Makefile.in, lib/Makefile.in, lisp/Makefile.in:
* lwlib/Makefile.in, nt/Makefile.in, oldXMenu/Makefile.in:
* src/Makefile.in, src/verbose.mk.in, test/Makefile.in:
Include src/verbose.mk rather than repeatedly defining AM_V_at etc.
2021-03-07 00:28:46 +00:00
|
|
|
top_builddir = @top_builddir@
|
|
|
|
-include ${top_builddir}/src/verbose.mk
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
|
2013-04-01 13:18:20 +00:00
|
|
|
# ==================== Where To Install Things ====================
|
|
|
|
|
|
|
|
# The default location for installation. Everything is placed in
|
|
|
|
# subdirectories of this directory. The default values for many of
|
|
|
|
# the variables below are expressed in terms of this one, so you may
|
|
|
|
# not need to change them. This is set with the --prefix option to
|
|
|
|
# `../configure'.
|
|
|
|
prefix=@prefix@
|
|
|
|
|
|
|
|
# Like `prefix', but used for architecture-specific files. This is
|
|
|
|
# set with the --exec-prefix option to `../configure'.
|
|
|
|
exec_prefix=@exec_prefix@
|
|
|
|
|
|
|
|
# Where to install Emacs and other binaries that people will want to
|
|
|
|
# run directly (like etags). This is set with the --bindir option
|
|
|
|
# to `../configure'.
|
|
|
|
bindir=@bindir@
|
|
|
|
|
2014-02-13 03:19:57 +00:00
|
|
|
# The root of the directory tree for read-only architecture-independent
|
|
|
|
# data files. ${datadir}, ${infodir} and ${mandir} are based on this.
|
|
|
|
datarootdir=@datarootdir@
|
|
|
|
|
|
|
|
# Where to install architecture-independent data files. ${lispdir}
|
|
|
|
# and ${etcdir} are subdirectories of this. This is set with the
|
|
|
|
# --datadir option to `../configure'.
|
|
|
|
datadir=@datadir@
|
|
|
|
|
2013-04-01 13:18:20 +00:00
|
|
|
# Where to install and expect executable files to be run by Emacs
|
|
|
|
# rather than directly by users, and other architecture-dependent
|
|
|
|
# data. ${archlibdir} is usually below this. This is set with the
|
|
|
|
# --libexecdir option to `../configure'.
|
|
|
|
libexecdir=@libexecdir@
|
|
|
|
|
|
|
|
# Directory for local state files for all programs.
|
|
|
|
localstatedir=@localstatedir@
|
|
|
|
|
|
|
|
# Where to find the source code. This is set by the configure
|
|
|
|
# script's `--srcdir' option. However, the value of ${srcdir} in
|
|
|
|
# this makefile is not identical to what was specified with --srcdir,
|
|
|
|
# since the variable here has `/lib-src' added at the end.
|
|
|
|
|
|
|
|
# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
|
|
|
|
srcdir=@srcdir@
|
|
|
|
VPATH=@srcdir@
|
|
|
|
|
|
|
|
# The top-level source directory, also set by configure.
|
|
|
|
top_srcdir=@top_srcdir@
|
2013-10-24 04:05:54 +00:00
|
|
|
# MinGW CPPFLAGS may use this.
|
|
|
|
abs_top_srcdir=@abs_top_srcdir@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
# ==================== Emacs-specific directories ====================
|
|
|
|
|
|
|
|
# These variables hold the values Emacs will actually use. They are
|
|
|
|
# based on the values of the standard Make variables above.
|
|
|
|
|
|
|
|
# Where to put executables to be run by Emacs rather than the user.
|
|
|
|
# This path usually includes the Emacs version and configuration name,
|
|
|
|
# so that multiple configurations for multiple versions of Emacs may
|
|
|
|
# be installed at once. This can be set with the --archlibdir option
|
|
|
|
# to `../configure'.
|
|
|
|
archlibdir=@archlibdir@
|
|
|
|
|
|
|
|
# ==================== Utility Programs for the Build =================
|
|
|
|
|
|
|
|
# ../configure figures out the correct values for these.
|
|
|
|
INSTALL = @INSTALL@
|
2014-02-13 03:19:57 +00:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2013-04-01 13:18:20 +00:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
# By default, we uphold the dignity of our programs.
|
|
|
|
INSTALL_STRIP =
|
|
|
|
MKDIR_P = @MKDIR_P@
|
|
|
|
|
|
|
|
# ========================== Lists of Files ===========================
|
|
|
|
|
|
|
|
# Things that a user might actually run, which should be installed in bindir.
|
|
|
|
INSTALLABLES = runemacs${EXEEXT} addpm${EXEEXT}
|
|
|
|
|
|
|
|
# Things that Emacs runs internally, which should not be installed in bindir.
|
|
|
|
UTILITIES = cmdproxy${EXEEXT} ddeclient${EXEEXT}
|
|
|
|
|
|
|
|
# Things that Emacs runs during the build process.
|
2014-05-29 19:16:32 +00:00
|
|
|
DONT_INSTALL =
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
# All files that are created by the linker, i.e., whose names end in ${EXEEXT}.
|
|
|
|
EXE_FILES = ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL}
|
|
|
|
|
|
|
|
# =========================== Configuration ===========================
|
|
|
|
|
|
|
|
# MS-Windows resource files and resource compiler
|
|
|
|
EMACSRES = @EMACSRES@
|
|
|
|
EMACS_MANIFEST = @EMACS_MANIFEST@
|
|
|
|
WINDRES = @WINDRES@
|
|
|
|
|
|
|
|
## Extra libraries to use when linking addpm.
|
|
|
|
LIBS_ADDPM = -lole32 -luuid
|
|
|
|
|
|
|
|
## Compilation and linking flags
|
|
|
|
BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
|
|
|
|
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
2021-10-24 17:45:56 +00:00
|
|
|
-I../src -I${srcdir}/../src -I../lib -I${srcdir}/../lib \
|
2013-04-01 13:18:20 +00:00
|
|
|
-I. -I${srcdir}
|
|
|
|
|
|
|
|
ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
|
2014-06-15 22:42:31 +00:00
|
|
|
## Unused.
|
2013-04-01 13:18:20 +00:00
|
|
|
LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS}
|
2014-06-15 22:42:31 +00:00
|
|
|
## Unused.
|
2013-04-01 13:18:20 +00:00
|
|
|
CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS}
|
|
|
|
|
|
|
|
all: ${EXE_FILES}
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
## Install the internal utilities. Until they are installed, we can
|
|
|
|
## just run them directly from nt/.
|
|
|
|
$(DESTDIR)${archlibdir}: all
|
|
|
|
@echo
|
|
|
|
@echo "Installing utilities run internally by Emacs."
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
umask 022; ${MKDIR_P} "$(DESTDIR)${archlibdir}"
|
2022-09-26 12:58:07 +00:00
|
|
|
exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && pwd -P`; \
|
|
|
|
if [ "$$exp_archlibdir" != "`pwd -P`" ]; then \
|
2013-04-01 13:18:20 +00:00
|
|
|
for file in ${UTILITIES}; do \
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file "$(DESTDIR)${archlibdir}/$$file" ; \
|
2013-04-01 13:18:20 +00:00
|
|
|
done ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.PHONY: install uninstall mostlyclean clean distclean maintainer-clean
|
2021-05-10 01:14:12 +00:00
|
|
|
.PHONY: bootstrap-clean check tags
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
install: $(DESTDIR)${archlibdir}
|
|
|
|
@echo
|
|
|
|
@echo "Installing utilities for users to run."
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
umask 022; ${MKDIR_P} "$(DESTDIR)${bindir}"
|
2013-04-01 13:18:20 +00:00
|
|
|
for file in ${INSTALLABLES} ; do \
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
|
2013-04-01 13:18:20 +00:00
|
|
|
done
|
2014-02-17 19:01:14 +00:00
|
|
|
${MKDIR_P} "$(DESTDIR)${datadir}/emacs/$(version)"
|
2014-02-17 19:04:51 +00:00
|
|
|
$(INSTALL_DATA) ${srcdir}/README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
uninstall:
|
2014-02-13 03:19:57 +00:00
|
|
|
rm -f "$(DESTDIR)${datadir}/emacs/$(version)/README.W32"
|
2013-04-01 13:18:20 +00:00
|
|
|
for file in ${INSTALLABLES}; do \
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
rm -f "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
|
2013-04-01 13:18:20 +00:00
|
|
|
done
|
Progress towards allowing installation in directories with whitespace
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.
* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.
2013-10-23 07:20:57 +00:00
|
|
|
if [ -d "$(DESTDIR)${archlibdir}" ]; then \
|
|
|
|
(cd "$(DESTDIR)${archlibdir}" && rm -f ${UTILITIES}) \
|
2013-04-01 13:18:20 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
mostlyclean:
|
2013-05-29 16:48:42 +00:00
|
|
|
-rm -f core *.o *.res
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
clean: mostlyclean
|
|
|
|
-rm -f ${EXE_FILES}
|
|
|
|
|
|
|
|
distclean: clean
|
2014-11-22 22:04:32 +00:00
|
|
|
-rm -f TAGS Makefile *.rc
|
2013-04-01 13:18:20 +00:00
|
|
|
|
Parallelize clean rules using GNU make features
* Makefile.in: (submake_template): New definition.
(mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs):
New variables.
(mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean)
(extraclean): Define using each subdirectory as a prequisite.
* lib/Makefile.am (bootstrap-clean):
* doc/emacs/Makefile.in (bootstrap-clean):
* doc/lispintro/Makefile.in (bootstrap-clean):
* doc/lispref/Makefile.in (bootstrap-clean):
* doc/misc/Makefile.in (bootstrap-clean):
* lib-src/Makefile.in (bootstrap-clean):
* lwlib/Makefile.in (bootstrap-clean):
* nextstep/Makefile.in (bootstrap-clean):
* nt/Makefile.in (bootstrap-clean):
* oldXMenu/Makefile.in (bootstrap-clean):
New rules, for symmetry/simplicity.
* lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
* oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags):
Declare as PHONY.
2014-06-15 00:17:21 +00:00
|
|
|
bootstrap-clean maintainer-clean: distclean
|
2013-04-01 13:18:20 +00:00
|
|
|
true
|
|
|
|
|
|
|
|
## Test the contents of the directory.
|
|
|
|
check:
|
|
|
|
@echo "We don't have any tests for the nt/ directory yet."
|
|
|
|
|
Build tweaks related to tags files.
* lib-src/Makefile.in (tagsfiles): New variable.
(TAGS): Also depend on the source files. Use our own etags program.
* lisp/Makefile.in (ETAGS): Add EXEEXT.
(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
Remove.
(tagsfiles): New, replacing lisptagsfiles1 etc.
Remove irrelevant source files here rather than in the TAGS rule.
(${ETAGS}): New rule.
(TAGS): Also depend on the etags executable.
* lwlib/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): Add EXEEXT.
(${ETAGS}): New rule.
(ctagsfiles): Use "wildcard".
(TAGS): Also depend on the etags executable.
* nt/Makefile.in (ETAGS, tagsfiles): New variables.
(${ETAGS}): New rule.
(TAGS): Fix dependencies.
* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): New variable, replacing $TAGS. Use our own etags program.
Remove "-t" argument.
(${ETAGS}): New rule.
(tagsfiles): New variable.
(TAGS): New rule, with proper dependencies.
* src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
(ctagsfiles1, ctagsfiles2): Use "wildcard".
(ctagsfiles3): Remove.
(TAGS): Depend on etags.
(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
directories decide if updates are needed.
2016-01-06 23:25:47 +00:00
|
|
|
ETAGS = ../lib-src/etags${EXEEXT}
|
|
|
|
|
|
|
|
${ETAGS}: FORCE
|
|
|
|
${MAKE} -C ../lib-src $(notdir $@)
|
|
|
|
|
|
|
|
tagsfiles= $(wildcard ${srcdir}/*.[ch])
|
|
|
|
|
|
|
|
FORCE:
|
|
|
|
.PHONY: tags FORCE
|
2013-04-01 13:18:20 +00:00
|
|
|
tags: TAGS
|
Build tweaks related to tags files.
* lib-src/Makefile.in (tagsfiles): New variable.
(TAGS): Also depend on the source files. Use our own etags program.
* lisp/Makefile.in (ETAGS): Add EXEEXT.
(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
Remove.
(tagsfiles): New, replacing lisptagsfiles1 etc.
Remove irrelevant source files here rather than in the TAGS rule.
(${ETAGS}): New rule.
(TAGS): Also depend on the etags executable.
* lwlib/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): Add EXEEXT.
(${ETAGS}): New rule.
(ctagsfiles): Use "wildcard".
(TAGS): Also depend on the etags executable.
* nt/Makefile.in (ETAGS, tagsfiles): New variables.
(${ETAGS}): New rule.
(TAGS): Fix dependencies.
* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): New variable, replacing $TAGS. Use our own etags program.
Remove "-t" argument.
(${ETAGS}): New rule.
(tagsfiles): New variable.
(TAGS): New rule, with proper dependencies.
* src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
(ctagsfiles1, ctagsfiles2): Use "wildcard".
(ctagsfiles3): Remove.
(TAGS): Depend on etags.
(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
directories decide if updates are needed.
2016-01-06 23:25:47 +00:00
|
|
|
TAGS: ${ETAGS} ${tagsfiles}
|
|
|
|
${ETAGS} ${tagsfiles}
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
## Build the programs
|
2013-04-20 07:59:36 +00:00
|
|
|
addpm${EXEEXT}: ${srcdir}/addpm.c ../src/epaths.h
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< $(LIBS_ADDPM) -o $@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
|
|
|
ddeclient${EXEEXT}: ${srcdir}/ddeclient.c
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< -o $@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
2013-04-01 14:35:26 +00:00
|
|
|
cmdproxy${EXEEXT}: ${srcdir}/cmdproxy.c
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< -o $@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
2013-04-01 14:35:26 +00:00
|
|
|
runemacs${EXEEXT}: ${srcdir}/runemacs.c $(EMACSRES)
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $^ -mwindows -o $@
|
2013-04-01 13:18:20 +00:00
|
|
|
|
2014-11-24 00:16:57 +00:00
|
|
|
## Also used in ../src/Makefile.
|
|
|
|
emacs.res ../src/emacs.res: emacs.rc ${srcdir}/icons/emacs.ico \
|
2014-11-22 21:32:34 +00:00
|
|
|
${srcdir}/icons/hand.cur ${srcdir}/$(EMACS_MANIFEST)
|
Support Make verbosity levels in w32 targets previously left out
nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
(runemacs${EXEEXT}): Use $(AM_V_CCLD).
(emacs.res, ../src/emacs.res): Use $(AM_V_RC).
lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
macros.
(emacsclient.res): Use $(AM_V_RC).
2015-01-16 09:33:08 +00:00
|
|
|
$(AM_V_RC)${WINDRES} -I ${srcdir} -O coff -o $@ $<
|