[前][次][番号順一覧][スレッド一覧]

ruby-changes:50077

From: nobu <ko1@a...>
Date: Sun, 4 Feb 2018 18:34:21 +0900 (JST)
Subject: [ruby-changes:50077] nobu:r62195 (trunk): common.mk: MJIT_MIN_HEADER

nobu	2018-02-04 18:34:16 +0900 (Sun, 04 Feb 2018)

  New Revision: 62195

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62195

  Log:
    common.mk: MJIT_MIN_HEADER
    
    * common.mk ($(MJIT_MIN_HEADER)): moved duplicate recipe from
      Makefile.in and win32/Makefile.sub.

  Modified files:
    trunk/Makefile.in
    trunk/common.mk
    trunk/win32/Makefile.sub
Index: common.mk
===================================================================
--- common.mk	(revision 62194)
+++ common.mk	(revision 62195)
@@ -192,6 +192,10 @@ all: $(SHOWFLAGS) main docs https://github.com/ruby/ruby/blob/trunk/common.mk#L192
 main: $(SHOWFLAGS) exts $(ENCSTATIC:static=lib)encs $(MJIT_MIN_HEADER)
 	@$(NULLCMD)
 
+$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
+	$(ECHO) building $@
+	$(BASERUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC)" rb_mjit_header.h $@
+
 .PHONY: showflags
 exts enc trans: $(SHOWFLAGS)
 showflags:
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 62194)
+++ win32/Makefile.sub	(revision 62195)
@@ -1191,10 +1191,6 @@ rb_mjit_header.h: PHONY probes.h https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1191
 	$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c -P
 	$(Q) $(IFCHANGE) $@ vm.i
 
-$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
-	$(ECHO) building $@
-	$(BASERUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC)" rb_mjit_header.h $@
-
 INSNS	= opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \
 	  vmtc.inc vm.inc
 
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 62194)
+++ Makefile.in	(revision 62195)
@@ -54,7 +54,6 @@ DOCTARGETS = @RDOCTARGET@ @CAPITARGET@ https://github.com/ruby/ruby/blob/trunk/Makefile.in#L54
 EXTOUT = @EXTOUT@
 arch_hdrdir = $(EXTOUT)/include/$(arch)
 VPATH = $(arch_hdrdir)/ruby:$(hdrdir)/ruby:$(srcdir):$(srcdir)/missing
-MJIT_MIN_HEADER = $(EXTOUT)/include/$(arch)/rb_mjit_min_header-$(RUBY_PROGRAM_VERSION).h
 
 empty =
 CC_VERSION = @CC_VERSION@
@@ -413,10 +412,6 @@ rb_mjit_header.h: PHONY probes.h https://github.com/ruby/ruby/blob/trunk/Makefile.in#L412
 	$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c $(COUTFLAG) $@.new -E -P -dD
 	$(Q) $(IFCHANGE) $@ $@.new
 
-$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
-	$(ECHO) building $@
-	$(BASERUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC)" rb_mjit_header.h $@
-
 # DTrace static library hacks described here:
 # http://mail.opensolaris.org/pipermail/dtrace-discuss/2005-August/000207.html
 ruby-glommed.$(OBJEXT):

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]