annotate nt/makefile.w32-in @ 112411:6178cf733e6f

Merge from mainline.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 Jan 2011 21:52:29 -0800
parents 417b1e4d63cd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94795
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
3 # 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
4 #
94795
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
5 # Top level makefile for building GNU Emacs on Windows NT
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
6 #
94795
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
7 # This file is part of GNU Emacs.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
8
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
9 # GNU Emacs is free software: you can redistribute it and/or modify
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
10 # it under the terms of the GNU General Public License as published by
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
11 # the Free Software Foundation, either version 3 of the License, or
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
12 # (at your option) any later version.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
13
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
14 # GNU Emacs is distributed in the hope that it will be useful,
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
17 # GNU General Public License for more details.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
18
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
19 # You should have received a copy of the GNU General Public License
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94293
diff changeset
21
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
22
74935
dcbd4f4f0326 Add comment about DOS EOLs in this file.
Eli Zaretskii <eliz@gnu.org>
parents: 74877
diff changeset
23 # 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
24 # (and remove or replace this comment).
dcbd4f4f0326 Add comment about DOS EOLs in this file.
Eli Zaretskii <eliz@gnu.org>
parents: 74877
diff changeset
25
109507
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
26 VERSION = 24.0.50
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
27
109520
49f1e3b03e76 Fixed whitespace.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109519
diff changeset
28 TMP_DIST_DIR = emacs-$(VERSION)
109518
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
29
80480
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
30 TRES = $(BLD)/emacs.res
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
31 CLIENTRES = $(BLD)/emacsclient.res
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
32
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
33 XMFLAGS =
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
34
80500
82cbd6e365cf (ALL): Move $(CLIENTRES) from here...
Eli Zaretskii <eliz@gnu.org>
parents: 80480
diff changeset
35 ALL = addpm ddeclient runemacs cmdproxy addsection preprep
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
36
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
37 .PHONY: $(ALL)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
38
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
39
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
40 addpm: stamp_BLD $(BLD)/addpm.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
41 $(BLD)/addpm.exe: $(BLD)/addpm.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
42 $(LINK) $(LINK_OUT)$@ \
101209
8abf39c667b5 ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
Jason Rumney <jasonr@gnu.org>
parents: 100954
diff changeset
43 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) \
8abf39c667b5 ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
Jason Rumney <jasonr@gnu.org>
parents: 100954
diff changeset
44 $(USER32) $(OLE32) $(UUID) $(SHELL32)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
45
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
46 ddeclient: stamp_BLD $(BLD)/ddeclient.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
47 $(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
48 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
49 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
50
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
51 cmdproxy: stamp_BLD $(BLD)/cmdproxy.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
52 $(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
53 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
54 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
55
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
56 addsection: stamp_BLD $(BLD)/addsection.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
57 $(BLD)/addsection.exe: $(BLD)/addsection.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
58 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
59 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
60
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
61 preprep: stamp_BLD $(BLD)/preprep.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
62 $(BLD)/preprep.exe: $(BLD)/preprep.$(O)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
63 $(LINK) $(LINK_OUT)$@ \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
64 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
65
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
66 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
67 # 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
68 # 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
69 #
92403
2b0372848fe6 ($(TRES)): Depend on icon and manifest.
Jason Rumney <jasonr@gnu.org>
parents: 91768
diff changeset
70 $(TRES): emacs.rc icons/emacs.ico emacs.manifest stamp_BLD
80480
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
71 $(RC) $(RC_OUT)$(TRES) emacs.rc
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
72
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
73 $(CLIENTRES): emacsclient.rc stamp_BLD
8f290e24bc3a (CLIENTRES): New variable and build target.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
74 $(RC) $(RC_OUT)$(CLIENTRES) emacsclient.rc
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
75
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
76 runemacs: stamp_BLD $(BLD)/runemacs.exe
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
77 $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
78 $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
79 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
80
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
81 which-sh:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
82 @echo Using $(THE_SHELL) as shell.
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 # 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
85 # before the compilation begins, even if Make runs several commands
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
86 # in parallel under "make -j".
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
87 #
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
88 $(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
89
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
90 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
91 # Build emacs
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
92 #
80500
82cbd6e365cf (ALL): Move $(CLIENTRES) from here...
Eli Zaretskii <eliz@gnu.org>
parents: 80480
diff changeset
93 all: which-sh stamp_BLD $(ALL) $(CLIENTRES) maybe-bootstrap all-other-dirs-$(MAKETYPE)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
94
74780
7ae36b2cbdc6 ($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
Eli Zaretskii <eliz@gnu.org>
parents: 69447
diff changeset
95 all-other-dirs-nmake: addsection
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
96 cd ..\lib-src
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
97 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
98 cd ..\src
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
99 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
100 cd ..\lisp
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
101 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
102 cd ..\leim
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
103 $(MAKE) $(MFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
104 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
105
74780
7ae36b2cbdc6 ($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
Eli Zaretskii <eliz@gnu.org>
parents: 69447
diff changeset
106 all-other-dirs-gmake: addsection
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
107 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
108 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
109 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp all
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
110 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
111
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
112 recompile: recompile-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
113
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
114 recompile-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
115 cd ..\lisp
74841
b28d17e7d21a (all-other-dirs-nmake, recompile-nmake): Don't use $(XMFLAGS).
Eli Zaretskii <eliz@gnu.org>
parents: 74817
diff changeset
116 $(MAKE) $(MFLAGS) recompile
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
117 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
118
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
119 recompile-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
120 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp recompile
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
121
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
122 #### Bootstrapping.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
123
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
124 ### This is meant for Emacs maintainers only. It first cleans the
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
125 ### lisp subdirectory, removing all compiled Lisp files. Then a
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
126 ### special emacs executable is built from Lisp sources, which is then
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
127 ### used to compile Lisp files. The last step is a "normal" make.
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
128
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
129 maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
130
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
131 # 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
132 doit:
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
133
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
134 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
135 @echo .
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
136 @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
137 @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
138 @echo .
45811
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
139 @if not EXIST ..\lisp\abbrev.elc exit -1
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
140
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
141 maybe-bootstrap-SH: doit
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
142 @if [ ! -f ../lisp/abbrev.elc ] ; then \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
143 echo; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
144 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
145 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
146 echo; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
147 exit -1; \
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
148 fi
a834f8a38ad4 (maybe-bootstrap, doit, maybe-bootstrap-CMD)
Jason Rumney <jasonr@gnu.org>
parents: 44495
diff changeset
149
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
150 # 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
151 # 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
152 bootstrap: addsection cmdproxy bootstrap-$(MAKETYPE)
74817
72b5e33cca58 (bootstrap): Make `all' explicitly in a recursive Make.
Eli Zaretskii <eliz@gnu.org>
parents: 74816
diff changeset
153 $(MAKE) $(MFLAGS) $(XMFLAGS) all
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
154
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
155 bootstrap-nmake: addsection cmdproxy
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
156 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
157 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
158 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
159 $(MAKE) $(MFLAGS) clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
160 cd ..\lib-src
44495
5040cc502801 (bootstrap-nmake, bootstrap-gmake): Make DOC after compiling .el files.
Juanma Barranquero <lekktu@gmail.com>
parents: 42026
diff changeset
161 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
162 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
163 $(MAKE) $(MFLAGS) bootstrap
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
164 $(MAKE) $(MFLAGS) bootstrap-clean
78556
06a920d59d43 (bootstrap-nmake): Change directories once more.
Jason Rumney <jasonr@gnu.org>
parents: 78246
diff changeset
165 cd ..\nt
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
166 $(CP) $(BLD)/cmdproxy.exe ../bin
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
167 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
168 $(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
169 cd ..\lib-src
5040cc502801 (bootstrap-nmake, bootstrap-gmake): Make DOC after compiling .el files.
Juanma Barranquero <lekktu@gmail.com>
parents: 42026
diff changeset
170 $(MAKE) $(MFLAGS) DOC
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
171 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
172
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
173 bootstrap-gmake: addsection cmdproxy
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
174 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
175 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
176 $(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
177 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
178 $(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
179 $(CP) $(BLD)/cmdproxy.exe ../bin
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
180 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
181 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src DOC
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
182
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
183 bootstrap-clean: bootstrap-clean-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
184
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
185 bootstrap-clean-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
186 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
187 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
188 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
189 $(MAKE) $(MFLAGS) bootstrap-clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
190
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
191 bootstrap-clean-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
192 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
193 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
41806
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_DIR):
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
196 - mkdir "$(INSTALL_DIR)"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
197
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
198 $(INSTALL_DIR)/bin: $(INSTALL_DIR)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
199 - mkdir "$(INSTALL_DIR)/bin"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
200
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
201 #
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
202 # Build and install emacs in INSTALL_DIR
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
203 #
109507
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
204 .PHONY: install-bin install-shortcuts
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
205
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
206 install: install-bin install-shortcuts
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
207
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
208 install-bin: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
209 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
210 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
211 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
212 - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
109518
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
213 - $(CP) README.W32 $(INSTALL_DIR)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
214 - $(DEL) ../same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
215 - $(DEL) $(INSTALL_DIR)/same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
216 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
217 - mkdir "$(INSTALL_DIR)/etc"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
218 - mkdir "$(INSTALL_DIR)/info"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
219 - mkdir "$(INSTALL_DIR)/lock"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
220 - mkdir "$(INSTALL_DIR)/data"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
221 - mkdir "$(INSTALL_DIR)/site-lisp"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
222 - mkdir "$(INSTALL_DIR)/etc/icons"
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
223 $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
224 $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
225 - $(CP_DIR) icons $(INSTALL_DIR)/etc
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
226 $(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
227 $(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
228 - $(CP) ../COPYING $(INSTALL_DIR)/bin
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
229 - $(DEL) ../same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
230 - $(DEL) $(INSTALL_DIR)/same-dir.tst
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
231
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
232 install-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
233 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
234 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
235 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
236 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
237 cd ..\lisp
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
238 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
239 cd ..\leim
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
240 $(MAKE) $(MFLAGS) install
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
241 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
242
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
243 install-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
244 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
245 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
246 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
247 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
248
109507
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
249 install-shortcuts:
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
250 "$(INSTALL_DIR)/bin/addpm" -q
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
251
109518
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
252 dist: install-bin
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
253 mkdir $(TMP_DIST_DIR)
109519
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
254 $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
255 $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
256 $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
257 $(CP) "$(INSTALL_DIR)/README.W32" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
258 $(CP) "$(INSTALL_DIR)/INSTALL" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
259 $(CP_DIR) "$(INSTALL_DIR)/bin" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
260 $(CP_DIR) "$(INSTALL_DIR)/etc" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
261 $(CP_DIR) "$(INSTALL_DIR)/info" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
262 $(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
263 $(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR)
17b112f1eaa5 Code cleanup. Added ChangeLog entry.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109518
diff changeset
264 $(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR)
109518
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
265 $(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
266 $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE)
773951d3ff17 Refactoring of make dist target
Christoph Scholtes <cschol2112@gmail.com>
parents: 109507
diff changeset
267 $(DEL_TREE) $(TMP_DIST_DIR)
109507
1277fe6717c9 New make target for Windows platform: make dist (bug#6602)
Juanma Barranquero <lekktu@gmail.com>
parents: 106815
diff changeset
268
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
269 force-info:
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
270 # Note that doc/emacs/makefile knows how to
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
271 # put the info files in $(infodir),
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
272 # 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
273 info: force-info info-$(MAKETYPE)
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
274
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
275 info-nmake:
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\emacs
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
277 $(MAKE) $(MFLAGS) info
85484
fa12b4a2709e (info-nmake): Change into correct directories.
Jason Rumney <jasonr@gnu.org>
parents: 85423
diff changeset
278 cd ..\misc
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
279 $(MAKE) $(MFLAGS) info
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
280 cd ..\lispref
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
281 $(MAKE) $(MFLAGS) info
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
282 cd ..\lispintro
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
283 $(MAKE) $(MFLAGS) info
85484
fa12b4a2709e (info-nmake): Change into correct directories.
Jason Rumney <jasonr@gnu.org>
parents: 85423
diff changeset
284 cd $(MAKEDIR)
55337
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
285
61fda07994e4 (info-gmake, info-nmake): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
286 info-gmake:
84344
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
287 $(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
288 $(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
289 $(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
290 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro info
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 # Maintenance
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45811
diff changeset
293 #
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
294 clean: clean-other-dirs-$(MAKETYPE)
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
295 - $(DEL) $(COMPILER_TEMP_FILES)
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
296 - $(DEL_TREE) $(OBJDIR)
74816
04ee903b7617 (clean): Delete stamp_BLD.
Eli Zaretskii <eliz@gnu.org>
parents: 74806
diff changeset
297 - $(DEL) stamp_BLD
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
298 - $(DEL) ../etc/DOC ../etc/DOC-X
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
299
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
300 clean-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
301 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
302 $(MAKE) $(MFLAGS) clean
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
303 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
304 $(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
305 cd ..\doc\lispintro
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
306 $(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
307 cd ..\doc\lispref
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
308 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
309 cd ..\leim
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
310 $(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
311 cd ..\doc\emacs
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
312 $(MAKE) $(MFLAGS) clean
cc7fe4bd2348 (info-nmake, info-gmake, clean-other-dirs-nmake): Change from ../man
Glenn Morris <rgm@gnu.org>
parents: 78556
diff changeset
313 cd ..\doc\misc
52424
700abb70b17f (force-info, info): New targets.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
314 $(MAKE) $(MFLAGS) clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
315 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
316
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
317 clean-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
318 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
319 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
320 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim clean
93929
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
321 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
322 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
323 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
324 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref clean
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
325
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
326 cleanall-other-dirs-nmake:
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
327 cd ..\lib-src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
328 $(MAKE) $(MFLAGS) cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
329 cd ..\src
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
330 $(MAKE) $(MFLAGS) cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
331 cd ..\nt
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
332
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
333 cleanall-other-dirs-gmake:
74800
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
334 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src cleanall
89ced28cdb19 (addpm, ddeclient, cmdproxy, addsection)
Eli Zaretskii <eliz@gnu.org>
parents: 74780
diff changeset
335 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src cleanall
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
336
78172
ffb5cc25cfc4 (bootstrap, bootstrap-nmake, bootstrap-gmake): Depend on cmdproxy.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
337 # 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
338 # 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
339 cleanall: clean cleanall-other-dirs-$(MAKETYPE)
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
340 - $(DEL_TREE) obj
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
341 - $(DEL_TREE) obj-spd
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
342 - $(DEL_TREE) oo
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
343 - $(DEL_TREE) oo-spd
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
344
93929
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
345 top-distclean:
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
346 - $(DEL) $(COMPILER_TEMP_FILES)
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
347 - $(DEL_TREE) obj
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
348 - $(DEL_TREE) obj-spd
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
349 - $(DEL_TREE) oo
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
350 - $(DEL_TREE) oo-spd
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
351 - $(DEL) stamp_BLD
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
352 - $(DEL) ../etc/DOC ../etc/DOC-X
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
353 - $(DEL) config.log Makefile
109522
4e03e8c753eb Added README.W32 to distclean. Updated Changelog.
Christoph Scholtes <cschol2112@gmail.com>
parents: 109520
diff changeset
354 - $(DEL) ../README.W32
93929
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
355
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
356 distclean: distclean-other-dirs-$(MAKETYPE) top-distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
357
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
358 distclean-other-dirs-nmake:
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
359 cd ..\lib-src
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
360 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
361 cd ..\src
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
362 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
363 cd ..\lisp
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
364 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
365 cd ..\leim
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
366 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
367 cd ..\doc\emacs
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
368 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
369 cd ..\doc\misc
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
370 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
371 cd ..\doc\lispintro
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
372 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
373 cd ..\doc\lispref
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
374 $(MAKE) $(MFLAGS) distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
375 cd ..\nt
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
376
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
377 distclean-other-dirs-gmake:
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
378 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
379 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
380 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
381 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
382 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
383 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
384 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
385 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
386
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
387 maintainer-clean: maintainer-clean-other-dirs-$(MAKETYPE) top-distclean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
388
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
389 maintainer-clean-other-dirs-nmake:
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
390 cd ..\lib-src
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
391 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
392 cd ..\src
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
393 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
394 cd ..\lisp
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
395 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
396 cd ..\leim
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
397 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
398 cd ..\doc\emacs
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
399 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
400 cd ..\doc\misc
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
401 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
402 cd ..\doc\lispintro
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
403 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
404 cd ..\doc\lispref
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
405 $(MAKE) $(MFLAGS) maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
406 cd ..\nt
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
407
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
408 maintainer-clean-other-dirs-gmake:
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
409 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
410 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
411 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
412 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
413 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
414 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
415 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
416 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref maintainer-clean
5e03167afe88 (clean-other-dirs-nmake): Don't clean lisp dir.
Jason Rumney <jasonr@gnu.org>
parents: 92403
diff changeset
417
41806
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
418 realclean: cleanall
afe310730a69 (bootstrap-nmake):
Andrew Innes <andrewi@gnu.org>
parents: 39113
diff changeset
419 - $(DEL_TREE) ../bin
110675
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
420
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
421 TAGS: TAGS-$(MAKETYPE)
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
422
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
423 frc:
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
424 TAGS-gmake: frc
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
425 ../lib-src/$(BLD)/etags $(CURDIR)/*.c
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
426 $(MAKE) $(MFLAGS) -C ../src TAGS TAGS-LISP
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
427 $(MAKE) $(MFLAGS) -C ../lib-src TAGS
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
428
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
429 TAGS-nmake:
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
430 echo This target is not supported with NMake
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
431
7e4b4d33d1b2 Support TAGS targets in the w32 build.
Eli Zaretskii <eliz@gnu.org>
parents: 109522
diff changeset
432 .PHONY: frc