Mercurial > vim
annotate src/Make_manx.mak @ 7506:cfc0d60f6233 v7.4.1055
commit https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 6 21:23:56 2016 +0100
patch 7.4.1055
Problem: Running "make newtests" in src/testdir has no output.
Solution: List the messages file when a test fails. (Christian Brabandt)
Update the list of tests.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 06 Jan 2016 21:30:05 +0100 |
parents | a4b4cbf8d044 |
children | bce3b5ddb393 |
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 \ |
7 | 58 main.c \ |
59 mark.c \ | |
60 memfile.c \ | |
61 memline.c \ | |
62 menu.c \ | |
63 message.c \ | |
64 misc1.c \ | |
65 misc2.c \ | |
66 move.c \ | |
67 mbyte.c \ | |
68 normal.c \ | |
69 ops.c \ | |
70 option.c \ | |
71 os_amiga.c \ | |
799 | 72 popupmnu.c \ |
7 | 73 quickfix.c \ |
74 regexp.c \ | |
75 screen.c \ | |
76 search.c \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
77 sha256.c \ |
222 | 78 spell.c \ |
7 | 79 syntax.c \ |
80 tag.c \ | |
81 term.c \ | |
82 ui.c \ | |
83 undo.c \ | |
84 window.c \ | |
85 version.c | |
86 | |
87 INCL = vim.h feature.h keymap.h macros.h ascii.h term.h structs.h os_amiga.h | |
88 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
89 OBJ = obj/blowfish.o \ |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
90 obj/buffer.o \ |
7 | 91 obj/charset.o \ |
6126 | 92 obj/crypt.o \ |
93 obj/crypt_zip.o \ | |
7 | 94 obj/diff.o \ |
95 obj/digraph.o \ | |
96 obj/edit.o \ | |
97 obj/eval.o \ | |
98 obj/ex_cmds.o \ | |
99 obj/ex_cmds2.o \ | |
100 obj/ex_docmd.o \ | |
101 obj/ex_eval.o \ | |
102 obj/ex_getln.o \ | |
103 obj/fileio.o \ | |
104 obj/fold.o \ | |
105 obj/getchar.o \ | |
440 | 106 obj/hardcopy.o \ |
799 | 107 obj/hashtab.o \ |
7 | 108 obj/main.o \ |
109 obj/mark.o \ | |
110 obj/memfile.o \ | |
111 obj/memline.o \ | |
112 obj/menu.o \ | |
113 obj/message.o \ | |
114 obj/misc1.o \ | |
115 obj/misc2.o \ | |
116 obj/move.o \ | |
117 obj/mbyte.o \ | |
118 obj/normal.o \ | |
119 obj/ops.o \ | |
120 obj/option.o \ | |
121 obj/os_amiga.o \ | |
799 | 122 obj/popupmnu.o \ |
7 | 123 obj/quickfix.o \ |
124 obj/regexp.o \ | |
125 obj/screen.o \ | |
126 obj/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
127 obj/sha256.o \ |
222 | 128 obj/spell.o \ |
7 | 129 obj/syntax.o \ |
130 obj/tag.o \ | |
131 obj/term.o \ | |
132 obj/ui.o \ | |
133 obj/undo.o \ | |
134 obj/window.o \ | |
135 $(TERMLIB) | |
136 | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
137 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
|
138 proto/buffer.pro \ |
7 | 139 proto/charset.pro \ |
6126 | 140 proto/crypt.pro \ |
141 proto/crypt_zip.pro \ | |
7 | 142 proto/diff.pro \ |
143 proto/digraph.pro \ | |
144 proto/edit.pro \ | |
145 proto/eval.pro \ | |
146 proto/ex_cmds.pro \ | |
147 proto/ex_cmds2.pro \ | |
148 proto/ex_docmd.pro \ | |
149 proto/ex_eval.pro \ | |
150 proto/ex_getln.pro \ | |
151 proto/fileio.pro \ | |
152 proto/fold.pro \ | |
153 proto/getchar.pro \ | |
440 | 154 proto/hardcopy.pro \ |
799 | 155 proto/hashtab.pro \ |
7 | 156 proto/main.pro \ |
157 proto/mark.pro \ | |
158 proto/memfile.pro \ | |
159 proto/memline.pro \ | |
160 proto/menu.pro \ | |
161 proto/message.pro \ | |
162 proto/misc1.pro \ | |
163 proto/misc2.pro \ | |
164 proto/move.pro \ | |
165 proto/mbyte.pro \ | |
166 proto/normal.pro \ | |
167 proto/ops.pro \ | |
168 proto/option.pro \ | |
169 proto/os_amiga.pro \ | |
799 | 170 proto/popupmnu.pro \ |
7 | 171 proto/quickfix.pro \ |
172 proto/regexp.pro \ | |
173 proto/screen.pro \ | |
174 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
|
175 proto/sha256.pro \ |
222 | 176 proto/spell.pro \ |
7 | 177 proto/syntax.pro \ |
178 proto/tag.pro \ | |
179 proto/term.pro \ | |
180 proto/termlib.pro \ | |
181 proto/ui.pro \ | |
182 proto/undo.pro \ | |
183 proto/window.pro | |
184 | |
185 all: Vim xxd/Xxd | |
186 | |
187 Vim: obj $(OBJ) version.c version.h | |
188 $(CC) $(CFLAGS) version.c -o obj/version.o | |
189 $(LN) $(LNFLAGS) -m -o Vim $(OBJ) obj/version.o $(LIBS) | |
190 | |
191 debug: obj $(OBJ) version.c version.h | |
192 $(CC) $(CFLAGS) version.c -o obj/version.o | |
193 $(LN) $(LNFLAGS) -m -g -o Vim $(OBJ) obj/version.o $(LIBS) | |
194 | |
195 xxd/Xxd: xxd/xxd.c | |
196 $(SHELL) -c cd xxd; make -f Make_amiga.mak; cd .. | |
197 | |
198 # Making prototypes with Manx has been removed, because it caused too many | |
199 # problems. | |
200 #proto: $(SYMS) $(PRO) | |
201 | |
202 obj: | |
203 makedir obj | |
204 | |
205 tags: $(SRC) $(INCL) | |
206 $(SHELL) -c ctags $(SRC) *.h | |
207 | |
208 # can't use delete here, too many file names | |
209 clean: | |
210 $(DEL) $(OBJ) obj/version.o \ | |
211 obj/termlib.o Vim $(SYMS) xxd/Xxd | |
212 | |
213 test: | |
214 $(SHELL) -c cd testdir; make -f Make_amiga.mak; cd .. | |
215 | |
216 $(SYMS): $(INCL) $(PRO) | |
217 $(CC) $(CFLAGS) -ho$(SYMS) vim.h | |
218 | |
219 ########################################################################### | |
220 | |
221 # Unfortunately, Manx's make doesn't understand a .c.o rule, so each | |
222 # compilation command has to be given explicitly. | |
223 | |
224 CCSYM = $(CC) $(CFLAGS) -hi$(SYMS) -o | |
225 CCNOSYM = $(CC) $(CFLAGS) -o | |
226 | |
227 $(OBJ): $(SYMS) | |
228 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
229 obj/blowfish.o: blowfish.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
230 $(CCSYM) $@ blowfish.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
231 |
7 | 232 obj/buffer.o: buffer.c |
233 $(CCSYM) $@ buffer.c | |
234 | |
235 obj/charset.o: charset.c | |
236 $(CCSYM) $@ charset.c | |
237 | |
6126 | 238 obj/crypt.o: crypt.c |
239 $(CCSYM) $@ crypt.c | |
240 | |
241 obj/crypt_zip.o: crypt_zip.c | |
242 $(CCSYM) $@ crypt_zip.c | |
243 | |
7 | 244 obj/diff.o: diff.c |
245 $(CCSYM) $@ diff.c | |
246 | |
247 obj/digraph.o: digraph.c | |
248 $(CCSYM) $@ digraph.c | |
249 | |
250 obj/edit.o: edit.c | |
251 $(CCSYM) $@ edit.c | |
252 | |
253 obj/eval.o: eval.c | |
254 $(CCSYM) $@ eval.c | |
255 | |
256 obj/ex_cmds.o: ex_cmds.c | |
257 $(CCSYM) $@ ex_cmds.c | |
258 | |
259 obj/ex_cmds2.o: ex_cmds2.c | |
260 $(CCSYM) $@ ex_cmds2.c | |
261 | |
262 # Don't use $(SYMS) here, because ex_docmd.c defines DO_DECLARE_EXCMD | |
263 obj/ex_docmd.o: ex_docmd.c ex_cmds.h | |
264 $(CCNOSYM) $@ ex_docmd.c | |
265 | |
266 obj/ex_eval.o: ex_eval.c ex_cmds.h | |
267 $(CCSYM) $@ ex_eval.c | |
268 | |
269 obj/ex_getln.o: ex_getln.c | |
270 $(CCSYM) $@ ex_getln.c | |
271 | |
272 obj/fileio.o: fileio.c | |
273 $(CCSYM) $@ fileio.c | |
274 | |
275 obj/fold.o: fold.c | |
276 $(CCSYM) $@ fold.c | |
277 | |
278 obj/getchar.o: getchar.c | |
279 $(CCSYM) $@ getchar.c | |
280 | |
440 | 281 obj/hardcopy.o: hardcopy.c |
282 $(CCSYM) $@ hardcopy.c | |
283 | |
799 | 284 obj/hashtab.o: hashtab.c |
285 $(CCSYM) $@ hashtab.c | |
121 | 286 |
7 | 287 # Don't use $(SYMS) here, because main.c defines EXTERN |
288 obj/main.o: main.c option.h globals.h | |
289 $(CCNOSYM) $@ main.c | |
290 | |
291 obj/mark.o: mark.c | |
292 $(CCSYM) $@ mark.c | |
293 | |
294 obj/memfile.o: memfile.c | |
295 $(CCSYM) $@ memfile.c | |
296 | |
297 obj/memline.o: memline.c | |
298 $(CCSYM) $@ memline.c | |
299 | |
300 obj/menu.o: menu.c | |
301 $(CCSYM) $@ menu.c | |
302 | |
303 # Don't use $(SYMS) here, because message.c defines MESSAGE_FILE | |
304 obj/message.o: message.c | |
305 $(CCNOSYM) $@ message.c | |
306 | |
307 obj/misc1.o: misc1.c | |
308 $(CCSYM) $@ misc1.c | |
309 | |
310 obj/misc2.o: misc2.c | |
311 $(CCSYM) $@ misc2.c | |
312 | |
313 obj/move.o: move.c | |
314 $(CCSYM) $@ move.c | |
315 | |
316 obj/mbyte.o: mbyte.c | |
317 $(CCSYM) $@ mbyte.c | |
318 | |
319 obj/normal.o: normal.c | |
320 $(CCSYM) $@ normal.c | |
321 | |
322 obj/ops.o: ops.c | |
323 $(CCSYM) $@ ops.c | |
324 | |
325 # Don't use $(SYMS) here, because option.h defines variables here | |
326 obj/option.o: option.c | |
327 $(CCNOSYM) $@ option.c | |
328 | |
329 obj/os_amiga.o: os_amiga.c | |
330 $(CCSYM) $@ os_amiga.c | |
331 | |
799 | 332 obj/popupmnu.o: popupmnu.c |
333 $(CCSYM) $@ popupmnu.c | |
540 | 334 |
7 | 335 obj/quickfix.o: quickfix.c |
336 $(CCSYM) $@ quickfix.c | |
337 | |
338 obj/regexp.o: regexp.c | |
339 $(CCSYM) $@ regexp.c | |
340 | |
341 obj/screen.o: screen.c | |
342 $(CCSYM) $@ screen.c | |
343 | |
344 obj/search.o: search.c | |
345 $(CCSYM) $@ search.c | |
346 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
347 obj/sha256.o: sha256.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
348 $(CCSYM) $@ sha256.c |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
349 |
222 | 350 obj/spell.o: spell.c |
351 $(CCSYM) $@ spell.c | |
352 | |
7 | 353 obj/syntax.o: syntax.c |
354 $(CCSYM) $@ syntax.c | |
355 | |
356 obj/tag.o: tag.c | |
357 $(CCSYM) $@ tag.c | |
358 | |
359 obj/term.o: term.c term.h | |
360 $(CCSYM) $@ term.c | |
361 | |
362 obj/termlib.o: termlib.c | |
363 $(CCSYM) $@ termlib.c | |
364 | |
365 obj/ui.o: ui.c | |
366 $(CCSYM) $@ ui.c | |
367 | |
368 obj/undo.o: undo.c | |
369 $(CCSYM) $@ undo.c | |
370 | |
371 obj/window.o: window.c | |
372 $(CCSYM) $@ window.c |