very minor fixes.
[emacs.git] / lisp / makefile.nt
blob940af460b958056018629dbe84eb6a090323add6
1 #  Hacked up Nmake makefile for GNU Emacs
2 #   Geoff Voelker (voelker@cs.washington.edu)
3 #  Copyright (c) 1994 Free Software Foundation, Inc.
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
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.
23 !include ..\nt\makefile.def
25 all:
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
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
36 # Assuming INSTALL_DIR is defined, copy the elisp files to it
37 # Windows 95 makes this harder than it should be.
39 install:;       - mkdir $(INSTALL_DIR)\lisp
40                 - $(DEL) .\same-dir.tst
41                 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
42                 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
43 !ifdef COPY_LISP_SOURCE
44                 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp
45 !else
46                 if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp
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
57                 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
58 !endif
61 # Maintenance
62
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
75                 - $(DEL_TREE) deleted