ruby-changes:45395
From: nobu <ko1@a...>
Date: Mon, 30 Jan 2017 21:00:38 +0900 (JST)
Subject: [ruby-changes:45395] nobu:r57468 (trunk): common.mk: limits.c
nobu 2017-01-30 21:00:34 +0900 (Mon, 30 Jan 2017) New Revision: 57468 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57468 Log: common.mk: limits.c * common.mk (ext/rbconfig/sizeof/sizes.c): specify the target explicitly. * common.mk (ext/rbconfig/sizeof/limits.c): add the recipe. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 57467) +++ common.mk (revision 57468) @@ -823,6 +823,7 @@ srcs: common-srcs missing-srcs srcs-enc https://github.com/ruby/ruby/blob/trunk/common.mk#L823 EXT_SRCS = $(srcdir)/ext/ripper/ripper.c \ $(srcdir)/ext/rbconfig/sizeof/sizes.c \ + $(srcdir)/ext/rbconfig/sizeof/limits.c \ $(srcdir)/ext/socket/constdefs.c \ # EXT_SRCS @@ -941,7 +942,15 @@ $(srcdir)/ext/rbconfig/sizeof/sizes.c: $ https://github.com/ruby/ruby/blob/trunk/common.mk#L942 $(Q) $(CHDIR) $(@D) && \ sed '/AUTOGENERATED/q' depend | \ $(exec) $(MAKE) -f - $(MFLAGS) \ - Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)" + Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)" $(@F) + +$(srcdir)/ext/rbconfig/sizeof/limits.c: $(srcdir)/ext/rbconfig/sizeof/depend \ + $(srcdir)/tool/generic_erb.rb $(srcdir)/template/limits.c.tmpl + $(ECHO) generating $@ + $(Q) $(CHDIR) $(@D) && \ + sed '/AUTOGENERATED/q' depend | \ + $(exec) $(MAKE) -f - $(MFLAGS) \ + Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)" $(@F) $(srcdir)/ext/socket/constdefs.c: $(srcdir)/ext/socket/depend $(Q) $(CHDIR) $(@D) && \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/