annotate lisp/makefile.w32-in @ 52749:a315ebb2eed5

(DONTCOMPILE, bootstrap-clean-CMD) (bootstrap-clean-SH): Rename loaddefs-boot.el to ldefs-boot.el
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Oct 2003 09:07:17 +0000
parents c7ef303c76f2
children 37ff7d6f880a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36378
c06fc1edb5b4 Fix copyright notice.
Andrew Innes <andrewi@gnu.org>
parents: 35928
diff changeset
1 # Makefile for GNU Emacs on the Microsoft W32 API.
c06fc1edb5b4 Fix copyright notice.
Andrew Innes <andrewi@gnu.org>
parents: 35928
diff changeset
2 # Copyright (c) 2000-2001 Free Software Foundation, Inc.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
3 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
4 # This file is part of GNU Emacs.
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
5 #
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
6 # GNU Emacs is free software; you can redistribute it and/or modify
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
7 # it under the terms of the GNU General Public License as published by
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
8 # the Free Software Foundation; either version 2, or (at your option)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
9 # any later version.
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
10 #
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
11 # GNU Emacs is distributed in the hope that it will be useful,
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
14 # GNU General Public License for more details.
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
15 #
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
16 # You should have received a copy of the GNU General Public License
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
17 # along with GNU Emacs; see the file COPYING. If not, write to the
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
18 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
19 # Boston, MA 02111-1307, USA.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
20 #
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 =
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 all: $(ALL)
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 SQUOTE='
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
27 # '
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
28
34273
f719938c6d2e (lisp): Set to an absolute directory, namely
Andrew Innes <andrewi@gnu.org>
parents: 33904
diff changeset
29 lisp = $(CURDIR)
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
30 srcdir = $(CURDIR)/..
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
31
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
32 # 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
33 # e.g. "make EMACS=../src/emacs ...".
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
34
35928
83885ae4db3a (EMACS): Use $(THISDIR) to make emacs.exe path
Andrew Innes <andrewi@gnu.org>
parents: 35605
diff changeset
35 EMACS = "$(THISDIR)/../bin/emacs.exe"
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
36
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
37 # Command line flags for Emacs. This must include --multibyte,
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
38 # otherwise some files will not compile.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
39
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
40 EMACSOPT = -batch --no-init-file --no-site-file --multibyte
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
41
37384
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
42 # Set EMACSLOADPATH correctly (already defined in environment).
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
43 EMACSLOADPATH=$(lisp)
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
44
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
45 lisptagsfiles1 = $(lisp)/*.el
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
46 lisptagsfiles2 = $(lisp)/*/*.el
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
47 ETAGS = "../lib-src/$(BLD)/etags"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
48
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
49 # Files which should not be compiled. If you change the name `DONTCOMPILE'
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
50 # to something different, you'll have to change make-dist as well, and
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
51 # modify the lists in $lisp and $shortlisp on src/Makefile.in.
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
52 #
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
53 # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
54 # no point compiling it, although it doesn't hurt.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
55
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
56 DONTCOMPILE = \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
57 $(lisp)/cus-load.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
58 $(lisp)/emacs-lisp/cl-specs.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
59 $(lisp)/eshell/esh-maint.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
60 $(lisp)/eshell/esh-groups.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
61 $(lisp)/finder-inf.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
62 $(lisp)/forms-d2.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
63 $(lisp)/forms-pass.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
64 $(lisp)/generic-x.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
65 $(lisp)/international/latin-1.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
66 $(lisp)/international/latin-2.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
67 $(lisp)/international/latin-3.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
68 $(lisp)/international/latin-4.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
69 $(lisp)/international/latin-5.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
70 $(lisp)/international/latin-8.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
71 $(lisp)/international/latin-9.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
72 $(lisp)/international/mule-conf.el \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
73 $(lisp)/language/czech.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
74 $(lisp)/language/devanagari.el \
49714
1df1c7ec81fd (DONTCOMPILE): Add malayalam.el and tamil.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 49482
diff changeset
75 $(lisp)/language/malayalam.el \
1df1c7ec81fd (DONTCOMPILE): Add malayalam.el and tamil.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 49482
diff changeset
76 $(lisp)/language/tamil.el \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
77 $(lisp)/language/english.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
78 $(lisp)/language/greek.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
79 $(lisp)/language/hebrew.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
80 $(lisp)/language/japanese.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
81 $(lisp)/language/korean.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
82 $(lisp)/language/lao.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
83 $(lisp)/language/misc-lang.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
84 $(lisp)/language/romanian.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
85 $(lisp)/language/slovak.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
86 $(lisp)/language/thai.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
87 $(lisp)/language/utf-8-lang.el \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
88 $(lisp)/language/georgian.el \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
89 $(lisp)/loaddefs.el \
52749
a315ebb2eed5 (DONTCOMPILE, bootstrap-clean-CMD)
Eli Zaretskii <eliz@gnu.org>
parents: 52512
diff changeset
90 $(lisp)/ldefs-boot.el \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
91 $(lisp)/loadup.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
92 $(lisp)/mail/blessmail.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
93 $(lisp)/patcomp.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
94 $(lisp)/paths.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
95 $(lisp)/play/bruce.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
96 $(lisp)/subdirs.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
97 $(lisp)/term/internal.el \
35605
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
98 $(lisp)/term/AT386.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
99 $(lisp)/term/apollo.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
100 $(lisp)/term/bobcat.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
101 $(lisp)/term/iris-ansi.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
102 $(lisp)/term/keyswap.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
103 $(lisp)/term/linux.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
104 $(lisp)/term/lk201.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
105 $(lisp)/term/news.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
106 $(lisp)/term/vt102.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
107 $(lisp)/term/vt125.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
108 $(lisp)/term/vt200.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
109 $(lisp)/term/vt201.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
110 $(lisp)/term/vt220.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
111 $(lisp)/term/vt240.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
112 $(lisp)/term/vt300.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
113 $(lisp)/term/vt320.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
114 $(lisp)/term/vt400.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
115 $(lisp)/term/vt420.el \
0689ddc1751c (DONTCOMPILE): Add various term files.
Gerd Moellmann <gerd@gnu.org>
parents: 35100
diff changeset
116 $(lisp)/term/wyse50.el \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
117 $(lisp)/version.el
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
118
36918
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
119 # 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
120 # 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
121 # 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
122 # 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
123 # bootstrapping.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
124
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
125 COMPILE_FIRST = \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
126 $(lisp)/emacs-lisp/byte-opt.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
127 $(lisp)/emacs-lisp/bytecomp.el \
36918
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
128 $(lisp)/subr.el \
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
129 $(lisp)/progmodes/cc-mode.el \
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
130 $(lisp)/progmodes/cc-vars.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
131
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
132 # The actual Emacs command run in the targets below.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
133
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
134 emacs = $(EMACS) $(EMACSOPT)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
135
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
136 # Common command to find subdirectories
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
137
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
138 setwins=subdirs=`find $$wd -type d -print`; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
139 for file in $$subdirs; do \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
140 case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
141 *) wins="$$wins $$file" ;; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
142 esac; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
143 done
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
144
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
145 # Have to define the list of subdirs manually when not using sh.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
146 WINS=\
47039
f89ca946d5c2 (WINS): Add calc and obsolete.
Juanma Barranquero <lekktu@gmail.com>
parents: 46781
diff changeset
147 calc \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
148 calendar \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
149 emacs-lisp \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
150 emulation \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
151 eshell \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
152 gnus \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
153 international \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
154 language \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
155 mail \
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents: 49259
diff changeset
156 mh-e \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
157 net \
47039
f89ca946d5c2 (WINS): Add calc and obsolete.
Juanma Barranquero <lekktu@gmail.com>
parents: 46781
diff changeset
158 obsolete \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
159 play \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
160 progmodes \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
161 term \
44165
32c2b878dabd (WINS): Add the toolbar directory.
Juanma Barranquero <lekktu@gmail.com>
parents: 40753
diff changeset
162 textmodes \
44167
d26b4aae50dd (WINS): Make sure it has a tab and not spaces.
Juanma Barranquero <lekktu@gmail.com>
parents: 44165
diff changeset
163 toolbar
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
164
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
165 doit:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
166
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
167 cus-load.el:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
168 touch $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
169 custom-deps: cus-load.el doit
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
170 @echo Directories: $(WINS)
37384
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
171 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
172
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
173 finder-data: doit
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
174 @echo Directories: $(WINS)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
175 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
176
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
177 loaddefs.el:
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
178 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
179 cp loaddefs.el-$(SHELLTYPE) $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
180 rm loaddefs.el-$(SHELLTYPE)
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
181
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
182 loaddefs.el-SH:
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
183 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
184 echo ";;" >> $@; echo ";;; Code:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
185 echo "(autoload 'define-minor-mode \"easy-mmode\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
186 echo "(autoload 'define-ccl-program \"ccl\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
187 echo "(autoload 'regexp-opt \"regexp-opt\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
188 echo "(autoload 'string-to-list \"mule-util\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
189 echo "(autoload 'define-derived-mode \"derived\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
190 echo "(autoload 'encoded-kbd-mode \"encoded-kb\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
191 echo "(defvar cvs-global-menu nil)" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
192 echo " " >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
193 echo ";;; Local Variables:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
194 echo ";;; version-control: never" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
195 echo ";;; no-byte-compile: t" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
196 echo ";;; no-update-autoloads: t" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
197 echo ";;; End:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
198 echo ";;; loaddefs.el ends here" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
199
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
200 loaddefs.el-CMD:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
201 echo ;;; loaddefs.el --- automatically extracted autoloads> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
202 echo ;;; Code:>> $@
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
203 echo (autoload 'define-minor-mode "easy-mmode")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
204 echo (autoload 'define-ccl-program "ccl")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
205 echo (autoload 'regexp-opt "regexp-opt")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
206 echo (autoload 'string-to-list "mule-util")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
207 echo (autoload 'define-derived-mode "derived")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
208 echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
209 echo (defvar cvs-global-menu nil)>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
210 echo. >> $@
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
211 echo ;;; Local Variables:>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
212 echo ;;; version-control: never>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
213 echo ;;; no-byte-compile: t>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
214 echo ;;; no-update-autoloads: t>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
215 echo ;;; End:>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
216 echo ;;; loaddefs.el ends here>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
217
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
218 autoloads: loaddefs.el doit
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
219 @echo Directories: $(WINS)
37807
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
220 $(emacs) -l autoload \
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
221 --eval $(ARGQUOTE)(setq find-file-hooks nil \
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
222 find-file-suppress-same-file-warnings t \
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
223 generated-autoload-file \
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
224 $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) \
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
225 -f batch-update-autoloads $(lisp) $(WINS)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
226
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
227 subdirs.el:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
228 $(MAKE) $(MFLAGS) update-subdirs
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
229
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
230 # Need separate version for sh and native cmd.exe
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
231 update-subdirs: update-subdirs-$(SHELLTYPE)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
232
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
233 update-subdirs-CMD: doit
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
234 echo ;; -*- no-byte-compile: t -*->subdirs.el
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
235 echo ;; In load-path, after this directory should come>> subdirs.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
236 echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el
46757
01659e103b99 (update-subdirs-CMD): Generate the right list of subdirectories. From
Juanma Barranquero <lekktu@gmail.com>
parents: 46755
diff changeset
237 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> subdirs.el
01659e103b99 (update-subdirs-CMD): Generate the right list of subdirectories. From
Juanma Barranquero <lekktu@gmail.com>
parents: 46755
diff changeset
238 @for %d in ($(WINS)) do if not (%d)==(term) echo "%d">> subdirs.el
01659e103b99 (update-subdirs-CMD): Generate the right list of subdirectories. From
Juanma Barranquero <lekktu@gmail.com>
parents: 46755
diff changeset
239 echo ))>> subdirs.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
240
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
241 update-subdirs-SH: doit
49482
a5390a508759 (update-subdirs-SH): Create lisp/subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 49459
diff changeset
242 $(srcdir)/update-subdirs $(lisp); \
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
243 for file in $(WINS); do \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
244 $(srcdir)/update-subdirs $$file; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
245 done;
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
246
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
247 updates: update-subdirs autoloads finder-data custom-deps
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
248
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
249 # Update the AUTHORS file.
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
250
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
251 update-authors:
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
252 $(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir)
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
253
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
254 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
255 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
256
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
257 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
258 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
259
33904
c96ec3fcc61b (.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents: 31677
diff changeset
260 .SUFFIXES: .elc .el
c96ec3fcc61b (.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents: 31677
diff changeset
261
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
262 .el.elc:
37384
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
263 -$(emacs) -f batch-byte-compile $<
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
264
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
265 $(DONTCOMPILE:.el=.elc):
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
266 -$(DEL) $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
267
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
268 # Compile all Lisp files, except those from DONTCOMPILE,
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
269 # but don't recompile those that are up to date.
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
270
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
271 # All .elc files are made writable
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
272 # before compilation in case we checked out read-only (CVS option -r).
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
273 # Files MUST be compiled one by one. If we compile several files in a
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
274 # row we can't make sure that the compilation environment is clean.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
275 # We also set the load-path of the Emacs used for compilation to the
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
276 # current directory and its subdirectories, to make sure require's and
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
277 # load's in the files being compiled find the right files.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
278
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
279 # Need separate version for sh and native cmd.exe
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
280 compile: subdirs.el compile-$(SHELLTYPE) doit
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
281
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
282 compile-CMD:
31677
70dd1b38f43e (compile-files): No need to make .elc files
Andrew Innes <andrewi@gnu.org>
parents: 31631
diff changeset
283 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
284 for %f in ($(COMPILE_FIRST)) do \
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
285 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %f
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
286 for %f in (. $(WINS)) do for %g in (%f/*.el) do \
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
287 $(emacs) -l loaddefs -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
288
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
289 compile-SH:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
290 # 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
291 for el in $(COMPILE_FIRST); do \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
292 echo Compiling $$el; \
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
293 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done $$el; \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
294 done
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
295 for dir in $(lisp) $(WINS); do \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
296 for el in $$dir/*.el; do \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
297 if test -f $$el; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
298 then \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
299 echo Compiling $$el; \
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
300 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done $$el; \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
301 fi \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
302 done; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
303 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
304
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
305 # Compile all Lisp files, except those from DONTCOMPILE. This
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
306 # is like `compile' but compiles files unconditionally.
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
307 compile-always: subdirs.el compile-always-$(SHELLTYPE) doit
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
308
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
309 compile-always-CMD:
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
310 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
311 for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
312 for %f in (. $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
313
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
314 compile-always-SH:
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
315 # 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
316 for el in $(COMPILE_FIRST); do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
317 echo Compiling $$el; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
318 $(emacs) -f batch-byte-compile $$el || exit 1; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
319 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
320 for dir in $(lisp) $(WINS); do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
321 for el in $$dir/*.el; do \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
322 echo Compiling $$el; \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
323 $(emacs) -f batch-byte-compile $$el || exit 1; \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
324 done; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
325 done
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
326
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
327 compile-calc: compile-calc-$(SHELLTYPE)
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
328
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
329 compile-calc-CMD:
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
330 for %f in ($(lisp)/calc/*.el) do $(emacs) -f batch-byte-compile %f
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
331
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
332 compile-calc-SH:
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
333 for el in $(lisp)/calc/*.el; do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
334 echo Compiling $$el; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
335 $(emacs) -f batch-byte-compile $$el || exit 1; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
336 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
337
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
338 # 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
339 # exists, make a backup of it.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
340
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
341 backup-compiled-files:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
342 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
343 -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
344
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
345 # Compile Lisp files, but save old compiled files first.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
346
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
347 compile-after-backup: backup-compiled-files compile-always
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
348
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
349 # 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
350 # 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
351 # .elc is present.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
352
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
353 recompile: doit
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
354 $(emacs) -f batch-byte-recompile-directory $(lisp)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
355
52512
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
356 # 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
357 #
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
358 # Build loaddefs.el, because it's not sure it's up-to-date, and if it's not,
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
359 # that might lead to errors during the bootstrap because something fails to
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
360 # autoload as expected. However, if there is no emacs binary, then we can't
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
361 # build autoloads yet, so just make sure there's some loaddefs.el file, as
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
362 # it's necessary for generating the binary (because loaddefs.el is an
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
363 # automatically generated file, we don't want to store it in the source
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
364 # repository).
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
365 #
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
366 # 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
367 # sources only.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
368
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
369 # Need separate version for sh and native cmd.exe
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
370 bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
371
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
372 bootstrap-clean-CMD:
40753
5483ff487a13 (bootstrap-clean-CMD, bootstrap-clean-SH): Don't
Andrew Innes <andrewi@gnu.org>
parents: 38843
diff changeset
373 # if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads
52749
a315ebb2eed5 (DONTCOMPILE, bootstrap-clean-CMD)
Eli Zaretskii <eliz@gnu.org>
parents: 52512
diff changeset
374 if not exist $(lisp)\loaddefs.el cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
37807
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
375 -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
376
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
377 bootstrap-clean-SH:
40753
5483ff487a13 (bootstrap-clean-CMD, bootstrap-clean-SH): Don't
Andrew Innes <andrewi@gnu.org>
parents: 38843
diff changeset
378 # 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
379 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
52512
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
380 if ! test -r $(lisp)/loaddefs.el; then \
52749
a315ebb2eed5 (DONTCOMPILE, bootstrap-clean-CMD)
Eli Zaretskii <eliz@gnu.org>
parents: 52512
diff changeset
381 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el; \
52512
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
382 fi
44192
1c7d75d3c175 (bootstrap-clean-SH): Use for loop, instead of
Andrew Innes <andrewi@gnu.org>
parents: 44167
diff changeset
383 -for dir in . $(WINS); do rm -f $$dir/*.elc; done
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
384
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
385 # Generate/update files for the bootstrap process.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
386
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
387 bootstrap: update-subdirs autoloads compile finder-data custom-deps
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
388
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
389 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
390 # 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
391 # Windows 95 makes this harder than it should be.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
392 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
393 install:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
394 - mkdir "$(INSTALL_DIR)/lisp"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
395 - $(DEL) ../same-dir.tst
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
396 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
397 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
398 #ifdef COPY_LISP_SOURCE
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
399 $(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
400 #else
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
401 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
402 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
403 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
404 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
405 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
406 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
407 # $(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
408 # $(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
409 # $(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
410 # $(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
411 # $(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
412 #endif
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
413 - $(DEL) ../same-dir.tst
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
414 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
415
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
416 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
417 # Maintenance
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
418 #
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
419 clean:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
420 - $(DEL) *~
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49714
diff changeset
421
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49714
diff changeset
422 # arch-tag: bd03b562-c58d-4403-99db-c7bccd8c49a0