mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8ad7429644
Because our tests now have several places where FIXNUM_MAX is needed, we decided to provide it along with several other constants. * template/limits.c.tmpl: new file, defining RbConfig::Limits * ext/rbconfig/sizeof/depend (limits.c): rule to generate limits.c * test/-ext-/num2int/test_num2int.rb: use RbConfig::Limits * bootstraptest/test_insns.rb: ditto. * .gitignore: ignore new generated file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
25 lines
954 B
Text
25 lines
954 B
Text
limits.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/limits.c.tmpl
|
|
$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
|
|
$(top_srcdir)/template/limits.c.tmpl \
|
|
|
|
sizes.c: $(top_srcdir)/tool/generic_erb.rb \
|
|
$(top_srcdir)/template/sizes.c.tmpl \
|
|
$(top_srcdir)/configure.in \
|
|
$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
|
|
$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
|
|
$(top_srcdir)/template/sizes.c.tmpl \
|
|
$(top_srcdir)/configure.in \
|
|
$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
|
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
sizes.o: $(RUBY_EXTCONF_H)
|
|
sizes.o: $(arch_hdrdir)/ruby/config.h
|
|
sizes.o: $(hdrdir)/ruby/backward.h
|
|
sizes.o: $(hdrdir)/ruby/defines.h
|
|
sizes.o: $(hdrdir)/ruby/intern.h
|
|
sizes.o: $(hdrdir)/ruby/missing.h
|
|
sizes.o: $(hdrdir)/ruby/ruby.h
|
|
sizes.o: $(hdrdir)/ruby/st.h
|
|
sizes.o: $(hdrdir)/ruby/subst.h
|
|
sizes.o: {$(VPATH)}sizes.c
|
|
# AUTOGENERATED DEPENDENCIES END
|