comparison lisp/makefile.nt @ 27622:e024ab46002c

(install): Synchronize rules for compiling with Unix version.
author Andrew Innes <andrewi@gnu.org>
date Sun, 06 Feb 2000 23:36:33 +0000
parents 5df541fa3e2b
children 39e2dae95929
comparison
equal deleted inserted replaced
27621:e4461431c046 27622:e024ab46002c
22 22
23 !include ..\nt\makefile.def 23 !include ..\nt\makefile.def
24 24
25 all: 25 all:
26 26
27 topdontcompile = cus-load.el forms-d2.el forms-pass.el patcomp.el \ 27 # You can specify a different executable on the make command line,
28 subdirs.el version.el 28 # e.g. "make EMACS=../src/emacs ...".
29 maildontcompile = mail\blessmail.el mail\sc.el 29
30 playdontcompile = play\bruce.el 30 EMACS = ..\src\$(BLD)\emacs
31 interdontcompile = international\latin-1.el international\latin-2.el \ 31
32 international\latin-3.el international\latin-4.el \ 32 # Command line flags for Emacs. This must include --multibyte,
33 international\latin-5.el international\mule-conf.el 33 # otherwise some files will not compile.
34
35 EMACSOPT = --no-init-file --no-site-file --multibyte -batch
36
37 # Files which should not be compiled. All file names must be relative
38 # to the `lisp' directory.
39 # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's
40 # no point compiling it, although it doesn't hurt.
41
42 DONTCOMPILE = bindings.el mail/blessmail.el play/bruce.el cus-load.el \
43 cus-start.el forms-d2.el forms-pass.el \
44 international/latin-1.el international/latin-2.el \
45 international/latin-3.el international/latin-4.el \
46 international/latin-5.el \
47 loaddefs.el loadup.el international/mule-conf.el patcomp.el \
48 paths.el mail/sc.el subdirs.el version.el \
49 generic-x.el international/latin-8.el international/latin-9.el \
50 emacs-lisp/cl-specs.el finder-inf.el term/internal.el
51
52 # The actual Emacs command run in the targets below.
53
54 emacs = $(EMACS) $(EMACSOPT)
55
56 .el.elc:
57 -$(emacs) -f batch-byte-compile $<
58
59 $(DONTCOMPILE:.el=.elc):
60 -$(DEL) $@
61
62 # Recompile all Lisp files which are newer than their .elc files.
63 # Note that this doesn't create .elc files. It only recompiles if an
64 # .elc is present.
65
66 recompile:
67 $(emacs) -f batch-byte-recompile-directory .
34 68
35 # 69 #
36 # Assuming INSTALL_DIR is defined, copy the elisp files to it 70 # Assuming INSTALL_DIR is defined, copy the elisp files to it
37 # Windows 95 makes this harder than it should be. 71 # Windows 95 makes this harder than it should be.
38 # 72 #
39 install:; - mkdir $(INSTALL_DIR)\lisp 73 install:
74 - mkdir $(INSTALL_DIR)\lisp
40 - $(DEL) .\same-dir.tst 75 - $(DEL) .\same-dir.tst
41 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst 76 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
42 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst 77 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
43 !ifdef COPY_LISP_SOURCE 78 !ifdef COPY_LISP_SOURCE
44 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp 79 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp