Mercurial > hg > xemacs-beta
comparison lisp/efs/Makefile @ 22:8fc7fe29b841 r19-15b94
Import from CVS: tag r19-15b94
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:50:29 +0200 |
parents | |
children | 4103f0995bd7 |
comparison
equal
deleted
inserted
replaced
21:b88636d63495 | 22:8fc7fe29b841 |
---|---|
1 ############################################################################### | |
2 # | |
3 # File: Makefile | |
4 # Release: $efs release: 1.15 $ | |
5 # Version: $Revision: 1.2 $ | |
6 # RCS: | |
7 # Description: Makefile for byte-compiling efs and dired. | |
8 # Author: Andy Norman, HPLabs, Bristol, UK. | |
9 # Created: Sat Jan 30 00:18:56 1993 | |
10 # Language: Text (make script) | |
11 # | |
12 ############################################################################### | |
13 | |
14 ## Installation Instructions | |
15 ############################ | |
16 # 1. Edit the configuration variables below. | |
17 # EMACS should be the name of the emacs program on your system. | |
18 # VERSION should be the emacs version. This must be one of: | |
19 # 18 for all versions of Emacs 18. | |
20 # 19 for all versions of the original GNU Emacs from FSF between | |
21 # 19.1 and 19.22, inclusive. | |
22 # 19.23 for version 19.23 and later of the original GNU Emacs from FSF | |
23 # l19.11 for XEmacs 19.11 trhu 19.14 | |
24 # x19.15 for XEmacs 19.15 and later | |
25 # LISPDIR should be the directory in which you want the .elc | |
26 # files installed. | |
27 # BDIR should be the directory containing the .elc files for the | |
28 # byte-compiler. Although efs byte-compiles and works with the | |
29 # Emacs V18 byte-compiler, it is strongly recommended to use | |
30 # Jamie Zawinski's V19 byte-compiler. This byte-compiler is | |
31 # standard with Lucid Emacs, XEmacs, and GNU Emacs V19, so in this | |
32 # case you can set BDIR to nothing. | |
33 # VMDIR should be set to the directory containing the .elc files for | |
34 # VM. If you aren't using VM, then set this to nothing. | |
35 # | |
36 # 2. To byte-compile the entire package, except for VM support (efs-vm.el), | |
37 # run make VERSION, where VERSION is the emacs version that you are | |
38 # compiling for. It must be one of: | |
39 # 18 for Emacs 18 | |
40 # 19 for the original GNU Emacs from FSF, versions 19.1 through | |
41 # 19.22, inclusive | |
42 # 19.23 for the original GNU Emacs from FSF, version 19.23 and later. | |
43 # l19.11 for Lucid XEmacs 19.11 thru 19.14 | |
44 # x19.15 for XEmacs 19.15 and later | |
45 # | |
46 # If you have set the VERSION variable correctly, then typing just | |
47 # make will suffice. | |
48 # | |
49 # 3. To byte-compile everything, including VM support, run make all. | |
50 # | |
51 # 4. To byte-compile all the efs files, except for VM support, | |
52 # run make efs. | |
53 # | |
54 # 5. To byte-compile only the core efs files run make core. | |
55 # | |
56 # 6. To byte compile an efs-XXX.el file, run make XXX. | |
57 # This means that VM support can be compiled by running make vm. | |
58 # | |
59 # 7. To byte compile only dired, run make dired. | |
60 # | |
61 # 8. To byte-compile only efs-auto.el, for autoloading efs, run make auto. | |
62 # | |
63 | |
64 ## Edit these variables according to your configuration. | |
65 | |
66 # Name of Emacs program | |
67 EMACS=xemacs | |
68 # Emacs version. This must be set to one of 18, 19, 19.23, | |
69 # l19.11, x19.15 | |
70 VERSION=x19.15 | |
71 # Current working directory | |
72 CWD=`pwd` | |
73 # Directory in which to install the lisp files | |
74 LISPDIR= | |
75 # Directory containing byte-compiler. This is used by fixup.el | |
76 BDIR= | |
77 # Directory containing VM's .elc files. | |
78 VMDIR= | |
79 # Bourne shell executable, please. | |
80 SHELL=/bin/sh | |
81 | |
82 ###### It should not be necessary to edit anything below this line. ###### | |
83 | |
84 COREOBJS = efs-defun.elc efs-ovwrt.elc efs-fnh.elc efs-cu.elc efs-netrc.elc \ | |
85 efs.elc efs-dired.elc efs-report.elc \ | |
86 efs-cp-p.elc auto-save.elc | |
87 DOBJS = default-dir.elc dired.elc dired-mob.elc dired-oas.elc \ | |
88 dired-rgxp.elc dired-shell.elc dired-vir.elc dired-xy.elc \ | |
89 dired-grep.elc dired-uu.elc \ | |
90 dired-cmpr.elc dired-diff.elc dired-help.elc dired-sex.elc | |
91 EFSOBJS = $(COREOBJS) efs-auto.elc \ | |
92 efs-cms.elc efs-cms-knet.elc efs-dos-distinct.elc efs-nos-ve.elc \ | |
93 efs-gwp.elc efs-kerberos.elc efs-hell.elc efs-ka9q.elc \ | |
94 efs-mpe.elc efs-mts.elc efs-mvs.elc efs-netware.elc \ | |
95 efs-pc.elc efs-ti-explorer.elc efs-ti-twenex.elc \ | |
96 efs-tops-20.elc efs-dl.elc efs-guardian.elc efs-coke.elc \ | |
97 efs-vms.elc efs-vos.elc efs-plan9.elc efs-ms-unix.elc | |
98 VMOBJS = efs-vm.elc | |
99 GEOBJS = dired-fsf.elc dired-mule.elc efs-dired-mule.elc | |
100 XEOBJS = dired-xemacs.elc | |
101 OBJS = $(DOBJS) $(EFSOBJS) $(VMOBJS) $(GEOBJS) $(XEOBJS) \ | |
102 efs-l19.11.elc efs-x19.15.elc \ | |
103 emacs-19.elc fn-handler.elc | |
104 | |
105 # fixup.el is never byte-compiled. It would do no harm, but be a waste | |
106 # of time. | |
107 | |
108 ## Specify new rules. | |
109 | |
110 .SUFFIXES: .elc .el .texi .info | |
111 | |
112 .el.elc: | |
113 BDIR=$(BDIR) CWD=$(CWD) VMDIR=$(VMDIR) \ | |
114 $(EMACS) -batch -l $(CWD)/fixup -f batch-byte-compile $(CWD)/$< | |
115 | |
116 .texi.info: | |
117 $(EMACS) -batch -f batch-texinfo-format $(CWD)/$< | |
118 | |
119 ## targets | |
120 | |
121 # What lazy fingers buys you | |
122 default: $(VERSION) dired | |
123 | |
124 # .elc files depend on .el source | |
125 # Do this in this brain-dead way because different makes do pattern | |
126 # rules differently. grumble grumble... | |
127 # | |
128 # dired | |
129 dired.elc: dired.el | |
130 dired-mob.elc: dired-mob.el | |
131 dired-oas.elc: dired-oas.el | |
132 dired-rgxp.elc: dired-rgxp.el | |
133 dired-shell.elc: dired-shell.el | |
134 dired-vir.elc: dired-vir.el | |
135 dired-xy.elc: dired-xy.el | |
136 dired-grep.elc: dired-grep.el | |
137 dired-uu.elc: dired-uu.el | |
138 dired-fsf.elc: dired-fsf.el | |
139 dired-cmpr.elc: dired-cmpr.el | |
140 dired-help.elc: dired-help.el | |
141 dired-diff.elc: dired-diff.el | |
142 dired-sex.elc: dired-sex.el | |
143 dired-mule.elc: dired-mule.el | |
144 dired-xemacs.elc: dired-xemacs.el | |
145 default-dir.elc: default-dir.el | |
146 # efs core files | |
147 efs.elc: efs.el | |
148 efs-defun.elc: efs-defun.el | |
149 efs-cp-p.elc: efs-cp-p.el | |
150 efs-cu.elc: efs-cu.el | |
151 efs-netrc.elc: efs-netrc.el | |
152 efs-auto.elc: efs-auto.el | |
153 efs-dired.elc: efs-dired.el | |
154 efs-dired-mule.elc: efs-dired-mule.el | |
155 efs-report.elc: efs-report.el | |
156 efs-ovwrt.elc: efs-ovwrt.el | |
157 efs-fnh.elc: efs-fnh.el | |
158 # efs multi-OS and FTP server support | |
159 efs-cms.elc: efs-cms.el | |
160 efs-cms-knet.elc: efs-cms-knet.el | |
161 efs-coke.elc: efs-coke.el | |
162 efs-dos-distinct.elc: efs-dos-distinct.el | |
163 efs-nos-ve.elc: efs-nos-ve.el | |
164 efs-gwp.elc: efs-gwp.el | |
165 efs-hell.elc: efs-hell.el | |
166 efs-ka9q.elc: efs-ka9q.el | |
167 efs-kerberos.elc: efs-kerberos.el | |
168 efs-mpe.elc: efs-mpe.el | |
169 efs-mts.elc: efs-mts.el | |
170 efs-mvs.elc: efs-mvs.el | |
171 efs-netware.elc: efs-netware.el | |
172 efs-pc.elc: efs-pc.el | |
173 efs-ti-explorer.elc: efs-ti-explorer.el | |
174 efs-ti-twenex.elc: efs-ti-twenex.el | |
175 efs-tops-20.elc: efs-tops-20.el | |
176 efs-dl.elc: efs-dl.el | |
177 efs-vms.elc: efs-vms.el | |
178 efs-vos.elc: efs-vos.el | |
179 efs-guardian.elc: efs-guardian.el | |
180 efs-plan9.elc: efs-plan9.el | |
181 efs-ms-unix.elc: efs-ms-unix.el | |
182 # efs support for different Emacs versions | |
183 efs-l19.11.elc: efs-l19.11.el | |
184 efs-x19.15.elc: efs-x19.15.el | |
185 # efs vm support | |
186 efs-vm.elc: efs-vm.el | |
187 # backward compatibility files | |
188 fn-handler.elc: fn-handler.el | |
189 emacs-19.elc: emacs-19.el | |
190 # auto-save package | |
191 auto-save.elc: auto-save.el | |
192 | |
193 # Core targets | |
194 core: $(COREOBJS) | |
195 | |
196 # Extra perks | |
197 auto: core efs-auto.elc | |
198 cms: core efs-cms.elc | |
199 cms-knet: core efs-cms-knet.elc | |
200 dos-distinct: core efs-dos-distinct.elc | |
201 nos-ve: core efs-nos-ve.elc | |
202 gwp: core efs-gwp.elc | |
203 hell: core efs-hell.elc | |
204 ka9q: core efs-ka9q.elc | |
205 kerberos: core efs-kerberos.elc | |
206 mpe: core efs-mpe.elc | |
207 mts: core efs-mts.elc | |
208 mvs: core efs-mvs.elc | |
209 netware: core efs-netware.elc | |
210 pc: core efs-pc.elc | |
211 ti-explorer: core efs-ti-explorer.elc | |
212 ti-twenex: core efs-ti-twenex.elc | |
213 tops-20: core efs-tops-20.elc | |
214 dl: core efs-dl.elc | |
215 vms: core efs-vms.elc | |
216 vos: core efs-vos.elc | |
217 guardian: core efs-guardian.elc | |
218 plan9: core efs-plan9.elc | |
219 coke: core efs-coke.elc | |
220 vm: core $(VMOBJS) | |
221 | |
222 # The grand tour | |
223 efs: $(EFSOBJS) | |
224 dired: $(DOBJS) | |
225 all: $(OBJS) | |
226 | |
227 # Making for a specific emacs version | |
228 l19.11: efs dired efs-l19.11.elc $(XEOBJS) | |
229 x19.15: efs dired efs-x19.15.elc $(XEOBJS) | |
230 | |
231 # Installation | |
232 install: | |
233 @echo "Installing in $(LISPDIR)..." | |
234 @ls -C *.elc | |
235 cp *.elc $(LISPDIR) | |
236 install_src: | |
237 @echo "Installing in $(LISPDIR)..." | |
238 @ls -C `ls *.el 2>&1 | grep -v "fixup"` 2> /dev/null | |
239 cp `ls *.el | grep -v "fixup"` $(LISPDIR) | |
240 install_all: install_src install | |
241 clean: | |
242 rm -f $(OBJS) | |
243 | |
244 ## end of Makefile ## |