Mercurial > vim
annotate src/Make_dice.mak @ 6992:942510a7c61b
Added tag v7-4-813 for changeset 814f1f569e4a
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 11 Aug 2015 14:26:19 +0200 |
parents | ab71bb81b84e |
children | bce3b5ddb393 |
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 = \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
29 blowfish.c \ |
7 | 30 buffer.c \ |
31 charset.c \ | |
6126 | 32 crypt.c \ |
33 crypt_zip.c \ | |
7 | 34 diff.c \ |
35 digraph.c \ | |
36 edit.c \ | |
37 eval.c \ | |
38 ex_cmds.c \ | |
39 ex_cmds2.c \ | |
40 ex_docmd.c \ | |
41 ex_eval.c \ | |
42 ex_getln.c \ | |
43 fileio.c \ | |
44 fold.c \ | |
45 getchar.c \ | |
440 | 46 hardcopy.c \ |
800 | 47 hashtab.c \ |
7 | 48 main.c \ |
49 mark.c \ | |
50 memfile.c \ | |
51 memline.c \ | |
52 menu.c \ | |
53 message.c \ | |
54 misc1.c \ | |
55 misc2.c \ | |
56 move.c \ | |
57 mbyte.c \ | |
58 normal.c \ | |
59 ops.c \ | |
60 option.c \ | |
61 os_amiga.c \ | |
800 | 62 popupmnu.c \ |
7 | 63 quickfix.c \ |
64 regexp.c \ | |
65 screen.c \ | |
66 search.c \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
67 sha256.c \ |
221 | 68 spell.c \ |
7 | 69 syntax.c \ |
70 tag.c \ | |
71 term.c \ | |
72 ui.c \ | |
73 undo.c \ | |
74 window.c \ | |
75 version.c | |
76 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
77 OBJ = o/blowfish.o \ |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
78 o/buffer.o \ |
7 | 79 o/charset.o \ |
6126 | 80 o/crypt.o \ |
81 o/crypt_zip.o \ | |
7 | 82 o/diff.o \ |
83 o/digraph.o \ | |
84 o/edit.o \ | |
85 o/eval.o \ | |
86 o/ex_cmds.o \ | |
87 o/ex_cmds2.o \ | |
88 o/ex_docmd.o \ | |
89 o/ex_eval.o \ | |
90 o/ex_getln.o \ | |
91 o/fileio.o \ | |
92 o/fold.o \ | |
93 o/getchar.o \ | |
440 | 94 o/hardcopy.o \ |
800 | 95 o/hashtab.o \ |
7 | 96 o/main.o \ |
97 o/mark.o \ | |
98 o/memfile.o \ | |
99 o/memline.o \ | |
100 o/menu.o \ | |
101 o/message.o \ | |
102 o/misc1.o \ | |
103 o/misc2.o \ | |
104 o/move.o \ | |
105 o/mbyte.o \ | |
106 o/normal.o \ | |
107 o/ops.o \ | |
108 o/option.o \ | |
109 o/os_amiga.o \ | |
800 | 110 o/popupmnu.o \ |
7 | 111 o/quickfix.o \ |
112 o/regexp.o \ | |
113 o/screen.o \ | |
114 o/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
115 o/sha256.o \ |
221 | 116 o/spell.o \ |
7 | 117 o/syntax.o \ |
118 o/tag.o \ | |
119 o/term.o \ | |
120 o/ui.o \ | |
121 o/undo.o \ | |
122 o/window.o \ | |
123 $(TERMLIB) | |
124 | |
125 Vim: $(OBJ) version.c version.h | |
126 ${CC} $(CFLAGS) version.c -o o/version.o | |
127 ${LD} -o Vim $(OBJ) o/version.o $(LIBS) | |
128 | |
129 debug: $(OBJ) version.c version.h | |
130 ${CC} $(CFLAGS) version.c -o o/version.o | |
131 ${LD} -s -o Vim $(OBJ) o/version.o $(LIBS) | |
132 | |
133 tags: | |
134 csh -c ctags $(SRC) *.h | |
135 | |
136 clean: | |
137 delete o/*.o Vim $(SYMS) | |
138 | |
139 $(SYMS) : vim.h globals.h keymap.h macros.h ascii.h term.h os_amiga.h structs.h | |
140 delete $(SYMS) | |
141 | |
142 ########################################################################### | |
143 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
144 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
|
145 |
7 | 146 o/buffer.o: buffer.c $(SYMS) |
147 | |
148 o/charset.o: charset.c $(SYMS) | |
149 | |
6126 | 150 o/crypt.o: crypt.c $(SYMS) |
151 | |
152 o/crypt_zip.o: crypt_zip.c $(SYMS) | |
153 | |
7 | 154 o/diff.o: diff.c $(SYMS) |
155 | |
156 o/digraph.o: digraph.c $(SYMS) | |
157 | |
158 o/edit.o: edit.c $(SYMS) | |
159 | |
160 o/eval.o: eval.c $(SYMS) | |
161 | |
162 o/ex_cmds.o: ex_cmds.c $(SYMS) | |
163 | |
164 o/ex_cmds2.o: ex_cmds2.c $(SYMS) | |
165 | |
166 o/ex_docmd.o: ex_docmd.c $(SYMS) ex_cmds.h | |
167 | |
168 o/ex_eval.o: ex_eval.c $(SYMS) ex_cmds.h | |
169 | |
170 o/ex_getln.o: ex_getln.c $(SYMS) | |
171 | |
172 o/fileio.o: fileio.c $(SYMS) | |
173 | |
174 o/fold.o: fold.c $(SYMS) | |
175 | |
176 o/getchar.o: getchar.c $(SYMS) | |
177 | |
440 | 178 o/hardcopy.o: hardcopy.c $(SYMS) |
179 | |
800 | 180 o/hashtab.o: hashtab.c $(SYMS) |
119 | 181 |
7 | 182 o/main.o: main.c $(SYMS) |
183 | |
184 o/mark.o: mark.c $(SYMS) | |
185 | |
186 o/memfile.o: memfile.c $(SYMS) | |
187 | |
188 o/memline.o: memline.c $(SYMS) | |
189 | |
190 o/menu.o: menu.c $(SYMS) | |
191 | |
192 o/message.o: message.c $(SYMS) | |
193 | |
194 o/misc1.o: misc1.c $(SYMS) | |
195 | |
196 o/misc2.o: misc2.c $(SYMS) | |
197 | |
198 o/move.o: move.c $(SYMS) | |
199 | |
200 o/mbyte.o: mbyte.c $(SYMS) | |
201 | |
202 o/normal.o: normal.c $(SYMS) | |
203 | |
204 o/ops.o: ops.c $(SYMS) | |
205 | |
206 o/option.o: option.c $(SYMS) | |
207 # Because of a bug in DC1 2.06.40, initialisation of unions does not | |
208 # work correctly. dc1-21 is DC1 2.06.21 which does work. | |
209 # rename dc1-21 dc1 | |
210 ${CC} ${CFLAGS} option.c -o o/option.o | |
211 # rename dc1 dc1-21 | |
212 | |
213 o/os_amiga.o: os_amiga.c $(SYMS) os_amiga.h | |
214 | |
800 | 215 o/popupmnu.o: popupmnu.c $(SYMS) |
540 | 216 |
7 | 217 o/quickfix.o: quickfix.c $(SYMS) |
218 | |
219 o/regexp.o: regexp.c $(SYMS) regexp.h | |
220 | |
221 o/screen.o: screen.c $(SYMS) | |
222 | |
223 o/search.o: search.c $(SYMS) regexp.h | |
224 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
225 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
|
226 |
221 | 227 o/spell.o: spell.c $(SYMS) |
228 | |
7 | 229 o/syntax.o: syntax.c $(SYMS) |
230 | |
231 o/tag.o: tag.c $(SYMS) | |
232 | |
233 o/term.o: term.c $(SYMS) term.h | |
234 | |
235 o/termlib.o: termlib.c $(SYMS) | |
236 | |
237 o/ui.o: ui.c $(SYMS) | |
238 | |
239 o/undo.o: undo.c $(SYMS) | |
240 | |
241 o/window.o: window.c $(SYMS) |