Mercurial > vim
annotate src/Make_dice.mak @ 9571:5eaa708ab50d v7.4.2063
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 22:13:49 2016 +0200
patch 7.4.2063
Problem: eval.c is still too big.
Solution: Split off internal functions to evalfunc.c.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 2016 22:30:06 +0200 |
parents | b6a459b326f3 |
children | b0c7061d6439 |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM, using DICE 3 | |
3 # | |
4 | |
5 #>>>>> choose options: | |
6 ### See feature.h for a list of optionals. | |
7 ### Any other defines can be included here. | |
8 DEFINES = -DHAVE_TGETENT -DUP_BC_PC_EXTERN -DOSPEED_EXTERN | |
9 | |
10 #>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used | |
11 TERMLIB = o/termlib.o | |
12 #TERMLIB = | |
13 | |
14 #>>>>> end of choices | |
15 ########################################################################### | |
16 | |
17 CFLAGS = -c -DAMIGA -Iproto $(DEFINES) | |
18 | |
19 SYMS = vim.syms | |
20 PRE = -H${SYMS}=vim.h | |
21 LIBS = -la | |
22 CC = dcc | |
23 LD = dcc | |
24 | |
25 .c.o: | |
26 ${CC} ${PRE} ${CFLAGS} $< -o $@ | |
27 | |
28 SRC = \ | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
29 arabic.c \ |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
30 blowfish.c \ |
7 | 31 buffer.c \ |
32 charset.c \ | |
6126 | 33 crypt.c \ |
34 crypt_zip.c \ | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
35 dict.c \ |
7 | 36 diff.c \ |
37 digraph.c \ | |
38 edit.c \ | |
39 eval.c \ | |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
40 evalfunc.c \ |
7 | 41 ex_cmds.c \ |
42 ex_cmds2.c \ | |
43 ex_docmd.c \ | |
44 ex_eval.c \ | |
45 ex_getln.c \ | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
46 farsi.c \ |
7 | 47 fileio.c \ |
48 fold.c \ | |
49 getchar.c \ | |
440 | 50 hardcopy.c \ |
800 | 51 hashtab.c \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
52 json.c \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
53 list.c \ |
7 | 54 main.c \ |
55 mark.c \ | |
56 memfile.c \ | |
57 memline.c \ | |
58 menu.c \ | |
59 message.c \ | |
60 misc1.c \ | |
61 misc2.c \ | |
62 move.c \ | |
63 mbyte.c \ | |
64 normal.c \ | |
65 ops.c \ | |
66 option.c \ | |
67 os_amiga.c \ | |
800 | 68 popupmnu.c \ |
7 | 69 quickfix.c \ |
70 regexp.c \ | |
71 screen.c \ | |
72 search.c \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
73 sha256.c \ |
221 | 74 spell.c \ |
7 | 75 syntax.c \ |
76 tag.c \ | |
77 term.c \ | |
78 ui.c \ | |
79 undo.c \ | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
80 userfunc.c \ |
7 | 81 window.c \ |
82 version.c | |
83 | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
84 OBJ = o/arabic.o \ |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
85 o/blowfish.o \ |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
86 o/buffer.o \ |
7 | 87 o/charset.o \ |
6126 | 88 o/crypt.o \ |
89 o/crypt_zip.o \ | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
90 o/dict.o \ |
7 | 91 o/diff.o \ |
92 o/digraph.o \ | |
93 o/edit.o \ | |
94 o/eval.o \ | |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
95 o/evalfunc.o \ |
7 | 96 o/ex_cmds.o \ |
97 o/ex_cmds2.o \ | |
98 o/ex_docmd.o \ | |
99 o/ex_eval.o \ | |
100 o/ex_getln.o \ | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
101 o/farsi.o \ |
7 | 102 o/fileio.o \ |
103 o/fold.o \ | |
104 o/getchar.o \ | |
440 | 105 o/hardcopy.o \ |
800 | 106 o/hashtab.o \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
107 o/json.o \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
108 o/list.o \ |
7 | 109 o/main.o \ |
110 o/mark.o \ | |
111 o/memfile.o \ | |
112 o/memline.o \ | |
113 o/menu.o \ | |
114 o/message.o \ | |
115 o/misc1.o \ | |
116 o/misc2.o \ | |
117 o/move.o \ | |
118 o/mbyte.o \ | |
119 o/normal.o \ | |
120 o/ops.o \ | |
121 o/option.o \ | |
122 o/os_amiga.o \ | |
800 | 123 o/popupmnu.o \ |
7 | 124 o/quickfix.o \ |
125 o/regexp.o \ | |
126 o/screen.o \ | |
127 o/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
128 o/sha256.o \ |
221 | 129 o/spell.o \ |
7 | 130 o/syntax.o \ |
131 o/tag.o \ | |
132 o/term.o \ | |
133 o/ui.o \ | |
134 o/undo.o \ | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
135 o/userfunc.o \ |
7 | 136 o/window.o \ |
137 $(TERMLIB) | |
138 | |
139 Vim: $(OBJ) version.c version.h | |
140 ${CC} $(CFLAGS) version.c -o o/version.o | |
141 ${LD} -o Vim $(OBJ) o/version.o $(LIBS) | |
142 | |
143 debug: $(OBJ) version.c version.h | |
144 ${CC} $(CFLAGS) version.c -o o/version.o | |
145 ${LD} -s -o Vim $(OBJ) o/version.o $(LIBS) | |
146 | |
147 tags: | |
148 csh -c ctags $(SRC) *.h | |
149 | |
150 clean: | |
151 delete o/*.o Vim $(SYMS) | |
152 | |
153 $(SYMS) : vim.h globals.h keymap.h macros.h ascii.h term.h os_amiga.h structs.h | |
154 delete $(SYMS) | |
155 | |
156 ########################################################################### | |
157 | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
158 o/arabic.o: arabic.c $(SYMS) |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
159 |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
160 o/blowfish.o: blowfish.c $(SYMS) |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
161 |
7 | 162 o/buffer.o: buffer.c $(SYMS) |
163 | |
164 o/charset.o: charset.c $(SYMS) | |
165 | |
6126 | 166 o/crypt.o: crypt.c $(SYMS) |
167 | |
168 o/crypt_zip.o: crypt_zip.c $(SYMS) | |
169 | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
170 o/dict.o: dict.c $(SYMS) |
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
171 |
7 | 172 o/diff.o: diff.c $(SYMS) |
173 | |
174 o/digraph.o: digraph.c $(SYMS) | |
175 | |
176 o/edit.o: edit.c $(SYMS) | |
177 | |
178 o/eval.o: eval.c $(SYMS) | |
179 | |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
180 o/evalfunc.o: evalfunc.c $(SYMS) |
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
181 |
7 | 182 o/ex_cmds.o: ex_cmds.c $(SYMS) |
183 | |
184 o/ex_cmds2.o: ex_cmds2.c $(SYMS) | |
185 | |
186 o/ex_docmd.o: ex_docmd.c $(SYMS) ex_cmds.h | |
187 | |
188 o/ex_eval.o: ex_eval.c $(SYMS) ex_cmds.h | |
189 | |
190 o/ex_getln.o: ex_getln.c $(SYMS) | |
191 | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
192 o/farsi.o: farsi.c $(SYMS) |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
193 |
7 | 194 o/fileio.o: fileio.c $(SYMS) |
195 | |
196 o/fold.o: fold.c $(SYMS) | |
197 | |
198 o/getchar.o: getchar.c $(SYMS) | |
199 | |
440 | 200 o/hardcopy.o: hardcopy.c $(SYMS) |
201 | |
800 | 202 o/hashtab.o: hashtab.c $(SYMS) |
119 | 203 |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
204 o/json.o: json.c $(SYMS) |
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
205 |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
206 o/list.o: list.c $(SYMS) |
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
207 |
7 | 208 o/main.o: main.c $(SYMS) |
209 | |
210 o/mark.o: mark.c $(SYMS) | |
211 | |
212 o/memfile.o: memfile.c $(SYMS) | |
213 | |
214 o/memline.o: memline.c $(SYMS) | |
215 | |
216 o/menu.o: menu.c $(SYMS) | |
217 | |
218 o/message.o: message.c $(SYMS) | |
219 | |
220 o/misc1.o: misc1.c $(SYMS) | |
221 | |
222 o/misc2.o: misc2.c $(SYMS) | |
223 | |
224 o/move.o: move.c $(SYMS) | |
225 | |
226 o/mbyte.o: mbyte.c $(SYMS) | |
227 | |
228 o/normal.o: normal.c $(SYMS) | |
229 | |
230 o/ops.o: ops.c $(SYMS) | |
231 | |
232 o/option.o: option.c $(SYMS) | |
233 # Because of a bug in DC1 2.06.40, initialisation of unions does not | |
234 # work correctly. dc1-21 is DC1 2.06.21 which does work. | |
235 # rename dc1-21 dc1 | |
236 ${CC} ${CFLAGS} option.c -o o/option.o | |
237 # rename dc1 dc1-21 | |
238 | |
239 o/os_amiga.o: os_amiga.c $(SYMS) os_amiga.h | |
240 | |
800 | 241 o/popupmnu.o: popupmnu.c $(SYMS) |
540 | 242 |
7 | 243 o/quickfix.o: quickfix.c $(SYMS) |
244 | |
245 o/regexp.o: regexp.c $(SYMS) regexp.h | |
246 | |
247 o/screen.o: screen.c $(SYMS) | |
248 | |
249 o/search.o: search.c $(SYMS) regexp.h | |
250 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
251 o/sha256.o: sha256.c $(SYMS) |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
252 |
221 | 253 o/spell.o: spell.c $(SYMS) |
254 | |
7 | 255 o/syntax.o: syntax.c $(SYMS) |
256 | |
257 o/tag.o: tag.c $(SYMS) | |
258 | |
259 o/term.o: term.c $(SYMS) term.h | |
260 | |
261 o/termlib.o: termlib.c $(SYMS) | |
262 | |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
263 o/ui.o: ui.c $(SYMS) |
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
264 |
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
265 o/undo.o: undo.c $(SYMS) |
7 | 266 |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
267 o/userfunc.o: userfunc.c $(SYMS) |
7 | 268 |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
269 o/window.o: window.c $(SYMS) |