ruby-changes:28194
From: akr <ko1@a...>
Date: Thu, 11 Apr 2013 23:42:48 +0900 (JST)
Subject: [ruby-changes:28194] akr:r40246 (trunk): * common.mk: Add dependencies for include/ruby.h
akr 2013-04-11 23:42:33 +0900 (Thu, 11 Apr 2013) New Revision: 40246 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40246 Log: * common.mk: Add dependencies for include/ruby.h * tool/update-deps: Use "make -p all miniruby ruby golf" to extract deendencies in makefiles. Modified files: trunk/ChangeLog trunk/common.mk trunk/tool/update-deps Index: ChangeLog =================================================================== --- ChangeLog (revision 40245) +++ ChangeLog (revision 40246) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Apr 11 23:41:46 2013 Tanaka Akira <akr@f...> + + * common.mk: Add dependencies for include/ruby.h + + * tool/update-deps: Use "make -p all miniruby ruby golf" to extract + deendencies in makefiles. + Thu Apr 11 23:21:17 2013 Tanaka Akira <akr@f...> * tool/update-deps: Use "make -p all golf" to extract deendencies in Index: common.mk =================================================================== --- common.mk (revision 40245) +++ common.mk (revision 40246) @@ -616,7 +616,7 @@ flock.$(OBJEXT): {$(VPATH)}flock.c https://github.com/ruby/ruby/blob/trunk/common.mk#L616 memcmp.$(OBJEXT): {$(VPATH)}memcmp.c memmove.$(OBJEXT): {$(VPATH)}memmove.c mkdir.$(OBJEXT): {$(VPATH)}mkdir.c -setproctitle.$(OBJEXT): {$(VPATH)}setproctitle.c {$(VPATH)}util.h $(RUBY_H_INCLUDES) +setproctitle.$(OBJEXT): {$(VPATH)}setproctitle.c {$(VPATH)}util.h $(RUBY_H_INCLUDES) $(hdrdir)/ruby.h strchr.$(OBJEXT): {$(VPATH)}strchr.c strdup.$(OBJEXT): {$(VPATH)}strdup.c strerror.$(OBJEXT): {$(VPATH)}strerror.c @@ -642,7 +642,7 @@ class.$(OBJEXT): {$(VPATH)}class.c $(RUB https://github.com/ruby/ruby/blob/trunk/common.mk#L642 $(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}constant.h {$(VPATH)}vm_opts.h compar.$(OBJEXT): {$(VPATH)}compar.c $(RUBY_H_INCLUDES) complex.$(OBJEXT): {$(VPATH)}complex.c $(RUBY_H_INCLUDES) \ - {$(VPATH)}internal.h + {$(VPATH)}internal.h $(hdrdir)/ruby.h dir.$(OBJEXT): {$(VPATH)}dir.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \ $(ENCODING_H_INCLUDES) \ {$(VPATH)}internal.h @@ -685,7 +685,7 @@ inits.$(OBJEXT): {$(VPATH)}inits.c $(RUB https://github.com/ruby/ruby/blob/trunk/common.mk#L685 io.$(OBJEXT): {$(VPATH)}io.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \ {$(VPATH)}util.h $(ENCODING_H_INCLUDES) {$(VPATH)}dln.h \ {$(VPATH)}internal.h {$(VPATH)}thread.h {$(VPATH)}id.h {$(VPATH)}ruby_atomic.h -main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h {$(VPATH)}vm_debug.h {$(VPATH)}vm_opts.h +main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h {$(VPATH)}vm_debug.h {$(VPATH)}vm_opts.h $(hdrdir)/ruby.h marshal.$(OBJEXT): {$(VPATH)}marshal.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \ $(ENCODING_H_INCLUDES) {$(VPATH)}util.h {$(VPATH)}internal.h math.$(OBJEXT): {$(VPATH)}math.c $(RUBY_H_INCLUDES) \ @@ -714,7 +714,7 @@ random.$(OBJEXT): {$(VPATH)}random.c $(R https://github.com/ruby/ruby/blob/trunk/common.mk#L714 {$(VPATH)}siphash.c {$(VPATH)}siphash.h range.$(OBJEXT): {$(VPATH)}range.c $(RUBY_H_INCLUDES) \ $(ENCODING_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}id.h -rational.$(OBJEXT): {$(VPATH)}rational.c $(RUBY_H_INCLUDES) {$(VPATH)}internal.h +rational.$(OBJEXT): {$(VPATH)}rational.c $(RUBY_H_INCLUDES) {$(VPATH)}internal.h $(hdrdir)/ruby.h re.$(OBJEXT): {$(VPATH)}re.c $(RUBY_H_INCLUDES) {$(VPATH)}re.h \ {$(VPATH)}regex.h $(ENCODING_H_INCLUDES) {$(VPATH)}util.h \ {$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}internal.h @@ -803,7 +803,7 @@ prelude.$(OBJEXT): {$(VPATH)}prelude.c $ https://github.com/ruby/ruby/blob/trunk/common.mk#L803 golf_prelude.$(OBJEXT): {$(VPATH)}golf_prelude.c $(RUBY_H_INCLUDES) \ $(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}vm_opts.h goruby.$(OBJEXT): {$(VPATH)}goruby.c {$(VPATH)}main.c $(RUBY_H_INCLUDES) \ - {$(VPATH)}vm_debug.h {$(VPATH)}node.h + {$(VPATH)}vm_debug.h {$(VPATH)}node.h $(hdrdir)/ruby.h ascii.$(OBJEXT): {$(VPATH)}ascii.c {$(VPATH)}regenc.h {$(VPATH)}config.h \ {$(VPATH)}oniguruma.h {$(VPATH)}missing.h $(RUBY_H_INCLUDES) Index: tool/update-deps =================================================================== --- tool/update-deps (revision 40245) +++ tool/update-deps (revision 40246) @@ -19,7 +19,7 @@ ENV['LC_ALL'] = 'C' https://github.com/ruby/ruby/blob/trunk/tool/update-deps#L19 def read_make_deps(cwd) dependencies = {} - make_p = `make -p all golf 2> /dev/null` + make_p = `make -p all miniruby ruby golf 2> /dev/null` dirstack = [cwd] make_p.scan(%r{Entering directory `(.*)'|Leaving directory `(.*)'|^([/0-9a-zA-Z._-]+):(.*)}) { if $1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/