From fddaf76b679f083776634c9f9ed5f92077670f79 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 2 Feb 2007 18:23:07 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 +++- Makefile.in | 4 ++++ bcc32/Makefile.sub | 4 ++++ common.mk | 4 +--- win32/Makefile.sub | 10 ++++++++++ wince/Makefile.sub | 10 ++++++++++ 6 files changed, 32 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f9601bb955..859cdf36df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ -Sat Feb 3 02:36:35 2007 Nobuyoshi Nakada +Sat Feb 3 03:22:47 2007 Nobuyoshi Nakada + + * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized. * proc.c (yarv_proc_alloc): needs return. diff --git a/Makefile.in b/Makefile.in index 1a3373161f..23dedbe6d6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 8f32b4c936..04d1328b21 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -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$(