Mercurial > emacs
annotate lisp/makefile.nt @ 23541:417a469a4354
(desktop-buffer-dired): Use dired-maybe-insert-subdir.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 26 Oct 1998 05:00:27 +0000 |
parents | cfb05eddeb55 |
children | 088714863cc9 |
rev | line source |
---|---|
9803 | 1 # Hacked up Nmake makefile for GNU Emacs |
2 # Geoff Voelker (voelker@cs.washington.edu) | |
3 # Copyright (c) 1994 Free Software Foundation, Inc. | |
4 # | |
5 # This file is part of GNU Emacs. | |
6 # | |
7 # GNU Emacs is free software; you can redistribute it and/or modify | |
8 # it under the terms of the GNU General Public License as published by | |
9 # the Free Software Foundation; either version 2, or (at your option) | |
10 # any later version. | |
11 # | |
12 # GNU Emacs is distributed in the hope that it will be useful, | |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 # GNU General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU General Public License | |
15742 | 18 # along with GNU Emacs; see the file COPYING. If not, write to the |
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 # Boston, MA 02111-1307, USA. | |
9803 | 21 # |
22 | |
23 !include ..\nt\makefile.def | |
24 | |
25 all: | |
26 | |
21596
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
27 topdontcompile = cus-load.el forms-d2.el forms-pass.el patcomp.el \ |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
28 subdirs.el version.el |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
29 maildontcompile = mail\blessmail.el mail\sc.el |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
30 playdontcompile = play\bruce.el |
21655
cfb05eddeb55
(interdontcompile): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents:
21596
diff
changeset
|
31 interdontcompile = international\latin-1.el international\latin-2.el \ |
cfb05eddeb55
(interdontcompile): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents:
21596
diff
changeset
|
32 international\latin-3.el international\latin-4.el \ |
cfb05eddeb55
(interdontcompile): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents:
21596
diff
changeset
|
33 international\latin-5.el international\mule-conf.el |
21596
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
34 |
9803 | 35 # |
36 # Assuming INSTALL_DIR is defined, copy the elisp files to it | |
37 # | |
38 install:; - mkdir $(INSTALL_DIR)\lisp | |
14899
4b7b8a937a5d
Change uses of del to $(DEL).
Geoff Voelker <voelker@cs.washington.edu>
parents:
13632
diff
changeset
|
39 - $(DEL) .\same-dir.tst |
4b7b8a937a5d
Change uses of del to $(DEL).
Geoff Voelker <voelker@cs.washington.edu>
parents:
13632
diff
changeset
|
40 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
13535
b077415f487d
(install): Change same-dir test to create test file in
Geoff Voelker <voelker@cs.washington.edu>
parents:
11400
diff
changeset
|
41 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst |
21596
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
42 !ifdef COPY_LISP_SOURCE |
13535
b077415f487d
(install): Change same-dir test to create test file in
Geoff Voelker <voelker@cs.washington.edu>
parents:
11400
diff
changeset
|
43 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp |
21596
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
44 !else |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
45 if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
46 if not exist .\same-dir.tst for %%f in ( $(topdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
47 if not exist .\same-dir.tst for %%f in ( $(maildontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\mail |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
48 if not exist .\same-dir.tst for %%f in ( $(playdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\play |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
49 !endif |
21655
cfb05eddeb55
(interdontcompile): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents:
21596
diff
changeset
|
50 if not exist .\same-dir.tst for %%f in ( $(interdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\international |
14899
4b7b8a937a5d
Change uses of del to $(DEL).
Geoff Voelker <voelker@cs.washington.edu>
parents:
13632
diff
changeset
|
51 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
21655
cfb05eddeb55
(interdontcompile): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents:
21596
diff
changeset
|
52 |
9803 | 53 # |
54 # Maintenance | |
55 # | |
21596
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
56 clean:; - $(DEL) *~ term\*~ |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
57 - $(DEL) *.orig *.rej *.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
58 - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
59 - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
60 - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
61 - $(DEL) international\*.orig international\*.rej international\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
62 - $(DEL) language\*.orig language\*.rej language\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
63 - $(DEL) mail\*.orig mail\*.rej mail\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
64 - $(DEL) play\*.orig play\*.rej play\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
65 - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
66 - $(DEL) term\*.orig term\*.rej term\*.crlf |
de7ecc11ba03
(install): Copy elisp files that are not compiled.
Geoff Voelker <voelker@cs.washington.edu>
parents:
15742
diff
changeset
|
67 - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf |
11400
110427887843
(all): Use DEL_TREE instead of delnode.
Karl Heuer <kwzh@gnu.org>
parents:
9803
diff
changeset
|
68 - $(DEL_TREE) deleted |