annotate nt/makefile.w32-in @ 93159:9f29accd415e

(vc-status-prepare-status-buffer): Fix thinko. (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process. Add :enable for vc-status-refresh. (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test. (vc-status-tool-bar-map): Add binding for vc-status-kill-dir-status-process. Don't test display-graphic-p and don't bind vc-ignore-menu-filter. (vc-update-vc-status-buffer, vc-status-kill-dir-status-process): Reset vc-status-process-buffer. (vc-status-refresh): Don't run two refreshes at a time. (vc-status): If the buffer is already in vc-status-mode only refresh.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 23 Mar 2008 18:12:18 +0000
parents 2b0372848fe6
children 5e03167afe88
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55092
9077e3f7cd49 Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents: 54329
diff changeset
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64083
diff changeset
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
79730
e27f17d9c8ed Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 79133
diff changeset
3 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
4 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
5 # Top level makefile for building GNU Emacs on Windows NT
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
6 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
7 # This file is part of GNU Emacs.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
8 #
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
9 # GNU Emacs is free software; you can redistribute it and/or modify
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
10 # it under the terms of the GNU General Public License as published by
78246
075eb71f218d Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 78172
diff changeset
11 # the Free Software Foundation; either version 3, or (at your option)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
12 # any later version.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
13 #
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
14 # GNU Emacs is distributed in the hope that it will be useful,
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
17 # GNU General Public License for more details.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
18 #
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
19 # You should have received a copy of the GNU General Public License
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
20 # along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 56512
diff changeset
21 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 56512
diff changeset
22 # Boston, MA 02110-1301, USA.
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
23
74935
dcbd4f4f0326 Add comment about DOS EOLs in this file.
Eli Zaretskii <eliz@gnu.org>
parents: 74877
diff changeset
24 # FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out
dcbd4f4f0326 Add comment about DOS EOLs in this file.
Eli Zaretskii <eliz@gnu.org>
parents: 74877
diff changeset
25 # (and remove or replace this comment).
dcbd4f4f0326 Add comment about DOS EOLs in this file.
Eli Zaretskii <eliz@gnu.org>
parents: 74877
diff changeset
26
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
27 ALL = addpm ddeclient runemacs cmdproxy addsection preprep
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
28
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
29 .PHONY: $(ALL)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
30
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
31 TRES = $(BLD)/emacs.res
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
32
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
33 XMFLAGS =
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
34
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
35 addpm: stamp_BLD $(BLD)/addpm.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
36 $(BLD)/addpm.exe: $(BLD)/addpm.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
37 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
38 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
39
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
40 ddeclient: stamp_BLD $(BLD)/ddeclient.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
41 $(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
42 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
43 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
44
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
45 cmdproxy: stamp_BLD $(BLD)/cmdproxy.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
46 $(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
47 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
48 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
49
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
50 addsection: stamp_BLD $(BLD)/addsection.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
51 $(BLD)/addsection.exe: $(BLD)/addsection.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
52 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
53 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
54
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
55 preprep: stamp_BLD $(BLD)/preprep.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
56 $(BLD)/preprep.exe: $(BLD)/preprep.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
57 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
58 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
59
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
60 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
61 # The resource file. NT 3.10 requires the use of cvtres; even though
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
62 # it is not necessary on later versions, it is still ok to use it.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
63 #
92403
2b0372848fe6 ($(TRES)): Depend on icon and manifest.
Jason Rumney <jasonr@gnu.org>
parents: 91768
diff changeset
64 $(TRES): emacs.rc icons/emacs.ico emacs.manifest stamp_BLD
74877
226713cc7be9 ($(TRES)): Don't use $<, as nmake supports it only in implicit rules.
Eli Zaretskii <eliz@gnu.org>
parents: 74841
diff changeset
65 $(RC) $(RC_OUT)$(BLD)/emacs.res emacs.rc
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
66
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
67 runemacs: stamp_BLD $(BLD)/runemacs.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
68 $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
69 $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
70 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
71
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
72 which-sh:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
73 @echo Using $(THE_SHELL) as shell.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
74
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
75 # These depend on stamp_BLD to make sure the $(BLD) directory is created
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
76 # before the compilation begins, even if Make runs several commands
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
77 # in parallel under "make -j".
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
78 #
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
79 $(BLD)/addpm.$(O) $(BLD)/ddeclient.$(O) $(BLD)/runemacs.$(O) $(BLD)/cmdproxy.$(O) $(BLD)/addsection.$(O) $(BLD)/preprep.$(O): stamp_BLD
74780
7ae36b2cbdc6 ($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
Eli Zaretskii <eliz@gnu.org>
parents: 69447
diff changeset
80
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
81 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
82 # Build emacs
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
83 #
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
84 all: which-sh stamp_BLD $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
85
74780
7ae36b2cbdc6 ($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
Eli Zaretskii <eliz@gnu.org>
parents: 69447
diff changeset
86 all-other-dirs-nmake: addsection
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
87 cd ..\lib-src
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
88 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
89 cd ..\src
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
90 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
91 cd ..\lisp
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
92 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
93 cd ..\leim
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
94 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
95 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
96
74780
7ae36b2cbdc6 ($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
Eli Zaretskii <eliz@gnu.org>
parents: 69447
diff changeset
97 all-other-dirs-gmake: addsection
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
98 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
99 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
100 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
101 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
102
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
103 recompile: recompile-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
104
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
105 recompile-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
106 cd ..\lisp
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
107 $(MAKE) $(MFLAGS) recompile
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
108 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
109
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
110 recompile-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
111 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp recompile
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
112
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
113 #### Bootstrapping.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
114
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
115 ### This is meant for Emacs maintainers only. It first cleans the
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
116 ### lisp subdirectory, removing all compiled Lisp files. Then a
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
117 ### special emacs executable is built from Lisp sources, which is then
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
118 ### used to compile Lisp files. The last step is a "normal" make.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
119
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
120 maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
121
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
122 # dummy target to force other targets to be evaluated.
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
123 doit:
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
124
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
125 maybe-bootstrap-CMD: doit
56512
d341e83af4f2 Removed the various "echo." lines from lisp\makefile.w32-in and nt\makefile.w32-in.
Ben Key <bkey1@tampabay.rr.com>
parents: 56026
diff changeset
126 @echo .
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
127 @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
128 @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow
56512
d341e83af4f2 Removed the various "echo." lines from lisp\makefile.w32-in and nt\makefile.w32-in.
Ben Key <bkey1@tampabay.rr.com>
parents: 56026
diff changeset
129 @echo .
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
130 @if not EXIST ..\lisp\abbrev.elc exit -1
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
131
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
132 maybe-bootstrap-SH: doit
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
133 @if [ ! -f ../lisp/abbrev.elc ] ; then \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
134 echo; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
135 echo "Essential Lisp files seem to be missing. You should either"; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
136 echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
137 echo; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
138 exit -1; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
139 fi
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
140
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
141 # Bootstrap depends on cmdproxy because some Lisp functions
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
142 # loaded during bootstrap may need to run shell commands.
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
143 bootstrap: addsection cmdproxy bootstrap-$(MAKETYPE)
74817
72b5e33cca58 (bootstrap): Make `all' explicitly in a recursive Make.
Eli Zaretskii <eliz@gnu.org>
parents: 74816
diff changeset
144 $(MAKE) $(MFLAGS) $(XMFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
145
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
146 bootstrap-nmake: addsection cmdproxy
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
147 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
148 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
149 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
150 $(MAKE) $(MFLAGS) clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
151 cd ..\lib-src
44495
5040cc502801 (bootstrap-nmake, bootstrap-gmake): Make DOC after compiling .el files.
Juanma Barranquero <lekktu@gmail.com>
parents: 42026
diff changeset
152 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
153 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
154 $(MAKE) $(MFLAGS) bootstrap
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
155 $(MAKE) $(MFLAGS) bootstrap-clean
78556
06a920d59d43 (bootstrap-nmake): Change directories once more.
Jason Rumney <jasonr@gnu.org>
parents: 78246
diff changeset
156 cd ..\nt
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
157 $(CP) $(BLD)/cmdproxy.exe ../bin
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
158 cd ..\lisp
55935
7d801d9fee5a (bootstrap-nmake): When nmake'ing bootstrap on the lisp/ directory, set SHELL to
Juanma Barranquero <lekktu@gmail.com>
parents: 55337
diff changeset
159 $(MAKE) $(MFLAGS) SHELL=$(SHELLTYPE) bootstrap
44495
5040cc502801 (bootstrap-nmake, bootstrap-gmake): Make DOC after compiling .el files.
Juanma Barranquero <lekktu@gmail.com>
parents: 42026
diff changeset
160 cd ..\lib-src
5040cc502801 (bootstrap-nmake, bootstrap-gmake): Make DOC after compiling .el files.
Juanma Barranquero <lekktu@gmail.com>
parents: 42026
diff changeset
161 $(MAKE) $(MFLAGS) DOC
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
162 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
163
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
164 bootstrap-gmake: addsection cmdproxy
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
165 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
166 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
167 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
168 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
169 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
170 $(CP) $(BLD)/cmdproxy.exe ../bin
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
171 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
172 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src DOC
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
173
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
174 bootstrap-clean: bootstrap-clean-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
175
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
176 bootstrap-clean-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
177 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
178 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
179 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
180 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
181
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
182 bootstrap-clean-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
183 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
184 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
185
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
186 $(INSTALL_DIR):
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
187 - mkdir "$(INSTALL_DIR)"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
188
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
189 $(INSTALL_DIR)/bin: $(INSTALL_DIR)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
190 - mkdir "$(INSTALL_DIR)/bin"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
191
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
192 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
193 # Build and install emacs in INSTALL_DIR
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
194 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
195 install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
196 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
197 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
198 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
199 - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
69447
ba388b0284f4 (install): Use -q when invoking addpm. Avoids problem with MSYS trying
Jason Rumney <jasonr@gnu.org>
parents: 68648
diff changeset
200 - "$(INSTALL_DIR)/bin/addpm" -q
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
201 - $(DEL) ../same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
202 - $(DEL) $(INSTALL_DIR)/same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
203 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
204 - mkdir "$(INSTALL_DIR)/etc"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
205 - mkdir "$(INSTALL_DIR)/info"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
206 - mkdir "$(INSTALL_DIR)/lock"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
207 - mkdir "$(INSTALL_DIR)/data"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
208 - mkdir "$(INSTALL_DIR)/site-lisp"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
209 - mkdir "$(INSTALL_DIR)/etc/icons"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
210 $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
211 $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
212 - $(CP_DIR) icons $(INSTALL_DIR)/etc
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
213 $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR) $(ENDIF)
79133
58ec22dbe75f (install): Install COPYING in top-level and bin dirs.
Jason Rumney <jasonr@gnu.org>
parents: 78556
diff changeset
214 $(IFNOTSAMEDIR) $(CP) ../COPYING $(INSTALL_DIR) $(ENDIF)
58ec22dbe75f (install): Install COPYING in top-level and bin dirs.
Jason Rumney <jasonr@gnu.org>
parents: 78556
diff changeset
215 - $(CP) ../COPYING $(INSTALL_DIR)/bin
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
216 - $(DEL) ../same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
217 - $(DEL) $(INSTALL_DIR)/same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
218
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
219 install-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
220 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
221 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
222 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
223 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
224 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
225 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
226 cd ..\leim
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
227 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
228 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
229
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
230 install-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
231 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
232 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
233 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
234 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
235
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
236 force-info:
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
237 # Note that doc/emacs/makefile knows how to
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
238 # put the info files in $(infodir),
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
239 # so we can do ok running make in the build dir.
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
240 info: force-info info-$(MAKETYPE)
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
241
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
242 info-nmake:
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
243 cd ..\doc\emacs
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
244 $(MAKE) $(MFLAGS) info
85484
fa12b4a2709e (info-nmake): Change into correct directories.
Jason Rumney <jasonr@gnu.org>
parents: 85423
diff changeset
245 cd ..\misc
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
246 $(MAKE) $(MFLAGS) info
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
247 cd ..\lispref
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
248 $(MAKE) $(MFLAGS) info
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
249 cd ..\lispintro
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
250 $(MAKE) $(MFLAGS) info
85484
fa12b4a2709e (info-nmake): Change into correct directories.
Jason Rumney <jasonr@gnu.org>
parents: 85423
diff changeset
251 cd $(MAKEDIR)
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
252
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
253 info-gmake:
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
254 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs info
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
255 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc info
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
256 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref info
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
257 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro info
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
258 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
259 # Maintenance
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
260 #
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
261 clean: clean-other-dirs-$(MAKETYPE)
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
262 - $(DEL) $(COMPILER_TEMP_FILES)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
263 - $(DEL_TREE) $(OBJDIR)
74816
04ee903b7617 (clean): Delete stamp_BLD.
Eli Zaretskii <eliz@gnu.org>
parents: 74806
diff changeset
264 - $(DEL) stamp_BLD
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
265 - $(DEL) ../etc/DOC ../etc/DOC-X
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
266
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
267 clean-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
268 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
269 $(MAKE) $(MFLAGS) clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
270 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
271 $(MAKE) $(MFLAGS) clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
272 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
273 $(MAKE) $(MFLAGS) clean
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
274 cd ..\doc\lispintro
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
275 $(MAKE) $(MFLAGS) clean
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
276 cd ..\doc\lispref
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
277 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
278 cd ..\leim
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
279 $(MAKE) $(MFLAGS) clean
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
280 cd ..\doc\emacs
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
281 $(MAKE) $(MFLAGS) clean
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
282 cd ..\doc\misc
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
283 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
284 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
285
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
286 clean-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
287 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
288 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
289 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
290 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
291
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
292 cleanall-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
293 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
294 $(MAKE) $(MFLAGS) cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
295 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
296 $(MAKE) $(MFLAGS) cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
297 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
298
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
299 cleanall-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
300 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src cleanall
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
301 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src cleanall
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
302
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
303 # We used to delete *~ here, but that might inadvertently remove
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
304 # precious files if it happens to match their short 8+3 aliases.
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
305 cleanall: clean cleanall-other-dirs-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
306 - $(DEL_TREE) obj
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
307 - $(DEL_TREE) obj-spd
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
308 - $(DEL_TREE) oo
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
309 - $(DEL_TREE) oo-spd
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
310
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
311 realclean: cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
312 - $(DEL_TREE) ../bin