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
|
27 topdontcompile = cus-load.el forms-d2.el forms-pass.el patcomp.el \
|
|
28 subdirs.el version.el
|
|
29 maildontcompile = mail\blessmail.el mail\sc.el
|
|
30 playdontcompile = play\bruce.el
|
21655
|
31 interdontcompile = international\latin-1.el international\latin-2.el \
|
|
32 international\latin-3.el international\latin-4.el \
|
|
33 international\latin-5.el international\mule-conf.el
|
21596
|
34
|
9803
|
35 #
|
|
36 # Assuming INSTALL_DIR is defined, copy the elisp files to it
|
24320
|
37 # Windows 95 makes this harder than it should be.
|
9803
|
38 #
|
|
39 install:; - mkdir $(INSTALL_DIR)\lisp
|
14899
|
40 - $(DEL) .\same-dir.tst
|
|
41 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
|
13535
|
42 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
|
21596
|
43 !ifdef COPY_LISP_SOURCE
|
13535
|
44 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp
|
21596
|
45 !else
|
|
46 if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp
|
24320
|
47 if not exist .\same-dir.tst $(CP) cus-load.el $(INSTALL_DIR)\lisp
|
|
48 if not exist .\same-dir.tst $(CP) forms*.el $(INSTALL_DIR)\lisp
|
|
49 if not exist .\same-dir.tst $(CP) patcomp.el $(INSTALL_DIR)\lisp
|
|
50 if not exist .\same-dir.tst $(CP) subdirs.el $(INSTALL_DIR)\lisp
|
|
51 if not exist .\same-dir.tst $(CP) version.el $(INSTALL_DIR)\lisp
|
|
52 if not exist .\same-dir.tst $(CP) mail\blessmail.el $(INSTALL_DIR)\lisp\mail
|
|
53 if not exist .\same-dir.tst $(CP) mail\sc.el $(INSTALL_DIR)\lisp\mail
|
|
54 if not exist .\same-dir.tst $(CP) play\bruce.el $(INSTALL_DIR)\lisp\play
|
|
55 if not exist .\same-dir.tst $(CP) international\latin-*.el $(INSTALL_DIR)\lisp\international
|
|
56 if not exist .\same-dir.tst $(CP) international\mule-conf.el $(INSTALL_DIR)\lisp\international
|
14899
|
57 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
|
23833
|
58 !endif
|
21655
|
59
|
9803
|
60 #
|
|
61 # Maintenance
|
|
62 #
|
21596
|
63 clean:; - $(DEL) *~ term\*~
|
|
64 - $(DEL) *.orig *.rej *.crlf
|
|
65 - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf
|
|
66 - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf
|
|
67 - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf
|
|
68 - $(DEL) international\*.orig international\*.rej international\*.crlf
|
|
69 - $(DEL) language\*.orig language\*.rej language\*.crlf
|
|
70 - $(DEL) mail\*.orig mail\*.rej mail\*.crlf
|
|
71 - $(DEL) play\*.orig play\*.rej play\*.crlf
|
|
72 - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf
|
|
73 - $(DEL) term\*.orig term\*.rej term\*.crlf
|
|
74 - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf
|
11400
|
75 - $(DEL_TREE) deleted
|