ruby-changes:53730
From: nobu <ko1@a...>
Date: Sat, 24 Nov 2018 13:34:05 +0900 (JST)
Subject: [ruby-changes:53730] nobu:r65946 (trunk): Make ext/etc/constdefs.h by srcs-ext
nobu 2018-11-24 13:33:59 +0900 (Sat, 24 Nov 2018) New Revision: 65946 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65946 Log: Make ext/etc/constdefs.h by srcs-ext Make platform independent header, ext/etc/constdefs.h, by `make srcs-ext`. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 65945) +++ common.mk (revision 65946) @@ -966,6 +966,7 @@ EXT_SRCS = $(srcdir)/ext/ripper/ripper.c https://github.com/ruby/ruby/blob/trunk/common.mk#L966 $(srcdir)/ext/rbconfig/sizeof/sizes.c \ $(srcdir)/ext/rbconfig/sizeof/limits.c \ $(srcdir)/ext/socket/constdefs.c \ + $(srcdir)/ext/etc/constdefs.h \ # EXT_SRCS srcs-ext: $(EXT_SRCS) @@ -1106,6 +1107,12 @@ $(srcdir)/ext/socket/constdefs.c: $(srcd https://github.com/ruby/ruby/blob/trunk/common.mk#L1107 $(Q) $(CHDIR) $(@D) && \ sed '/AUTOGENERATED/q' depend | \ $(exec) $(MAKE) -f - $(mflags) \ + Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)" + +$(srcdir)/ext/etc/constdefs.h: $(srcdir)/ext/etc/depend + $(Q) $(CHDIR) $(@D) && \ + sed '/AUTOGENERATED/q' depend | \ + $(exec) $(MAKE) -f - $(mflags) \ Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)" ## -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/