Mercurial > hg > CbC > old > device
comparison Makefile.powerpc @ 609:af6b9ae79583 udpcl
modificatioon for udpcl
author | kono |
---|---|
date | Thu, 16 Mar 2006 17:03:24 +0900 |
parents | ff033b46cac5 |
children | 2dee957ef988 |
comparison
equal
deleted
inserted
replaced
608:c3ba27861c83 | 609:af6b9ae79583 |
---|---|
12 MFLAGS=$(MFALGS) BASE=$(BASE) STAGE=$(STAGE) | 12 MFLAGS=$(MFALGS) BASE=$(BASE) STAGE=$(STAGE) |
13 ARCH=powerpc | 13 ARCH=powerpc |
14 MC=mc-$(ARCH) | 14 MC=mc-$(ARCH) |
15 MLIB = -lm | 15 MLIB = -lm |
16 PRINTF= # printf.c | 16 PRINTF= # printf.c |
17 CONVERTER=conv/c.o conv/null.o conv/c2cbc.o conv/cbc2c.o | 17 CONVERTER=conv/c.o conv/null.o conv/cbc2c.o conv/c2cbc.o |
18 | |
19 # conv/c2cbc.o conv/cbc2c.o | |
18 COMPLIB = mc-parse.o mc-codegen.o mc-switch.o mc-macro.o mc-tree.o mc-inline.o | 20 COMPLIB = mc-parse.o mc-codegen.o mc-switch.o mc-macro.o mc-tree.o mc-inline.o |
19 # CODE=mc-code-ia32.c | 21 # CODE=mc-code-ia32.c |
20 CODE=mc-code-$(ARCH).c | 22 CODE=mc-code-$(ARCH).c |
21 # | 23 # |
22 TARGET=test/simp | 24 TARGET=test/simp |
25 | 27 |
26 mc: mc-$(ARCH) | 28 mc: mc-$(ARCH) |
27 cp mc-$(ARCH) mc | 29 cp mc-$(ARCH) mc |
28 | 30 |
29 TAGS: | 31 TAGS: |
30 ctags mc-code-powerpc.c mc-code.h mc-codegen.c mc-codegen.h \ | 32 ctags mc-code-null.c mc-code.h mc-codegen.c mc-codegen.h \ |
31 mc-macro.c \ | 33 mc-macro.c \ |
32 mc-parse.c mc-tree.c mc-switch.c mc-switch.h \ | 34 mc-parse.c mc-tree.c mc-switch.c mc-switch.h \ |
33 mc.h conv/c.c conv/c.h \ | 35 mc.h conv/c.c conv/c.h \ |
34 mc-inline.h mc-inline.c \ | 36 mc-inline.h mc-inline.c \ |
35 conv/conv.h conv/convdef.h conv/null.c | 37 conv/conv.h conv/convdef.h conv/null.c |
38 | |
39 mc-null : mc-code-null.o $(COMPLIB) $(CONVERTER) | |
40 $(CC) $(LDFLAGS) -g mc-code-null.o $(COMPLIB) $(CONVERTER) -o $@ | |
36 | 41 |
37 mc-powerpc : mc-code-powerpc.o $(COMPLIB) $(CONVERTER) | 42 mc-powerpc : mc-code-powerpc.o $(COMPLIB) $(CONVERTER) |
38 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ | 43 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@ |
39 | 44 |
40 mc-ia32 : mc-code-ia32.o $(COMPLIB) $(CONVERTER) | 45 mc-ia32 : mc-code-ia32.o $(COMPLIB) $(CONVERTER) |
111 make check-code$(MK) TARGET=test/conv1 | 116 make check-code$(MK) TARGET=test/conv1 |
112 make check-code$(MK) TARGET=test/fact-a | 117 make check-code$(MK) TARGET=test/fact-a |
113 make check-code$(MK) TARGET=test/fact | 118 make check-code$(MK) TARGET=test/fact |
114 make check-code$(MK) TARGET=test/goto | 119 make check-code$(MK) TARGET=test/goto |
115 make check-code$(MK) TARGET=test/test1 | 120 make check-code$(MK) TARGET=test/test1 |
116 make check-code$(MK) TARGET=test/test2 | |
117 make check-code$(MK) TARGET=test/tmpa | 121 make check-code$(MK) TARGET=test/tmpa |
118 make check-code$(MK) TARGET=test/tmp1 | 122 make check-code$(MK) TARGET=test/tmp1 |
119 make check-code$(MK) TARGET=test/tmp2 | 123 make check-code$(MK) TARGET=test/tmp2 |
120 make check-code$(MK) TARGET=test/tmp4 | 124 make check-code$(MK) TARGET=test/tmp4 |
121 make check-code$(MK) TARGET=test/tmp6 | 125 make check-code$(MK) TARGET=test/tmp6 |
122 make check-code$(MK) TARGET=test/scope | 126 make check-code$(MK) TARGET=test/scope |
123 make check-code$(MK) TARGET=test/throw | 127 make check-code$(MK) TARGET=test/throw |
128 make check-code$(MK) TARGET=test/test2 | |
124 make check-code$(MK) TARGET=test/too-long-argument | 129 make check-code$(MK) TARGET=test/too-long-argument |
125 | 130 |
126 check-nkf: | 131 check-nkf: |
127 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) | 132 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c ) |
128 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) | 133 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c ) |
173 | 178 |
174 tar : | 179 tar : |
175 make clean | 180 make clean |
176 tar cBf - . | gzip > ../comp.tgz | 181 tar cBf - . | gzip > ../comp.tgz |
177 | 182 |
178 depend : | 183 depend : conv/conv.h |
179 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \ | 184 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \ |
180 mc-parse.c mc-tree.c mc-switch.c mc-switch.h mc.h \ | 185 mc-parse.c mc-tree.c mc-switch.c mc-switch.h mc.h \ |
181 mc-macro.c mc-inline.c mc-macro.h mc-parse.h \ | 186 mc-macro.c mc-inline.c mc-macro.h mc-parse.h \ |
182 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \ | 187 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \ |
183 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \ | 188 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \ |
189 mc-code-null.c \ | |
184 mc-code-powerpc.c \ | 190 mc-code-powerpc.c \ |
185 mc-code-arm.c \ | 191 mc-code-arm.c \ |
186 mc-code-mips.c | 192 mc-code-mips.c |
187 | 193 |
188 clean : | 194 clean : |
189 -rm -f mc mc-ia32 mc-powerpc mc-mips mc-arm *.bak *.s *.o *.cc mc mc1 mc2 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ *.out */*.out *.i */*.i *.cbc.? */*.cbc.? | 195 -rm -f mc mc-null mc-ia32 mc-powerpc mc-mips mc-arm *.bak *.s *.o *.cc mc mc1 mc2 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ *.out */*.out *.i */*.i *.cbc.? */*.cbc.? |
196 -rm -f *.tsv ../test/*.tsv ../test/sample/*.tsv | |
190 | 197 |
191 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) | 198 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) |
192 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) | 199 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER) |
193 | 200 |
194 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER) | 201 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER) |
250 mc-code-ia32.o: mc-parse.h mc-codegen.h mc-code.h | 257 mc-code-ia32.o: mc-parse.h mc-codegen.h mc-code.h |
251 mc-codegen.o: /usr/include/stdio.h /usr/include/_types.h | 258 mc-codegen.o: /usr/include/stdio.h /usr/include/_types.h |
252 mc-codegen.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h | 259 mc-codegen.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h |
253 mc-codegen.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h | 260 mc-codegen.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h |
254 mc-codegen.o: mc-parse.h mc-codegen.h mc-code.h mc-switch.h mc-inline.h | 261 mc-codegen.o: mc-parse.h mc-codegen.h mc-code.h mc-switch.h mc-inline.h |
262 mc-codegen.o: conv/conv.h | |
255 mc-parse.o: /usr/include/stdio.h /usr/include/_types.h | 263 mc-parse.o: /usr/include/stdio.h /usr/include/_types.h |
256 mc-parse.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h | 264 mc-parse.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h |
257 mc-parse.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h | 265 mc-parse.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h |
258 mc-parse.o: mc-parse.h mc-codegen.h mc-switch.h mc-macro.h mc-inline.h | 266 mc-parse.o: mc-parse.h mc-codegen.h mc-switch.h mc-macro.h mc-inline.h |
259 mc-parse.o: conv/conv.h | 267 mc-parse.o: conv/conv.h |
287 conv/cbc2c.o: mc-parse.h mc-codegen.h conv/conv.h conv/convdef.h conv/cbc2c.h | 295 conv/cbc2c.o: mc-parse.h mc-codegen.h conv/conv.h conv/convdef.h conv/cbc2c.h |
288 conv/null.o: /usr/include/stdio.h /usr/include/_types.h | 296 conv/null.o: /usr/include/stdio.h /usr/include/_types.h |
289 conv/null.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h | 297 conv/null.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h |
290 conv/null.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h | 298 conv/null.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h |
291 conv/null.o: mc-parse.h conv/conv.h conv/convdef.h conv/null.h | 299 conv/null.o: mc-parse.h conv/conv.h conv/convdef.h conv/null.h |
300 mc-code-null.o: /usr/include/stdio.h /usr/include/_types.h | |
301 mc-code-null.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h | |
302 mc-code-null.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h mc.h | |
303 mc-code-null.o: mc-parse.h mc-code.h mc-codegen.h | |
292 mc-code-powerpc.o: /usr/include/stdio.h /usr/include/_types.h | 304 mc-code-powerpc.o: /usr/include/stdio.h /usr/include/_types.h |
293 mc-code-powerpc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h | 305 mc-code-powerpc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h |
294 mc-code-powerpc.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h | 306 mc-code-powerpc.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h |
295 mc-code-powerpc.o: mc.h mc-parse.h mc-code.h mc-codegen.h | 307 mc-code-powerpc.o: mc.h mc-parse.h mc-code.h mc-codegen.h |
296 mc-code-arm.o: /usr/include/stdio.h /usr/include/_types.h | 308 mc-code-arm.o: /usr/include/stdio.h /usr/include/_types.h |