31133
|
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
|
|
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.
|
|
21 #
|
|
22
|
|
23 ALL =
|
|
24
|
|
25 all: $(ALL)
|
|
26
|
|
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
|
|
34
|
|
35 #
|
|
36 # Assuming INSTALL_DIR is defined, copy the elisp files to it
|
|
37 # Windows 95 makes this harder than it should be.
|
|
38 #
|
|
39 install:
|
|
40 - mkdir "$(INSTALL_DIR)/lisp"
|
|
41 - $(DEL) ../same-dir.tst
|
|
42 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
|
|
43 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
|
|
44 #ifdef COPY_LISP_SOURCE
|
|
45 $(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
46 #else
|
|
47 $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
48 $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
49 $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
50 $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
51 $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
52 $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
53 $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
|
|
54 $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
|
|
55 $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
|
|
56 $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
|
|
57 $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
|
|
58 - $(DEL) ../same-dir.tst
|
|
59 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
|
|
60 #endif
|
|
61
|
|
62 #
|
|
63 # Maintenance
|
|
64 #
|
|
65 clean:
|
|
66 - $(DEL) *~
|