mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
6e9c02515d
commit
b47138580c
30 changed files with 163 additions and 65 deletions
61
ChangeLog
61
ChangeLog
|
@ -1,3 +1,64 @@
|
|||
Sat Apr 13 09:34:31 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
num2int.o: $(top_srcdir)/numeric.c $(hdrdir)/ruby/ruby.h
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
bigdecimal.o: bigdecimal.c bigdecimal.h $(hdrdir)/ruby.h
|
||||
bigdecimal.o: bigdecimal.c bigdecimal.h $(HDRS) $(ruby_headers)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
dbm.o: dbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
fcntl.o: fcntl.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
|
|
@ -1 +0,0 @@
|
|||
gdbm.o: gdbm.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
cparse.o: cparse.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
|
|
@ -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
|
||||
|
|
|
@ -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 $<
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
10
lib/mkmf.rb
10
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
|
||||
|
|
Loading…
Reference in a new issue