ruby-changes:28216
From: akr <ko1@a...>
Date: Sat, 13 Apr 2013 09:46:46 +0900 (JST)
Subject: [ruby-changes:28216] akr:r40268 (trunk): * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,
akr 2013-04-13 09:46:29 +0900 (Sat, 13 Apr 2013) New Revision: 40268 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40268 Log: * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile. * ext/-test-/old_thread_select/depend: Update dependencies. * ext/-test-/wait_for_single_fd/depend: Ditto. * ext/bigdecimal/depend: Ditto. * ext/curses/depend: Ditto. * ext/digest/bubblebabble/depend: Ditto. * ext/digest/depend: Ditto. * ext/digest/md5/depend: Ditto. * ext/digest/rmd160/depend: Ditto. * ext/digest/sha1/depend: Ditto. * ext/digest/sha2/depend: Ditto. * ext/dl/callback/depend: Ditto. * ext/dl/depend: Ditto. * ext/etc/depend: Ditto. * ext/nkf/depend: Ditto. * ext/objspace/depend: Ditto. * ext/pty/depend: Ditto. * ext/readline/depend: Ditto. * ext/ripper/depend: Ditto. * ext/sdbm/depend: Ditto. * ext/socket/depend: Ditto. * ext/stringio/depend: Ditto. * ext/strscan/depend: Ditto. * ext/syslog/depend: Ditto. * ext/-test-/num2int/depend: Removed. * ext/dbm/depend: Ditto. * ext/fcntl/depend: Ditto. * ext/gdbm/depend: Ditto. * ext/racc/cparse/depend: Ditto. Removed files: trunk/ext/-test-/num2int/depend trunk/ext/dbm/depend trunk/ext/fcntl/depend trunk/ext/gdbm/depend trunk/ext/racc/cparse/depend Modified files: trunk/ChangeLog trunk/ext/-test-/old_thread_select/depend trunk/ext/-test-/wait_for_single_fd/depend trunk/ext/bigdecimal/depend trunk/ext/curses/depend trunk/ext/digest/bubblebabble/depend trunk/ext/digest/depend trunk/ext/digest/md5/depend trunk/ext/digest/rmd160/depend trunk/ext/digest/sha1/depend trunk/ext/digest/sha2/depend trunk/ext/dl/callback/depend trunk/ext/dl/depend trunk/ext/etc/depend trunk/ext/nkf/depend trunk/ext/objspace/depend trunk/ext/pty/depend trunk/ext/readline/depend trunk/ext/ripper/depend trunk/ext/sdbm/depend trunk/ext/socket/depend trunk/ext/stringio/depend trunk/ext/strscan/depend trunk/ext/syslog/depend trunk/lib/mkmf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 40267) +++ ChangeLog (revision 40268) @@ -1,3 +1,64 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Apr 13 09:34:31 2013 Tanaka Akira <akr@f...> + + * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, + ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile. + + * ext/-test-/old_thread_select/depend: Update dependencies. + + * ext/-test-/wait_for_single_fd/depend: Ditto. + + * ext/bigdecimal/depend: Ditto. + + * ext/curses/depend: Ditto. + + * ext/digest/bubblebabble/depend: Ditto. + + * ext/digest/depend: Ditto. + + * ext/digest/md5/depend: Ditto. + + * ext/digest/rmd160/depend: Ditto. + + * ext/digest/sha1/depend: Ditto. + + * ext/digest/sha2/depend: Ditto. + + * ext/dl/callback/depend: Ditto. + + * ext/dl/depend: Ditto. + + * ext/etc/depend: Ditto. + + * ext/nkf/depend: Ditto. + + * ext/objspace/depend: Ditto. + + * ext/pty/depend: Ditto. + + * ext/readline/depend: Ditto. + + * ext/ripper/depend: Ditto. + + * ext/sdbm/depend: Ditto. + + * ext/socket/depend: Ditto. + + * ext/stringio/depend: Ditto. + + * ext/strscan/depend: Ditto. + + * ext/syslog/depend: Ditto. + + * ext/-test-/num2int/depend: Removed. + + * ext/dbm/depend: Ditto. + + * ext/fcntl/depend: Ditto. + + * ext/gdbm/depend: Ditto. + + * ext/racc/cparse/depend: Ditto. + Sat Apr 13 00:15:54 2013 Nobuyoshi Nakada <nobu@r...> * ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 40267) +++ lib/mkmf.rb (revision 40268) @@ -1846,7 +1846,15 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARA https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L1846 end possible_command = (proc {|s| s if /top_srcdir/ !~ s} unless $extmk) extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ") << " " - headers = %w[$(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h] + headers = %w[ + $(hdrdir)/ruby.h + $(hdrdir)/ruby/ruby.h + $(hdrdir)/ruby/defines.h + $(hdrdir)/ruby/missing.h + $(hdrdir)/ruby/intern.h + $(hdrdir)/ruby/st.h + $(hdrdir)/ruby/subst.h + ] if RULE_SUBST headers.each {|h| h.sub!(/.*/, &RULE_SUBST.method(:%))} end Index: ext/digest/depend =================================================================== --- ext/digest/depend (revision 40267) +++ ext/digest/depend (revision 40268) @@ -1,2 +1 @@ -digest.o: digest.c digest.h $(hdrdir)/ruby.h $(topdir)/config.h \ - $(hdrdir)/defines.h $(hdrdir)/intern.h +digest.o: digest.c digest.h $(HDRS) $(ruby_headers) Index: ext/digest/bubblebabble/depend =================================================================== --- ext/digest/bubblebabble/depend (revision 40267) +++ ext/digest/bubblebabble/depend (revision 40268) @@ -1,3 +1 @@ -bubblebabble.o: bubblebabble.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ - $(srcdir)/../defs.h +bubblebabble.o: bubblebabble.c $(srcdir)/../digest.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) Index: ext/digest/md5/depend =================================================================== --- ext/digest/md5/depend (revision 40267) +++ ext/digest/md5/depend (revision 40268) @@ -1,6 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/md5/depend#L1 -md5.o: md5.c md5.h $(srcdir)/../defs.h $(hdrdir)/ruby.h $(topdir)/config.h \ - $(hdrdir)/defines.h $(hdrdir)/intern.h -md5init.o: md5init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h md5.h \ - $(srcdir)/../defs.h +md5.o: md5.c md5.h $(srcdir)/../defs.h +md5init.o: md5init.c md5.h $(srcdir)/../digest.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) md5ossl.o: md5ossl.h Index: ext/digest/rmd160/depend =================================================================== --- ext/digest/rmd160/depend (revision 40267) +++ ext/digest/rmd160/depend (revision 40268) @@ -1,6 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/rmd160/depend#L1 -rmd160.o: rmd160.c rmd160.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h -rmd160init.o: rmd160init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ - rmd160.h $(srcdir)/../defs.h +rmd160.o: rmd160.c rmd160.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) +rmd160init.o: rmd160init.c rmd160.h $(srcdir)/../digest.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) rmd160ossl.o: rmd160ossl.h $(srcdir)/../defs.h Index: ext/digest/sha1/depend =================================================================== --- ext/digest/sha1/depend (revision 40267) +++ ext/digest/sha1/depend (revision 40268) @@ -1,6 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha1/depend#L1 -sha1.o: sha1.c sha1.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h -sha1init.o: sha1init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ - sha1.h $(srcdir)/../defs.h -sha1ossl.o: sha1ossl.h $(srcdir)/../defs.h +sha1.o: sha1.c sha1.h $(srcdir)/../defs.h +sha1init.o: sha1init.c sha1.h $(srcdir)/../digest.h sha1.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) +sha1ossl.o: sha1ossl.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) Index: ext/digest/sha2/depend =================================================================== --- ext/digest/sha2/depend (revision 40267) +++ ext/digest/sha2/depend (revision 40268) @@ -1,6 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/depend#L1 -sha2.o: sha2.c sha2.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h -sha2init.o: sha2init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ - $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ - sha2.h $(srcdir)/../defs.h -sha2ossl.o: sha2ossl.h $(srcdir)/../defs.h +sha2.o: sha2.c sha2.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) +sha2init.o: sha2init.c sha2.h $(srcdir)/../digest.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) +sha2ossl.o: sha2ossl.h $(srcdir)/../defs.h $(HDRS) $(ruby_headers) Index: ext/bigdecimal/depend =================================================================== --- ext/bigdecimal/depend (revision 40267) +++ ext/bigdecimal/depend (revision 40268) @@ -1 +1 @@ -bigdecimal.o: bigdecimal.c bigdecimal.h $(hdrdir)/ruby.h +bigdecimal.o: bigdecimal.c bigdecimal.h $(HDRS) $(ruby_headers) Index: ext/syslog/depend =================================================================== --- ext/syslog/depend (revision 40267) +++ ext/syslog/depend (revision 40268) @@ -1,2 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/ext/syslog/depend#L1 -syslog.o: syslog.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h \ - $(hdrdir)/intern.h +syslog.o: syslog.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/util.h Index: ext/sdbm/depend =================================================================== --- ext/sdbm/depend (revision 40267) +++ ext/sdbm/depend (revision 40268) @@ -1,2 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/ext/sdbm/depend#L1 -_sdbm.o: _sdbm.c sdbm.h $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h -init.o: init.c sdbm.h $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h +_sdbm.o: _sdbm.c sdbm.h $(HDRS) $(ruby_headers) +init.o: init.c sdbm.h $(HDRS) $(ruby_headers) Index: ext/objspace/depend =================================================================== --- ext/objspace/depend (revision 40267) +++ ext/objspace/depend (revision 40268) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ext/objspace/depend#L1 -objspace.o: $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/io.h \ +objspace.o: $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/regex.h \ + $(top_srcdir)/regenc.h \ + $(top_srcdir)/node.h $(top_srcdir)/gc.h \ $(hdrdir)/ruby/re.h $(top_srcdir)/node.h $(top_srcdir)/gc.h \ $(top_srcdir)/regint.h $(top_srcdir)/internal.h Index: ext/dl/depend =================================================================== --- ext/dl/depend (revision 40267) +++ ext/dl/depend (revision 40268) @@ -1,7 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ext/dl/depend#L1 -cfunc.o: cfunc.c dl.h $(hdrdir)/ruby.h +cfunc.o: cfunc.c dl.h $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/util.h -cptr.o: cptr.c dl.h $(hdrdir)/ruby.h $(hdrdir)/io.h +cptr.o: cptr.c dl.h $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h -handle.o: handle.c dl.h $(hdrdir)/ruby.h +handle.o: handle.c dl.h $(HDRS) $(ruby_headers) -dl.o: dl.c dl.h $(hdrdir)/ruby.h $(hdrdir)/io.h +dl.o: dl.c dl.h $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h Index: ext/dl/callback/depend =================================================================== --- ext/dl/callback/depend (revision 40267) +++ ext/dl/callback/depend (revision 40268) @@ -3,7 +3,7 @@ src: callback.c \ https://github.com/ruby/ruby/blob/trunk/ext/dl/callback/depend#L3 callback-3.c callback-4.c callback-5.c \ callback-6.c callback-7.c callback-8.c -$(OBJS): $(hdrdir)/ruby.h +$(OBJS): $(srcdir)/../dl.h $(HDRS) $(ruby_headers) callback-0.c callback-1.c callback-2.c \ callback-3.c callback-4.c callback-5.c \ Index: ext/curses/depend =================================================================== --- ext/curses/depend (revision 40267) +++ ext/curses/depend (revision 40268) @@ -1 +1,5 @@ -curses.o: curses.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/thread.h +$(OBJS): $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/thread.h Index: ext/-test-/wait_for_single_fd/depend =================================================================== --- ext/-test-/wait_for_single_fd/depend (revision 40267) +++ ext/-test-/wait_for_single_fd/depend (revision 40268) @@ -1,2 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/wait_for_single_fd/depend#L1 -wait_for_single_fd.o: $(top_srcdir)/thread.c \ - $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/io.h +$(OBJS): $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/io.h Index: ext/-test-/num2int/depend =================================================================== --- ext/-test-/num2int/depend (revision 40267) +++ ext/-test-/num2int/depend (revision 40268) @@ -1 +0,0 @@ -num2int.o: $(top_srcdir)/numeric.c $(hdrdir)/ruby/ruby.h Index: ext/-test-/old_thread_select/depend =================================================================== --- ext/-test-/old_thread_select/depend (revision 40267) +++ ext/-test-/old_thread_select/depend (revision 40268) @@ -1,2 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/old_thread_select/depend#L1 -old_thread_select.o: $(top_srcdir)/thread.c \ - $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/io.h +$(OBJS): $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h Index: ext/pty/depend =================================================================== --- ext/pty/depend (revision 40267) +++ ext/pty/depend (revision 40268) @@ -1 +1,6 @@ -pty.o: pty.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/io.h +pty.o: pty.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/util.h \ + $(top_srcdir)/internal.h Index: ext/nkf/depend =================================================================== --- ext/nkf/depend (revision 40267) +++ ext/nkf/depend (revision 40268) @@ -1,4 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/nkf/depend#L1 -nkf.o : nkf.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h \ +nkf.o : nkf.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ $(srcdir)/nkf-utf8/nkf.c $(srcdir)/nkf-utf8/nkf.h \ $(srcdir)/nkf-utf8/utf8tbl.c $(srcdir)/nkf-utf8/utf8tbl.h \ $(srcdir)/nkf-utf8/config.h Index: ext/readline/depend =================================================================== --- ext/readline/depend (revision 40267) +++ ext/readline/depend (revision 40268) @@ -1 +1,4 @@ -readline.o: readline.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h +readline.o: readline.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h Index: ext/socket/depend =================================================================== --- ext/socket/depend (revision 40267) +++ ext/socket/depend (revision 40268) @@ -1,5 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ext/socket/depend#L1 -SOCK_HEADERS = $(srcdir)/rubysocket.h $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \ - $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/io.h $(hdrdir)/ruby/thread.h \ +SOCK_HEADERS = $(srcdir)/rubysocket.h $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/util.h \ + $(hdrdir)/ruby/io.h $(hdrdir)/ruby/thread.h \ $(srcdir)/addrinfo.h $(srcdir)/sockport.h constdefs.h $(top_srcdir)/internal.h init.o: init.c $(SOCK_HEADERS) Index: ext/stringio/depend =================================================================== --- ext/stringio/depend (revision 40267) +++ ext/stringio/depend (revision 40268) @@ -1,3 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/stringio/depend#L1 -stringio.o: stringio.c $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \ - $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/io.h \ - $(hdrdir)/ruby/encoding.h +stringio.o: stringio.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/io.h \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h Index: ext/ripper/depend =================================================================== --- ext/ripper/depend (revision 40267) +++ ext/ripper/depend (revision 40268) @@ -8,11 +8,18 @@ BISON = bison https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L8 src: ripper.c eventids1.c eventids2table.c ripper.o: ripper.c id.c lex.c eventids1.c eventids2.c eventids2table.c \ - $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \ - $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/intern.h \ - $(hdrdir)/ruby/encoding.h $(hdrdir)/missing.h \ - $(hdrdir)/../node.h $(hdrdir)/oniguruma.h \ - $(hdrdir)/regex.h $(hdrdir)/st.h $(hdrdir)/util.h + $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h \ + $(hdrdir)/ruby/regex.h \ + $(hdrdir)/ruby/util.h \ + $(top_srcdir)/node.h \ + $(top_srcdir)/internal.h \ + $(top_srcdir)/parse.h \ + $(top_srcdir)/id.h \ + $(top_srcdir)/regenc.h \ + $(top_srcdir)/probes.h \ + $(top_srcdir)/vm_opts.h .y.c: $(ECHO) compiling compiler $< Index: ext/dbm/depend =================================================================== --- ext/dbm/depend (revision 40267) +++ ext/dbm/depend (revision 40268) @@ -1 +0,0 @@ -dbm.o: dbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Index: ext/fcntl/depend =================================================================== --- ext/fcntl/depend (revision 40267) +++ ext/fcntl/depend (revision 40268) @@ -1 +0,0 @@ -fcntl.o: fcntl.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Index: ext/racc/cparse/depend =================================================================== --- ext/racc/cparse/depend (revision 40267) +++ ext/racc/cparse/depend (revision 40268) @@ -1 +0,0 @@ -cparse.o: cparse.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Index: ext/gdbm/depend =================================================================== --- ext/gdbm/depend (revision 40267) +++ ext/gdbm/depend (revision 40268) @@ -1 +0,0 @@ -gdbm.o: gdbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Index: ext/etc/depend =================================================================== --- ext/etc/depend (revision 40267) +++ ext/etc/depend (revision 40268) @@ -1 +1,3 @@ -etc.o : etc.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h +etc.o : etc.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/ruby/encoding.h \ + $(hdrdir)/ruby/oniguruma.h Index: ext/strscan/depend =================================================================== --- ext/strscan/depend (revision 40267) +++ ext/strscan/depend (revision 40268) @@ -1,2 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/strscan/depend#L1 -strscan.o: strscan.c $(hdrdir)/ruby.h $(hdrdir)/re.h $(hdrdir)/regex.h \ - $(hdrdir)/oniguruma.h $(topdir)/config.h $(hdrdir)/defines.h +strscan.o: strscan.c $(HDRS) $(ruby_headers) \ + $(hdrdir)/re.h \ + $(hdrdir)/regex.h \ + $(hdrdir)/encoding.h \ + $(hdrdir)/oniguruma.h \ + $(top_srcdir)/regint.h \ + $(top_srcdir)/regenc.h -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/