]> code.delx.au - gnu-emacs/blob - msdos/mainmake
Trailing whitespace deleted.
[gnu-emacs] / msdos / mainmake
1 # Copyright (C) 1993,1994,1995,1996,2001 Free Software Foundation, Inc.
2
3 # This file is part of GNU Emacs.
4
5 # GNU Emacs is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9
10 # GNU Emacs is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with GNU Emacs; see the file COPYING. If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
19
20 # make all to compile and build Emacs.
21 # make install to install it.
22 # make TAGS to update tags tables.
23 #
24 # make clean or make mostlyclean
25 # Delete all files from the current directory that are normally
26 # created by building the program. Don't delete the files that
27 # record the configuration. Also preserve files that could be made
28 # by building, but normally aren't because the distribution comes
29 # with them.
30 #
31 # Delete `.dvi' files here if they are not part of the distribution.
32 #
33 # make distclean
34 # Delete all files from the current directory that are created by
35 # configuring or building the program. If you have unpacked the
36 # source and built the program without creating any other files,
37 # `make distclean' should leave only the files that were in the
38 # distribution.
39 #
40 # make realclean
41 # Delete everything from the current directory that can be
42 # reconstructed with this Makefile. This typically includes
43 # everything deleted by distclean, plus more: C source files
44 # produced by Bison, tags tables, info files, and so on.
45 #
46 # make extraclean
47 # Still more severe - delete backup and autosave files, too.
48
49 all: lib-src src
50
51 lib-src: FRC
52 cd lib-src
53 $(MAKE)
54 cd ..
55
56 src: FRC
57 cd src
58 $(MAKE)
59 cd ..
60
61 install: all
62 -md bin
63 cd lib-src
64 coff2exe hexl
65 coff2exe etags
66 coff2exe ctags
67 coff2exe b2m
68 mv -f hexl.exe etags.exe ctags.exe b2m.exe ../bin/
69 cd ..
70 cd src
71 coff2exe emacs
72 stubedit emacs.exe minstack=512k
73 mv -f emacs.exe ../bin/
74 cd ..
75
76 FRC:
77
78 TAGS tags: lib-src
79 cd src
80 go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
81 cd ..
82
83 check:
84 @echo "We don't have any tests for GNU Emacs yet."
85
86 clean:
87 cd lib-src
88 $(MAKE) clean
89 cd ..
90 cd src
91 $(MAKE) clean
92 cd ..
93 cd oldxmenu
94 -$(MAKE) clean
95 cd ..