mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f41d55aec8
commit
fddaf76b67
6 changed files with 32 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
Sat Feb 3 02:36:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sat Feb 3 03:22:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
|
||||
|
||||
* proc.c (yarv_proc_alloc): needs return.
|
||||
|
||||
|
|
|
@ -86,6 +86,7 @@ AS = @AS@
|
|||
ASFLAGS = @ASFLAGS@
|
||||
|
||||
OBJEXT = @OBJEXT@
|
||||
ASMEXT = S
|
||||
MANTYPE = @MANTYPE@
|
||||
|
||||
INSTALLED_LIST= .installed.list
|
||||
|
@ -170,6 +171,9 @@ lex.c: keywords
|
|||
.s.@OBJEXT@:
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
.c.S:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -S $<
|
||||
|
||||
clean-local::
|
||||
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT)
|
||||
|
||||
|
|
|
@ -175,6 +175,7 @@ LIBRUBYARG = $(LIBRUBY)
|
|||
PREP = miniruby$(EXEEXT)
|
||||
|
||||
OBJEXT = obj
|
||||
OBJEXT = asm
|
||||
|
||||
INSTALLED_LIST= .installed.list
|
||||
|
||||
|
@ -189,6 +190,9 @@ MINIOBJS = dmydln.$(OBJEXT)
|
|||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) -c $(<:/=\)
|
||||
|
||||
.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) -S $(<:\=/)
|
||||
|
||||
.rc.res:
|
||||
$(RC) $(RFLAGS) -I. -I$(<D). $(iconinc) -I$(srcdir)win32 $(RFLAGS) -fo$@ $(<:/=\)
|
||||
|
||||
|
|
|
@ -612,9 +612,7 @@ tbench: $(RUBY) PHONY
|
|||
aotc:
|
||||
$(RUBY) -I$(srcdir) -I. $(srcdir)/tool/aotcompile.rb $(INSNS2VMOPT)
|
||||
|
||||
# for GCC
|
||||
vmasm:
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -S $(srcdir)/vm.c
|
||||
vmasm: vm.$(ASMEXT)
|
||||
|
||||
# vm.o : CFLAGS += -fno-crossjumping
|
||||
|
||||
|
|
|
@ -191,6 +191,7 @@ EXTSTATIC =
|
|||
!endif
|
||||
|
||||
OBJEXT = obj
|
||||
ASMEXT = asm
|
||||
|
||||
INSTALLED_LIST= .installed.list
|
||||
|
||||
|
@ -535,6 +536,15 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG)
|
|||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
||||
|
||||
{$(srcdir)/missing}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
{$(srcdir)/win32}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
{$(srcdir)}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
|
||||
.rc.res:
|
||||
$(RC) -I. -I$(<D) $(iconinc) -I$(srcdir)/win32 $(RFLAGS) -fo$@ $(<:\=/)
|
||||
|
||||
|
|
|
@ -178,6 +178,7 @@ EXTSTATIC =
|
|||
!endif
|
||||
|
||||
OBJEXT = obj
|
||||
ASMEXT = asm
|
||||
|
||||
INSTALLED_LIST= .installed.list
|
||||
|
||||
|
@ -501,6 +502,15 @@ end
|
|||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
||||
|
||||
{$(srcdir)/missing}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
{$(srcdir)/win32}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
{$(srcdir)}.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
.c.asm:
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
||||
|
||||
.rc.res:
|
||||
$(RC) -I. -I$(<D) $(iconinc) -I$(srcdir)/win32 $(RFLAGS) -fo$@ $(<:\=/)
|
||||
|
||||
|
|
Loading…
Reference in a new issue