From b47138580c486fc67c53292f6be35ed290520889 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 13 Apr 2013 00:46:29 +0000 Subject: * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 61 ++++++++++++++++++++++++++++++++++++ ext/-test-/num2int/depend | 1 - ext/-test-/old_thread_select/depend | 6 ++-- ext/-test-/wait_for_single_fd/depend | 6 ++-- ext/bigdecimal/depend | 2 +- ext/curses/depend | 6 +++- ext/dbm/depend | 1 - ext/digest/bubblebabble/depend | 4 +-- ext/digest/depend | 3 +- ext/digest/md5/depend | 7 ++--- ext/digest/rmd160/depend | 7 ++--- ext/digest/sha1/depend | 9 ++---- ext/digest/sha2/depend | 9 ++---- ext/dl/callback/depend | 2 +- ext/dl/depend | 15 ++++++--- ext/etc/depend | 4 ++- ext/fcntl/depend | 1 - ext/gdbm/depend | 1 - ext/nkf/depend | 4 ++- ext/objspace/depend | 8 ++++- ext/pty/depend | 7 ++++- ext/racc/cparse/depend | 1 - ext/readline/depend | 5 ++- ext/ripper/depend | 17 +++++++--- ext/sdbm/depend | 4 +-- ext/socket/depend | 7 +++-- ext/stringio/depend | 7 +++-- ext/strscan/depend | 9 ++++-- ext/syslog/depend | 4 +-- lib/mkmf.rb | 10 +++++- 30 files changed, 163 insertions(+), 65 deletions(-) delete mode 100644 ext/-test-/num2int/depend delete mode 100644 ext/dbm/depend delete mode 100644 ext/fcntl/depend delete mode 100644 ext/gdbm/depend delete mode 100644 ext/racc/cparse/depend diff --git a/ChangeLog b/ChangeLog index c3e9792a40..9b14f96890 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,64 @@ +Sat Apr 13 09:34:31 2013 Tanaka Akira + + * 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 * ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace diff --git a/ext/-test-/num2int/depend b/ext/-test-/num2int/depend deleted file mode 100644 index 7a85cdb6c0..0000000000 --- a/ext/-test-/num2int/depend +++ /dev/null @@ -1 +0,0 @@ -num2int.o: $(top_srcdir)/numeric.c $(hdrdir)/ruby/ruby.h diff --git a/ext/-test-/old_thread_select/depend b/ext/-test-/old_thread_select/depend index a2bc836e1f..e786dc71d2 100644 --- a/ext/-test-/old_thread_select/depend +++ b/ext/-test-/old_thread_select/depend @@ -1,2 +1,4 @@ -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 diff --git a/ext/-test-/wait_for_single_fd/depend b/ext/-test-/wait_for_single_fd/depend index d9cd50a542..b94e507631 100644 --- a/ext/-test-/wait_for_single_fd/depend +++ b/ext/-test-/wait_for_single_fd/depend @@ -1,2 +1,4 @@ -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 diff --git a/ext/bigdecimal/depend b/ext/bigdecimal/depend index 402cae95dd..a68128478c 100644 --- a/ext/bigdecimal/depend +++ b/ext/bigdecimal/depend @@ -1 +1 @@ -bigdecimal.o: bigdecimal.c bigdecimal.h $(hdrdir)/ruby.h +bigdecimal.o: bigdecimal.c bigdecimal.h $(HDRS) $(ruby_headers) diff --git a/ext/curses/depend b/ext/curses/depend index 66742b7208..9d47df2a8d 100644 --- a/ext/curses/depend +++ b/ext/curses/depend @@ -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 diff --git a/ext/dbm/depend b/ext/dbm/depend deleted file mode 100644 index 5fae80b096..0000000000 --- a/ext/dbm/depend +++ /dev/null @@ -1 +0,0 @@ -dbm.o: dbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/digest/bubblebabble/depend b/ext/digest/bubblebabble/depend index b20148ded4..d13a156ce1 100644 --- a/ext/digest/bubblebabble/depend +++ b/ext/digest/bubblebabble/depend @@ -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) diff --git a/ext/digest/depend b/ext/digest/depend index 43601a208f..2fbc6d9adf 100644 --- a/ext/digest/depend +++ b/ext/digest/depend @@ -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) diff --git a/ext/digest/md5/depend b/ext/digest/md5/depend index 8eaec20b4b..ca30d310e9 100644 --- a/ext/digest/md5/depend +++ b/ext/digest/md5/depend @@ -1,6 +1,3 @@ -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 diff --git a/ext/digest/rmd160/depend b/ext/digest/rmd160/depend index a21d7188dc..c5524be459 100644 --- a/ext/digest/rmd160/depend +++ b/ext/digest/rmd160/depend @@ -1,6 +1,3 @@ -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 diff --git a/ext/digest/sha1/depend b/ext/digest/sha1/depend index 61607844d0..6b6ee6a0bf 100644 --- a/ext/digest/sha1/depend +++ b/ext/digest/sha1/depend @@ -1,6 +1,3 @@ -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) diff --git a/ext/digest/sha2/depend b/ext/digest/sha2/depend index 00e18e158d..7373f46fc2 100644 --- a/ext/digest/sha2/depend +++ b/ext/digest/sha2/depend @@ -1,6 +1,3 @@ -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) diff --git a/ext/dl/callback/depend b/ext/dl/callback/depend index 7a1dc1ee62..c3b4fef1db 100644 --- a/ext/dl/callback/depend +++ b/ext/dl/callback/depend @@ -3,7 +3,7 @@ src: callback.c \ 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 \ diff --git a/ext/dl/depend b/ext/dl/depend index 992c17c1b8..d0a3ab8ef0 100644 --- a/ext/dl/depend +++ b/ext/dl/depend @@ -1,7 +1,14 @@ -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 diff --git a/ext/etc/depend b/ext/etc/depend index f2c04f5879..2db89d969c 100644 --- a/ext/etc/depend +++ b/ext/etc/depend @@ -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 diff --git a/ext/fcntl/depend b/ext/fcntl/depend deleted file mode 100644 index 10eab64a46..0000000000 --- a/ext/fcntl/depend +++ /dev/null @@ -1 +0,0 @@ -fcntl.o: fcntl.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/gdbm/depend b/ext/gdbm/depend deleted file mode 100644 index c080a81619..0000000000 --- a/ext/gdbm/depend +++ /dev/null @@ -1 +0,0 @@ -gdbm.o: gdbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/nkf/depend b/ext/nkf/depend index f028020a20..f368cd51d7 100644 --- a/ext/nkf/depend +++ b/ext/nkf/depend @@ -1,4 +1,6 @@ -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 diff --git a/ext/objspace/depend b/ext/objspace/depend index 83a08f7078..3df851014e 100644 --- a/ext/objspace/depend +++ b/ext/objspace/depend @@ -1,3 +1,9 @@ -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 diff --git a/ext/pty/depend b/ext/pty/depend index 2249eb8fcd..cfcd3c910e 100644 --- a/ext/pty/depend +++ b/ext/pty/depend @@ -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 diff --git a/ext/racc/cparse/depend b/ext/racc/cparse/depend deleted file mode 100644 index 7b06a880f5..0000000000 --- a/ext/racc/cparse/depend +++ /dev/null @@ -1 +0,0 @@ -cparse.o: cparse.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/readline/depend b/ext/readline/depend index 6570c5a036..369bb0fbea 100644 --- a/ext/readline/depend +++ b/ext/readline/depend @@ -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 diff --git a/ext/ripper/depend b/ext/ripper/depend index 776977847d..e5dfc98856 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -8,11 +8,18 @@ BISON = bison 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 $< diff --git a/ext/sdbm/depend b/ext/sdbm/depend index f205edc611..09f171a511 100644 --- a/ext/sdbm/depend +++ b/ext/sdbm/depend @@ -1,2 +1,2 @@ -_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) diff --git a/ext/socket/depend b/ext/socket/depend index 1716f9cb89..b3e9f0a331 100644 --- a/ext/socket/depend +++ b/ext/socket/depend @@ -1,5 +1,8 @@ -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) diff --git a/ext/stringio/depend b/ext/stringio/depend index e3f3409ed7..db356dd6e0 100644 --- a/ext/stringio/depend +++ b/ext/stringio/depend @@ -1,3 +1,4 @@ -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 diff --git a/ext/strscan/depend b/ext/strscan/depend index 76f6e0b18b..689510ec66 100644 --- a/ext/strscan/depend +++ b/ext/strscan/depend @@ -1,2 +1,7 @@ -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 diff --git a/ext/syslog/depend b/ext/syslog/depend index 45cbea293a..0e2d76fbf6 100644 --- a/ext/syslog/depend +++ b/ext/syslog/depend @@ -1,2 +1,2 @@ -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 diff --git a/lib/mkmf.rb b/lib/mkmf.rb index f55535990f..73d1ea8046 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1846,7 +1846,15 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])} 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 -- cgit v1.2.3