mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
enc/depend: extract transcode_tblgen
* enc/depend: extract transcode_tblgen method calls for libraries loaded by dynamically generated names, in single_byte.trans. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06711fd1e3
commit
8027dfafd7
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 28 23:22:32 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/depend: extract transcode_tblgen method calls for libraries
|
||||
loaded by dynamically generated names, in single_byte.trans.
|
||||
|
||||
Fri Oct 28 16:05:03 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* insns.def (opt_case_dispatch): extract float value only if the
|
||||
|
|
|
@ -108,7 +108,11 @@ enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%>
|
|||
% src = "#{e}.trans"
|
||||
|
||||
<%=transvpath % "#{e}.c"%>: <%= transvpath % "#{e}.trans"%>
|
||||
% src = [*IO.read(File.join($srcdir, "trans", src)).scan(/^\s*require\s+[\'\"]([^\'\"]*)/).flatten.map{|c|c+".rb"}]
|
||||
% trans = IO.read(File.join($srcdir, "trans", src))
|
||||
% src = trans.scan(/^\s*require\s+[\'\"]([^\'\"]*)/).flatten.map{|c|c+".rb"}
|
||||
% if src.empty?
|
||||
% src = trans.scan(/^\s*transcode_tblgen_\w+\s+[\'\"]([^\'\"]*)/).flatten.map{|c|c+"-tbl.rb"}
|
||||
% end
|
||||
<%=transvpath % "#{e}.c"%>: <%= src.map {|s| transvpath % "#{s}"}.join(" ")%> $(srcdir)/tool/transcode-tblgen.rb
|
||||
% end
|
||||
|
||||
|
|
Loading…
Reference in a new issue