(while-no-input): Don't splice BODY directly into the `or' form.
[emacs.git] / msdos / mainmake
blobe7df1cd79846bccd5cf48fbc8fa2f1b8d0429ee6
1 # Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004,
2 #   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4 # This file is part of GNU Emacs.
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 3, or (at your option)
9 # any later version.
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.
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.
21 # make all      to compile and build Emacs.
22 # make install  to install it.
23 # make TAGS     to update tags tables.
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.
32 #      Delete `.dvi' files here if they are not part of the distribution.
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.
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.
47 # make extraclean
48 #      Still more severe - delete backup and autosave files, too.
50 all:    lib-src src
52 lib-src: FRC
53         cd lib-src
54         $(MAKE)
55         cd ..
57 src: FRC
58         cd src
59         $(MAKE)
60         cd ..
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 ..
77 FRC:
79 TAGS tags:      lib-src
80         cd src
81         go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
82         cd ..
84 check:
85         @echo "We don't have any tests for GNU Emacs yet."
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 ..
98 # arch-tag: d5a489bc-818e-4c3c-8040-b5205ed0602f