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