2005-03-03 12:44:33 +03:00
|
|
|
bin: $(PROGRAM) $(WPROGRAM)
|
2004-03-25 08:01:15 +03:00
|
|
|
lib: $(LIBRUBY);
|
|
|
|
dll: $(LIBRUBY_SO);
|
|
|
|
|
2005-03-31 03:26:00 +04:00
|
|
|
RUBYOPT =
|
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
EXTCONF = extconf.rb
|
|
|
|
RBCONFIG = ./.rbconfig.time
|
|
|
|
|
|
|
|
DMYEXT = dmyext.$(OBJEXT)
|
|
|
|
MAINOBJ = main.$(OBJEXT)
|
|
|
|
|
2004-04-12 21:57:40 +04:00
|
|
|
OBJS = array.$(OBJEXT) \
|
|
|
|
ascii.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
bignum.$(OBJEXT) \
|
|
|
|
class.$(OBJEXT) \
|
|
|
|
compar.$(OBJEXT) \
|
|
|
|
dir.$(OBJEXT) \
|
|
|
|
dln.$(OBJEXT) \
|
|
|
|
enum.$(OBJEXT) \
|
|
|
|
error.$(OBJEXT) \
|
|
|
|
euc_jp.$(OBJEXT) \
|
|
|
|
eval.$(OBJEXT) \
|
|
|
|
file.$(OBJEXT) \
|
|
|
|
gc.$(OBJEXT) \
|
|
|
|
hash.$(OBJEXT) \
|
|
|
|
inits.$(OBJEXT) \
|
|
|
|
io.$(OBJEXT) \
|
|
|
|
marshal.$(OBJEXT) \
|
|
|
|
math.$(OBJEXT) \
|
|
|
|
numeric.$(OBJEXT) \
|
|
|
|
object.$(OBJEXT) \
|
|
|
|
pack.$(OBJEXT) \
|
|
|
|
parse.$(OBJEXT) \
|
|
|
|
process.$(OBJEXT) \
|
|
|
|
prec.$(OBJEXT) \
|
|
|
|
random.$(OBJEXT) \
|
|
|
|
range.$(OBJEXT) \
|
|
|
|
re.$(OBJEXT) \
|
|
|
|
regcomp.$(OBJEXT) \
|
|
|
|
regenc.$(OBJEXT) \
|
|
|
|
regerror.$(OBJEXT) \
|
|
|
|
regexec.$(OBJEXT) \
|
|
|
|
regparse.$(OBJEXT) \
|
|
|
|
ruby.$(OBJEXT) \
|
|
|
|
signal.$(OBJEXT) \
|
|
|
|
sjis.$(OBJEXT) \
|
|
|
|
sprintf.$(OBJEXT) \
|
|
|
|
st.$(OBJEXT) \
|
|
|
|
string.$(OBJEXT) \
|
|
|
|
struct.$(OBJEXT) \
|
|
|
|
time.$(OBJEXT) \
|
|
|
|
utf8.$(OBJEXT) \
|
|
|
|
util.$(OBJEXT) \
|
|
|
|
variable.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) \
|
|
|
|
$(MISSING)
|
|
|
|
|
|
|
|
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
|
|
|
|
--make="$(MAKE)" \
|
|
|
|
--mflags="$(MFLAGS)" \
|
|
|
|
--make-flags="$(MAKEFLAGS)"
|
|
|
|
EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
|
|
|
|
|
|
|
|
all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
|
|
|
|
@$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)
|
2005-03-03 12:44:33 +03:00
|
|
|
prog: $(PROGRAM) $(WPROGRAM)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2005-04-20 18:25:34 +04:00
|
|
|
miniruby$(EXEEXT): config.status $(LIBRUBY_A) $(MAINOBJ) $(MINIOBJS) $(OBJS) $(DMYEXT)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
$(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
|
|
|
|
|
|
|
|
$(LIBRUBY_A): $(OBJS) $(DMYEXT)
|
|
|
|
|
2004-04-27 09:43:36 +04:00
|
|
|
$(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(ARCHFILE)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
static-ruby: $(MAINOBJ) $(EXTOBJS) $(LIBRUBY_A)
|
|
|
|
@$(RM) $@
|
|
|
|
$(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBY_A) $(LIBS) $(OUTFLAG)$@
|
|
|
|
|
|
|
|
ruby.imp: $(LIBRUBY_A)
|
|
|
|
@$(NM) -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
|
|
|
|
|
|
|
|
install: install-nodoc $(RDOCTARGET)
|
|
|
|
install-all: install-nodoc install-doc
|
|
|
|
|
2005-03-04 03:39:04 +03:00
|
|
|
install-nodoc: install-local install-ext
|
2005-03-03 12:44:33 +03:00
|
|
|
install-local: pre-install-local do-install-local post-install-local
|
|
|
|
install-ext: pre-install-ext do-install-ext post-install-ext
|
|
|
|
|
|
|
|
do-install-local: $(RBCONFIG)
|
2004-03-22 02:21:31 +03:00
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
2005-03-03 12:44:33 +03:00
|
|
|
do-install-ext: $(RBCONFIG)
|
2004-03-22 02:21:31 +03:00
|
|
|
$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) install
|
|
|
|
|
2005-03-03 12:44:33 +03:00
|
|
|
install-bin: $(RBCONFIG)
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=bin
|
|
|
|
install-lib: $(RBCONFIG)
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=lib
|
|
|
|
install-man: $(RBCONFIG)
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=man --mantype="$(MANTYPE)"
|
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
what-where-all no-install-all: no-install no-install-doc
|
|
|
|
what-where no-install: no-install-local no-install-ext
|
|
|
|
what-where-local: no-install-local
|
|
|
|
no-install-local: $(RBCONFIG)
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
|
|
|
what-where-ext: no-install-ext
|
|
|
|
no-install-ext: $(RBCONFIG)
|
|
|
|
$(MINIRUBY) $(srcdir)/ext/extmk.rb -n $(EXTMK_ARGS) install
|
|
|
|
|
2005-03-03 12:44:33 +03:00
|
|
|
install-doc: pre-install-doc do-install-doc post-install-doc
|
|
|
|
do-install-doc: $(PROGRAM)
|
2004-03-22 02:21:31 +03:00
|
|
|
@echo Generating RDoc documentation
|
|
|
|
$(RUNRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RIDATADIR)" "$(srcdir)"
|
|
|
|
|
2005-03-03 12:44:33 +03:00
|
|
|
pre-install: pre-install-local pre-install-ext
|
|
|
|
pre-install-local:: PHONY
|
|
|
|
pre-install-ext:: PHONY
|
2005-03-04 03:39:04 +03:00
|
|
|
pre-install-doc:: PHONY
|
2005-03-03 12:44:33 +03:00
|
|
|
|
|
|
|
post-install: post-install-local post-install-ext
|
|
|
|
post-install-local:: PHONY
|
|
|
|
post-install-ext:: PHONY
|
2005-03-04 03:39:04 +03:00
|
|
|
post-install-doc:: PHONY
|
2005-03-03 12:44:33 +03:00
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
clean: clean-ext clean-local
|
|
|
|
clean-local::
|
2004-03-23 08:32:01 +03:00
|
|
|
@$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
2005-03-31 03:26:00 +04:00
|
|
|
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE)
|
2004-03-22 02:21:31 +03:00
|
|
|
clean-ext:
|
|
|
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean
|
|
|
|
|
|
|
|
distclean: distclean-ext distclean-local
|
|
|
|
distclean-local:: clean-local
|
2004-03-23 08:32:01 +03:00
|
|
|
@$(RM) $(MKFILES) config.h rbconfig.rb
|
|
|
|
@$(RM) config.cache config.log config.status
|
2005-03-31 03:26:00 +04:00
|
|
|
@$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP)
|
2004-03-22 02:21:31 +03:00
|
|
|
distclean-ext:
|
2004-03-23 08:32:01 +03:00
|
|
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
realclean:: distclean
|
|
|
|
@$(RM) parse.c lex.c
|
|
|
|
|
2005-03-31 03:26:00 +04:00
|
|
|
check: test test-all
|
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
test: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY
|
|
|
|
@$(MINIRUBY) $(srcdir)/rubytest.rb
|
|
|
|
|
|
|
|
test-all:
|
|
|
|
$(RUNRUBY) -C "$(srcdir)/test" runner.rb --runner=$(TESTUI) $(TESTS)
|
|
|
|
|
|
|
|
extconf:
|
|
|
|
$(MINIRUBY) -I$(srcdir)/lib -run -e mkdir -- -p "$(EXTCONFDIR)"
|
|
|
|
$(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS)
|
|
|
|
|
|
|
|
$(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
|
|
|
|
@$(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \
|
|
|
|
-install_name=$(RUBY_INSTALL_NAME) \
|
|
|
|
-so_name=$(RUBY_SO_NAME) rbconfig.rb
|
|
|
|
|
|
|
|
.PRECIOUS: $(MKFILES)
|
|
|
|
|
|
|
|
.PHONY: test install install-nodoc install-doc
|
|
|
|
|
|
|
|
PHONY:
|
|
|
|
|
|
|
|
{$(VPATH)}parse.c: parse.y
|
|
|
|
|
|
|
|
acosh.$(OBJEXT): {$(VPATH)}acosh.c
|
|
|
|
alloca.$(OBJEXT): {$(VPATH)}alloca.c
|
|
|
|
crypt.$(OBJEXT): {$(VPATH)}crypt.c
|
|
|
|
dup2.$(OBJEXT): {$(VPATH)}dup2.c
|
|
|
|
erf.$(OBJEXT): {$(VPATH)}erf.c
|
|
|
|
finite.$(OBJEXT): {$(VPATH)}finite.c
|
|
|
|
flock.$(OBJEXT): {$(VPATH)}flock.c
|
|
|
|
memcmp.$(OBJEXT): {$(VPATH)}memcmp.c
|
|
|
|
memmove.$(OBJEXT): {$(VPATH)}memmove.c
|
|
|
|
mkdir.$(OBJEXT): {$(VPATH)}mkdir.c
|
|
|
|
vsnprintf.$(OBJEXT): {$(VPATH)}vsnprintf.c
|
|
|
|
strcasecmp.$(OBJEXT): {$(VPATH)}strcasecmp.c
|
|
|
|
strncasecmp.$(OBJEXT): {$(VPATH)}strncasecmp.c
|
|
|
|
strchr.$(OBJEXT): {$(VPATH)}strchr.c
|
|
|
|
strdup.$(OBJEXT): {$(VPATH)}strdup.c
|
|
|
|
strerror.$(OBJEXT): {$(VPATH)}strerror.c
|
|
|
|
strftime.$(OBJEXT): {$(VPATH)}strftime.c
|
|
|
|
strstr.$(OBJEXT): {$(VPATH)}strstr.c
|
|
|
|
strtod.$(OBJEXT): {$(VPATH)}strtod.c
|
|
|
|
strtol.$(OBJEXT): {$(VPATH)}strtol.c
|
|
|
|
strtoul.$(OBJEXT): {$(VPATH)}strtoul.c
|
|
|
|
nt.$(OBJEXT): {$(VPATH)}nt.c
|
|
|
|
x68.$(OBJEXT): {$(VPATH)}x68.c
|
|
|
|
os2.$(OBJEXT): {$(VPATH)}os2.c
|
|
|
|
dl_os2.$(OBJEXT): {$(VPATH)}dl_os2.c
|
|
|
|
|
|
|
|
# when I use -I., there is confliction at "OpenFile"
|
|
|
|
# so, set . into environment varible "include"
|
|
|
|
win32.$(OBJEXT): {$(VPATH)}win32.c
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
array.$(OBJEXT): {$(VPATH)}array.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h {$(VPATH)}st.h
|
2004-04-12 21:57:40 +04:00
|
|
|
ascii.$(OBJEXT): {$(VPATH)}ascii.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h config.h
|
2004-03-22 02:21:31 +03:00
|
|
|
bignum.$(OBJEXT): {$(VPATH)}bignum.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
class.$(OBJEXT): {$(VPATH)}class.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubysig.h {$(VPATH)}node.h {$(VPATH)}st.h
|
|
|
|
compar.$(OBJEXT): {$(VPATH)}compar.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
dir.$(OBJEXT): {$(VPATH)}dir.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h
|
|
|
|
dln.$(OBJEXT): {$(VPATH)}dln.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}dln.h
|
2005-04-20 18:25:34 +04:00
|
|
|
dmydln.$(OBJEXT): {$(VPATH)}dmydln.c {$(VPATH)}dln.c {$(VPATH)}ruby.h \
|
|
|
|
config.h {$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}dln.h
|
2004-03-22 02:21:31 +03:00
|
|
|
dmyext.$(OBJEXT): {$(VPATH)}dmyext.c
|
|
|
|
enum.$(OBJEXT): {$(VPATH)}enum.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h
|
2005-07-14 19:15:22 +04:00
|
|
|
enumerator.$(OBJEXT): {$(VPATH)}enumerator.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2004-03-22 02:21:31 +03:00
|
|
|
error.$(OBJEXT): {$(VPATH)}error.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2004-03-25 15:01:41 +03:00
|
|
|
{$(VPATH)}env.h {$(VPATH)}st.h
|
2004-03-22 02:21:31 +03:00
|
|
|
euc_jp.$(OBJEXT): {$(VPATH)}euc_jp.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h
|
|
|
|
eval.$(OBJEXT): {$(VPATH)}eval.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}env.h {$(VPATH)}util.h \
|
|
|
|
{$(VPATH)}rubysig.h {$(VPATH)}st.h {$(VPATH)}dln.h
|
|
|
|
file.$(OBJEXT): {$(VPATH)}file.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubyio.h {$(VPATH)}rubysig.h {$(VPATH)}util.h \
|
|
|
|
{$(VPATH)}dln.h
|
|
|
|
gc.$(OBJEXT): {$(VPATH)}gc.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubysig.h {$(VPATH)}st.h {$(VPATH)}node.h \
|
|
|
|
{$(VPATH)}env.h {$(VPATH)}re.h {$(VPATH)}regex.h
|
|
|
|
hash.$(OBJEXT): {$(VPATH)}hash.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}st.h {$(VPATH)}util.h {$(VPATH)}rubysig.h
|
|
|
|
inits.$(OBJEXT): {$(VPATH)}inits.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
io.$(OBJEXT): {$(VPATH)}io.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
* array.c: replace rb_protect_inspect() and rb_inspecting_p() by
rb_exec_recursive() in eval.c.
* eval.c (rb_exec_recursive): new function.
* array.c (rb_ary_join): use rb_exec_recursive().
* array.c (rb_ary_inspect, rb_ary_hash): ditto.
* file.c (rb_file_join): ditto.
* hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.
* io.c (rb_io_puts): ditto.
* object.c (rb_obj_inspect): ditto
* struct.c (rb_struct_inspect): ditto.
* lib/set.rb (SortedSet::setup): a hack to shut up warning.
[ruby-talk:132866]
* lib/time.rb (Time::strptime): add new function. inspired by
[ruby-talk:132815].
* lib/parsedate.rb (ParseDate::strptime): ditto.
* regparse.c: move st_*_strend() functions from st.c. fixed some
potential memory leaks.
* exception error messages updated. [ruby-core:04497]
* ext/socket/socket.c (Init_socket): add bunch of Socket
constants. Patch from Sam Roberts <sroberts@uniserve.com>.
[ruby-core:04409]
* array.c (rb_ary_s_create): no need for negative argc check.
[ruby-core:04463]
* array.c (rb_ary_unshift_m): ditto.
* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
of StandardError class, not Exception class. [ruby-core:04429]
* parse.y (fcall_gen): lvar(arg) will be evaluated as
lvar.call(arg) when lvar is a defined local variable. [new]
* object.c (rb_class_initialize): call inherited method before
calling initializing block.
* eval.c (rb_thread_start_1): initialize newly pushed frame.
* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
fixed: [ruby-core:04444]
* eval.c (is_defined): NODE_IASGN is an assignment.
* ext/readline/readline.c (Readline.readline): use rl_outstream
and rl_instream. [ruby-dev:25699]
* ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check
[ruby-dev:25675]
* misc/ruby-mode.el: [ruby-core:04415]
* lib/rdoc/generators/html_generator.rb: [ruby-core:04412]
* lib/rdoc/generators/ri_generator.rb: ditto.
* struct.c (make_struct): fixed: [ruby-core:04402]
* ext/curses/curses.c (window_color_set): [ruby-core:04393]
* ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
[ruby-talk:130092]
* object.c: [ruby-doc:818]
* parse.y (open_args): fix too verbose warnings for the space
before argument parentheses. [ruby-dev:25492]
* parse.y (parser_yylex): ditto.
* parse.y (parser_yylex): the first expression in the parentheses
should not be a command. [ruby-dev:25492]
* lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]
* object.c (Init_Object): remove Object#type. [ruby-core:04335]
* st.c (st_foreach): report success/failure by return value.
[ruby-Bugs-1396]
* parse.y: forgot to initialize parser struct. [ruby-dev:25492]
* parse.y (parser_yylex): no tLABEL on EXPR_BEG.
[ruby-talk:127711]
* document updates - [ruby-core:04296], [ruby-core:04301],
[ruby-core:04302], [ruby-core:04307]
* dir.c (rb_push_glob): should work for NUL delimited patterns.
* dir.c (rb_glob2): should aware of offset in the pattern.
* string.c (rb_str_new4): should propagate taintedness.
* env.h: rename member names in struct FRAME; last_func -> callee,
orig_func -> this_func, last_class -> this_class.
* struct.c (rb_struct_set): use original method name, not callee
name, to retrieve member slot. [ruby-core:04268]
* time.c (time_strftime): protect from format modification from GC
finalizers.
* object.c (Init_Object): remove rb_obj_id_obsolete()
* eval.c (rb_mod_define_method): incomplete subclass check.
[ruby-dev:25464]
* gc.c (rb_data_object_alloc): klass may be NULL.
[ruby-list:40498]
* bignum.c (rb_big_rand): should return positive random number.
[ruby-dev:25401]
* bignum.c (rb_big_rand): do not use rb_big_modulo to generate
random bignums. [ruby-dev:25396]
* variable.c (rb_autoload): [ruby-dev:25373]
* eval.c (svalue_to_avalue): [ruby-dev:25366]
* string.c (rb_str_justify): [ruby-dev:25367]
* io.c (rb_f_select): [ruby-dev:25312]
* ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]
* struct.c (make_struct): [ruby-dev:25249]
* dir.c (dir_open_dir): new function. [ruby-dev:25242]
* io.c (rb_f_open): add type check for return value from to_open.
* lib/pstore.rb (PStore#transaction): Use the empty content when a
file is not found. [ruby-dev:24561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04 09:47:45 +03:00
|
|
|
{$(VPATH)}rubyio.h {$(VPATH)}rubysig.h {$(VPATH)}util.h
|
2004-03-22 02:21:31 +03:00
|
|
|
main.$(OBJEXT): {$(VPATH)}main.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
marshal.$(OBJEXT): {$(VPATH)}marshal.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubyio.h {$(VPATH)}st.h {$(VPATH)}util.h
|
|
|
|
math.$(OBJEXT): {$(VPATH)}math.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
numeric.$(OBJEXT): {$(VPATH)}numeric.c {$(VPATH)}ruby.h config.h \
|
2004-07-28 05:22:49 +04:00
|
|
|
{$(VPATH)}env.h {$(VPATH)}defines.h {$(VPATH)}intern.h \
|
|
|
|
{$(VPATH)}missing.h
|
2004-03-22 02:21:31 +03:00
|
|
|
object.$(OBJEXT): {$(VPATH)}object.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}st.h {$(VPATH)}util.h
|
|
|
|
pack.$(OBJEXT): {$(VPATH)}pack.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
parse.$(OBJEXT): {$(VPATH)}parse.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}env.h {$(VPATH)}node.h {$(VPATH)}st.h \
|
|
|
|
{$(VPATH)}regex.h {$(VPATH)}util.h {$(VPATH)}lex.c
|
|
|
|
prec.$(OBJEXT): {$(VPATH)}prec.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
process.$(OBJEXT): {$(VPATH)}process.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubysig.h {$(VPATH)}st.h
|
|
|
|
random.$(OBJEXT): {$(VPATH)}random.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
range.$(OBJEXT): {$(VPATH)}range.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
re.$(OBJEXT): {$(VPATH)}re.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}re.h {$(VPATH)}regex.h
|
|
|
|
regcomp.$(OBJEXT): {$(VPATH)}regcomp.c {$(VPATH)}oniguruma.h \
|
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regparse.h {$(VPATH)}regenc.h config.h
|
|
|
|
regenc.$(OBJEXT): {$(VPATH)}regenc.c {$(VPATH)}regint.h \
|
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h config.h
|
|
|
|
regerror.$(OBJEXT): {$(VPATH)}regerror.c {$(VPATH)}regint.h \
|
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h config.h
|
|
|
|
regexec.$(OBJEXT): {$(VPATH)}regexec.c {$(VPATH)}regint.h \
|
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h config.h
|
|
|
|
regparse.$(OBJEXT): {$(VPATH)}regparse.c {$(VPATH)}oniguruma.h \
|
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regparse.h {$(VPATH)}regenc.h config.h
|
|
|
|
ruby.$(OBJEXT): {$(VPATH)}ruby.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}dln.h {$(VPATH)}node.h {$(VPATH)}util.h
|
|
|
|
signal.$(OBJEXT): {$(VPATH)}signal.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}rubysig.h
|
|
|
|
sjis.$(OBJEXT): {$(VPATH)}sjis.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h config.h
|
|
|
|
sprintf.$(OBJEXT): {$(VPATH)}sprintf.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
st.$(OBJEXT): {$(VPATH)}st.c config.h {$(VPATH)}st.h
|
|
|
|
string.$(OBJEXT): {$(VPATH)}string.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}re.h {$(VPATH)}regex.h
|
|
|
|
struct.$(OBJEXT): {$(VPATH)}struct.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
time.$(OBJEXT): {$(VPATH)}time.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
|
|
|
utf8.$(OBJEXT): {$(VPATH)}utf8.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h config.h
|
|
|
|
util.$(OBJEXT): {$(VPATH)}util.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h
|
|
|
|
variable.$(OBJEXT): {$(VPATH)}variable.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}env.h {$(VPATH)}node.h {$(VPATH)}st.h {$(VPATH)}util.h
|
|
|
|
version.$(OBJEXT): {$(VPATH)}version.c {$(VPATH)}ruby.h config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}version.h
|