Mercurial > emacs
annotate lisp/makefile.w32-in @ 108004:9d210d83ed69
* font.c (syms_of_font): Make the style table vars read-only.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 20 Apr 2010 13:17:29 -0400 |
parents | 1d1d5d9bd884 |
children | 506ba691342f 376148b31b5e |
rev | line source |
---|---|
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. |
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
106815 | 3 # 2009, 2010 Free Software Foundation, Inc. |
94683
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
4 |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
5 # This file is part of GNU Emacs. |
94683
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
6 |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
7 # GNU Emacs is free software: you can redistribute it and/or modify |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
8 # it under the terms of the GNU General Public License as published by |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
9 # the Free Software Foundation, either version 3 of the License, or |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
10 # (at your option) any later version. |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
11 |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
12 # GNU Emacs is distributed in the hope that it will be useful, |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
15 # GNU General Public License for more details. |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
16 |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
f3e86c1007e8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93969
diff
changeset
|
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
19 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
20 ALL = |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
21 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
22 all: $(ALL) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
23 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
24 SQUOTE=' |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
25 # ' |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
26 |
34273
f719938c6d2e
(lisp): Set to an absolute directory, namely
Andrew Innes <andrewi@gnu.org>
parents:
33904
diff
changeset
|
27 lisp = $(CURDIR) |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
28 srcdir = $(CURDIR)/.. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
29 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
30 # You can specify a different executable on the make command line, |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
31 # e.g. "make EMACS=../src/emacs ...". |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
32 |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
33 EMACS = $(THISDIR)/../bin/emacs.exe |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
34 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
35 # Command line flags for Emacs. This must include --multibyte, |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
36 # otherwise some files will not compile. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
37 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
38 EMACSOPT = -batch --no-init-file --no-site-file --multibyte |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
39 |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
40 # Extra flags to pass to the byte compiler |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
41 BYTE_COMPILE_EXTRA_FLAGS = |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
42 # For example to not display the undefined function warnings you can use this: |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
43 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))' |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
44 # The example above is just for developers, it should not be used by default. |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
45 |
37384 | 46 # Set EMACSLOADPATH correctly (already defined in environment). |
47 EMACSLOADPATH=$(lisp) | |
48 | |
89970
a849e5779b8c
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents:
89957
diff
changeset
|
49 # Use C locale |
a849e5779b8c
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents:
89957
diff
changeset
|
50 LC_ALL = C |
a849e5779b8c
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents:
89957
diff
changeset
|
51 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
52 lisptagsfiles1 = $(lisp)/*.el |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
53 lisptagsfiles2 = $(lisp)/*/*.el |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
54 ETAGS = "../lib-src/$(BLD)/etags" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
55 |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
56 # Automatically generated autoload files, apart from lisp/loaddefs.el. |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
57 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \ |
93926
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
58 $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el \ |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
59 $(lisp)/mh-e/mh-loaddefs.el |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
60 |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
61 AUTOGENEL = $(lisp)/loaddefs.el $(LOADDEFS) $(lisp)/cus-load.el \ |
93969
b5052aee45cd
(AUTOGENEL): Add calc-loaddefs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
93926
diff
changeset
|
62 $(lisp)/finder-inf.el $(lisp)/subdirs.el $(lisp)/eshell/esh-groups.el \ |
105392
0bccd0482881
(AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
Eli Zaretskii <eliz@gnu.org>
parents:
105390
diff
changeset
|
63 $(lisp)/calc/calc-loaddefs.el $(lisp)/nxml/subdirs.el \ |
0bccd0482881
(AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
Eli Zaretskii <eliz@gnu.org>
parents:
105390
diff
changeset
|
64 $(lisp)/cedet/semantic/loaddefs.el $(lisp)/cedet/ede/loaddefs.el \ |
0bccd0482881
(AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
Eli Zaretskii <eliz@gnu.org>
parents:
105390
diff
changeset
|
65 $(lisp)/cedet/srecode/loaddefs.el |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
66 |
36918
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
67 # Files to compile before others during a bootstrap. This is done to |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
68 # speed up the bootstrap process. The CC files are compiled first |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
69 # because CC mode tweaks the compilation process, and requiring |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
70 # cc-mode when it is not compiled doesn't work during the |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
71 # bootstrapping. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
72 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
73 COMPILE_FIRST = \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
74 $(lisp)/emacs-lisp/byte-opt.el \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
75 $(lisp)/emacs-lisp/bytecomp.el \ |
36918
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
76 $(lisp)/subr.el \ |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
77 $(lisp)/progmodes/cc-mode.el \ |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
78 $(lisp)/progmodes/cc-vars.el |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
79 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
80 # The actual Emacs command run in the targets below. |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
81 # The quotes around $(EMACS) are here because the user could type |
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
82 # it with forward slashes and without quotes, which will fail if |
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
83 # the shell is cmd.exe. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
84 |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
85 emacs = "$(EMACS)" $(EMACSOPT) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
86 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
87 # Have to define the list of subdirs manually when not using sh. |
105269
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
88 WINS_CEDET=\ |
105378
b68edadf2115
(WINS_BASIC): Remove cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105269
diff
changeset
|
89 cedet \ |
105269
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
90 cedet/ede \ |
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
91 cedet/semantic \ |
106535
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
92 cedet/srecode \ |
105389
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
93 cedet/semantic/analyze \ |
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
94 cedet/semantic/bovine \ |
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
95 cedet/semantic/decorate \ |
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
96 cedet/semantic/symref \ |
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
97 cedet/semantic/wisent |
e0bfbf0dea57
(WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105387
diff
changeset
|
98 |
105269
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
99 WINS_BASIC=\ |
47039
f89ca946d5c2
(WINS): Add calc and obsolete.
Juanma Barranquero <lekktu@gmail.com>
parents:
46781
diff
changeset
|
100 calc \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
101 calendar \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
102 emacs-lisp \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
103 emulation \ |
68467 | 104 erc \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
105 eshell \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
106 gnus \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
107 international \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
108 language \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
109 mail \ |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
49259
diff
changeset
|
110 mh-e \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
111 net \ |
86371
dac032dc601a
(WIN_ALMOST): Maintain sorted.
Juanma Barranquero <lekktu@gmail.com>
parents:
86361
diff
changeset
|
112 nxml \ |
93150
3cca0b32cb85
(WINS_ALMOST): Add org.
Juanma Barranquero <lekktu@gmail.com>
parents:
92942
diff
changeset
|
113 org \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
114 play \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
115 progmodes \ |
44165
32c2b878dabd
(WINS): Add the toolbar directory.
Juanma Barranquero <lekktu@gmail.com>
parents:
40753
diff
changeset
|
116 textmodes \ |
55064
215f0bc58b67
(WINS): Add url/ directory.
Juanma Barranquero <lekktu@gmail.com>
parents:
53015
diff
changeset
|
117 url |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
118 |
106535
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
119 # Directories with lisp files to compile, and to extract data from |
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
120 # (customs, autoloads, etc.) |
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
121 WINS_UPDATES=$(WINS_BASIC) \ |
105269
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
122 $(WINS_CEDET) |
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
123 |
105503
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
124 # Directories to add to subdirs.el |
105269
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
125 WINS_SUBDIR=$(WINS_BASIC) \ |
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
126 obsolete |
5652135eb5b3
* makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
Juanma Barranquero <lekktu@gmail.com>
parents:
105210
diff
changeset
|
127 |
106535
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
128 # All directories |
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
129 WINS= $(WINS_UPDATES) \ |
92117
870169dbaee1
(WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents:
91327
diff
changeset
|
130 term \ |
73817 | 131 obsolete |
132 | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
133 doit: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
134 |
96114
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
135 cus-load.el-SH: |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
136 echo ";;; cus-load.el --- automatically extracted custom dependencies" > $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
137 echo ";;" >> $@; echo ";;; Code:" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
138 echo "" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
139 echo ";; Local Variables:" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
140 echo ";; version-control: never" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
141 echo ";; no-byte-compile: t" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
142 echo ";; no-update-autoloads: t" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
143 echo ";; End:" >> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
144 |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
145 cus-load.el-CMD: |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
146 echo ;;; cus-load.el --- automatically extracted custom dependencies> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
147 echo ;;>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
148 echo ;;; Code:>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
149 echo.>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
150 echo ;; Local Variables:>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
151 echo ;; version-control: never>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
152 echo ;; no-byte-compile: t>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
153 echo ;; no-update-autoloads: t>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
154 echo ;; End:>> $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
155 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
156 $(lisp)/cus-load.el: |
96114
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
157 $(MAKE) $(MFLAGS) cus-load.el-$(SHELLTYPE) |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
158 mv cus-load.el-$(SHELLTYPE) $@ |
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
parents:
96113
diff
changeset
|
159 |
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
160 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
161 # this can break with GNU Make 3.81 and later if sh.exe is used. |
75410
fc72911206ac
(finder-data, custom-deps): Depend on $(lisp)/loaddefs.el.
Eli Zaretskii <eliz@gnu.org>
parents:
75347
diff
changeset
|
162 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit |
105503
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
163 @echo Directories: $(WINS_UPDATES) |
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
164 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \ |
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
165 -f custom-make-dependencies $(lisp) $(WINS_UPDATES) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
166 |
75410
fc72911206ac
(finder-data, custom-deps): Depend on $(lisp)/loaddefs.el.
Eli Zaretskii <eliz@gnu.org>
parents:
75347
diff
changeset
|
167 finder-data: $(lisp)/loaddefs.el doit |
105503
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
168 @echo Directories: $(WINS_UPDATES) |
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
169 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
170 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
171 $(lisp)/loaddefs.el: |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
172 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
173 cp loaddefs.el-$(SHELLTYPE) $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
174 rm loaddefs.el-$(SHELLTYPE) |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
175 |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
176 loaddefs.el-SH: |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
177 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
178 echo ";;" >> $@; echo ";;; Code:" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
179 echo "" >> $@ |
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
180 echo ";; Local Variables:" >> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
181 echo ";; version-control: never" >> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
182 echo ";; no-byte-compile: t" >> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
183 echo ";; no-update-autoloads: t" >> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
184 echo ";; coding: utf-8" >> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
185 echo ";; End:" >> $@ |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
186 echo ";;; loaddefs.el ends here" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
187 |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
188 loaddefs.el-CMD: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
189 echo ;;; loaddefs.el --- automatically extracted autoloads> $@ |
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
190 echo ;;>> $@ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
191 echo ;;; Code:>> $@ |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
192 echo.>> $@ |
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
193 echo ;; Local Variables:>> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
194 echo ;; version-control: never>> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
195 echo ;; no-byte-compile: t>> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
196 echo ;; no-update-autoloads: t>> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
197 echo ;; coding: utf-8>> $@ |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
198 echo ;; End:>> $@ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
199 echo ;;; loaddefs.el ends here>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
200 |
66385
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
201 # Use . instead of $(lisp) because $(lisp) is an absolute file name, |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
202 # including a drive letter and any leading directories, so the generated |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
203 # loaddefs.el will mention file names that on other machine reference |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
204 # possibly non-existent directories. |
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
205 # |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
206 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
207 # this can break with GNU Make 3.81 and later if sh.exe is used. |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
208 autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit |
105503
33c51c8b86b5
* makefile.w32-in (WINS_UPDATES): New macro.
Juanma Barranquero <lekktu@gmail.com>
parents:
105394
diff
changeset
|
209 @echo Directories: . $(WINS_UPDATES) |
37807
1b20100095bc
(compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents:
37384
diff
changeset
|
210 $(emacs) -l autoload \ |
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
parents:
67640
diff
changeset
|
211 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
212 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" $(MAKE) . $(WINS_UPDATES) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
213 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
214 $(lisp)/subdirs.el: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
215 $(MAKE) $(MFLAGS) update-subdirs |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
216 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
217 # Need separate version for sh and native cmd.exe |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
218 update-subdirs: update-subdirs-$(SHELLTYPE) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
219 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
220 update-subdirs-CMD: doit |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
221 echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
222 echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
223 echo ;; certain of its subdirectories. Here we specify them.>> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
224 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el |
105387
e9079a7fb794
(update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
Eli Zaretskii <eliz@gnu.org>
parents:
105378
diff
changeset
|
225 @for %%d in ($(WINS_SUBDIR) cedet) do echo "%%d">> $(lisp)/subdirs.el |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
226 echo ))>> $(lisp)/subdirs.el |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
227 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
228 update-subdirs-SH: doit |
49482
a5390a508759
(update-subdirs-SH): Create lisp/subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
49459
diff
changeset
|
229 $(srcdir)/update-subdirs $(lisp); \ |
105378
b68edadf2115
(WINS_BASIC): Remove cedet.
Eli Zaretskii <eliz@gnu.org>
parents:
105269
diff
changeset
|
230 for file in $(WINS_SUBDIR); do \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
231 $(srcdir)/update-subdirs $$file; \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
232 done; |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
233 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
234 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
235 |
106706
f2acba714cf4
Rename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
106535
diff
changeset
|
236 # This is useful after "bzr up". |
f2acba714cf4
Rename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
106535
diff
changeset
|
237 bzr-update: recompile autoloads finder-data custom-deps |
f2acba714cf4
Rename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
106535
diff
changeset
|
238 |
f2acba714cf4
Rename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
106535
diff
changeset
|
239 # For backwards compatibility: |
f2acba714cf4
Rename cvs-update to bzr-update in lisp/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents:
106535
diff
changeset
|
240 cvs-update: bzr-update |
67952 | 241 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
242 # Update the AUTHORS file. |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
243 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
244 update-authors: |
84416
846d91182da4
(update-authors): Add etc/ to AUTHORS.
Juri Linkov <juri@jurta.org>
parents:
82140
diff
changeset
|
245 $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir) |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
246 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
247 TAGS: $(lisptagsfiles1) $(lisptagsfiles2) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
248 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
249 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
250 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
251 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
252 |
33904
c96ec3fcc61b
(.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents:
31677
diff
changeset
|
253 .SUFFIXES: .elc .el |
c96ec3fcc61b
(.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents:
31677
diff
changeset
|
254 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
255 .el.elc: |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
256 -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $< |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
257 |
61527 | 258 # Compile all Lisp files, but don't recompile those that are up to |
259 # date. Some files don't actually get compiled because they set the | |
260 # local variable no-byte-compile. | |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
261 |
61527 | 262 # All .elc files are made writable before compilation in case we |
263 # checked out read-only (CVS option -r). Files MUST be compiled one by | |
264 # one. If we compile several files in a row we can't make sure that | |
265 # the compilation environment is clean. We also set the load-path of | |
266 # the Emacs used for compilation to the current directory and its | |
267 # subdirectories, to make sure require's and load's in the files being | |
268 # compiled find the right files. | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
269 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
270 # Need separate version for sh and native cmd.exe |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
271 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
272 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
273 compile-CMD: |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
274 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
275 for %%f in ($(COMPILE_FIRST)) do \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
276 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
277 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
278 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
279 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
280 compile-SH: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
281 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
282 for el in $(COMPILE_FIRST); do \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
283 echo Compiling $$el; \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
284 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
285 done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
286 for dir in $(lisp) $(WINS); do \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
287 for el in $$dir/*.el; do \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
288 if test -f $$el; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
289 then \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
290 echo Compiling $$el; \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
291 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
292 fi \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
293 done; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
294 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
295 |
61527 | 296 # Compile all Lisp files. This is like `compile' but compiles files |
297 # unconditionally. Some files don't actually get compiled because they | |
298 # set the local variable no-byte-compile. | |
299 | |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
300 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
301 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
302 compile-always-CMD: |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
303 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
304 for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
305 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
306 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
307 compile-always-SH: |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
308 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
309 for el in $(COMPILE_FIRST); do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
310 echo Compiling $$el; \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
311 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
312 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
313 for dir in $(lisp) $(WINS); do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
314 for el in $$dir/*.el; do \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
315 echo Compiling $$el; \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
316 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
317 done; \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
318 done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
319 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
320 compile-calc: compile-calc-$(SHELLTYPE) |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
321 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
322 compile-calc-CMD: |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
323 for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
324 |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
325 compile-calc-SH: |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
326 for el in $(lisp)/calc/*.el; do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
327 echo Compiling $$el; \ |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
328 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
329 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
330 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
331 # Backup compiled Lisp files in elc.tar.gz. If that file already |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
332 # exists, make a backup of it. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
333 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
334 backup-compiled-files: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
335 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
336 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
337 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
338 # Compile Lisp files, but save old compiled files first. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
339 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
340 compile-after-backup: backup-compiled-files compile-always |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
341 |
99797
37fe10603a24
(compile-first): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
98362
diff
changeset
|
342 compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \ |
37fe10603a24
(compile-first): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
98362
diff
changeset
|
343 $(lisp)/emacs-lisp/autoload.elc |
37fe10603a24
(compile-first): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
98362
diff
changeset
|
344 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
345 # Recompile all Lisp files which are newer than their .elc files. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
346 # Note that this doesn't create .elc files. It only recompiles if an |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
347 # .elc is present. |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
348 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
349 # this can break with GNU Make 3.81 and later if sh.exe is used. |
99797
37fe10603a24
(compile-first): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
98362
diff
changeset
|
350 recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
351 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
352 |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
353 $(lisp)/calendar/cal-loaddefs.el: |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
354 "$(EMACS)" $(EMACSOPT) -l autoload \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
355 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
356 --eval "(setq find-file-suppress-same-file-warnings t)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
357 --eval "(setq make-backup-files nil)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
358 -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \ |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
359 $(MAKE) ./calendar |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
360 |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
361 $(lisp)/calendar/diary-loaddefs.el: |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
362 "$(EMACS)" $(EMACSOPT) -l autoload \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
363 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
364 --eval "(setq find-file-suppress-same-file-warnings t)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
365 --eval "(setq make-backup-files nil)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
366 -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \ |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
367 $(MAKE) ./calendar |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
368 |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
369 $(lisp)/calendar/hol-loaddefs.el: |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
370 "$(EMACS)" $(EMACSOPT) -l autoload \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
371 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
372 --eval "(setq find-file-suppress-same-file-warnings t)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
373 --eval "(setq make-backup-files nil)" \ |
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
374 -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \ |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
375 $(MAKE) ./calendar |
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents:
92117
diff
changeset
|
376 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
377 # Update MH-E internal autoloads. These are not to be confused with |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
378 # the autoloads for the MH-E entry points, which are already in |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
379 # loaddefs.el. |
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
parents:
66058
diff
changeset
|
380 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \ |
68467 | 381 $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \ |
382 $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \ | |
383 $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \ | |
384 $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \ | |
385 $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \ | |
386 $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \ | |
387 $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \ | |
388 $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \ | |
389 $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \ | |
390 $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \ | |
391 $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \ | |
392 $(lisp)/mh-e/mh-xface.el | |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
393 |
77589
84823e4631e0
($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e instead of $(lisp)/mh-e.
Eli Zaretskii <eliz@gnu.org>
parents:
75410
diff
changeset
|
394 # See the commentary for autoloads above for why we use ./mh-e below |
84823e4631e0
($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e instead of $(lisp)/mh-e.
Eli Zaretskii <eliz@gnu.org>
parents:
75410
diff
changeset
|
395 # instead of $(lisp)/mh-e. |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
396 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el |
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
parents:
66058
diff
changeset
|
397 $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
398 "$(EMACS)" $(EMACSOPT) \ |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
399 -l autoload \ |
93926
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
400 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###mh-autoload$(DQUOTE))$(ARGQUOTE) \ |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
401 --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
402 --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \ |
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
parents:
67640
diff
changeset
|
403 -f w32-batch-update-autoloads \ |
105606
26a982d06189
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
Glenn Morris <rgm@gnu.org>
parents:
105516
diff
changeset
|
404 $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) $(MAKE) ./mh-e |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
405 |
52512
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
406 # Prepare a bootstrap in the lisp subdirectory. |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
407 # |
63341
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
408 # Build loaddefs.el to make sure it's up-to-date. If it's not, that |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
409 # might lead to errors during the bootstrap because something fails to |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
410 # autoload as expected. If there is no emacs binary, then we can't |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
411 # build autoloads yet. In that case we have to use ldefs-boot.el; |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
412 # bootstrap should always work with ldefs-boot.el. (Because |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
413 # loaddefs.el is an automatically generated file, we don't want to |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
414 # store it in the source repository). |
52512
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
415 # |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
416 # Remove compiled Lisp files so that bootstrap-emacs will be built from |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
417 # sources only. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
418 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
419 # Need separate version for sh and native cmd.exe |
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
420 bootstrap-clean: |
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
parents:
94683
diff
changeset
|
421 - $(DEL) $(lisp)/loaddefs.el |
74838
5b6a90ea7037
(bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents:
74548
diff
changeset
|
422 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
423 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
424 bootstrap-clean-CMD: |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
425 # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
426 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
427 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
428 bootstrap-clean-SH: |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
429 # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi |
44192
1c7d75d3c175
(bootstrap-clean-SH): Use for loop, instead of
Andrew Innes <andrewi@gnu.org>
parents:
44167
diff
changeset
|
430 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
106535
f21f0f004de3
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
Chong Yidong <cyd@stupidchicken.com>
parents:
106163
diff
changeset
|
431 -for dir in . $(WINS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
432 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
433 # Generate/update files for the bootstrap process. |
63909
8ecb3fd4aded
(bootstrap): Remove the $(EMACS) binary after updating all the
Eli Zaretskii <eliz@gnu.org>
parents:
63341
diff
changeset
|
434 # When done, remove bootstrap-emacs from ../bin, so that |
8ecb3fd4aded
(bootstrap): Remove the $(EMACS) binary after updating all the
Eli Zaretskii <eliz@gnu.org>
parents:
63341
diff
changeset
|
435 # it will not be mistaken for an installed binary. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
436 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
437 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
438 - $(DEL) "$(EMACS)" |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
439 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
440 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
441 # Assuming INSTALL_DIR is defined, copy the elisp files to it |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
442 # Windows 95 makes this harder than it should be. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
443 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
444 install: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
445 - mkdir "$(INSTALL_DIR)/lisp" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
446 - $(DEL) ../same-dir.tst |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
447 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
448 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
449 #ifdef COPY_LISP_SOURCE |
78117
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
450 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
451 #else |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
452 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
453 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
454 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
455 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
456 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
457 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
458 # $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
459 # $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
460 # $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
461 # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
462 # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
463 #endif |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
464 - $(DEL) ../same-dir.tst |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
465 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
466 |
78117
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
467 # Need to copy *.el files first, to avoid "source file is newer" annoyance |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
468 # since cp does not preserve time stamps |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
469 install-lisp-SH: |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
470 cp -f *.el "$(INSTALL_DIR)/lisp" |
78170
bb683c32591e
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
78117
diff
changeset
|
471 for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done |
bb683c32591e
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
78117
diff
changeset
|
472 for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done |
78117
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
473 for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
474 |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
475 install-lisp-CMD: |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
476 cp -f *.el "$(INSTALL_DIR)/lisp" |
78170
bb683c32591e
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
78117
diff
changeset
|
477 for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f" |
78117
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
478 for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f" |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
479 for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f" |
2c9041566e2f
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
77589
diff
changeset
|
480 |
87181
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
481 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
482 # this can break with GNU Make 3.81 and later if sh.exe is used. |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
483 check-declare: |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
484 $(emacs) -l $(lisp)/emacs-lisp/check-declare --eval $(ARGQUOTE)(check-declare-directory $(DQUOTE)$(lisp)$(DQUOTE))$(ARGQUOTE) |
a0d11703c35e
(check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents:
86371
diff
changeset
|
485 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
486 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
487 # Maintenance |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
488 # |
78170
bb683c32591e
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
78117
diff
changeset
|
489 # We used to delete *~ here, but that might inadvertently remove |
bb683c32591e
(install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents:
78117
diff
changeset
|
490 # precious files if it happens to match their short 8+3 aliases. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
491 clean: |
93926
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
492 - $(DEL) *.el~ |
96113
3a64b6ee3005
(distclean): Depend on `clean'.
Eli Zaretskii <eliz@gnu.org>
parents:
96108
diff
changeset
|
493 - $(DEL) calc/calc-loaddefs.el~ |
3a64b6ee3005
(distclean): Depend on `clean'.
Eli Zaretskii <eliz@gnu.org>
parents:
96108
diff
changeset
|
494 - $(DEL) eshell/esh-groups.el~ |
93926
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
495 |
96113
3a64b6ee3005
(distclean): Depend on `clean'.
Eli Zaretskii <eliz@gnu.org>
parents:
96108
diff
changeset
|
496 distclean: clean |
93926
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
497 - $(DEL) $(lisp)/Makefile |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
498 |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
499 maintainer-clean: bootstrap-clean distclean |
2271e620522a
(LOADDEFS): Add mh-loaddefs.el.
Jason Rumney <jasonr@gnu.org>
parents:
93150
diff
changeset
|
500 - $(DEL) $(AUTOGENEL) |
98362
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
501 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
502 # Dependencies |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
503 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
504 # CC Mode uses a compile time macro system which causes a compile time |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
505 # dependency in cc-*.elc files on the macros in other cc-*.el and the |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
506 # version string in cc-defs.el. |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
507 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
508 $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
509 $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
510 $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
511 $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\ |
106163
42b0c234616a
* makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
Tassilo Horn <tassilo@member.fsf.org>
parents:
105606
diff
changeset
|
512 $(lisp)/progmodes/cc-vars.elc: \ |
98362
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
513 $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
514 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
515 $(lisp)/progmodes/cc-align.elc: \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
516 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
517 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
518 $(lisp)/progmodes/cc-cmds.elc: \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
519 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
520 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
521 $(lisp)/progmodes/cc-compat.elc: \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
522 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
523 $(lisp)/progmodes/cc-engine.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
524 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
525 $(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
526 $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
527 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
528 $(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
529 $(lisp)/progmodes/cc-vars.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
530 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
531 $(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
532 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
533 $(lisp)/font-lock.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
534 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
535 $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
536 $(lisp)/emacs-lisp/cl.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
537 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
538 $(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
539 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
540 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
541 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
542 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
543 $(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \ |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
544 $(lisp)/progmodes/cc-align.elc |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
545 |
a26f22db24ec
($(lisp)/progmodes/cc-mode.elc): Remove.
Eli Zaretskii <eliz@gnu.org>
parents:
96114
diff
changeset
|
546 $(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc |
100705 | 547 |
548 # MH-E dependencies, mainly to prevent failures with parallel | |
549 # compilation, due to race conditions between writing a given FOO.elc | |
550 # file and another file being compiled that says "(require FOO)", | |
551 # which causes Emacs to try to read FOO.elc. | |
552 MH_E_DIR = ./mh-e | |
553 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc\ | |
554 $(MH_E_DIR)/mh-funcs.elc $(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc\ | |
555 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-limit.elc\ | |
556 $(MH_E_DIR)/mh-mime.elc $(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc\ | |
557 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\ | |
558 $(MH_E_DIR)/mh-speed.elc $(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc\ | |
559 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\ | |
560 $(MH_E_DIR)/mh-e.elc | |
561 | |
562 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-folder.elc\ | |
563 $(MH_E_DIR)/mh-inc.elc $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc\ | |
564 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-speed.elc\ | |
565 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\ | |
566 $(lisp)/emacs-lisp/cl.elc | |
567 | |
568 $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc\ | |
569 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-print.elc\ | |
570 $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-thread.elc:\ | |
571 $(MH_E_DIR)/mh-scan.elc | |
572 | |
573 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-mime.elc\ | |
574 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc:\ | |
575 $(lisp)/gnus/gnus-util.elc | |
576 | |
577 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-search.elc:\ | |
578 $(lisp)/progmodes/which-func.elc | |
579 | |
580 $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\ | |
581 $(MH_E_DIR)/mh-utils.elc:\ | |
582 $(lisp)/font-lock.elc | |
583 | |
584 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-show.elc: $(lisp)/net/goto-addr.elc | |
585 | |
586 $(MH_E_DIR)/mh-comp.elc: $(lisp)/mail/sendmail.elc | |
587 | |
588 $(MH_E_DIR)/mh-e.elc: $(MH_E_DIR)/mh-buffers.elc $(lisp)/gnus/gnus.elc \ | |
589 $(lisp)/cus-face.elc | |
590 | |
591 $(MH_E_DIR)/mh-letter.elc: $(lisp)/gnus/mailcap.elc $(lisp)/gnus/mm-decode.elc \ | |
592 $(lisp)/gnus/mm-view.elc $(lisp)/gnus/mml.elc $(lisp)/gnus/message.elc | |
593 | |
594 $(MH_E_DIR)/mh-print.elc: $(lisp)/ps-print.elc | |
595 | |
596 $(MH_E_DIR)/mh-search.elc: $(lisp)/imenu.elc | |
597 | |
598 $(MH_E_DIR)/mh-show.elc: $(lisp)/gnus/gnus-cite.elc | |
599 | |
600 $(MH_E_DIR)/mh-speed.elc: $(lisp)/speedbar.elc $(lisp)/emacs-lisp/timer.elc | |
601 | |
602 $(MH_E_DIR)/mh-tool-bar.elc: $(lisp)/tool-bar.elc |