Mercurial > vim
annotate src/Make_manx.mak @ 7824:de0431decd10
Added tag v7.4.1208 for changeset bcef391c101ca33e584bc55a6cdb192cf6d32584
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 17:30:05 +0100 |
parents | bce3b5ddb393 |
children | 9b048dced116 |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM on the Amiga, using Aztec/Manx C 5.0 or later | |
3 # | |
7435
a4b4cbf8d044
commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
4 # NOTE: THIS IS OLD AND PROBABLY NO LONGER WORKS. |
a4b4cbf8d044
commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
5 # |
7 | 6 # Note: Not all dependencies are included. This was done to avoid having |
7 # to compile everything when a global variable or function is added. | |
8 # Careful when changing a global struct or variable! | |
9 # | |
10 | |
11 #>>>>> choose options: | |
12 | |
13 ### See feature.h for a list of optionals. | |
14 ### Any other defines can be included here. | |
15 DEFINES = | |
16 | |
17 #>>>>> if HAVE_TGETENT is defined obj/termlib.o has to be used | |
18 #TERMLIB = obj/termlib.o | |
19 TERMLIB = | |
20 | |
21 #>>>>> choose between debugging (-bs) or optimizing (-so) | |
22 OPTIONS = -so | |
23 #OPTIONS = -bs | |
24 | |
25 #>>>>> end of choices | |
26 ########################################################################### | |
27 | |
28 CFLAGS = $(OPTIONS) -wapruq -ps -qf -Iproto $(DEFINES) -DAMIGA | |
29 | |
30 LIBS = -lc16 | |
31 SYMS = vim.syms | |
32 CC = cc | |
33 LN = ln | |
34 LNFLAGS = +q | |
35 SHELL = csh | |
36 REN = $(SHELL) -c mv -f | |
37 DEL = $(SHELL) -c rm -f | |
38 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
39 SRC = blowfish.c \ |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
40 buffer.c \ |
7 | 41 charset.c \ |
6126 | 42 crypt.c \ |
43 crypt_zip.c \ | |
7 | 44 diff.c \ |
45 digraph.c \ | |
46 edit.c \ | |
47 eval.c \ | |
48 ex_cmds.c \ | |
49 ex_cmds2.c \ | |
50 ex_docmd.c \ | |
51 ex_eval.c \ | |
52 ex_getln.c \ | |
53 fileio.c \ | |
54 fold.c \ | |
55 getchar.c \ | |
440 | 56 hardcopy.c \ |
799 | 57 hashtab.c \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
58 json.c \ |
7 | 59 main.c \ |
60 mark.c \ | |
61 memfile.c \ | |
62 memline.c \ | |
63 menu.c \ | |
64 message.c \ | |
65 misc1.c \ | |
66 misc2.c \ | |
67 move.c \ | |
68 mbyte.c \ | |
69 normal.c \ | |
70 ops.c \ | |
71 option.c \ | |
72 os_amiga.c \ | |
799 | 73 popupmnu.c \ |
7 | 74 quickfix.c \ |
75 regexp.c \ | |
76 screen.c \ | |
77 search.c \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
78 sha256.c \ |
222 | 79 spell.c \ |
7 | 80 syntax.c \ |
81 tag.c \ | |
82 term.c \ | |
83 ui.c \ | |
84 undo.c \ | |
85 window.c \ | |
86 version.c | |
87 | |
88 INCL = vim.h feature.h keymap.h macros.h ascii.h term.h structs.h os_amiga.h | |
89 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
90 OBJ = obj/blowfish.o \ |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
91 obj/buffer.o \ |
7 | 92 obj/charset.o \ |
6126 | 93 obj/crypt.o \ |
94 obj/crypt_zip.o \ | |
7 | 95 obj/diff.o \ |
96 obj/digraph.o \ | |
97 obj/edit.o \ | |
98 obj/eval.o \ | |
99 obj/ex_cmds.o \ | |
100 obj/ex_cmds2.o \ | |
101 obj/ex_docmd.o \ | |
102 obj/ex_eval.o \ | |
103 obj/ex_getln.o \ | |
104 obj/fileio.o \ | |
105 obj/fold.o \ | |
106 obj/getchar.o \ | |
440 | 107 obj/hardcopy.o \ |
799 | 108 obj/hashtab.o \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
109 obj/json.o \ |
7 | 110 obj/main.o \ |
111 obj/mark.o \ | |
112 obj/memfile.o \ | |
113 obj/memline.o \ | |
114 obj/menu.o \ | |
115 obj/message.o \ | |
116 obj/misc1.o \ | |
117 obj/misc2.o \ | |
118 obj/move.o \ | |
119 obj/mbyte.o \ | |
120 obj/normal.o \ | |
121 obj/ops.o \ | |
122 obj/option.o \ | |
123 obj/os_amiga.o \ | |
799 | 124 obj/popupmnu.o \ |
7 | 125 obj/quickfix.o \ |
126 obj/regexp.o \ | |
127 obj/screen.o \ | |
128 obj/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
129 obj/sha256.o \ |
222 | 130 obj/spell.o \ |
7 | 131 obj/syntax.o \ |
132 obj/tag.o \ | |
133 obj/term.o \ | |
134 obj/ui.o \ | |
135 obj/undo.o \ | |
136 obj/window.o \ | |
137 $(TERMLIB) | |
138 | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
139 PRO = proto/blowfish.pro \ |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
140 proto/buffer.pro \ |
7 | 141 proto/charset.pro \ |
6126 | 142 proto/crypt.pro \ |
143 proto/crypt_zip.pro \ | |
7 | 144 proto/diff.pro \ |
145 proto/digraph.pro \ | |
146 proto/edit.pro \ | |
147 proto/eval.pro \ | |
148 proto/ex_cmds.pro \ | |
149 proto/ex_cmds2.pro \ | |
150 proto/ex_docmd.pro \ | |
151 proto/ex_eval.pro \ | |
152 proto/ex_getln.pro \ | |
153 proto/fileio.pro \ | |
154 proto/fold.pro \ | |
155 proto/getchar.pro \ | |
440 | 156 proto/hardcopy.pro \ |
799 | 157 proto/hashtab.pro \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
158 proto/json.pro \ |
7 | 159 proto/main.pro \ |
160 proto/mark.pro \ | |
161 proto/memfile.pro \ | |
162 proto/memline.pro \ | |
163 proto/menu.pro \ | |
164 proto/message.pro \ | |
165 proto/misc1.pro \ | |
166 proto/misc2.pro \ | |
167 proto/move.pro \ | |
168 proto/mbyte.pro \ | |
169 proto/normal.pro \ | |
170 proto/ops.pro \ | |
171 proto/option.pro \ | |
172 proto/os_amiga.pro \ | |
799 | 173 proto/popupmnu.pro \ |
7 | 174 proto/quickfix.pro \ |
175 proto/regexp.pro \ | |
176 proto/screen.pro \ | |
177 proto/search.pro \ | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
178 proto/sha256.pro \ |
222 | 179 proto/spell.pro \ |
7 | 180 proto/syntax.pro \ |
181 proto/tag.pro \ | |
182 proto/term.pro \ | |
183 proto/termlib.pro \ | |
184 proto/ui.pro \ | |
185 proto/undo.pro \ | |
186 proto/window.pro | |
187 | |
188 all: Vim xxd/Xxd | |
189 | |
190 Vim: obj $(OBJ) version.c version.h | |
191 $(CC) $(CFLAGS) version.c -o obj/version.o | |
192 $(LN) $(LNFLAGS) -m -o Vim $(OBJ) obj/version.o $(LIBS) | |
193 | |
194 debug: obj $(OBJ) version.c version.h | |
195 $(CC) $(CFLAGS) version.c -o obj/version.o | |
196 $(LN) $(LNFLAGS) -m -g -o Vim $(OBJ) obj/version.o $(LIBS) | |
197 | |
198 xxd/Xxd: xxd/xxd.c | |
199 $(SHELL) -c cd xxd; make -f Make_amiga.mak; cd .. | |
200 | |
201 # Making prototypes with Manx has been removed, because it caused too many | |
202 # problems. | |
203 #proto: $(SYMS) $(PRO) | |
204 | |
205 obj: | |
206 makedir obj | |
207 | |
208 tags: $(SRC) $(INCL) | |
209 $(SHELL) -c ctags $(SRC) *.h | |
210 | |
211 # can't use delete here, too many file names | |
212 clean: | |
213 $(DEL) $(OBJ) obj/version.o \ | |
214 obj/termlib.o Vim $(SYMS) xxd/Xxd | |
215 | |
216 test: | |
217 $(SHELL) -c cd testdir; make -f Make_amiga.mak; cd .. | |
218 | |
219 $(SYMS): $(INCL) $(PRO) | |
220 $(CC) $(CFLAGS) -ho$(SYMS) vim.h | |
221 | |
222 ########################################################################### | |
223 | |
224 # Unfortunately, Manx's make doesn't understand a .c.o rule, so each | |
225 # compilation command has to be given explicitly. | |
226 | |
227 CCSYM = $(CC) $(CFLAGS) -hi$(SYMS) -o | |
228 CCNOSYM = $(CC) $(CFLAGS) -o | |
229 | |
230 $(OBJ): $(SYMS) | |
231 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
232 obj/blowfish.o: blowfish.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
233 $(CCSYM) $@ blowfish.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
234 |
7 | 235 obj/buffer.o: buffer.c |
236 $(CCSYM) $@ buffer.c | |
237 | |
238 obj/charset.o: charset.c | |
239 $(CCSYM) $@ charset.c | |
240 | |
6126 | 241 obj/crypt.o: crypt.c |
242 $(CCSYM) $@ crypt.c | |
243 | |
244 obj/crypt_zip.o: crypt_zip.c | |
245 $(CCSYM) $@ crypt_zip.c | |
246 | |
7 | 247 obj/diff.o: diff.c |
248 $(CCSYM) $@ diff.c | |
249 | |
250 obj/digraph.o: digraph.c | |
251 $(CCSYM) $@ digraph.c | |
252 | |
253 obj/edit.o: edit.c | |
254 $(CCSYM) $@ edit.c | |
255 | |
256 obj/eval.o: eval.c | |
257 $(CCSYM) $@ eval.c | |
258 | |
259 obj/ex_cmds.o: ex_cmds.c | |
260 $(CCSYM) $@ ex_cmds.c | |
261 | |
262 obj/ex_cmds2.o: ex_cmds2.c | |
263 $(CCSYM) $@ ex_cmds2.c | |
264 | |
265 # Don't use $(SYMS) here, because ex_docmd.c defines DO_DECLARE_EXCMD | |
266 obj/ex_docmd.o: ex_docmd.c ex_cmds.h | |
267 $(CCNOSYM) $@ ex_docmd.c | |
268 | |
269 obj/ex_eval.o: ex_eval.c ex_cmds.h | |
270 $(CCSYM) $@ ex_eval.c | |
271 | |
272 obj/ex_getln.o: ex_getln.c | |
273 $(CCSYM) $@ ex_getln.c | |
274 | |
275 obj/fileio.o: fileio.c | |
276 $(CCSYM) $@ fileio.c | |
277 | |
278 obj/fold.o: fold.c | |
279 $(CCSYM) $@ fold.c | |
280 | |
281 obj/getchar.o: getchar.c | |
282 $(CCSYM) $@ getchar.c | |
283 | |
440 | 284 obj/hardcopy.o: hardcopy.c |
285 $(CCSYM) $@ hardcopy.c | |
286 | |
799 | 287 obj/hashtab.o: hashtab.c |
288 $(CCSYM) $@ hashtab.c | |
121 | 289 |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
290 obj/json.o: json.c |
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
291 $(CCSYM) $@ json.c |
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
7435
diff
changeset
|
292 |
7 | 293 # Don't use $(SYMS) here, because main.c defines EXTERN |
294 obj/main.o: main.c option.h globals.h | |
295 $(CCNOSYM) $@ main.c | |
296 | |
297 obj/mark.o: mark.c | |
298 $(CCSYM) $@ mark.c | |
299 | |
300 obj/memfile.o: memfile.c | |
301 $(CCSYM) $@ memfile.c | |
302 | |
303 obj/memline.o: memline.c | |
304 $(CCSYM) $@ memline.c | |
305 | |
306 obj/menu.o: menu.c | |
307 $(CCSYM) $@ menu.c | |
308 | |
309 # Don't use $(SYMS) here, because message.c defines MESSAGE_FILE | |
310 obj/message.o: message.c | |
311 $(CCNOSYM) $@ message.c | |
312 | |
313 obj/misc1.o: misc1.c | |
314 $(CCSYM) $@ misc1.c | |
315 | |
316 obj/misc2.o: misc2.c | |
317 $(CCSYM) $@ misc2.c | |
318 | |
319 obj/move.o: move.c | |
320 $(CCSYM) $@ move.c | |
321 | |
322 obj/mbyte.o: mbyte.c | |
323 $(CCSYM) $@ mbyte.c | |
324 | |
325 obj/normal.o: normal.c | |
326 $(CCSYM) $@ normal.c | |
327 | |
328 obj/ops.o: ops.c | |
329 $(CCSYM) $@ ops.c | |
330 | |
331 # Don't use $(SYMS) here, because option.h defines variables here | |
332 obj/option.o: option.c | |
333 $(CCNOSYM) $@ option.c | |
334 | |
335 obj/os_amiga.o: os_amiga.c | |
336 $(CCSYM) $@ os_amiga.c | |
337 | |
799 | 338 obj/popupmnu.o: popupmnu.c |
339 $(CCSYM) $@ popupmnu.c | |
540 | 340 |
7 | 341 obj/quickfix.o: quickfix.c |
342 $(CCSYM) $@ quickfix.c | |
343 | |
344 obj/regexp.o: regexp.c | |
345 $(CCSYM) $@ regexp.c | |
346 | |
347 obj/screen.o: screen.c | |
348 $(CCSYM) $@ screen.c | |
349 | |
350 obj/search.o: search.c | |
351 $(CCSYM) $@ search.c | |
352 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
353 obj/sha256.o: sha256.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
354 $(CCSYM) $@ sha256.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
355 |
222 | 356 obj/spell.o: spell.c |
357 $(CCSYM) $@ spell.c | |
358 | |
7 | 359 obj/syntax.o: syntax.c |
360 $(CCSYM) $@ syntax.c | |
361 | |
362 obj/tag.o: tag.c | |
363 $(CCSYM) $@ tag.c | |
364 | |
365 obj/term.o: term.c term.h | |
366 $(CCSYM) $@ term.c | |
367 | |
368 obj/termlib.o: termlib.c | |
369 $(CCSYM) $@ termlib.c | |
370 | |
371 obj/ui.o: ui.c | |
372 $(CCSYM) $@ ui.c | |
373 | |
374 obj/undo.o: undo.c | |
375 $(CCSYM) $@ undo.c | |
376 | |
377 obj/window.o: window.c | |
378 $(CCSYM) $@ window.c |