mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
Rename builtin_binary.inc as .rbbin
Distinguish between platform-dependent ".rbbin" and platform- independent ".inc" files.
This commit is contained in:
parent
bd2d6845f1
commit
fb6f255028
4 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
#include "iseq.h"
|
||||
#include "builtin.h"
|
||||
|
||||
#include "builtin_binary.inc"
|
||||
#include "builtin_binary.rbbin"
|
||||
|
||||
#ifndef BUILTIN_BINARY_SIZE
|
||||
|
||||
|
|
|
@ -738,7 +738,7 @@ clean-local:: clean-runnable
|
|||
$(Q)$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) dmyenc.$(OBJEXT) $(ARCHFILE) .*.time
|
||||
$(Q)$(RM) y.tab.c y.output encdb.h transdb.h config.log rbconfig.rb $(ruby_pc) $(COROUTINE_H:/Context.h=/.time)
|
||||
$(Q)$(RM) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT) ruby.imp ChangeLog $(STATIC_RUBY)$(EXEEXT)
|
||||
$(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb bisect.sh $(ENC_TRANS_D) builtin_binary.inc
|
||||
$(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb bisect.sh $(ENC_TRANS_D) builtin_binary.rbbin
|
||||
$(Q)$(RM) $(PRISM_BUILD_DIR)/.time $(PRISM_BUILD_DIR)/*/.time yjit_exit_locations.dump
|
||||
-$(Q)$(RMALL) target
|
||||
-$(Q) $(RMDIR) enc/jis enc/trans enc $(COROUTINE_H:/Context.h=) coroutine target \
|
||||
|
@ -1358,12 +1358,12 @@ preludes: {$(VPATH)}miniprelude.c
|
|||
$(ECHO) making $@
|
||||
$(Q) $(BASERUBY) $(tooldir)/mk_builtin_loader.rb $<
|
||||
|
||||
$(BUILTIN_BINARY:yes=built)in_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary.inc.tmpl
|
||||
$(BUILTIN_BINARY:yes=built)in_binary.rbbin: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary.rbbin.tmpl
|
||||
$(Q) $(MINIRUBY) $(tooldir)/generic_erb.rb -o $@ \
|
||||
$(srcdir)/template/builtin_binary.inc.tmpl
|
||||
$(srcdir)/template/builtin_binary.rbbin.tmpl
|
||||
-$(Q) sha256sum $@ 2> $(NULL) || $(NULLCMD)
|
||||
|
||||
$(BUILTIN_BINARY:no=builtin)_binary.inc:
|
||||
$(BUILTIN_BINARY:no=builtin)_binary.rbbin:
|
||||
$(Q) echo> $@ // empty $(@F)
|
||||
|
||||
$(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb
|
||||
|
|
2
depend
2
depend
|
@ -779,7 +779,7 @@ builtin.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h
|
|||
builtin.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h
|
||||
builtin.$(OBJEXT): {$(VPATH)}builtin.c
|
||||
builtin.$(OBJEXT): {$(VPATH)}builtin.h
|
||||
builtin.$(OBJEXT): {$(VPATH)}builtin_binary.inc
|
||||
builtin.$(OBJEXT): {$(VPATH)}builtin_binary.rbbin
|
||||
builtin.$(OBJEXT): {$(VPATH)}config.h
|
||||
builtin.$(OBJEXT): {$(VPATH)}constant.h
|
||||
builtin.$(OBJEXT): {$(VPATH)}defines.h
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// -*- c -*-
|
||||
// DO NOT MODIFY THIS FILE DIRECTLY.
|
||||
// auto-generated file by tool/generic_erb.rb
|
||||
// with template/builtin_binary.inc.tmpl
|
||||
// with template/builtin_binary.rbbin.tmpl
|
||||
% unless ARGV.include?('--cross=yes')
|
||||
% ary = RubyVM.enum_for(:each_builtin).to_a
|
||||
% ary.each{|feature, iseq|
|
Loading…
Add table
Add a link
Reference in a new issue