Add 2011 to FSF/AIST copyright years.
[bpt/emacs.git] / msdos / mainmake
CommitLineData
b65d8176 1# Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004,
5df4f04c 2# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
7121a5e1
EZ
3
4# This file is part of GNU Emacs.
5
ff0cdfb9 6# GNU Emacs is free software: you can redistribute it and/or modify
7121a5e1 7# it under the terms of the GNU General Public License as published by
ff0cdfb9
GM
8# the Free Software Foundation, either version 3 of the License, or
9# (at your option) any later version.
7121a5e1
EZ
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
ff0cdfb9 17# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7121a5e1 18
ef88bd2d
MW
19# make all to compile and build Emacs.
20# make install to install it.
21# make TAGS to update tags tables.
22#
23# make clean or make mostlyclean
24# Delete all files from the current directory that are normally
25# created by building the program. Don't delete the files that
26# record the configuration. Also preserve files that could be made
27# by building, but normally aren't because the distribution comes
28# with them.
29#
30# Delete `.dvi' files here if they are not part of the distribution.
177c0ea7 31#
ef88bd2d
MW
32# make distclean
33# Delete all files from the current directory that are created by
34# configuring or building the program. If you have unpacked the
35# source and built the program without creating any other files,
36# `make distclean' should leave only the files that were in the
37# distribution.
177c0ea7 38#
ef88bd2d
MW
39# make realclean
40# Delete everything from the current directory that can be
41# reconstructed with this Makefile. This typically includes
42# everything deleted by distclean, plus more: C source files
43# produced by Bison, tags tables, info files, and so on.
44#
45# make extraclean
46# Still more severe - delete backup and autosave files, too.
47
48all: lib-src src
49
50lib-src: FRC
51 cd lib-src
52 $(MAKE)
53 cd ..
54
55src: FRC
56 cd src
57 $(MAKE)
58 cd ..
59
60install: all
61 -md bin
62 cd lib-src
63 coff2exe hexl
64 coff2exe etags
65 coff2exe ctags
66 coff2exe b2m
2cd82183 67 mv -f hexl.exe etags.exe ctags.exe b2m.exe ../bin/
ef88bd2d
MW
68 cd ..
69 cd src
70 coff2exe emacs
71 stubedit emacs.exe minstack=512k
72 mv -f emacs.exe ../bin/
73 cd ..
74
75FRC:
76
77TAGS tags: lib-src
78 cd src
79 go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
80 cd ..
81
82check:
83 @echo "We don't have any tests for GNU Emacs yet."
84
85clean:
86 cd lib-src
87 $(MAKE) clean
88 cd ..
89 cd src
90 $(MAKE) clean
91 cd ..
92 cd oldxmenu
93 -$(MAKE) clean
94 cd ..
ab5796a9
MB
95
96# arch-tag: d5a489bc-818e-4c3c-8040-b5205ed0602f