comparison lisp/vm/Makefile @ 10:49a24b4fd526 r19-15b6

Import from CVS: tag r19-15b6
author cvs
date Mon, 13 Aug 2007 08:47:52 +0200
parents 376386a54a3c
children 859a2309aef8
comparison
equal deleted inserted replaced
9:6f2bbbbbe05a 10:49a24b4fd526
10 # point this at your v18 Emacs binary if you want compatible .elc 10 # point this at your v18 Emacs binary if you want compatible .elc
11 # files. 11 # files.
12 EMACS_VERSION = 19 12 EMACS_VERSION = 19
13 13
14 # what emacs is called on your system 14 # what emacs is called on your system
15 EMACS = ../../src/xemacs 15 EMACS = emacs
16 16
17 # where the Info file should go 17 # where the Info file should go
18 INFODIR = ../../info 18 INFODIR = /usr/local/lib/emacs/info
19 19
20 # where the vm.elc, tapestry.elc, etc. files should go 20 # where the vm.elc, tapestry.elc, etc. files should go
21 #LISPDIR = /usr/local/lib/emacs/site-lisp 21 LISPDIR = /usr/local/lib/emacs/site-lisp
22 22
23 # where the toolbar pixmaps should go. 23 # where the toolbar pixmaps should go.
24 # vm-toolbar-pixmap-directory must point to the same place. 24 # vm-toolbar-pixmap-directory must point to the same place.
25 PIXMAPDIR = /usr/local/lib/emacs/etc/vm 25 PIXMAPDIR = /usr/local/lib/emacs/etc/vm
26 26
66 vm-toolbar.el \ 66 vm-toolbar.el \
67 vm-undo.el vm-vars.el vm-version.el vm-virtual.el vm-window.el 67 vm-undo.el vm-vars.el vm-version.el vm-virtual.el vm-window.el
68 68
69 vm: vm.elc 69 vm: vm.elc
70 70
71 vm.elc: .autoload 71 vm.elc: autoload
72 72
73 .noautoload: $(OBJECTS) tapestry.elc 73 noautoload: $(OBJECTS) tapestry.elc
74 @echo "building vm.elc (with all modules included)..." 74 @echo "building vm.elc (with all modules included)..."
75 @cat $(OBJECTS) tapestry.elc > vm.elc 75 @cat $(OBJECTS) tapestry.elc > vm.elc
76 # in case the -f flag doesn't exist (e.g. on HPUX) 76
77 -chmod +w .noautoload 77 autoload: vm-autoload.elc $(OBJECTS) tapestry.elc
78 touch -f .noautoload || touch .noautoload
79
80 .autoload: vm-autoload.elc $(OBJECTS) tapestry.elc
81 @echo "building vm.elc (with all modules set to autoload)..." 78 @echo "building vm.elc (with all modules set to autoload)..."
82 @echo "(require 'vm-startup)" > vm.elc 79 @echo "(require 'vm-startup)" > vm.elc
83 @echo "(require 'vm-vars)" >> vm.elc 80 @echo "(require 'vm-vars)" >> vm.elc
84 @echo "(require 'vm-version)" >> vm.elc 81 @echo "(require 'vm-version)" >> vm.elc
85 @echo "(require 'vm-autoload)" >> vm.elc 82 @echo "(require 'vm-autoload)" >> vm.elc
86 # in case the -f flag doesn't exist (e.g. on HPUX)
87 -chmod +w .autoload
88 touch -f .autoload || touch .autoload
89 83
90 all: vm.info vm 84 all: vm.info vm
91 85
92 debug: $(SOURCES) tapestry.el 86 debug: $(SOURCES) tapestry.el
93 @echo "building vm.elc (uncompiled, no autoloads)..." 87 @echo "building vm.elc (uncompiled, no autoloads)..."
94 @cat $(SOURCES) tapestry.el > vm.elc 88 @cat $(SOURCES) tapestry.el > vm.elc
95 89
96 #install: all 90 install: all
97 # cp vm.info $(INFODIR)/vm 91 cp vm.info $(INFODIR)/vm
98 # cp *.elc $(LISPDIR) 92 cp *.elc $(LISPDIR)
99 # cp pixmaps/*.xpm $(PIXMAPDIR) 93 cp pixmaps/*.xpm $(PIXMAPDIR)
100 94
101 clean: 95 clean:
102 rm -f vm-autoload.el vm-autoload.elc $(OBJECTS) tapestry.elc 96 rm -f vm-autoload.el vm-autoload.elc $(OBJECTS) tapestry.elc
103 97
104 vm.info: vm.texinfo 98 vm.info: vm.texinfo