annotate msdos/mainmake @ 50493:8998794f812c

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Tue, 08 Apr 2003 17:11:00 +0000
parents 23a1cea22d13
children 695cf19ef79e d7ddb3e565de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36236
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
1 # Copyright (C) 1993,1994,1995,1996,2001 Free Software Foundation, Inc.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
2
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
3 # This file is part of GNU Emacs.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
4
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
5 # GNU Emacs is free software; you can redistribute it and/or modify
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
6 # it under the terms of the GNU General Public License as published by
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
7 # the Free Software Foundation; either version 2, or (at your option)
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
8 # any later version.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
9
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
10 # 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
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
13 # GNU General Public License for more details.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
14
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
15 # You should have received a copy of the GNU General Public License
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
16 # along with GNU Emacs; see the file COPYING. If not, write to
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
18 # Boston, MA 02111-1307, USA.
40a7360c9f8d Add copyright notice.
Eli Zaretskii <eliz@gnu.org>
parents: 13392
diff changeset
19
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
20 # make all to compile and build Emacs.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
21 # make install to install it.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
22 # make TAGS to update tags tables.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
23 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
24 # make clean or make mostlyclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
25 # Delete all files from the current directory that are normally
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
26 # created by building the program. Don't delete the files that
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
27 # record the configuration. Also preserve files that could be made
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
28 # by building, but normally aren't because the distribution comes
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
29 # with them.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
30 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
31 # 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
32 #
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
33 # make distclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
34 # Delete all files from the current directory that are created by
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
35 # configuring or building the program. If you have unpacked the
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
36 # source and built the program without creating any other files,
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
37 # `make distclean' should leave only the files that were in the
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
38 # distribution.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36236
diff changeset
39 #
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
40 # make realclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
41 # Delete everything from the current directory that can be
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
42 # reconstructed with this Makefile. This typically includes
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
43 # everything deleted by distclean, plus more: C source files
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
44 # produced by Bison, tags tables, info files, and so on.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
45 #
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
46 # make extraclean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
47 # Still more severe - delete backup and autosave files, too.
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
48
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
49 all: lib-src src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
50
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
51 lib-src: FRC
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
52 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
53 $(MAKE)
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
54 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
55
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
56 src: FRC
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
57 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
58 $(MAKE)
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
59 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
60
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
61 install: all
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
62 -md bin
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
63 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
64 coff2exe hexl
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
65 coff2exe etags
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
66 coff2exe ctags
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
67 coff2exe b2m
13392
df402eaace58 (install): Don't mv make-doc.exe into ../bin/.
Karl Heuer <kwzh@gnu.org>
parents: 9571
diff changeset
68 mv -f hexl.exe etags.exe ctags.exe b2m.exe ../bin/
9571
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
69 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
70 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
71 coff2exe emacs
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
72 stubedit emacs.exe minstack=512k
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
73 mv -f emacs.exe ../bin/
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
74 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
75
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
76 FRC:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
77
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
78 TAGS tags: lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
79 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
80 go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
81 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
82
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
83 check:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
84 @echo "We don't have any tests for GNU Emacs yet."
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
85
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
86 clean:
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
87 cd lib-src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
88 $(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
89 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
90 cd src
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
91 $(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
92 cd ..
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
93 cd oldxmenu
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
94 -$(MAKE) clean
b37425ecb3f0 Initial revision
Morten Welinder <terra@diku.dk>
parents:
diff changeset
95 cd ..