2005-03-03 04:44:33 -05:00
|
|
|
bin: $(PROGRAM) $(WPROGRAM)
|
2007-01-03 23:44:48 -05:00
|
|
|
lib: $(LIBRUBY)
|
|
|
|
dll: $(LIBRUBY_SO)
|
2004-03-25 00:01:15 -05:00
|
|
|
|
2007-01-05 06:22:25 -05:00
|
|
|
.SUFFIXES: .inc
|
|
|
|
|
2005-03-30 18:26:00 -05:00
|
|
|
RUBYOPT =
|
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
STATIC_RUBY = static-ruby
|
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
EXTCONF = extconf.rb
|
|
|
|
RBCONFIG = ./.rbconfig.time
|
2007-01-03 23:44:48 -05:00
|
|
|
LIBRUBY_EXTS = ./.libruby-with-ext.time
|
|
|
|
RDOCOUT = $(EXTOUT)/rdoc
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
DMYEXT = dmyext.$(OBJEXT)
|
|
|
|
MAINOBJ = main.$(OBJEXT)
|
2007-11-10 05:22:38 -05:00
|
|
|
EXTOBJS =
|
2005-08-03 11:27:13 -04:00
|
|
|
DLDOBJS = $(DMYEXT)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-11-11 07:44:01 -05:00
|
|
|
COMMONOBJS = array.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
bignum.$(OBJEXT) \
|
|
|
|
class.$(OBJEXT) \
|
|
|
|
compar.$(OBJEXT) \
|
|
|
|
dir.$(OBJEXT) \
|
* encoding.c: provide basic features for M17N.
* parse.y: encoding aware parsing.
* parse.y (pragma_encoding): encoding specification pragma.
* parse.y (rb_intern3): encoding specified symbols.
* string.c (rb_str_length): length based on characters.
for older behavior, bytesize method added.
* string.c (rb_str_index_m): index based on characters. rindex as
well.
* string.c (succ_char): encoding aware succeeding string.
* string.c (rb_str_reverse): reverse based on characters.
* string.c (rb_str_inspect): encoding aware string description.
* string.c (rb_str_upcase_bang): encoding aware case conversion.
downcase, capitalize, swapcase as well.
* string.c (rb_str_tr_bang): tr based on characters. delete,
squeeze, tr_s, count as well.
* string.c (rb_str_split_m): split based on characters.
* string.c (rb_str_each_line): encoding aware each_line.
* string.c (rb_str_each_char): added. iteration based on
characters.
* string.c (rb_str_strip_bang): encoding aware whitespace
stripping. lstrip, rstrip as well.
* string.c (rb_str_justify): encoding aware justifying (ljust,
rjust, center).
* string.c (str_encoding): get encoding attribute from a string.
* re.c (rb_reg_initialize): encoding aware regular expression
* sprintf.c (rb_str_format): formatting (i.e. length count) based
on characters.
* io.c (rb_io_getc): getc to return one-character string.
for older behavior, getbyte method added.
* ext/stringio/stringio.c (strio_getc): ditto.
* io.c (rb_io_ungetc): allow pushing arbitrary string at the
current reading point.
* ext/stringio/stringio.c (strio_ungetc): ditto.
* ext/strscan/strscan.c: encoding support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24 23:29:39 -04:00
|
|
|
encoding.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
enum.$(OBJEXT) \
|
2005-07-14 11:33:15 -04:00
|
|
|
enumerator.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
error.$(OBJEXT) \
|
|
|
|
eval.$(OBJEXT) \
|
2007-12-20 04:29:46 -05:00
|
|
|
load.$(OBJEXT) \
|
2007-01-17 03:48:52 -05:00
|
|
|
proc.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
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) \
|
2007-05-23 02:38:46 -04:00
|
|
|
regsyntax.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
ruby.$(OBJEXT) \
|
|
|
|
signal.$(OBJEXT) \
|
|
|
|
sprintf.$(OBJEXT) \
|
|
|
|
st.$(OBJEXT) \
|
|
|
|
string.$(OBJEXT) \
|
|
|
|
struct.$(OBJEXT) \
|
|
|
|
time.$(OBJEXT) \
|
2007-12-10 00:01:47 -05:00
|
|
|
transcode.$(OBJEXT) \
|
2007-12-21 02:24:39 -05:00
|
|
|
transcode_data_one_byte.$(OBJEXT) \
|
2004-03-21 18:21:31 -05:00
|
|
|
util.$(OBJEXT) \
|
|
|
|
variable.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) \
|
2006-12-31 10:02:22 -05:00
|
|
|
blockinlining.$(OBJEXT) \
|
|
|
|
compile.$(OBJEXT) \
|
|
|
|
debug.$(OBJEXT) \
|
|
|
|
iseq.$(OBJEXT) \
|
|
|
|
vm.$(OBJEXT) \
|
|
|
|
vm_dump.$(OBJEXT) \
|
|
|
|
thread.$(OBJEXT) \
|
2007-05-23 18:52:19 -04:00
|
|
|
cont.$(OBJEXT) \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
id.$(OBJEXT) \
|
2007-12-15 04:56:59 -05:00
|
|
|
$(BUILTIN_ENCOBJS) \
|
2004-03-21 18:21:31 -05:00
|
|
|
$(MISSING)
|
|
|
|
|
2007-11-12 02:49:36 -05:00
|
|
|
OBJS = dln.$(OBJEXT) \
|
2007-11-14 00:06:36 -05:00
|
|
|
prelude.$(OBJEXT) \
|
2007-11-12 02:49:36 -05:00
|
|
|
$(COMMONOBJS)
|
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
|
2007-01-03 23:44:48 -05:00
|
|
|
--extout="$(EXTOUT)" \
|
2004-03-21 18:21:31 -05:00
|
|
|
--make="$(MAKE)" \
|
|
|
|
--mflags="$(MFLAGS)" \
|
|
|
|
--make-flags="$(MAKEFLAGS)"
|
2007-01-03 23:44:48 -05:00
|
|
|
EXTMK_ARGS = $(SCRIPT_ARGS) --extension $(EXTS) --extstatic $(EXTSTATIC) --
|
|
|
|
INSTRUBY_ARGS = $(SCRIPT_ARGS) --installed-list $(INSTALLED_LIST)
|
2006-10-01 12:25:37 -04:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.unlink(ARGV[0]) rescue nil' -- \
|
|
|
|
$(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
TESTSDIR = $(srcdir)/test
|
|
|
|
TESTWORKDIR = testwork
|
|
|
|
|
2007-06-24 02:52:59 -04:00
|
|
|
BOOTSTRAPRUBY = $(BASERUBY)
|
2007-02-24 05:39:30 -05:00
|
|
|
|
2007-12-17 03:47:28 -05:00
|
|
|
all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY) encs
|
2007-01-03 23:44:48 -05:00
|
|
|
@$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)
|
2005-03-03 04:44:33 -05:00
|
|
|
prog: $(PROGRAM) $(WPROGRAM)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-11-12 03:15:10 -05:00
|
|
|
miniruby$(EXEEXT): config.status $(MAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(ARCHFILE)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-11-12 02:49:36 -05:00
|
|
|
$(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-11-12 02:49:36 -05:00
|
|
|
$(LIBRUBY_A): $(OBJS) $(DMYEXT) $(ARCHFILE)
|
2007-11-10 05:50:58 -05:00
|
|
|
|
2007-11-12 02:49:36 -05:00
|
|
|
$(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(LIBRUBY_SO_UPDATE)
|
2006-10-01 11:00:45 -04:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
$(LIBRUBY_EXTS):
|
|
|
|
@exit > $@
|
|
|
|
|
|
|
|
$(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
|
2004-03-21 18:21:31 -05:00
|
|
|
@$(RM) $@
|
2007-01-03 23:44:48 -05:00
|
|
|
$(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-12-13 23:47:57 -05:00
|
|
|
ruby.imp: $(COMMONOBJS)
|
|
|
|
@$(NM) -Pgp $(COMMONOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
install: install-nodoc $(RDOCTARGET)
|
|
|
|
install-all: install-nodoc install-doc
|
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
|
|
|
|
pre-install-nodoc:: pre-install-local pre-install-ext
|
|
|
|
do-install-nodoc:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --mantype="$(MANTYPE)"
|
|
|
|
post-install-nodoc:: post-install-local post-install-ext
|
2005-03-03 04:44:33 -05:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
install-local: pre-install-local do-install-local post-install-local
|
|
|
|
pre-install-local:: pre-install-bin pre-install-lib pre-install-man
|
|
|
|
do-install-local:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=local --mantype="$(MANTYPE)"
|
|
|
|
post-install-local:: post-install-bin post-install-lib post-install-man
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
install-ext: pre-install-ext do-install-ext post-install-ext
|
|
|
|
pre-install-ext:: pre-install-ext-arch pre-install-ext-comm
|
|
|
|
do-install-ext:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=ext
|
|
|
|
post-install-ext:: post-install-ext-arch post-install-ext-comm
|
|
|
|
|
|
|
|
install-arch: pre-install-arch do-install-arch post-install-arch
|
|
|
|
pre-install-arch:: pre-install-bin pre-install-ext-arch
|
|
|
|
do-install-arch:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=bin --install=ext-arch
|
|
|
|
post-install-arch:: post-install-bin post-install-ext-arch
|
|
|
|
|
|
|
|
install-comm: pre-install-comm do-install-comm post-install-comm
|
|
|
|
pre-install-comm:: pre-install-lib pre-install-ext-comm pre-install-man
|
|
|
|
do-install-comm:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=lib --install=ext-comm --install=man
|
|
|
|
post-install-comm:: post-install-lib post-install-ext-comm post-install-man
|
|
|
|
|
|
|
|
install-bin: pre-install-bin do-install-bin post-install-bin
|
|
|
|
pre-install-bin:: install-prereq
|
|
|
|
do-install-bin:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=bin
|
|
|
|
post-install-bin::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-lib: pre-install-lib do-install-lib post-install-lib
|
|
|
|
pre-install-lib:: install-prereq
|
|
|
|
do-install-lib:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=lib
|
|
|
|
post-install-lib::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-ext-comm: pre-install-ext-comm do-install-ext-comm post-install-ext-comm
|
|
|
|
pre-install-ext-comm:: install-prereq
|
|
|
|
do-install-ext-comm:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=ext-comm
|
|
|
|
post-install-ext-comm::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-ext-arch: pre-install-ext-arch do-install-ext-arch post-install-ext-arch
|
|
|
|
pre-install-ext-arch:: install-prereq
|
|
|
|
do-install-ext-arch:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=ext-arch
|
|
|
|
post-install-ext-arch::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-man: pre-install-man do-install-man post-install-man
|
|
|
|
pre-install-man:: install-prereq
|
|
|
|
do-install-man:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=man --mantype="$(MANTYPE)"
|
|
|
|
post-install-man::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
what-where: no-install
|
|
|
|
no-install: no-install-nodoc no-install-doc
|
|
|
|
what-where-all: no-install-all
|
|
|
|
no-install-all: no-install-nodoc
|
|
|
|
|
|
|
|
what-where-nodoc: no-install-nodoc
|
|
|
|
no-install-nodoc: pre-no-install-nodoc dont-install-nodoc post-no-install-nodoc
|
|
|
|
pre-no-install-nodoc:: pre-no-install-local pre-no-install-ext
|
|
|
|
dont-install-nodoc:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --mantype="$(MANTYPE)"
|
|
|
|
post-no-install-nodoc:: post-no-install-local post-no-install-ext
|
2006-09-16 03:06:57 -04:00
|
|
|
|
2006-12-31 10:02:22 -05:00
|
|
|
what-where-local: no-install-local
|
2007-01-03 23:44:48 -05:00
|
|
|
no-install-local: pre-no-install-local dont-install-local post-no-install-local
|
|
|
|
pre-no-install-local:: pre-no-install-bin pre-no-install-lib pre-no-install-man
|
|
|
|
dont-install-local:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=local --mantype="$(MANTYPE)"
|
|
|
|
post-no-install-local:: post-no-install-bin post-no-install-lib post-no-install-man
|
2006-09-17 04:43:19 -04:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
what-where-ext: no-install-ext
|
|
|
|
no-install-ext: pre-no-install-ext dont-install-ext post-no-install-ext
|
|
|
|
pre-no-install-ext:: pre-no-install-ext-arch pre-no-install-ext-comm
|
|
|
|
dont-install-ext:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=ext
|
|
|
|
post-no-install-ext:: post-no-install-ext-arch post-no-install-ext-comm
|
|
|
|
|
|
|
|
what-where-arch: no-install-arch
|
|
|
|
no-install-arch: pre-no-install-arch dont-install-arch post-no-install-arch
|
|
|
|
pre-no-install-arch:: pre-no-install-bin pre-no-install-ext-arch
|
|
|
|
dont-install-arch:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=bin --install=ext-arch
|
|
|
|
post-no-install-arch:: post-no-install-lib post-no-install-man post-no-install-ext-arch
|
|
|
|
|
|
|
|
what-where-comm: no-install-comm
|
|
|
|
no-install-comm: pre-no-install-comm dont-install-comm post-no-install-comm
|
|
|
|
pre-no-install-comm:: pre-no-install-lib pre-no-install-ext-comm pre-no-install-man
|
|
|
|
dont-install-comm:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=lib --install=ext-comm --install=man
|
|
|
|
post-no-install-comm:: post-no-install-lib post-no-install-ext-comm post-no-install-man
|
|
|
|
|
|
|
|
what-where-bin: no-install-bin
|
|
|
|
no-install-bin: pre-no-install-bin dont-install-bin post-no-install-bin
|
|
|
|
pre-no-install-bin:: install-prereq
|
|
|
|
dont-install-bin:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=bin
|
|
|
|
post-no-install-bin::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
what-where-lib: no-install-lib
|
|
|
|
no-install-lib: pre-no-install-lib dont-install-lib post-no-install-lib
|
|
|
|
pre-no-install-lib:: install-prereq
|
|
|
|
dont-install-lib:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=lib
|
|
|
|
post-no-install-lib::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
what-where-ext-comm: no-install-ext-comm
|
|
|
|
no-install-ext-comm: pre-no-install-ext-comm dont-install-ext-comm post-no-install-ext-comm
|
|
|
|
pre-no-install-ext-comm:: install-prereq
|
|
|
|
dont-install-ext-comm:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=ext-comm
|
|
|
|
post-no-install-ext-comm::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
what-where-ext-arch: no-install-ext-arch
|
|
|
|
no-install-ext-arch: pre-no-install-ext-arch dont-install-ext-arch post-no-install-ext-arch
|
|
|
|
pre-no-install-ext-arch:: install-prereq
|
|
|
|
dont-install-ext-arch:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=ext-arch
|
|
|
|
post-no-install-ext-arch::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
what-where-man: no-install-man
|
|
|
|
no-install-man: pre-no-install-man dont-install-man post-no-install-man
|
|
|
|
pre-no-install-man:: install-prereq
|
|
|
|
dont-install-man:
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=man --mantype="$(MANTYPE)"
|
|
|
|
post-no-install-man::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-doc: rdoc pre-install-doc do-install-doc post-install-doc
|
|
|
|
pre-install-doc:: install-prereq
|
2006-12-31 10:02:22 -05:00
|
|
|
do-install-doc: $(PROGRAM)
|
2007-01-03 23:44:48 -05:00
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"
|
|
|
|
post-install-doc::
|
|
|
|
@$(NULLCMD)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
rdoc: $(PROGRAM) PHONY
|
|
|
|
@echo Generating RDoc documentation
|
|
|
|
$(RUNRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RDOCOUT)" "$(srcdir)"
|
2006-09-17 04:43:19 -04:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
what-where-doc: no-install-doc
|
|
|
|
no-install-doc: pre-no-install-doc dont-install-doc post-no-install-doc
|
|
|
|
pre-no-install-doc:: install-prereq
|
|
|
|
dont-install-doc::
|
|
|
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"
|
|
|
|
post-no-install-doc::
|
|
|
|
@$(NULLCMD)
|
2006-09-17 04:43:19 -04:00
|
|
|
|
2007-03-12 20:24:58 -04:00
|
|
|
CLEAR_INSTALLED_LIST = clear-installed-list
|
|
|
|
|
|
|
|
install-prereq: $(CLEAR_INSTALLED_LIST)
|
|
|
|
|
|
|
|
clear-installed-list:
|
2007-01-03 23:44:48 -05:00
|
|
|
@exit > $(INSTALLED_LIST)
|
2005-03-03 04:44:33 -05:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
clean: clean-ext clean-local
|
2004-03-21 18:21:31 -05:00
|
|
|
clean-local::
|
2007-11-12 03:15:10 -05:00
|
|
|
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
2007-01-03 23:44:48 -05:00
|
|
|
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
|
2006-12-31 10:02:22 -05:00
|
|
|
@$(RM) *.inc
|
2004-03-21 18:21:31 -05:00
|
|
|
clean-ext:
|
|
|
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean
|
|
|
|
|
|
|
|
distclean: distclean-ext distclean-local
|
|
|
|
distclean-local:: clean-local
|
2004-03-23 00:32:01 -05:00
|
|
|
@$(RM) $(MKFILES) config.h rbconfig.rb
|
|
|
|
@$(RM) config.cache config.log config.status
|
2005-03-30 18:26:00 -05:00
|
|
|
@$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP)
|
2004-03-21 18:21:31 -05:00
|
|
|
distclean-ext:
|
2004-03-23 00:32:01 -05:00
|
|
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-06-15 09:31:54 -04:00
|
|
|
realclean:: realclean-ext realclean-local
|
|
|
|
realclean-local:: distclean-local
|
2004-03-21 18:21:31 -05:00
|
|
|
@$(RM) parse.c lex.c
|
2007-06-15 09:31:54 -04:00
|
|
|
realclean-ext::
|
|
|
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) realclean
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2005-03-30 18:26:00 -05:00
|
|
|
check: test test-all
|
|
|
|
|
2007-08-07 22:02:45 -04:00
|
|
|
btest: miniruby$(EXEEXT) PHONY
|
2007-06-24 02:52:59 -04:00
|
|
|
$(BOOTSTRAPRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(MINIRUBY)" $(OPTS)
|
2007-02-24 05:39:30 -05:00
|
|
|
|
2007-08-07 22:02:45 -04:00
|
|
|
btest-miniruby: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY
|
2007-07-06 05:23:53 -04:00
|
|
|
@$(MINIRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(MINIRUBY)" -q
|
2007-08-07 22:02:45 -04:00
|
|
|
|
|
|
|
test-sample: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY
|
2004-03-21 18:21:31 -05:00
|
|
|
@$(MINIRUBY) $(srcdir)/rubytest.rb
|
|
|
|
|
2007-08-14 06:53:06 -04:00
|
|
|
test: test-sample btest-miniruby
|
2007-08-07 22:02:45 -04:00
|
|
|
|
2007-01-03 23:44:48 -05:00
|
|
|
test-all:
|
|
|
|
$(RUNRUBY) "$(srcdir)/test/runner.rb" --basedir="$(TESTSDIR)" --runner=$(TESTUI) $(TESTS)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
extconf:
|
|
|
|
$(MINIRUBY) -I$(srcdir)/lib -run -e mkdir -- -p "$(EXTCONFDIR)"
|
|
|
|
$(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS)
|
|
|
|
|
|
|
|
$(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
|
2007-01-03 23:44:48 -05:00
|
|
|
@$(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \
|
2004-03-21 18:21:31 -05:00
|
|
|
-install_name=$(RUBY_INSTALL_NAME) \
|
|
|
|
-so_name=$(RUBY_SO_NAME) rbconfig.rb
|
|
|
|
|
2007-12-17 03:47:28 -05:00
|
|
|
encs: enc.mk
|
2007-12-19 13:00:41 -05:00
|
|
|
$(MINIRUBY) -I$(srcdir)/lib -run -e mkdir -- -p "$(EXTOUT)/$(arch)/enc"
|
2007-12-18 01:44:25 -05:00
|
|
|
$(MAKE) -f enc.mk -$(MAKEFLAGS)
|
2007-12-17 03:47:28 -05:00
|
|
|
|
2007-12-20 03:07:56 -05:00
|
|
|
enc.mk: $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/depend \
|
2007-12-20 21:23:26 -05:00
|
|
|
$(srcdir)/lib/mkmf.rb $(RBCONFIG)
|
2007-12-17 12:30:57 -05:00
|
|
|
$(MINIRUBY) $(srcdir)/enc/make_encmake.rb --builtin-encs="$(BUILTIN_ENCOBJS)" $@
|
2007-12-17 03:47:28 -05:00
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
.PRECIOUS: $(MKFILES)
|
|
|
|
|
2007-02-27 10:12:18 -05:00
|
|
|
.PHONY: test install install-nodoc install-doc dist
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
PHONY:
|
|
|
|
|
2007-11-13 12:50:33 -05:00
|
|
|
{$(VPATH)}parse.c: {$(VPATH)}parse.y
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-11-13 12:50:33 -05:00
|
|
|
{$(srcdir)}.y.c:
|
2007-11-13 07:41:41 -05:00
|
|
|
$(YACC) $(YFLAGS) -o y.tab.c $<
|
2007-12-11 02:19:28 -05:00
|
|
|
sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
|
|
|
|
@$(RM) $@ y.tab.c
|
|
|
|
@$(MV) $@.new $@
|
2007-11-13 07:41:41 -05:00
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
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
|
|
|
|
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
|
2007-01-03 23:44:48 -05:00
|
|
|
ia64.$(OBJEXT): {$(VPATH)}ia64.s
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
# when I use -I., there is confliction at "OpenFile"
|
|
|
|
# so, set . into environment varible "include"
|
|
|
|
win32.$(OBJEXT): {$(VPATH)}win32.c
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
array.$(OBJEXT): {$(VPATH)}array.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h {$(VPATH)}st.h
|
2007-06-09 23:06:15 -04:00
|
|
|
bignum.$(OBJEXT): {$(VPATH)}bignum.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
class.$(OBJEXT): {$(VPATH)}class.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}node.h {$(VPATH)}st.h
|
|
|
|
compar.$(OBJEXT): {$(VPATH)}compar.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
dir.$(OBJEXT): {$(VPATH)}dir.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h
|
2007-06-09 23:06:15 -04:00
|
|
|
dln.$(OBJEXT): {$(VPATH)}dln.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}dln.h
|
2005-04-20 10:25:34 -04:00
|
|
|
dmydln.$(OBJEXT): {$(VPATH)}dmydln.c {$(VPATH)}dln.c {$(VPATH)}ruby.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}config.h {$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2005-04-20 10:25:34 -04:00
|
|
|
{$(VPATH)}dln.h
|
2004-03-21 18:21:31 -05:00
|
|
|
dmyext.$(OBJEXT): {$(VPATH)}dmyext.c
|
2007-08-30 06:42:09 -04:00
|
|
|
encoding.$(OBJEXT): {$(VPATH)}encoding.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}encoding.h {$(VPATH)}oniguruma.h \
|
|
|
|
{$(VPATH)}regenc.h
|
2007-06-09 23:06:15 -04:00
|
|
|
enum.$(OBJEXT): {$(VPATH)}enum.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h
|
2007-06-09 23:06:15 -04:00
|
|
|
enumerator.$(OBJEXT): {$(VPATH)}enumerator.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2005-07-14 11:15:22 -04:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
error.$(OBJEXT): {$(VPATH)}error.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}st.h {$(VPATH)}vm_opts.h {$(VPATH)}signal.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-12-20 04:29:46 -05:00
|
|
|
eval.$(OBJEXT): {$(VPATH)}eval.c {$(VPATH)}eval_error.c {$(VPATH)}eval_intern.h \
|
|
|
|
{$(VPATH)}eval_method.c {$(VPATH)}eval_safe.c {$(VPATH)}eval_jump.c \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
2006-12-31 10:02:22 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}st.h {$(VPATH)}dln.h {$(VPATH)}debug.h \
|
|
|
|
{$(VPATH)}vm_opts.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-12-20 04:29:46 -05:00
|
|
|
load.$(OBJEXT): {$(VPATH)}load.c {$(VPATH)}eval_intern.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2006-12-31 10:02:22 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}dln.h {$(VPATH)}debug.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}vm_opts.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-06-09 23:06:15 -04:00
|
|
|
file.$(OBJEXT): {$(VPATH)}file.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}io.h {$(VPATH)}signal.h {$(VPATH)}util.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}dln.h
|
2007-06-09 23:06:15 -04:00
|
|
|
gc.$(OBJEXT): {$(VPATH)}gc.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}node.h \
|
2007-11-19 22:16:53 -05:00
|
|
|
{$(VPATH)}re.h {$(VPATH)}io.h {$(VPATH)}regex.h {$(VPATH)}oniguruma.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}debug.h {$(VPATH)}vm_opts.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-06-09 23:06:15 -04:00
|
|
|
hash.$(OBJEXT): {$(VPATH)}hash.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}st.h {$(VPATH)}util.h {$(VPATH)}signal.h
|
|
|
|
inits.$(OBJEXT): {$(VPATH)}inits.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
io.$(OBJEXT): {$(VPATH)}io.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}io.h {$(VPATH)}signal.h {$(VPATH)}util.h
|
|
|
|
main.$(OBJEXT): {$(VPATH)}main.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
marshal.$(OBJEXT): {$(VPATH)}marshal.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}io.h {$(VPATH)}st.h {$(VPATH)}util.h
|
|
|
|
math.$(OBJEXT): {$(VPATH)}math.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
numeric.$(OBJEXT): {$(VPATH)}numeric.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2007-10-26 04:38:14 -04:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}encoding.h \
|
2004-07-27 21:22:49 -04:00
|
|
|
{$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
object.$(OBJEXT): {$(VPATH)}object.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}st.h {$(VPATH)}util.h {$(VPATH)}debug.h
|
2007-06-09 23:06:15 -04:00
|
|
|
pack.$(OBJEXT): {$(VPATH)}pack.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
parse.$(OBJEXT): {$(VPATH)}parse.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}st.h {$(VPATH)}oniguruma.h \
|
2007-08-30 06:42:09 -04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}regex.h {$(VPATH)}util.h {$(VPATH)}lex.c
|
2007-06-09 23:06:15 -04:00
|
|
|
prec.$(OBJEXT): {$(VPATH)}prec.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-02-27 06:37:54 -05:00
|
|
|
proc.$(OBJEXT): {$(VPATH)}proc.c {$(VPATH)}eval_intern.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
2007-02-27 06:37:54 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}gc.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}dln.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}debug.h {$(VPATH)}vm_opts.h \
|
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-06-09 23:06:15 -04:00
|
|
|
process.$(OBJEXT): {$(VPATH)}process.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}vm_core.h {$(VPATH)}id.h
|
2007-06-09 23:06:15 -04:00
|
|
|
random.$(OBJEXT): {$(VPATH)}random.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
range.$(OBJEXT): {$(VPATH)}range.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
re.$(OBJEXT): {$(VPATH)}re.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}re.h {$(VPATH)}regex.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}signal.h
|
|
|
|
regcomp.$(OBJEXT): {$(VPATH)}regcomp.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}regint.h {$(VPATH)}regparse.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}signal.h
|
2004-03-21 18:21:31 -05:00
|
|
|
regenc.$(OBJEXT): {$(VPATH)}regenc.c {$(VPATH)}regint.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h {$(VPATH)}ruby.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
2007-08-30 06:42:09 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}config.h
|
2004-03-21 18:21:31 -05:00
|
|
|
regerror.$(OBJEXT): {$(VPATH)}regerror.c {$(VPATH)}regint.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h {$(VPATH)}config.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}signal.h
|
2004-03-21 18:21:31 -05:00
|
|
|
regexec.$(OBJEXT): {$(VPATH)}regexec.c {$(VPATH)}regint.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h {$(VPATH)}config.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}signal.h
|
2004-03-21 18:21:31 -05:00
|
|
|
regparse.$(OBJEXT): {$(VPATH)}regparse.c {$(VPATH)}oniguruma.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regparse.h {$(VPATH)}regenc.h {$(VPATH)}config.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}signal.h
|
2007-05-23 02:38:46 -04:00
|
|
|
regsyntax.$(OBJEXT): {$(VPATH)}regsyntax.c {$(VPATH)}oniguruma.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}config.h \
|
2007-05-23 02:38:46 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
ruby.$(OBJEXT): {$(VPATH)}ruby.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-09-28 19:50:36 -04:00
|
|
|
{$(VPATH)}dln.h {$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}encoding.h
|
2007-06-09 23:06:15 -04:00
|
|
|
signal.$(OBJEXT): {$(VPATH)}signal.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}node.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}debug.h {$(VPATH)}vm_opts.h \
|
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-06-09 23:06:15 -04:00
|
|
|
sprintf.$(OBJEXT): {$(VPATH)}sprintf.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2007-02-27 06:37:54 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}re.h {$(VPATH)}regex.h {$(VPATH)}oniguruma.h \
|
2007-07-21 04:48:29 -04:00
|
|
|
{$(VPATH)}vsnprintf.c
|
2007-06-09 23:06:15 -04:00
|
|
|
st.$(OBJEXT): {$(VPATH)}st.c {$(VPATH)}config.h {$(VPATH)}st.h {$(VPATH)}defines.h
|
|
|
|
string.$(OBJEXT): {$(VPATH)}string.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-12-10 00:01:47 -05:00
|
|
|
{$(VPATH)}re.h {$(VPATH)}regex.h {$(VPATH)}encoding.h
|
2007-06-09 23:06:15 -04:00
|
|
|
struct.$(OBJEXT): {$(VPATH)}struct.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-02-27 06:37:54 -05:00
|
|
|
thread.$(OBJEXT): {$(VPATH)}thread.c {$(VPATH)}eval_intern.h \
|
|
|
|
{$(VPATH)}thread_win32.h {$(VPATH)}thread_pthread.h \
|
2007-12-20 04:29:46 -05:00
|
|
|
{$(VPATH)}thread_win32.c {$(VPATH)}thread_pthread.c \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}config.h \
|
2007-02-27 06:37:54 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}dln.h
|
2007-12-10 00:01:47 -05:00
|
|
|
transcode.$(OBJEXT): {$(VPATH)}transcode.c {$(VPATH)}transcode_data.h {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h {$(VPATH)}encoding.h
|
2007-12-21 02:24:39 -05:00
|
|
|
transcode_data_one_byte.$(OBJEXT): {$(VPATH)}transcode_data_one_byte.c {$(VPATH)}transcode_data.h
|
2007-05-23 18:52:19 -04:00
|
|
|
cont.$(OBJEXT): {$(VPATH)}cont.c {$(VPATH)}eval_intern.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}config.h \
|
2007-05-23 18:52:19 -04:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}st.h {$(VPATH)}dln.h
|
|
|
|
time.$(OBJEXT): {$(VPATH)}time.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
2007-06-09 23:06:15 -04:00
|
|
|
util.$(OBJEXT): {$(VPATH)}util.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
|
|
|
{$(VPATH)}util.h
|
2007-06-09 23:06:15 -04:00
|
|
|
variable.$(OBJEXT): {$(VPATH)}variable.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2006-12-31 10:02:22 -05:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}st.h {$(VPATH)}util.h
|
2007-06-09 23:06:15 -04:00
|
|
|
version.$(OBJEXT): {$(VPATH)}version.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2004-03-21 18:21:31 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
2007-01-04 03:27:19 -05:00
|
|
|
{$(VPATH)}version.h
|
2006-12-31 10:02:22 -05:00
|
|
|
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}compile.h {$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
2007-02-02 09:41:50 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}signal.h \
|
2007-06-24 09:05:51 -04:00
|
|
|
{$(VPATH)}insns_info.inc {$(VPATH)}optinsn.inc \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}opt_sc.inc {$(VPATH)}optunifs.inc {$(VPATH)}vm_opts.h \
|
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}debug.h \
|
2007-02-02 09:41:50 -05:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}signal.h \
|
|
|
|
{$(VPATH)}gc.h {$(VPATH)}vm_opts.h {$(VPATH)}config.h {$(VPATH)}node.h \
|
2007-08-06 00:09:56 -04:00
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h {$(VPATH)}insns_info.inc \
|
|
|
|
{$(VPATH)}node_name.inc
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
2007-09-03 02:37:11 -04:00
|
|
|
{$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}st.h \
|
2007-06-24 13:19:22 -04:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h {$(VPATH)}dln.h \
|
2007-12-20 04:29:46 -05:00
|
|
|
{$(VPATH)}insnhelper.h {$(VPATH)}vm_insnhelper.c {$(VPATH)}vm_evalbody.c \
|
2007-02-05 21:06:07 -05:00
|
|
|
{$(VPATH)}insns.inc {$(VPATH)}vm.inc {$(VPATH)}vmtc.inc \
|
2007-06-24 09:05:51 -04:00
|
|
|
{$(VPATH)}vm_opts.h {$(VPATH)}eval_intern.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
|
|
|
{$(VPATH)}gc.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
vm_dump.$(OBJEXT): {$(VPATH)}vm_dump.c {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}vm.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
2007-02-02 09:41:50 -05:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}signal.h {$(VPATH)}vm_opts.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
2007-02-02 09:41:50 -05:00
|
|
|
debug.$(OBJEXT): {$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}config.h \
|
2007-02-02 09:41:50 -05:00
|
|
|
{$(VPATH)}st.h
|
2007-02-27 20:33:57 -05:00
|
|
|
blockinlining.$(OBJEXT): {$(VPATH)}blockinlining.c \
|
|
|
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
2007-06-09 23:06:15 -04:00
|
|
|
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}config.h \
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}signal.h \
|
2007-02-27 20:33:57 -05:00
|
|
|
{$(VPATH)}debug.h {$(VPATH)}vm_opts.h \
|
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 00:25:46 -04:00
|
|
|
id.$(OBJEXT): {$(VPATH)}id.c {$(VPATH)}ruby.h
|
2007-11-14 00:06:36 -05:00
|
|
|
miniprelude.$(OBJEXT): {$(VPATH)}miniprelude.c {$(VPATH)}ruby.h {$(VPATH)}vm_core.h
|
2007-08-24 21:20:30 -04:00
|
|
|
prelude.$(OBJEXT): {$(VPATH)}prelude.c {$(VPATH)}ruby.h {$(VPATH)}vm_core.h
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-10-10 17:35:45 -04:00
|
|
|
ascii.$(OBJEXT): {$(VPATH)}ascii.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}config.h {$(VPATH)}defines.h
|
|
|
|
euc_jp.$(OBJEXT): {$(VPATH)}euc_jp.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}config.h {$(VPATH)}defines.h
|
|
|
|
sjis.$(OBJEXT): {$(VPATH)}sjis.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}config.h {$(VPATH)}defines.h
|
|
|
|
unicode.$(OBJEXT): {$(VPATH)}unicode.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}config.h {$(VPATH)}defines.h
|
|
|
|
utf8.$(OBJEXT): {$(VPATH)}utf8.c {$(VPATH)}regenc.h \
|
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}config.h {$(VPATH)}defines.h
|
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc \
|
2007-02-23 20:41:46 -05:00
|
|
|
vmtc.inc vm.inc
|
2006-12-31 10:02:22 -05:00
|
|
|
|
* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
fix typo (rb_thead_t -> rb_thread_t).
* eval_intern.h: remove unused definitions.
* common.mk: fix around vm_opts.h path
and remove harmful argument passed to insns2vm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-08 01:37:46 -05:00
|
|
|
INSNS2VMOPT = --srcdir="$(srcdir)"
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-07-21 04:48:29 -04:00
|
|
|
$(INSNS): $(srcdir)/insns.def {$(VPATH)}vm_opts.h
|
|
|
|
$(RM) $(PROGRAM)
|
2007-08-06 00:00:09 -04:00
|
|
|
$(BASERUBY) $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT)
|
2007-07-21 04:48:29 -04:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
minsns.inc: $(srcdir)/template/minsns.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
opt_sc.inc: $(srcdir)/template/opt_sc.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
optinsn.inc: $(srcdir)/template/optinsn.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
optunifs.inc: $(srcdir)/template/optunifs.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
insns.inc: $(srcdir)/template/insns.inc.tmpl
|
2007-02-04 14:15:38 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
insns_info.inc: $(srcdir)/template/insns_info.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-05 21:06:07 -05:00
|
|
|
vmtc.inc: $(srcdir)/template/vmtc.inc.tmpl
|
|
|
|
|
|
|
|
vm.inc: $(srcdir)/template/vm.inc.tmpl
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-08-06 00:09:56 -04:00
|
|
|
incs: $(INSNS) node_name.inc
|
|
|
|
|
2007-11-13 12:50:33 -05:00
|
|
|
node_name.inc: {$(VPATH)}node.h
|
2007-08-07 00:28:34 -04:00
|
|
|
$(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-11-14 00:06:36 -05:00
|
|
|
miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
|
2007-12-17 07:25:26 -05:00
|
|
|
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
|
2007-08-24 21:20:30 -04:00
|
|
|
|
2007-11-14 00:06:36 -05:00
|
|
|
prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $(RBCONFIG)
|
2007-12-20 19:27:40 -05:00
|
|
|
$(MINIRUBY) -I$(srcdir) -I$(srcdir)/lib -rrbconfig $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $@
|
2007-11-10 04:22:59 -05:00
|
|
|
|
2007-11-15 00:29:58 -05:00
|
|
|
prereq: incs {$(VPATH)}parse.c $(srcdir)/ext/ripper/ripper.c {$(VPATH)}miniprelude.c
|
2007-08-24 11:26:28 -04:00
|
|
|
|
2006-12-31 10:02:22 -05:00
|
|
|
docs:
|
|
|
|
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/makedocs.rb $(INSNS2VMOPT)
|
|
|
|
|
2007-11-15 00:29:58 -05:00
|
|
|
$(srcdir)/ext/ripper/ripper.c:
|
2007-12-18 01:44:25 -05:00
|
|
|
cd $(srcdir)/ext/ripper && exec $(MAKE) -f depend -$(MAKEFLAGS) top_srcdir=../.. srcdir=.
|
2007-11-15 00:29:58 -05:00
|
|
|
|
2007-01-05 08:52:16 -05:00
|
|
|
##
|
|
|
|
|
2007-01-05 23:44:56 -05:00
|
|
|
run: miniruby$(EXEEXT) PHONY
|
2007-01-05 08:52:16 -05:00
|
|
|
$(MINIRUBY) -I$(srcdir)/lib $(srcdir)/test.rb $(RUNOPT)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-02 13:35:40 -05:00
|
|
|
runruby: $(PROGRAM) PHONY
|
|
|
|
$(RUNRUBY) $(srcdir)/test.rb
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-01-05 23:44:56 -05:00
|
|
|
parse: miniruby$(EXEEXT) PHONY
|
2007-01-05 08:52:16 -05:00
|
|
|
$(MINIRUBY) $(srcdir)/tool/parse.rb $(srcdir)/test.rb
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-09-27 02:46:31 -04:00
|
|
|
COMPARE_RUBY = $(BASERUBY)
|
|
|
|
ITEM =
|
|
|
|
OPTS =
|
|
|
|
|
2007-02-02 13:35:40 -05:00
|
|
|
benchmark: $(PROGRAM) PHONY
|
2007-09-27 02:46:31 -04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
|
|
|
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \
|
|
|
|
--pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-02 13:35:40 -05:00
|
|
|
benchmark-each: $(PROGRAM) PHONY
|
2007-09-27 02:46:31 -04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
|
|
|
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \
|
|
|
|
--pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-02 13:35:40 -05:00
|
|
|
tbench: $(PROGRAM) PHONY
|
2007-09-27 02:46:31 -04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
|
|
|
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \
|
|
|
|
--pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-06-29 01:52:18 -04:00
|
|
|
aotc: $(PROGRAM) PHONY
|
|
|
|
./$(PROGRAM) -I$(srcdir)/lib $(srcdir)/bin/ruby2cext $(srcdir)/test.rb
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-02 13:23:07 -05:00
|
|
|
vmasm: vm.$(ASMEXT)
|
2006-12-31 10:02:22 -05:00
|
|
|
|
|
|
|
# vm.o : CFLAGS += -fno-crossjumping
|
|
|
|
|
|
|
|
run.gdb:
|
2007-02-25 10:58:27 -05:00
|
|
|
echo b ruby_debug_breakpoint > run.gdb
|
|
|
|
echo '# handle SIGINT nostop' >> run.gdb
|
|
|
|
echo '# handle SIGPIPE nostop' >> run.gdb
|
|
|
|
echo '# b rb_longjmp' >> run.gdb
|
|
|
|
echo source $(srcdir)/breakpoints.gdb >> run.gdb
|
2007-06-27 16:03:53 -04:00
|
|
|
echo source $(srcdir)/.gdbinit >> run.gdb
|
2007-02-25 10:58:27 -05:00
|
|
|
echo run >> run.gdb
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-01-05 23:44:56 -05:00
|
|
|
gdb: miniruby$(EXEEXT) run.gdb PHONY
|
2007-01-05 08:52:16 -05:00
|
|
|
gdb -x run.gdb --quiet --args $(MINIRUBY) -I$(srcdir)/lib $(srcdir)/test.rb
|
2006-12-31 10:02:22 -05:00
|
|
|
|
|
|
|
# Intel VTune
|
|
|
|
|
|
|
|
vtune: miniruby$(EXEEXT)
|
2007-01-05 08:52:16 -05:00
|
|
|
vtl activity -c sampling -app ".\miniruby$(EXEEXT)","-I$(srcdir)/lib $(srcdir)/test.rb" run
|
2006-12-31 10:02:22 -05:00
|
|
|
vtl view -hf -mn miniruby$(EXEEXT) -sum -sort -cd
|
2007-02-08 03:18:29 -05:00
|
|
|
vtl view -ha -mn miniruby$(EXEEXT) -sum -sort -cd | $(RUNRUBY) $(srcdir)/tool/vtlh.rb > ha.lines
|
2006-12-31 10:02:22 -05:00
|
|
|
|
2007-02-27 10:12:18 -05:00
|
|
|
dist: $(PROGRAM)
|
|
|
|
$(RUNRUBY) $(srcdir)/distruby.rb
|