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

ruby-changes:58650

From: Nobuyoshi <ko1@a...>
Date: Fri, 8 Nov 2019 22:40:39 +0900 (JST)
Subject: [ruby-changes:58650] ff2d99406d (master): Update builtin include files

https://git.ruby-lang.org/ruby.git/commit/?id=ff2d99406d

From ff2d99406db4cd8aa0164c86525eedf627acffbe Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 8 Nov 2019 22:21:13 +0900
Subject: Update builtin include files


diff --git a/common.mk b/common.mk
index fcb0a91..5fc7ec5 100644
--- a/common.mk
+++ b/common.mk
@@ -984,7 +984,12 @@ $(srcs_vpath)mjit_compile.inc: $(srcdir)/tool/ruby_vm/views/mjit_compile.inc.erb https://github.com/ruby/ruby/blob/trunk/common.mk#L984
   $(srcdir)/tool/ruby_vm/views/_mjit_compile_ivar.erb \
   $(srcdir)/tool/ruby_vm/views/_mjit_compile_insn_body.erb $(srcdir)/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb
 
+BUILTIN_RB_SRCS = $(srcs_vpath)trace_point.rb $(srcs_vpath)ast.rb $(srcs_vpath)io.rb \
+		  $(srcs_vpath)gc.rb
+BUILTIN_RB_INCS = $(BUILTIN_RB_SRCS:.rb=.rbinc)
+
 common-srcs: $(srcs_vpath)parse.c $(srcs_vpath)lex.c $(srcs_vpath)enc/trans/newline.c $(srcs_vpath)id.c \
+	     $(BUILTIN_RB_INCS) \
 	     srcs-lib srcs-ext incs
 
 missing-srcs: $(srcdir)/missing/des_tables.c
@@ -1094,10 +1099,8 @@ preludes: {$(VPATH)}prelude.c https://github.com/ruby/ruby/blob/trunk/common.mk#L1099
 preludes: {$(VPATH)}miniprelude.c
 preludes: {$(srcdir)}golf_prelude.c
 
-BUILTIN_RB_SRCS = {$(VPATH)}trace_point.rb {$(VPATH)}ast.rb {$(VPATH)}io.rb
-BUILTIN_RB_INCS = $(BUILTIN_RB_SRCS:.rb=.rbinc)
-
 .rb.rbinc:
+	$(ECHO) making $@
 	$(Q) $(BASERUBY) $(srcdir)/tool/mk_builtin_loader.rb $<
 
 builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/tool/mk_builtin_binary.rb
-- 
cgit v0.10.2


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

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