Commit | Line | Data |
---|---|---|
95ed0025 RS |
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 | |
1fb87c77 KH |
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. | |
95ed0025 RS |
21 | # |
22 | ||
23 | !include ..\nt\makefile.def | |
24 | ||
25 | all: | |
26 | ||
5edd6aee GV |
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 | |
23de5c5c GV |
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 | |
5edd6aee | 34 | |
95ed0025 RS |
35 | # |
36 | # Assuming INSTALL_DIR is defined, copy the elisp files to it | |
37 | # | |
38 | install:; - mkdir $(INSTALL_DIR)\lisp | |
2e17c871 GV |
39 | - $(DEL) .\same-dir.tst |
40 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst | |
bb441948 | 41 | echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst |
5edd6aee | 42 | !ifdef COPY_LISP_SOURCE |
bb441948 | 43 | if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp |
5edd6aee GV |
44 | !else |
45 | if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp | |
46 | if not exist .\same-dir.tst for %%f in ( $(topdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp | |
47 | if not exist .\same-dir.tst for %%f in ( $(maildontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\mail | |
48 | if not exist .\same-dir.tst for %%f in ( $(playdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\play | |
49 | !endif | |
23de5c5c | 50 | if not exist .\same-dir.tst for %%f in ( $(interdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\international |
2e17c871 | 51 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
23de5c5c | 52 | |
95ed0025 RS |
53 | # |
54 | # Maintenance | |
55 | # | |
5edd6aee GV |
56 | clean:; - $(DEL) *~ term\*~ |
57 | - $(DEL) *.orig *.rej *.crlf | |
58 | - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf | |
59 | - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf | |
60 | - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf | |
61 | - $(DEL) international\*.orig international\*.rej international\*.crlf | |
62 | - $(DEL) language\*.orig language\*.rej language\*.crlf | |
63 | - $(DEL) mail\*.orig mail\*.rej mail\*.crlf | |
64 | - $(DEL) play\*.orig play\*.rej play\*.crlf | |
65 | - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf | |
66 | - $(DEL) term\*.orig term\*.rej term\*.crlf | |
67 | - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf | |
61fac911 | 68 | - $(DEL_TREE) deleted |