annotate nt/makefile.nt @ 11866:77f73856e803

(mail-text): Expand abbrev before moving point.
author Karl Heuer <kwzh@gnu.org>
date Mon, 22 May 1995 19:41:25 +0000
parents 1877e9736ea1
children cc1b306581c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
2 # Top level makefile for building GNU Emacs on Windows NT
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
4 # This file is part of GNU Emacs.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
5 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
6 # GNU Emacs is free software; you can redistribute it and/or modify
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
7 # it under the terms of the GNU General Public License as published by
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
8 # the Free Software Foundation; either version 2, or (at your option)
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
9 # any later version.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
10 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
11 # GNU Emacs is distributed in the hope that it will be useful,
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
14 # GNU General Public License for more details.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
15 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
16 # You should have received a copy of the GNU General Public License
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
17 # along with GNU Emacs; see the file COPYING. If not, write to
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
18 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
19 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
20 # Geoff Voelker (voelker@cs.washington.edu) 11-20-93
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
21 # 9-6-94
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
22 !include makefile.def
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
23
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
24 SUBDIRS = lib-src src lisp
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
25
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
26 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
27 # Build emacs
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
28 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
29 all:; for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt all
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
30
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
31 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
32 # Build and install emacs in INSTALL_DIR
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
33 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
34 install: all
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
35 - mkdir $(INSTALL_DIR)
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
36 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt install
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
37 - $(CP) emacs.bat $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
38 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
39 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
40 echo SameDirTest > ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
41 if not exist $(INSTALL_DIR)\same-dir.tst $(MAKE) -f makefile.nt real_install
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
42 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
43 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
44
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
45 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
46 # This installs executables from ..\bin into the installation directory
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
47 # without building anything.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
48 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
49 fast_install:
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
50 - mkdir $(INSTALL_DIR)\data
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
51 $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
52 - mkdir $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
53 - $(CP) emacs.bat $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
54 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
55 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
56 echo SameDirTest > ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
57 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
58 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
59 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
60 if not exist $(INSTALL_DIR)\same-dir.tst nmake -f $(MAKE) real_install
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
61 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
62 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
63
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
64 real_install:
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
65 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
66 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
67 echo SameDirTest > ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
68 - mkdir $(INSTALL_DIR)\etc
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
69 - mkdir $(INSTALL_DIR)\info
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
70 - mkdir $(INSTALL_DIR)\lock
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
71 - mkdir $(INSTALL_DIR)\data
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
72 if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
73 if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
74 - del /q ..\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
75 - del /q $(INSTALL_DIR)\same-dir.tst
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
76
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
77 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
78 # Maintenance
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
79 #
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
80 clean:; - del /q /s *~
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
81 - $(DEL_TREE) deleted
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
82 - $(DEL_TREE) ..\bin
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
83 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt clean