2008-05-09 05:14:16 +00:00
|
|
|
# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
|
2011-01-25 04:08:28 +00:00
|
|
|
# Copyright (C) 2000-2011 Free Software Foundation, Inc.
|
2001-12-03 11:40:21 +00:00
|
|
|
#
|
2008-05-09 05:14:16 +00:00
|
|
|
# Top level makefile for building GNU Emacs on Windows NT
|
2001-12-03 11:40:21 +00:00
|
|
|
#
|
2008-05-09 05:14:16 +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
|
|
|
|
# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2001-12-03 11:40:21 +00:00
|
|
|
|
2006-12-27 13:42:43 +00:00
|
|
|
# FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out
|
|
|
|
# (and remove or replace this comment).
|
|
|
|
|
2011-09-26 03:20:03 +00:00
|
|
|
VERSION = 24.0.90
|
2010-07-24 13:35:31 +00:00
|
|
|
|
2010-07-24 22:07:04 +00:00
|
|
|
TMP_DIST_DIR = emacs-$(VERSION)
|
2010-07-24 21:35:36 +00:00
|
|
|
|
2001-12-03 11:40:21 +00:00
|
|
|
TRES = $(BLD)/emacs.res
|
2008-04-10 09:44:59 +00:00
|
|
|
CLIENTRES = $(BLD)/emacsclient.res
|
2001-12-03 11:40:21 +00:00
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
XMFLAGS =
|
|
|
|
|
2001-12-03 11:40:21 +00:00
|
|
|
ALL = addpm ddeclient runemacs cmdproxy addsection preprep
|
|
|
|
|
|
|
|
.PHONY: $(ALL)
|
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
|
|
|
|
addpm: stamp_BLD $(BLD)/addpm.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/addpm.exe: $(BLD)/addpm.$(O)
|
|
|
|
$(LINK) $(LINK_OUT)$@ \
|
2009-01-15 15:17:44 +00:00
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) \
|
|
|
|
$(USER32) $(OLE32) $(UUID) $(SHELL32)
|
2001-12-03 11:40:21 +00:00
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
ddeclient: stamp_BLD $(BLD)/ddeclient.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
|
|
|
|
$(LINK) $(LINK_OUT)$@ \
|
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
|
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
cmdproxy: stamp_BLD $(BLD)/cmdproxy.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
|
|
|
|
$(LINK) $(LINK_OUT)$@ \
|
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
|
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
addsection: stamp_BLD $(BLD)/addsection.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/addsection.exe: $(BLD)/addsection.$(O)
|
|
|
|
$(LINK) $(LINK_OUT)$@ \
|
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
|
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
preprep: stamp_BLD $(BLD)/preprep.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/preprep.exe: $(BLD)/preprep.$(O)
|
|
|
|
$(LINK) $(LINK_OUT)$@ \
|
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# The resource file. NT 3.10 requires the use of cvtres; even though
|
|
|
|
# it is not necessary on later versions, it is still ok to use it.
|
|
|
|
#
|
2008-03-02 19:03:12 +00:00
|
|
|
$(TRES): emacs.rc icons/emacs.ico emacs.manifest stamp_BLD
|
2008-04-10 09:44:59 +00:00
|
|
|
$(RC) $(RC_OUT)$(TRES) emacs.rc
|
|
|
|
|
|
|
|
$(CLIENTRES): emacsclient.rc stamp_BLD
|
|
|
|
$(RC) $(RC_OUT)$(CLIENTRES) emacsclient.rc
|
2001-12-03 11:40:21 +00:00
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
runemacs: stamp_BLD $(BLD)/runemacs.exe
|
2001-12-03 11:40:21 +00:00
|
|
|
$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
|
|
|
|
$(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
|
|
|
|
$(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
|
|
|
|
|
|
|
|
which-sh:
|
|
|
|
@echo Using $(THE_SHELL) as shell.
|
|
|
|
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
# These depend on stamp_BLD to make sure the $(BLD) directory is created
|
|
|
|
# before the compilation begins, even if Make runs several commands
|
|
|
|
# in parallel under "make -j".
|
|
|
|
#
|
|
|
|
$(BLD)/addpm.$(O) $(BLD)/ddeclient.$(O) $(BLD)/runemacs.$(O) $(BLD)/cmdproxy.$(O) $(BLD)/addsection.$(O) $(BLD)/preprep.$(O): stamp_BLD
|
2006-12-20 23:52:16 +00:00
|
|
|
|
2001-12-03 11:40:21 +00:00
|
|
|
#
|
|
|
|
# Build emacs
|
|
|
|
#
|
2008-04-11 18:59:13 +00:00
|
|
|
all: which-sh stamp_BLD $(ALL) $(CLIENTRES) maybe-bootstrap all-other-dirs-$(MAKETYPE)
|
2001-12-03 11:40:21 +00:00
|
|
|
|
2006-12-20 23:52:16 +00:00
|
|
|
all-other-dirs-nmake: addsection
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lib-src
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\src
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lisp
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\leim
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\nt
|
|
|
|
|
2006-12-20 23:52:16 +00:00
|
|
|
all-other-dirs-gmake: addsection
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib all
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src all
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src all
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp all
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim all
|
2001-12-03 11:40:21 +00:00
|
|
|
|
|
|
|
recompile: recompile-$(MAKETYPE)
|
|
|
|
|
|
|
|
recompile-nmake:
|
|
|
|
cd ..\lisp
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) recompile
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
recompile-gmake:
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp recompile
|
2001-12-03 11:40:21 +00:00
|
|
|
|
|
|
|
#### Bootstrapping.
|
|
|
|
|
|
|
|
### This is meant for Emacs maintainers only. It first cleans the
|
|
|
|
### lisp subdirectory, removing all compiled Lisp files. Then a
|
|
|
|
### special emacs executable is built from Lisp sources, which is then
|
|
|
|
### used to compile Lisp files. The last step is a "normal" make.
|
|
|
|
|
2002-06-13 18:40:14 +00:00
|
|
|
maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
|
|
|
|
|
|
|
|
# dummy target to force other targets to be evaluated.
|
|
|
|
doit:
|
|
|
|
|
|
|
|
maybe-bootstrap-CMD: doit
|
2004-07-24 04:52:27 +00:00
|
|
|
@echo .
|
2002-06-13 18:40:14 +00:00
|
|
|
@if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either
|
|
|
|
@if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow
|
2004-07-24 04:52:27 +00:00
|
|
|
@echo .
|
2002-06-13 18:40:14 +00:00
|
|
|
@if not EXIST ..\lisp\abbrev.elc exit -1
|
|
|
|
|
|
|
|
maybe-bootstrap-SH: doit
|
|
|
|
@if [ ! -f ../lisp/abbrev.elc ] ; then \
|
|
|
|
echo; \
|
|
|
|
echo "Essential Lisp files seem to be missing. You should either"; \
|
|
|
|
echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \
|
|
|
|
echo; \
|
|
|
|
exit -1; \
|
|
|
|
fi
|
|
|
|
|
2007-07-20 19:32:26 +00:00
|
|
|
# Bootstrap depends on cmdproxy because some Lisp functions
|
|
|
|
# loaded during bootstrap may need to run shell commands.
|
|
|
|
bootstrap: addsection cmdproxy bootstrap-$(MAKETYPE)
|
2006-12-22 20:54:52 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) all
|
2001-12-03 11:40:21 +00:00
|
|
|
|
2007-07-20 19:32:26 +00:00
|
|
|
bootstrap-nmake: addsection cmdproxy
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lisp
|
|
|
|
$(MAKE) $(MFLAGS) bootstrap-clean
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
|
|
|
cd ..\lib-src
|
2011-02-09 20:50:17 +00:00
|
|
|
$(MAKE) $(MFLAGS) clean make-docfile
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
2011-01-29 13:41:34 +00:00
|
|
|
$(MAKE) $(MFLAGS) clean all
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) bootstrap
|
|
|
|
$(MAKE) $(MFLAGS) bootstrap-clean
|
2007-08-14 23:01:03 +00:00
|
|
|
cd ..\nt
|
2007-07-20 19:32:26 +00:00
|
|
|
$(CP) $(BLD)/cmdproxy.exe ../bin
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lisp
|
2004-06-06 02:00:18 +00:00
|
|
|
$(MAKE) $(MFLAGS) SHELL=$(SHELLTYPE) bootstrap
|
2002-04-11 07:16:13 +00:00
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) DOC
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\nt
|
|
|
|
|
2007-07-20 19:32:26 +00:00
|
|
|
bootstrap-gmake: addsection cmdproxy
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
|
2011-02-09 20:50:17 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean make-docfile
|
2011-01-29 13:41:34 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib clean all
|
2006-12-23 10:28:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
|
2007-07-20 19:32:26 +00:00
|
|
|
$(CP) $(BLD)/cmdproxy.exe ../bin
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src DOC
|
2001-12-03 11:40:21 +00:00
|
|
|
|
|
|
|
bootstrap-clean: bootstrap-clean-$(MAKETYPE)
|
|
|
|
|
|
|
|
bootstrap-clean-nmake:
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) bootstrap-clean
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lisp
|
|
|
|
$(MAKE) $(MFLAGS) bootstrap-clean
|
|
|
|
|
|
|
|
bootstrap-clean-gmake:
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib clean
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
|
2001-12-03 11:40:21 +00:00
|
|
|
|
|
|
|
$(INSTALL_DIR):
|
|
|
|
- mkdir "$(INSTALL_DIR)"
|
|
|
|
|
|
|
|
$(INSTALL_DIR)/bin: $(INSTALL_DIR)
|
|
|
|
- mkdir "$(INSTALL_DIR)/bin"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build and install emacs in INSTALL_DIR
|
|
|
|
#
|
2010-07-24 13:35:31 +00:00
|
|
|
.PHONY: install-bin install-shortcuts
|
|
|
|
|
|
|
|
install: install-bin install-shortcuts
|
|
|
|
|
|
|
|
install-bin: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
|
2001-12-03 11:40:21 +00:00
|
|
|
- $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
|
|
|
|
- $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
|
|
|
|
- $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
|
|
|
|
- $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
|
2010-07-24 21:35:36 +00:00
|
|
|
- $(CP) README.W32 $(INSTALL_DIR)
|
2001-12-03 11:40:21 +00:00
|
|
|
- $(DEL) ../same-dir.tst
|
|
|
|
- $(DEL) $(INSTALL_DIR)/same-dir.tst
|
|
|
|
echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
|
|
|
|
- mkdir "$(INSTALL_DIR)/etc"
|
|
|
|
- mkdir "$(INSTALL_DIR)/info"
|
|
|
|
- mkdir "$(INSTALL_DIR)/lock"
|
|
|
|
- mkdir "$(INSTALL_DIR)/data"
|
|
|
|
- mkdir "$(INSTALL_DIR)/site-lisp"
|
|
|
|
- mkdir "$(INSTALL_DIR)/etc/icons"
|
|
|
|
$(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF)
|
|
|
|
$(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF)
|
|
|
|
- $(CP_DIR) icons $(INSTALL_DIR)/etc
|
|
|
|
$(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR) $(ENDIF)
|
2007-10-18 00:57:12 +00:00
|
|
|
$(IFNOTSAMEDIR) $(CP) ../COPYING $(INSTALL_DIR) $(ENDIF)
|
|
|
|
- $(CP) ../COPYING $(INSTALL_DIR)/bin
|
2001-12-03 11:40:21 +00:00
|
|
|
- $(DEL) ../same-dir.tst
|
|
|
|
- $(DEL) $(INSTALL_DIR)/same-dir.tst
|
|
|
|
|
|
|
|
install-other-dirs-nmake:
|
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) install
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) install
|
|
|
|
cd ..\lisp
|
|
|
|
$(MAKE) $(MFLAGS) install
|
|
|
|
cd ..\leim
|
|
|
|
$(MAKE) $(MFLAGS) install
|
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
install-other-dirs-gmake:
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src install
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src install
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install
|
2001-12-03 11:40:21 +00:00
|
|
|
|
2010-07-24 13:35:31 +00:00
|
|
|
install-shortcuts:
|
|
|
|
"$(INSTALL_DIR)/bin/addpm" -q
|
|
|
|
|
2010-07-24 21:35:36 +00:00
|
|
|
dist: install-bin
|
|
|
|
mkdir $(TMP_DIST_DIR)
|
2010-07-24 22:04:10 +00:00
|
|
|
$(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR)
|
|
|
|
$(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR)
|
|
|
|
$(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR)
|
|
|
|
$(CP) "$(INSTALL_DIR)/README.W32" $(TMP_DIST_DIR)
|
|
|
|
$(CP) "$(INSTALL_DIR)/INSTALL" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/bin" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/etc" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/info" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR)
|
|
|
|
$(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR)
|
2010-07-24 21:35:36 +00:00
|
|
|
$(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin
|
|
|
|
$(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE)
|
|
|
|
$(DEL_TREE) $(TMP_DIST_DIR)
|
2010-07-24 13:35:31 +00:00
|
|
|
|
2003-09-03 23:05:32 +00:00
|
|
|
force-info:
|
2007-09-06 07:19:48 +00:00
|
|
|
# Note that doc/emacs/makefile knows how to
|
2003-09-03 23:05:32 +00:00
|
|
|
# put the info files in $(infodir),
|
|
|
|
# so we can do ok running make in the build dir.
|
2004-05-03 13:51:59 +00:00
|
|
|
info: force-info info-$(MAKETYPE)
|
|
|
|
|
|
|
|
info-nmake:
|
2007-09-06 07:19:48 +00:00
|
|
|
cd ..\doc\emacs
|
2004-05-03 13:51:59 +00:00
|
|
|
$(MAKE) $(MFLAGS) info
|
2007-10-20 13:05:54 +00:00
|
|
|
cd ..\misc
|
2004-05-03 13:51:59 +00:00
|
|
|
$(MAKE) $(MFLAGS) info
|
2007-10-20 13:05:54 +00:00
|
|
|
cd ..\lispref
|
2007-09-06 07:19:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) info
|
2007-10-20 13:05:54 +00:00
|
|
|
cd ..\lispintro
|
2004-05-03 13:51:59 +00:00
|
|
|
$(MAKE) $(MFLAGS) info
|
2007-10-20 13:05:54 +00:00
|
|
|
cd $(MAKEDIR)
|
2004-05-03 13:51:59 +00:00
|
|
|
|
|
|
|
info-gmake:
|
2007-09-06 07:19:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs info
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc info
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref info
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro info
|
2001-12-03 11:40:21 +00:00
|
|
|
#
|
|
|
|
# Maintenance
|
2003-02-04 14:56:31 +00:00
|
|
|
#
|
2001-12-03 11:40:21 +00:00
|
|
|
clean: clean-other-dirs-$(MAKETYPE)
|
2007-07-20 19:32:26 +00:00
|
|
|
- $(DEL) $(COMPILER_TEMP_FILES)
|
2001-12-03 11:40:21 +00:00
|
|
|
- $(DEL_TREE) $(OBJDIR)
|
2006-12-22 20:41:35 +00:00
|
|
|
- $(DEL) stamp_BLD
|
2001-12-03 11:40:21 +00:00
|
|
|
- $(DEL) ../etc/DOC ../etc/DOC-X
|
|
|
|
|
|
|
|
clean-other-dirs-nmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
2007-09-06 07:19:48 +00:00
|
|
|
cd ..\doc\lispintro
|
2003-09-03 23:05:32 +00:00
|
|
|
$(MAKE) $(MFLAGS) clean
|
2007-09-06 07:19:48 +00:00
|
|
|
cd ..\doc\lispref
|
2003-09-03 23:05:32 +00:00
|
|
|
$(MAKE) $(MFLAGS) clean
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\leim
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
2007-09-06 07:19:48 +00:00
|
|
|
cd ..\doc\emacs
|
|
|
|
$(MAKE) $(MFLAGS) clean
|
|
|
|
cd ..\doc\misc
|
2003-09-03 23:05:32 +00:00
|
|
|
$(MAKE) $(MFLAGS) clean
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
clean-other-dirs-gmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib clean
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim clean
|
2008-04-09 16:32:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref clean
|
2001-12-03 11:40:21 +00:00
|
|
|
|
|
|
|
cleanall-other-dirs-nmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) cleanall
|
2001-12-03 11:40:21 +00:00
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) cleanall
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) cleanall
|
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
cleanall-other-dirs-gmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib cleanall
|
(addpm, ddeclient, cmdproxy, addsection)
(preprep, $(TRES), runemacs)
($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
Depend on stamp_BLD instead of on $(BLD).
(XMFLAGS): New macro.
(all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
(recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
(install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
(cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2006-12-22 18:23:48 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src cleanall
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src cleanall
|
2001-12-03 11:40:21 +00:00
|
|
|
|
2007-07-20 19:32:26 +00:00
|
|
|
# We used to delete *~ here, but that might inadvertently remove
|
|
|
|
# precious files if it happens to match their short 8+3 aliases.
|
2001-12-03 11:40:21 +00:00
|
|
|
cleanall: clean cleanall-other-dirs-$(MAKETYPE)
|
|
|
|
- $(DEL_TREE) obj
|
|
|
|
- $(DEL_TREE) obj-spd
|
|
|
|
- $(DEL_TREE) oo
|
|
|
|
- $(DEL_TREE) oo-spd
|
|
|
|
|
2008-04-09 16:32:08 +00:00
|
|
|
top-distclean:
|
|
|
|
- $(DEL) $(COMPILER_TEMP_FILES)
|
|
|
|
- $(DEL_TREE) obj
|
|
|
|
- $(DEL_TREE) obj-spd
|
|
|
|
- $(DEL_TREE) oo
|
|
|
|
- $(DEL_TREE) oo-spd
|
|
|
|
- $(DEL) stamp_BLD
|
|
|
|
- $(DEL) ../etc/DOC ../etc/DOC-X
|
|
|
|
- $(DEL) config.log Makefile
|
2010-07-25 03:07:15 +00:00
|
|
|
- $(DEL) ../README.W32
|
2008-04-09 16:32:08 +00:00
|
|
|
|
|
|
|
distclean: distclean-other-dirs-$(MAKETYPE) top-distclean
|
|
|
|
|
|
|
|
distclean-other-dirs-nmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
2008-04-09 16:32:08 +00:00
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\lisp
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\leim
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\doc\emacs
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\doc\misc
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\doc\lispintro
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\doc\lispref
|
|
|
|
$(MAKE) $(MFLAGS) distclean
|
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
distclean-other-dirs-gmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib distclean
|
2008-04-09 16:32:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro distclean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref distclean
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-other-dirs-$(MAKETYPE) top-distclean
|
|
|
|
|
|
|
|
maintainer-clean-other-dirs-nmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
cd ..\lib
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
2008-04-09 16:32:08 +00:00
|
|
|
cd ..\lib-src
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\src
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\lisp
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\leim
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\doc\emacs
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\doc\misc
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\doc\lispintro
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\doc\lispref
|
|
|
|
$(MAKE) $(MFLAGS) maintainer-clean
|
|
|
|
cd ..\nt
|
|
|
|
|
|
|
|
maintainer-clean-other-dirs-gmake:
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib maintainer-clean
|
2008-04-09 16:32:08 +00:00
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro maintainer-clean
|
|
|
|
$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref maintainer-clean
|
|
|
|
|
2001-12-03 11:40:21 +00:00
|
|
|
realclean: cleanall
|
|
|
|
- $(DEL_TREE) ../bin
|
Support TAGS targets in the w32 build.
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
emacs-src.tags: New file.
src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
(TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
(nt-TAGS-gmake, nt-TAGS-nmake): New targets.
lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
(TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
(TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
lib-src/makefile.w32-in (tags, TAGS): New targets.
2010-10-01 11:45:16 +00:00
|
|
|
|
|
|
|
TAGS: TAGS-$(MAKETYPE)
|
|
|
|
|
|
|
|
frc:
|
|
|
|
TAGS-gmake: frc
|
|
|
|
../lib-src/$(BLD)/etags $(CURDIR)/*.c
|
|
|
|
$(MAKE) $(MFLAGS) -C ../src TAGS TAGS-LISP
|
|
|
|
$(MAKE) $(MFLAGS) -C ../lib-src TAGS
|
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 12:36:11 +00:00
|
|
|
$(MAKE) $(MFLAGS) -C ../lib TAGS
|
Support TAGS targets in the w32 build.
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
emacs-src.tags: New file.
src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
(TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
(nt-TAGS-gmake, nt-TAGS-nmake): New targets.
lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
(TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
(TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
lib-src/makefile.w32-in (tags, TAGS): New targets.
2010-10-01 11:45:16 +00:00
|
|
|
|
|
|
|
TAGS-nmake:
|
|
|
|
echo This target is not supported with NMake
|
|
|
|
|
|
|
|
.PHONY: frc
|