Mercurial > hg > CbC > old > device
changeset 706:afcba0382231
*** empty log message ***
author | kono |
---|---|
date | Wed, 24 Oct 2007 10:51:17 +0900 |
parents | 0554b7f985ee |
children | 75a2d51ca4dc |
files | Makefile Makefile.ia32 |
diffstat | 2 files changed, 17 insertions(+), 60 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Oct 24 10:39:57 2007 +0900 +++ b/Makefile Wed Oct 24 10:51:17 2007 +0900 @@ -282,61 +282,3 @@ # DO NOT DELETE -mc-code-ia32.o: /usr/include/stdio.h /usr/include/_types.h -mc-code-ia32.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-code-ia32.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-code-ia32.o: mc-parse.h mc-codegen.h mc-code.h mc-include.c -mc-codegen.o: /usr/include/stdio.h /usr/include/_types.h -mc-codegen.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-codegen.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-codegen.o: mc-parse.h mc-codegen.h mc-code.h mc-switch.h mc-inline.h -mc-codegen.o: conv/conv.h -mc-parse.o: /usr/include/stdio.h /usr/include/_types.h -mc-parse.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-parse.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-parse.o: mc-parse.h mc-codegen.h mc-switch.h mc-macro.h mc-inline.h -mc-parse.o: conv/conv.h -mc-tree.o: /usr/include/stdio.h /usr/include/_types.h -mc-tree.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-tree.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-tree.o: mc-parse.h mc-codegen.h -mc-switch.o: /usr/include/stdio.h /usr/include/_types.h -mc-switch.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-switch.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-switch.o: mc-parse.h mc-codegen.h mc-code.h -mc-inline.o: /usr/include/stdio.h /usr/include/_types.h -mc-inline.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-inline.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-inline.o: mc-parse.h mc-codegen.h mc-switch.h mc-code.h mc-inline.h -mc-macro.o: /usr/include/stdio.h /usr/include/_types.h -mc-macro.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-macro.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-macro.o: mc-parse.h mc-macro.h mc-codegen.h mc-code.h -conv/c.o: /usr/include/stdio.h /usr/include/_types.h -conv/c.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -conv/c.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -conv/c.o: mc-parse.h mc-codegen.h conv/conv.h conv/convdef.h conv/c.h -conv/c2cbc.o: /usr/include/stdio.h /usr/include/_types.h -conv/c2cbc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -conv/c2cbc.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -conv/c2cbc.o: mc-parse.h mc-codegen.h conv/conv.h conv/convdef.h conv/c2cbc.h -conv/cbc2c.o: /usr/include/stdio.h /usr/include/_types.h -conv/cbc2c.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -conv/cbc2c.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -conv/cbc2c.o: mc-parse.h mc-codegen.h conv/conv.h conv/convdef.h conv/cbc2c.h -conv/null.o: /usr/include/stdio.h /usr/include/_types.h -conv/null.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -conv/null.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -conv/null.o: mc-parse.h conv/conv.h conv/convdef.h conv/null.h -mc-code-arm.o: /usr/include/stdio.h /usr/include/_types.h -mc-code-arm.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-code-arm.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-code-arm.o: mc-parse.h mc-code.h mc-codegen.h -mc-code-powerpc.o: /usr/include/stdio.h /usr/include/_types.h -mc-code-powerpc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-code-powerpc.o: /usr/include/machine/_types.h /usr/include/i386/_types.h -mc-code-powerpc.o: mc.h mc-parse.h mc-code.h mc-codegen.h mc-include.c -mc-code-mips.o: /usr/include/stdio.h /usr/include/_types.h -mc-code-mips.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h -mc-code-mips.o: /usr/include/machine/_types.h /usr/include/i386/_types.h mc.h -mc-code-mips.o: mc-parse.h mc-code.h mc-codegen.h mc-include.c
--- a/Makefile.ia32 Wed Oct 24 10:39:57 2007 +0900 +++ b/Makefile.ia32 Wed Oct 24 10:51:17 2007 +0900 @@ -23,7 +23,7 @@ # TARGET=test/simp -all: mc +all: mc tags ppc: make ARCH=powerpc CCEXT="-arch ppc" check-all @@ -32,7 +32,7 @@ cp mc-$(ARCH) mc TAGS: - ctags mc-code-powerpc.c mc-code.h mc-codegen.c mc-codegen.h \ + ctags mc-code-*.c mc-code.h mc-codegen.c mc-codegen.h \ mc-macro.c \ mc-parse.c mc-tree.c mc-switch.c mc-switch.h \ mc.h conv/c.c conv/c.h \ @@ -85,6 +85,7 @@ make check TARGET=test/simp0 make check TARGET=test/simp1 make check TARGET=test/static + make check-inline TARGET=test/static make check TARGET=test/tmp make check TARGET=test/tmp10 make check TARGET=test/tmp11 @@ -100,18 +101,25 @@ make check TARGET=test/long make check TARGET=test/tstdarg make check TARGET=test/switch + make check-inline TARGET=test/switch make check TARGET=test/strinit + make check-inline TARGET=test/strinit make check TARGET=test/code-gen-all make check-inline TARGET=test/code-gen-all make check TARGET=test/bitfield make check TARGET=test/bitfield1 + make check-inline TARGET=test/bitfield1 make check TARGET=test/cext make check TARGET=test/const make check TARGET=test/void_code make check TARGET=test/putenemy make check TARGET=test/inline make check TARGET=test/ps2 + make check-inline TARGET=test/ps2 make check TARGET=test/multi + make check-inline TARGET=test/multi + make check TARGET=test/comp + make check-inline TARGET=test/comp # make check TARGET=test/scope STDFLAG="-std=gnu99" # make check-inline TARGET=test/scope STDFLAG="-std=gnu99" #MK =-make @@ -131,7 +139,9 @@ make check-code$(MK) TARGET=test/tmp4 make check-code$(MK) TARGET=test/tmp6 make check-code$(MK) TARGET=test/tmpb + make check-code-inline TARGET=test/tmpb make check-code$(MK) TARGET=test/scope + make check-code-inline TARGET=test/scope make check-code$(MK) TARGET=test/throw make check-code$(MK) TARGET=test/too-long-argument @@ -164,6 +174,11 @@ -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).$(MC).out -diff $(TARGET).code-out $(TARGET).$(MC).out +check-code-inline: mc $(MC) + -./$(MC) -s -DINLINE=inline $(TARGET).c + -$(CC) $(TARGET).s $(MLIB) + -./a.out > $(TARGET).$(MC).out + -diff $(TARGET).code-out $(TARGET).$(MC).out check-code-make: mc $(MC) -./$(MC) -s $(TARGET).c -$(CC) $(TARGET).s $(MLIB)