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