annotate msdos/mainmake @ 95243:b4feb647fec6

(SOURCES): Remove, unused. (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'. (TAGS, TAGS-LISP): Use a single rule with multiple targets. Exclude more '*loaddefs' files. (compile-always): Simplify '.elc' deletion.
author Glenn Morris <rgm@gnu.org>
date Fri, 23 May 2008 04:46:33 +0000
parents fa41f74280f5
children dc97fcf1ed7e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64084
diff changeset
1 # Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004,
79742
319d87609e42 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78247
diff changeset
2 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
36236
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
3
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
4 # This file is part of GNU Emacs.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
5
94790
fa41f74280f5 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79742
diff changeset
6 # GNU Emacs is free software: you can redistribute it and/or modify
36236
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
7 # it under the terms of the GNU General Public License as published by
94790
fa41f74280f5 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79742
diff changeset
8 # the Free Software Foundation, either version 3 of the License, or
fa41f74280f5 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79742
diff changeset
9 # (at your option) any later version.
36236
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
10
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
11 # GNU Emacs is distributed in the hope that it will be useful,
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
14 # GNU General Public License for more details.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
15
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
16 # You should have received a copy of the GNU General Public License
94790
fa41f74280f5 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79742
diff changeset
17 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
36236
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
18
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
19 # make all to compile and build Emacs.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
20 # make install to install it.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
21 # make TAGS to update tags tables.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
22 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
23 # make clean or make mostlyclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
24 # Delete all files from the current directory that are normally
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
25 # created by building the program. Don't delete the files that
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
26 # record the configuration. Also preserve files that could be made
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
27 # by building, but normally aren't because the distribution comes
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
28 # with them.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
29 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
30 # Delete `.dvi' files here if they are not part of the distribution.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36236
diff changeset
31 #
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
32 # make distclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
33 # Delete all files from the current directory that are created by
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
34 # configuring or building the program. If you have unpacked the
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
35 # source and built the program without creating any other files,
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
36 # `make distclean' should leave only the files that were in the
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
37 # distribution.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36236
diff changeset
38 #
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
39 # make realclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
40 # Delete everything from the current directory that can be
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
41 # reconstructed with this Makefile. This typically includes
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
42 # everything deleted by distclean, plus more: C source files
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
43 # produced by Bison, tags tables, info files, and so on.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
44 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
45 # make extraclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
46 # Still more severe - delete backup and autosave files, too.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
47
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
48 all: lib-src src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
49
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
50 lib-src: FRC
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
51 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
52 $(MAKE)
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
53 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
54
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
55 src: FRC
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
56 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
57 $(MAKE)
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
58 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
59
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
60 install: all
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
61 -md bin
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
62 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
63 coff2exe hexl
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
64 coff2exe etags
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
65 coff2exe ctags
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
66 coff2exe b2m
13392
df402eaace58 (install): Don't mv make-doc.exe into ../bin/.
Karl Heuer <kwzh@gnu.org>
parents: 9571
diff changeset
67 mv -f hexl.exe etags.exe ctags.exe b2m.exe ../bin/
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
68 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
69 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
70 coff2exe emacs
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
71 stubedit emacs.exe minstack=512k
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
72 mv -f emacs.exe ../bin/
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
73 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
74
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
75 FRC:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
76
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
77 TAGS tags: lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
78 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
79 go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
80 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
81
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
82 check:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
83 @echo "We don't have any tests for GNU Emacs yet."
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
84
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
85 clean:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
86 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
87 $(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
88 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
89 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
90 $(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
91 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
92 cd oldxmenu
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
93 -$(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
94 cd ..
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
95
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
96 # arch-tag: d5a489bc-818e-4c3c-8040-b5205ed0602f