2005-03-03 12:44:33 +03:00
|
|
|
bin: $(PROGRAM) $(WPROGRAM)
|
2007-01-04 07:44:48 +03:00
|
|
|
lib: $(LIBRUBY)
|
|
|
|
dll: $(LIBRUBY_SO)
|
2004-03-25 08:01:15 +03:00
|
|
|
|
2012-11-16 19:22:37 +04:00
|
|
|
.SUFFIXES: .inc .h .c .y .i .$(DTRACE_EXT)
|
2007-01-05 14:22:25 +03:00
|
|
|
|
2010-11-11 15:46:23 +03:00
|
|
|
# V=0 quiet, V=1 verbose. other values don't work.
|
|
|
|
V = 0
|
|
|
|
Q1 = $(V:1=)
|
|
|
|
Q = $(Q1:0=@)
|
|
|
|
ECHO = $(ECHO1:0=@echo)
|
|
|
|
|
2012-11-19 11:08:13 +04:00
|
|
|
RUBYLIB = $(PATH_SEPARATOR)
|
2008-05-12 07:32:12 +04:00
|
|
|
RUBYOPT = -
|
2011-07-09 03:39:42 +04:00
|
|
|
RUN_OPTS = --disable-gems
|
2005-03-31 03:26:00 +04:00
|
|
|
|
2013-07-25 11:31:10 +04:00
|
|
|
SPEC_GIT_BASE = git://github.com/nurse
|
2008-08-01 18:27:21 +04:00
|
|
|
MSPEC_GIT_URL = $(SPEC_GIT_BASE)/mspec.git
|
2008-09-19 17:10:45 +04:00
|
|
|
RUBYSPEC_GIT_URL = $(SPEC_GIT_BASE)/rubyspec.git
|
2008-08-01 18:27:21 +04:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
STATIC_RUBY = static-ruby
|
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
EXTCONF = extconf.rb
|
2007-01-04 07:44:48 +03:00
|
|
|
LIBRUBY_EXTS = ./.libruby-with-ext.time
|
2009-03-16 06:30:01 +03:00
|
|
|
REVISION_H = ./.revision.time
|
2012-02-28 19:51:25 +04:00
|
|
|
PLATFORM_D = ./$(PLATFORM_DIR)/.time
|
2007-01-04 07:44:48 +03:00
|
|
|
RDOCOUT = $(EXTOUT)/rdoc
|
2010-09-19 17:10:25 +04:00
|
|
|
CAPIOUT = doc/capi
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
DMYEXT = dmyext.$(OBJEXT)
|
2007-12-25 10:15:18 +03:00
|
|
|
NORMALMAINOBJ = main.$(OBJEXT)
|
2007-12-25 10:04:30 +03:00
|
|
|
MAINOBJ = $(NORMALMAINOBJ)
|
2012-05-19 06:37:21 +04:00
|
|
|
EXTOBJS =
|
2005-08-03 19:27:13 +04:00
|
|
|
DLDOBJS = $(DMYEXT)
|
2012-05-20 07:25:14 +04:00
|
|
|
EXTSOLIBS =
|
2013-07-14 21:47:25 +04:00
|
|
|
MINIOBJS = $(ARCHMINIOBJS) miniinit.$(OBJEXT) miniprelude.$(OBJEXT)
|
2008-09-26 12:06:59 +04:00
|
|
|
ENC_MK = enc.mk
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2007-11-11 15:44:01 +03:00
|
|
|
COMMONOBJS = array.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
bignum.$(OBJEXT) \
|
|
|
|
class.$(OBJEXT) \
|
|
|
|
compar.$(OBJEXT) \
|
2008-03-16 03:23:43 +03:00
|
|
|
complex.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
dir.$(OBJEXT) \
|
2010-02-24 03:55:03 +03:00
|
|
|
dln_find.$(OBJEXT) \
|
2013-07-14 21:47:25 +04:00
|
|
|
encoding.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
enum.$(OBJEXT) \
|
2005-07-14 19:33:15 +04:00
|
|
|
enumerator.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
error.$(OBJEXT) \
|
|
|
|
eval.$(OBJEXT) \
|
2007-12-20 12:29:46 +03:00
|
|
|
load.$(OBJEXT) \
|
2007-01-17 11:48:52 +03:00
|
|
|
proc.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
file.$(OBJEXT) \
|
|
|
|
gc.$(OBJEXT) \
|
|
|
|
hash.$(OBJEXT) \
|
|
|
|
inits.$(OBJEXT) \
|
|
|
|
io.$(OBJEXT) \
|
|
|
|
marshal.$(OBJEXT) \
|
|
|
|
math.$(OBJEXT) \
|
2009-12-09 17:05:59 +03:00
|
|
|
node.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
numeric.$(OBJEXT) \
|
|
|
|
object.$(OBJEXT) \
|
|
|
|
pack.$(OBJEXT) \
|
|
|
|
parse.$(OBJEXT) \
|
|
|
|
process.$(OBJEXT) \
|
|
|
|
random.$(OBJEXT) \
|
|
|
|
range.$(OBJEXT) \
|
2008-03-16 03:23:43 +03:00
|
|
|
rational.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
re.$(OBJEXT) \
|
|
|
|
regcomp.$(OBJEXT) \
|
|
|
|
regenc.$(OBJEXT) \
|
|
|
|
regerror.$(OBJEXT) \
|
|
|
|
regexec.$(OBJEXT) \
|
|
|
|
regparse.$(OBJEXT) \
|
2007-05-23 10:38:46 +04:00
|
|
|
regsyntax.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
ruby.$(OBJEXT) \
|
2008-09-23 05:10:02 +04:00
|
|
|
safe.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
signal.$(OBJEXT) \
|
|
|
|
sprintf.$(OBJEXT) \
|
|
|
|
st.$(OBJEXT) \
|
2008-08-20 19:30:28 +04:00
|
|
|
strftime.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
string.$(OBJEXT) \
|
|
|
|
struct.$(OBJEXT) \
|
|
|
|
time.$(OBJEXT) \
|
2008-04-07 10:51:33 +04:00
|
|
|
transcode.$(OBJEXT) \
|
2004-03-22 02:21:31 +03:00
|
|
|
util.$(OBJEXT) \
|
|
|
|
variable.$(OBJEXT) \
|
2013-05-15 11:56:39 +04:00
|
|
|
version.$(OBJEXT) \
|
2006-12-31 18:02:22 +03:00
|
|
|
compile.$(OBJEXT) \
|
|
|
|
debug.$(OBJEXT) \
|
|
|
|
iseq.$(OBJEXT) \
|
|
|
|
vm.$(OBJEXT) \
|
|
|
|
vm_dump.$(OBJEXT) \
|
2012-06-02 19:59:37 +04:00
|
|
|
vm_backtrace.$(OBJEXT) \
|
2012-08-15 08:39:10 +04:00
|
|
|
vm_trace.$(OBJEXT) \
|
2006-12-31 18:02:22 +03:00
|
|
|
thread.$(OBJEXT) \
|
2007-05-24 02:52:19 +04:00
|
|
|
cont.$(OBJEXT) \
|
2007-12-15 12:56:59 +03:00
|
|
|
$(BUILTIN_ENCOBJS) \
|
2008-08-24 19:58:43 +04:00
|
|
|
$(BUILTIN_TRANSOBJS) \
|
2004-03-22 02:21:31 +03:00
|
|
|
$(MISSING)
|
|
|
|
|
2012-11-23 19:00:12 +04:00
|
|
|
EXPORTOBJS = $(DLNOBJ) \
|
2013-07-14 21:47:25 +04:00
|
|
|
localeinit.$(OBJEXT) \
|
2013-05-15 11:56:39 +04:00
|
|
|
loadpath.$(OBJEXT) \
|
2007-11-12 10:49:36 +03:00
|
|
|
$(COMMONOBJS)
|
|
|
|
|
2009-08-09 11:37:22 +04:00
|
|
|
OBJS = $(EXPORTOBJS) prelude.$(OBJEXT)
|
2012-08-31 09:31:20 +04:00
|
|
|
ALLOBJS = $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT)
|
2009-08-09 11:37:22 +04:00
|
|
|
|
2007-12-25 10:04:30 +03:00
|
|
|
GOLFOBJS = goruby.$(OBJEXT) golf_prelude.$(OBJEXT)
|
|
|
|
|
2011-02-11 06:03:26 +03:00
|
|
|
PRELUDE_SCRIPTS = $(srcdir)/prelude.rb $(srcdir)/enc/prelude.rb $(DEFAULT_PRELUDES)
|
|
|
|
GEM_PRELUDE = $(srcdir)/gem_prelude.rb
|
2008-09-02 05:36:37 +04:00
|
|
|
PRELUDES = prelude.c miniprelude.c
|
|
|
|
GOLFPRELUDES = golf_prelude.c
|
2008-04-08 05:30:31 +04:00
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
|
2007-01-04 07:44:48 +03:00
|
|
|
--extout="$(EXTOUT)" \
|
2004-03-22 02:21:31 +03:00
|
|
|
--mflags="$(MFLAGS)" \
|
|
|
|
--make-flags="$(MAKEFLAGS)"
|
2008-12-15 09:02:27 +03:00
|
|
|
EXTMK_ARGS = $(SCRIPT_ARGS) --extension $(EXTS) --extstatic $(EXTSTATIC) \
|
2010-12-27 06:16:30 +03:00
|
|
|
--make-flags="V=$(V) MINIRUBY='$(MINIRUBY)'" --
|
2013-09-06 19:15:07 +04:00
|
|
|
INSTRUBY = $(SUDO) $(RUNRUBY) -r./$(arch)-fake $(srcdir)/tool/rbinstall.rb
|
2008-02-13 18:49:56 +03:00
|
|
|
INSTRUBY_ARGS = $(SCRIPT_ARGS) \
|
|
|
|
--data-mode=$(INSTALL_DATA_MODE) \
|
|
|
|
--prog-mode=$(INSTALL_PROG_MODE) \
|
2011-11-28 19:14:14 +04:00
|
|
|
--installed-list $(INSTALLED_LIST) \
|
|
|
|
--mantype="$(MANTYPE)"
|
2008-02-13 18:49:56 +03:00
|
|
|
INSTALL_PROG_MODE = 0755
|
|
|
|
INSTALL_DATA_MODE = 0644
|
2006-10-01 20:25:37 +04:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.unlink(ARGV[0]) rescue nil' -- \
|
|
|
|
$(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
TESTSDIR = $(srcdir)/test
|
|
|
|
TESTWORKDIR = testwork
|
|
|
|
|
2011-06-10 09:47:38 +04:00
|
|
|
TESTRUN_SCRIPT = $(srcdir)/test.rb
|
2008-12-12 13:35:31 +03:00
|
|
|
|
2007-06-24 10:52:59 +04:00
|
|
|
BOOTSTRAPRUBY = $(BASERUBY)
|
2007-02-24 13:39:30 +03:00
|
|
|
|
2010-02-08 10:23:13 +03:00
|
|
|
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb
|
2008-05-30 07:18:45 +04:00
|
|
|
|
2010-11-11 16:37:35 +03:00
|
|
|
all: showflags main docs
|
2009-02-24 13:01:08 +03:00
|
|
|
|
2012-05-16 09:39:06 +04:00
|
|
|
main: showflags $(EXTSTATIC:static=lib)encs exts
|
2011-03-08 03:33:05 +03:00
|
|
|
@$(NULLCMD)
|
2009-02-24 13:01:08 +03:00
|
|
|
|
2010-11-11 17:56:48 +03:00
|
|
|
.PHONY: showflags
|
2010-11-11 15:47:17 +03:00
|
|
|
exts enc trans: showflags
|
2010-11-11 17:56:48 +03:00
|
|
|
showflags:
|
2010-11-13 10:38:01 +03:00
|
|
|
$(MESSAGE_BEGIN) \
|
2011-01-10 15:34:15 +03:00
|
|
|
" CC = $(CC)" \
|
|
|
|
" LD = $(LD)" \
|
|
|
|
" LDSHARED = $(LDSHARED)" \
|
2010-11-13 10:38:01 +03:00
|
|
|
" CFLAGS = $(CFLAGS)" \
|
|
|
|
" XCFLAGS = $(XCFLAGS)" \
|
|
|
|
" CPPFLAGS = $(CPPFLAGS)" \
|
|
|
|
" DLDFLAGS = $(DLDFLAGS)" \
|
|
|
|
" SOLIBS = $(SOLIBS)" \
|
|
|
|
$(MESSAGE_END)
|
2013-03-22 11:57:09 +04:00
|
|
|
-@$(CC_VERSION)
|
2010-11-11 15:47:17 +03:00
|
|
|
|
2010-11-18 01:37:48 +03:00
|
|
|
.PHONY: showconfig
|
|
|
|
showconfig:
|
2013-02-09 19:16:15 +04:00
|
|
|
@$(ECHO_BEGIN) \
|
|
|
|
$(configure_args) \
|
|
|
|
$(ECHO_END)
|
2010-11-18 01:37:48 +03:00
|
|
|
|
2011-03-08 03:33:05 +03:00
|
|
|
exts: build-ext
|
|
|
|
|
|
|
|
EXTS_MK = exts.mk
|
2012-11-16 12:56:49 +04:00
|
|
|
$(EXTS_MK): $(MKFILES) all-incs $(PREP) $(RBCONFIG) $(LIBRUBY)
|
2012-05-16 09:39:06 +04:00
|
|
|
$(ECHO) generating makefile $@
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" --command-output=$(EXTS_MK) $(EXTMK_ARGS) configure
|
2011-03-08 03:33:05 +03:00
|
|
|
|
|
|
|
configure-ext: $(EXTS_MK)
|
|
|
|
|
|
|
|
build-ext: $(EXTS_MK)
|
2012-05-19 06:37:21 +04:00
|
|
|
$(Q)$(MAKE) -f $(EXTS_MK) $(MFLAGS) $(EXTSTATIC) LIBRUBY_EXTS=$(LIBRUBY_EXTS) ENCOBJS="$(ENCOBJS)"
|
2009-02-24 13:01:08 +03:00
|
|
|
|
2011-01-10 15:34:15 +03:00
|
|
|
prog: program wprogram
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2008-03-17 22:04:29 +03:00
|
|
|
$(PREP): $(MKFILES)
|
|
|
|
|
* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle
SolarisStudio 12.3 cc.
* configure.in (--enable-dtrace): new option to enable/disable
DTrace support. By default, trying to enable if dtrace command
is found on the system. It is disabled when cross compiling.
* configure.in (RUBY_DTRACE_POSTPROCESS): new macro. checks whether
the dtrace on the system needs postprocessing with "dtrace -G".
The postprocessing is needed on Solaris 10 and other platforms.
* configure.in (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether
the dtrace supports USDT.
* configure.in (DTRACE): move after RUBY_DTRACE_POSTPROCESS.
* configure.in (LD): On Solaris, /usr/ccs/bin/ld is preferred.
* configure.in, Makefile.in, common.mk (DTRACE_OBJ): new macro for
DTrace probe object generated by postprocessing with "dtrace -G".
* Makefile.in, common.mk (probes.$(OBJEXT)): DTrace probe object
generated by the postprocessing. New file probes.stamp is for
rebuilding related objects that may be modified by "dtrace -G".
* configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ): new
macro for DTrace static library hacks.
* configure.in, Makefile.in (LIBRUBY_A_OBJS): ditto.
* Makefile.in, common.mk (ruby-glommed.$(OBJEXT)): new target with
rule for DTrace static library hacks.
* common.mk (DTRACE_DEPENDENT_OBJS): objects depended on probes.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18 12:24:24 +04:00
|
|
|
miniruby$(EXEEXT): config.status $(ALLOBJS) $(ARCHFILE) $(DTRACE_OBJ)
|
2012-08-15 11:20:12 +04:00
|
|
|
|
|
|
|
objs: $(ALLOBJS)
|
2007-12-25 10:04:30 +03:00
|
|
|
|
|
|
|
GORUBY = go$(RUBY_INSTALL_NAME)
|
2010-01-05 08:59:23 +03:00
|
|
|
golf: $(LIBRUBY) $(GOLFOBJS) PHONY
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(MAKE) $(MFLAGS) MAINOBJ="$(GOLFOBJS)" PROGRAM=$(GORUBY)$(EXEEXT) program
|
2010-09-19 17:10:25 +04:00
|
|
|
capi: $(CAPIOUT)/.timestamp PHONY
|
2011-05-18 17:33:31 +04:00
|
|
|
|
2012-03-01 10:44:37 +04:00
|
|
|
$(CAPIOUT)/.timestamp: Doxyfile $(PREP)
|
|
|
|
$(Q) $(MAKEDIRS) "$(@D)"
|
2010-11-11 16:37:33 +03:00
|
|
|
$(ECHO) generating capi
|
2014-01-16 09:54:32 +04:00
|
|
|
-$(Q) $(DOXYGEN) -b
|
2012-03-01 10:44:37 +04:00
|
|
|
$(Q) $(MINIRUBY) -e 'File.open(ARGV[0], "w"){|f| f.puts(Time.now)}' "$@"
|
2007-12-25 10:04:30 +03:00
|
|
|
|
2009-06-29 19:34:05 +04:00
|
|
|
Doxyfile: $(srcdir)/template/Doxyfile.tmpl $(PREP) $(srcdir)/tool/generic_erb.rb $(RBCONFIG)
|
2010-11-11 16:37:33 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ $(srcdir)/template/Doxyfile.tmpl \
|
2013-11-28 08:56:08 +04:00
|
|
|
--srcdir="$(srcdir)" --miniruby="$(BASERUBY)"
|
2009-02-03 02:10:28 +03:00
|
|
|
|
2011-01-10 15:34:15 +03:00
|
|
|
program: showflags $(PROGRAM)
|
|
|
|
wprogram: showflags $(WPROGRAM)
|
2013-08-08 09:54:08 +04:00
|
|
|
mini: PHONY miniruby$(EXEEXT)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2012-10-17 16:20:57 +04:00
|
|
|
$(PROGRAM) $(WPROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle
SolarisStudio 12.3 cc.
* configure.in (--enable-dtrace): new option to enable/disable
DTrace support. By default, trying to enable if dtrace command
is found on the system. It is disabled when cross compiling.
* configure.in (RUBY_DTRACE_POSTPROCESS): new macro. checks whether
the dtrace on the system needs postprocessing with "dtrace -G".
The postprocessing is needed on Solaris 10 and other platforms.
* configure.in (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether
the dtrace supports USDT.
* configure.in (DTRACE): move after RUBY_DTRACE_POSTPROCESS.
* configure.in (LD): On Solaris, /usr/ccs/bin/ld is preferred.
* configure.in, Makefile.in, common.mk (DTRACE_OBJ): new macro for
DTrace probe object generated by postprocessing with "dtrace -G".
* Makefile.in, common.mk (probes.$(OBJEXT)): DTrace probe object
generated by the postprocessing. New file probes.stamp is for
rebuilding related objects that may be modified by "dtrace -G".
* configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ): new
macro for DTrace static library hacks.
* configure.in, Makefile.in (LIBRUBY_A_OBJS): ditto.
* Makefile.in, common.mk (ruby-glommed.$(OBJEXT)): new target with
rule for DTrace static library hacks.
* common.mk (DTRACE_DEPENDENT_OBJS): objects depended on probes.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18 12:24:24 +04:00
|
|
|
$(LIBRUBY_A): $(OBJS) $(MAINOBJ) $(DTRACE_OBJ) $(DTRACE_GLOMMED_OBJ) $(DMYEXT) $(ARCHFILE)
|
2007-11-10 13:50:58 +03:00
|
|
|
|
2008-03-16 11:31:00 +03:00
|
|
|
$(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(LIBRUBY_SO_UPDATE) $(BUILTIN_ENCOBJS)
|
2006-10-01 19:00:45 +04:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
$(LIBRUBY_EXTS):
|
|
|
|
@exit > $@
|
|
|
|
|
|
|
|
$(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $@
|
2007-01-04 07:44:48 +03:00
|
|
|
$(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2013-12-08 15:33:59 +04:00
|
|
|
ruby.imp: $(COMMONOBJS)
|
|
|
|
$(Q)$(NM) -Pgp $(COMMONOBJS) | \
|
2009-10-10 13:19:05 +04:00
|
|
|
awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|.*_threadptr_|\.)/{print $$1}' | \
|
2009-09-27 20:26:31 +04:00
|
|
|
sort -u -o $@
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2009-09-16 11:20:19 +04:00
|
|
|
install: install-$(INSTALLDOC)
|
|
|
|
docs: $(DOCTARGETS)
|
2010-10-26 07:47:15 +04:00
|
|
|
pkgconfig-data: $(ruby_pc)
|
|
|
|
$(ruby_pc): $(srcdir)/template/ruby.pc.in config.status
|
2009-09-15 01:24:39 +04:00
|
|
|
|
2010-01-09 08:21:26 +03:00
|
|
|
install-all: docs pre-install-all do-install-all post-install-all
|
2009-09-16 11:20:19 +04:00
|
|
|
pre-install-all:: pre-install-local pre-install-ext pre-install-doc
|
2012-06-05 17:08:47 +04:00
|
|
|
do-install-all: all
|
2009-09-15 01:24:39 +04:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=all --rdoc-output="$(RDOCOUT)"
|
2009-09-16 11:20:19 +04:00
|
|
|
post-install-all:: post-install-local post-install-ext post-install-doc
|
2009-09-15 01:24:39 +04:00
|
|
|
@$(NULLCMD)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
|
|
|
|
pre-install-nodoc:: pre-install-local pre-install-ext
|
2012-06-05 17:08:47 +04:00
|
|
|
do-install-nodoc: main
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS)
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-nodoc:: post-install-local post-install-ext
|
2005-03-03 12:44:33 +03:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
install-local: pre-install-local do-install-local post-install-local
|
|
|
|
pre-install-local:: pre-install-bin pre-install-lib pre-install-man
|
2012-05-28 08:35:36 +04:00
|
|
|
do-install-local: $(PROGRAM)
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-local:: post-install-bin post-install-lib post-install-man
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
install-ext: pre-install-ext do-install-ext post-install-ext
|
|
|
|
pre-install-ext:: pre-install-ext-arch pre-install-ext-comm
|
2012-05-28 08:35:36 +04:00
|
|
|
do-install-ext: exts
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2012-06-05 17:08:47 +04:00
|
|
|
do-install-arch: main
|
2013-08-08 19:15:44 +04:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=arch
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
do-install-comm: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=lib --install=ext-comm --install=man
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2012-05-28 08:35:36 +04:00
|
|
|
do-install-bin: $(PROGRAM)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=bin
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-bin::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-lib: pre-install-lib do-install-lib post-install-lib
|
|
|
|
pre-install-lib:: install-prereq
|
2008-06-17 13:41:05 +04:00
|
|
|
do-install-lib: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=lib
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2012-05-28 08:35:36 +04:00
|
|
|
do-install-ext-comm: exts
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext-comm
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2012-05-28 08:35:36 +04:00
|
|
|
do-install-ext-arch: exts
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext-arch
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-ext-arch::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
|
|
|
install-man: pre-install-man do-install-man post-install-man
|
|
|
|
pre-install-man:: install-prereq
|
2008-06-17 13:41:05 +04:00
|
|
|
do-install-man: $(PREP)
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-man::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
2008-12-22 16:19:08 +03:00
|
|
|
install-capi: capi pre-install-capi do-install-capi post-install-capi
|
|
|
|
pre-install-capi:: install-prereq
|
|
|
|
do-install-capi: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=capi
|
2008-12-22 16:19:08 +03:00
|
|
|
post-install-capi::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
what-where: no-install
|
2009-09-16 11:20:19 +04:00
|
|
|
no-install: no-install-$(INSTALLDOC)
|
2007-01-04 07:44:48 +03:00
|
|
|
what-where-all: no-install-all
|
2009-09-16 11:20:19 +04:00
|
|
|
no-install-all: pre-no-install-all dont-install-all post-no-install-all
|
|
|
|
pre-no-install-all:: pre-no-install-local pre-no-install-ext pre-no-install-doc
|
|
|
|
dont-install-all: $(PROGRAM)
|
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=all --rdoc-output="$(RDOCOUT)"
|
|
|
|
post-no-install-all:: post-no-install-local post-no-install-ext post-no-install-doc
|
|
|
|
@$(NULLCMD)
|
2007-01-04 07:44:48 +03:00
|
|
|
|
2013-02-20 16:49:43 +04:00
|
|
|
uninstall: $(INSTALLED_LIST)
|
|
|
|
$(Q)$(SUDO) $(MINIRUBY) $(srcdir)/tool/rbuninstall.rb --destdir=$(DESTDIR) $(INSTALLED_LIST)
|
|
|
|
|
2013-03-07 05:39:10 +04:00
|
|
|
reinstall: uninstall install
|
|
|
|
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-nodoc: $(PREP)
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS)
|
2007-01-04 07:44:48 +03:00
|
|
|
post-no-install-nodoc:: post-no-install-local post-no-install-ext
|
2006-09-16 11:06:57 +04:00
|
|
|
|
2006-12-31 18:02:22 +03:00
|
|
|
what-where-local: no-install-local
|
2007-01-04 07:44:48 +03: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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-local: $(PREP)
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local
|
2007-01-04 07:44:48 +03:00
|
|
|
post-no-install-local:: post-no-install-bin post-no-install-lib post-no-install-man
|
2006-09-17 12:43:19 +04:00
|
|
|
|
2007-01-04 07:44:48 +03: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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-ext: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-arch: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=bin --install=ext-arch
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-comm: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=lib --install=ext-comm --install=man
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-bin: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=bin
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-lib: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=lib
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-ext-comm: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext-comm
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-ext-arch: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=ext-arch
|
2007-01-04 07:44:48 +03:00
|
|
|
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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-man: $(PREP)
|
2011-11-28 19:14:14 +04:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man
|
2007-01-04 07:44:48 +03:00
|
|
|
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 18:02:22 +03:00
|
|
|
do-install-doc: $(PROGRAM)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"
|
2007-01-04 07:44:48 +03:00
|
|
|
post-install-doc::
|
|
|
|
@$(NULLCMD)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-01-18 06:18:31 +04:00
|
|
|
install-gem: pre-install-gem do-install-gem post-install-gem
|
|
|
|
pre-install-gem:: pre-install-bin pre-install-lib pre-install-man
|
|
|
|
do-install-gem: $(PROGRAM)
|
|
|
|
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=gem
|
|
|
|
post-install-gem::
|
|
|
|
@$(NULLCMD)
|
|
|
|
|
2010-05-10 02:02:37 +04:00
|
|
|
rdoc: PHONY main
|
2007-01-04 07:44:48 +03:00
|
|
|
@echo Generating RDoc documentation
|
2012-12-11 11:57:56 +04:00
|
|
|
$(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --ri --op "$(RDOCOUT)" --debug $(RDOCFLAGS) "$(srcdir)"
|
2011-05-18 17:33:31 +04:00
|
|
|
|
2011-05-10 05:54:34 +04:00
|
|
|
rdoc-coverage: PHONY main
|
|
|
|
@echo Generating RDoc coverage report
|
2012-11-27 12:54:03 +04:00
|
|
|
$(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --encoding=UTF-8 --all --quiet -C $(RDOCFLAGS) "$(srcdir)"
|
2011-05-18 17:33:31 +04:00
|
|
|
|
2013-05-21 11:36:34 +04:00
|
|
|
RDOCBENCHOUT=/tmp/rdocbench
|
|
|
|
|
2013-06-20 10:18:09 +04:00
|
|
|
GCBENCH_ITEM=null
|
2013-06-20 03:15:56 +04:00
|
|
|
|
2013-06-20 10:18:09 +04:00
|
|
|
gcbench: PHONY
|
|
|
|
$(Q) $(XRUBY) "$(srcdir)/benchmark/gc/gcbench.rb" $(GCBENCH_ITEM)
|
2013-05-21 11:36:34 +04:00
|
|
|
|
2013-06-20 10:18:09 +04:00
|
|
|
gcbench-rdoc: PHONY
|
|
|
|
$(Q) $(XRUBY) "$(srcdir)/benchmark/gc/gcbench.rb" rdoc
|
2013-06-20 03:15:56 +04:00
|
|
|
|
2009-09-14 06:23:47 +04:00
|
|
|
nodoc: PHONY
|
2006-09-17 12:43:19 +04:00
|
|
|
|
2007-01-04 07:44:48 +03: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
|
2008-06-17 13:41:05 +04:00
|
|
|
dont-install-doc:: $(PREP)
|
2009-01-07 11:13:07 +03:00
|
|
|
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"
|
2007-01-04 07:44:48 +03:00
|
|
|
post-no-install-doc::
|
|
|
|
@$(NULLCMD)
|
2006-09-17 12:43:19 +04:00
|
|
|
|
2007-03-13 03:24:58 +03:00
|
|
|
CLEAR_INSTALLED_LIST = clear-installed-list
|
|
|
|
|
2013-09-06 19:15:07 +04:00
|
|
|
install-prereq: $(CLEAR_INSTALLED_LIST) yes-fake PHONY
|
2007-03-13 03:24:58 +03:00
|
|
|
|
2009-05-14 05:52:10 +04:00
|
|
|
clear-installed-list: PHONY
|
2010-06-26 06:56:41 +04:00
|
|
|
@> $(INSTALLED_LIST) set MAKE="$(MAKE)"
|
2005-03-03 12:44:33 +03:00
|
|
|
|
2012-02-28 19:51:25 +04:00
|
|
|
clean: clean-ext clean-local clean-enc clean-golf clean-rdoc clean-capi clean-extout clean-platform
|
2009-05-14 05:52:10 +04:00
|
|
|
clean-local:: PHONY
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
|
|
|
$(Q)$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
|
2012-11-19 10:11:36 +04:00
|
|
|
$(Q)$(RM) y.tab.c y.output encdb.h transdb.h prelude.c config.log rbconfig.rb $(ruby_pc) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT)
|
2009-05-14 05:52:10 +04:00
|
|
|
clean-ext:: PHONY
|
|
|
|
clean-golf: PHONY
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
|
2009-05-14 05:52:10 +04:00
|
|
|
clean-rdoc: PHONY
|
2010-09-19 17:10:25 +04:00
|
|
|
clean-capi: PHONY
|
2012-02-28 19:51:25 +04:00
|
|
|
clean-platform: PHONY
|
2009-05-14 05:52:10 +04:00
|
|
|
clean-extout: PHONY
|
2010-09-19 17:10:25 +04:00
|
|
|
clean-docs: clean-rdoc clean-capi
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2012-02-28 19:51:25 +04:00
|
|
|
distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout distclean-platform
|
2004-03-22 02:21:31 +03:00
|
|
|
distclean-local:: clean-local
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $(MKFILES) yasmdata.rb *.inc
|
2013-02-25 11:47:21 +04:00
|
|
|
$(Q)$(RM) config.cache config.status config.status.lineno
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP)
|
2009-05-14 05:52:10 +04:00
|
|
|
distclean-ext:: PHONY
|
2008-09-01 20:51:06 +04:00
|
|
|
distclean-golf: clean-golf
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $(GOLFPRELUDES)
|
2009-05-14 05:52:10 +04:00
|
|
|
distclean-rdoc: PHONY
|
2010-09-19 17:10:25 +04:00
|
|
|
distclean-capi: PHONY
|
2009-01-25 05:23:47 +03:00
|
|
|
distclean-extout: clean-extout
|
2012-02-28 19:51:25 +04:00
|
|
|
distclean-platform: clean-platform
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2009-01-25 05:23:47 +03:00
|
|
|
realclean:: realclean-ext realclean-local realclean-enc realclean-golf realclean-extout
|
2007-06-15 17:31:54 +04:00
|
|
|
realclean-local:: distclean-local
|
2013-02-25 11:47:21 +04:00
|
|
|
$(Q)$(RM) parse.c parse.h lex.c newline.c miniprelude.c revision.h
|
2013-05-02 19:22:27 +04:00
|
|
|
realclean-ext:: PHONY
|
2008-09-01 20:51:06 +04:00
|
|
|
realclean-golf: distclean-golf
|
2010-09-19 17:10:25 +04:00
|
|
|
realclean-capi: PHONY
|
2009-01-25 05:23:47 +03:00
|
|
|
realclean-extout: distclean-extout
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2012-03-02 11:37:58 +04:00
|
|
|
clean-ext distclean-ext realclean-ext::
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) $(EXTS_MK)
|
2013-05-02 19:22:27 +04:00
|
|
|
$(Q)$(RM) $(EXTOUT)/.timestamp/.*.time
|
2012-03-02 11:37:58 +04:00
|
|
|
|
2010-06-14 21:32:03 +04:00
|
|
|
clean-enc distclean-enc realclean-enc: PHONY
|
2009-01-27 05:03:54 +03:00
|
|
|
|
2012-02-25 11:58:14 +04:00
|
|
|
check: main test test-all
|
2011-12-23 01:06:23 +04:00
|
|
|
$(ECHO) check succeeded
|
2009-09-14 05:56:41 +04:00
|
|
|
check-ruby: test test-ruby
|
2005-03-31 03:26:00 +04:00
|
|
|
|
2013-01-07 10:23:15 +04:00
|
|
|
fake: $(CROSS_COMPILING)-fake
|
|
|
|
yes-fake: $(arch)-fake.rb $(RBCONFIG) PHONY
|
|
|
|
no-fake: PHONY
|
|
|
|
|
2012-02-17 06:50:22 +04:00
|
|
|
btest: $(TEST_RUNNABLE)-btest
|
2009-07-20 06:13:00 +04:00
|
|
|
no-btest: PHONY
|
2013-01-04 13:04:58 +04:00
|
|
|
yes-btest: fake miniruby$(EXEEXT) PHONY
|
2013-09-20 18:24:10 +04:00
|
|
|
$(BOOTSTRAPRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(BTESTRUBY) $(RUN_OPTS)" $(OPTS) $(TESTOPTS)
|
2007-02-24 13:39:30 +03:00
|
|
|
|
2012-02-17 06:50:22 +04:00
|
|
|
btest-ruby: $(TEST_RUNNABLE)-btest-ruby
|
2009-07-20 06:13:00 +04:00
|
|
|
no-btest-ruby: PHONY
|
2012-02-17 06:50:22 +04:00
|
|
|
yes-btest-ruby: prog PHONY
|
2013-09-20 18:24:10 +04:00
|
|
|
$(Q)$(RUNRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(PROGRAM) -I$(srcdir)/lib $(RUN_OPTS)" -q $(OPTS) $(TESTOPTS)
|
2007-08-08 06:02:45 +04:00
|
|
|
|
2012-02-17 06:50:22 +04:00
|
|
|
test-sample: $(TEST_RUNNABLE)-test-sample
|
2009-07-20 06:13:00 +04:00
|
|
|
no-test-sample: PHONY
|
2012-02-17 06:50:22 +04:00
|
|
|
yes-test-sample: prog PHONY
|
2013-10-03 08:42:55 +04:00
|
|
|
$(Q)$(RUNRUBY) $(srcdir)/tool/rubytest.rb --run-opt=$(RUN_OPTS) $(OPTS) $(TESTOPTS)
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2010-07-01 08:00:56 +04:00
|
|
|
test-knownbugs: test-knownbug
|
2012-02-17 06:50:22 +04:00
|
|
|
test-knownbug: $(TEST_RUNNABLE)-test-knownbug
|
2009-07-20 06:13:00 +04:00
|
|
|
no-test-knownbug: PHONY
|
2012-02-17 06:50:22 +04:00
|
|
|
yes-test-knownbug: prog PHONY
|
2013-09-20 18:24:10 +04:00
|
|
|
-$(RUNRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(PROGRAM) $(RUN_OPTS)" $(OPTS) $(TESTOPTS) $(srcdir)/KNOWNBUGS.rb
|
2008-06-09 16:10:43 +04:00
|
|
|
|
2008-09-25 16:04:34 +04:00
|
|
|
test: test-sample btest-ruby test-knownbug
|
2007-08-08 06:02:45 +04:00
|
|
|
|
2009-07-20 06:13:00 +04:00
|
|
|
test-all: $(TEST_RUNNABLE)-test-all
|
2012-02-25 11:58:14 +04:00
|
|
|
yes-test-all: prog PHONY
|
2012-05-30 05:24:05 +04:00
|
|
|
$(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TESTOPTS) $(TESTS)
|
2010-12-06 16:55:15 +03:00
|
|
|
TESTS_BUILD = mkmf
|
2010-12-06 17:47:54 +03:00
|
|
|
no-test-all: PHONY
|
2012-05-30 05:24:05 +04:00
|
|
|
$(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTOPTS) $(TESTS_BUILD)
|
2010-12-06 16:55:15 +03:00
|
|
|
|
2009-09-14 05:56:41 +04:00
|
|
|
test-ruby: $(TEST_RUNNABLE)-test-ruby
|
|
|
|
no-test-ruby: PHONY
|
2012-02-22 05:18:09 +04:00
|
|
|
yes-test-ruby: prog encs PHONY
|
2012-08-16 09:33:03 +04:00
|
|
|
$(RUNRUBY) "$(srcdir)/test/runner.rb" -q $(TESTOPTS) -- ruby -ext-
|
2009-09-14 05:56:41 +04:00
|
|
|
|
2008-06-17 13:41:05 +04:00
|
|
|
extconf: $(PREP)
|
2010-11-17 12:38:38 +03:00
|
|
|
$(Q) $(MAKEDIRS) "$(EXTCONFDIR)"
|
2004-03-22 02:21:31 +03:00
|
|
|
$(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS)
|
|
|
|
|
2010-10-08 05:52:37 +04:00
|
|
|
$(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h $(PREP)
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(MINIRUBY) $(srcdir)/tool/mkconfig.rb -timestamp=$@ \
|
2004-03-22 02:21:31 +03:00
|
|
|
-install_name=$(RUBY_INSTALL_NAME) \
|
|
|
|
-so_name=$(RUBY_SO_NAME) rbconfig.rb
|
|
|
|
|
2010-08-16 07:29:08 +04:00
|
|
|
test-rubyspec-precheck:
|
|
|
|
|
|
|
|
test-rubyspec: test-rubyspec-precheck
|
|
|
|
$(RUNRUBY) $(srcdir)/spec/mspec/bin/mspec run -B $(srcdir)/spec/default.mspec $(MSPECOPT)
|
|
|
|
|
2012-07-03 06:16:08 +04:00
|
|
|
RUNNABLE = $(LIBRUBY_RELATIVE:no=un)-runnable
|
|
|
|
runnable: $(RUNNABLE) prog $(srcdir)/tool/mkrunnable.rb PHONY
|
|
|
|
$(Q) $(MINIRUBY) $(srcdir)/tool/mkrunnable.rb -v $(EXTOUT)
|
|
|
|
yes-runnable: PHONY
|
|
|
|
|
2008-10-24 09:13:18 +04:00
|
|
|
encs: enc trans
|
2012-05-16 09:39:06 +04:00
|
|
|
libencs: libenc libtrans
|
|
|
|
encs enc trans libencs libenc libtrans: showflags $(ENC_MK) $(LIBRUBY) $(PREP)
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) making $@
|
2012-05-16 09:39:06 +04:00
|
|
|
$(Q) $(MAKE) -f $(ENC_MK) V="$(V)" \
|
|
|
|
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" \
|
|
|
|
$(MFLAGS) $@
|
2008-10-16 09:34:25 +04:00
|
|
|
|
2012-05-16 09:39:06 +04:00
|
|
|
|
|
|
|
libenc enc: {$(VPATH)}encdb.h
|
|
|
|
libtrans trans: {$(VPATH)}transdb.h
|
2007-12-17 11:47:28 +03:00
|
|
|
|
2008-09-26 12:06:59 +04:00
|
|
|
$(ENC_MK): $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/depend \
|
2012-05-16 09:39:06 +04:00
|
|
|
$(srcdir)/enc/encinit.c.erb $(srcdir)/lib/mkmf.rb $(RBCONFIG)
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2012-05-16 09:39:06 +04:00
|
|
|
$(Q) $(MINIRUBY) $(srcdir)/enc/make_encmake.rb --builtin-encs="$(BUILTIN_ENCOBJS)" --builtin-transes="$(BUILTIN_TRANSOBJS)" --module$(EXTSTATIC) $@ $(ENCS)
|
2007-12-17 11:47:28 +03:00
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
.PRECIOUS: $(MKFILES)
|
|
|
|
|
2009-05-14 05:52:10 +04:00
|
|
|
.PHONY: PHONY all fake prereq incs srcs preludes help
|
2007-02-27 18:12:18 +03:00
|
|
|
.PHONY: test install install-nodoc install-doc dist
|
2009-05-14 05:52:10 +04:00
|
|
|
.PHONY: loadpath golf capi rdoc install-prereq clear-installed-list
|
|
|
|
.PHONY: clean clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout
|
|
|
|
.PHONY: distclean distclean-ext distclean-local distclean-enc distclean-golf distclean-extout
|
|
|
|
.PHONY: realclean realclean-ext realclean-local realclean-enc realclean-golf realclean-extout
|
|
|
|
.PHONY: check test test-all btest btest-ruby test-sample test-knownbug
|
|
|
|
.PHONY: run runruby parse benchmark benchmark-each tbench gdb gdb-ruby
|
|
|
|
.PHONY: update-mspec update-rubyspec test-rubyspec
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
PHONY:
|
|
|
|
|
2012-09-05 09:29:46 +04:00
|
|
|
{$(VPATH)}parse.c: {$(VPATH)}parse.y $(srcdir)/tool/ytab.sed {$(VPATH)}id.h
|
|
|
|
{$(VPATH)}parse.h: {$(VPATH)}parse.c
|
2004-03-22 02:21:31 +03:00
|
|
|
|
2007-11-13 20:50:33 +03:00
|
|
|
{$(srcdir)}.y.c:
|
2012-05-01 10:37:24 +04:00
|
|
|
$(ECHO) generating $@
|
2013-04-11 15:03:21 +04:00
|
|
|
$(Q)$(BASERUBY) $(srcdir)/tool/id2token.rb --path-separator=.$(PATH_SEPARATOR)./ --vpath=$(VPATH) id.h $(SRC_FILE) > parse.tmp.y
|
2012-08-31 09:31:20 +04:00
|
|
|
$(Q)$(YACC) -d $(YFLAGS) -o y.tab.c parse.tmp.y
|
|
|
|
$(Q)$(RM) parse.tmp.y
|
|
|
|
$(Q)sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!parse\.tmp\.[iy]!parse.y!" -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(MV) $@.new $@
|
2012-08-31 09:31:20 +04:00
|
|
|
$(Q)sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse.*\.y/d" y.tab.h > $(@:.c=.h)
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(RM) y.tab.c y.tab.h
|
2007-11-13 15:41:41 +03:00
|
|
|
|
2013-04-11 16:03:23 +04:00
|
|
|
$(PLATFORM_D):
|
|
|
|
$(Q) $(MAKEDIRS) $(PLATFORM_DIR)
|
|
|
|
@exit > $@
|
|
|
|
|
|
|
|
###
|
vm*: doubly-linked list from ccan to manage vm->living_threads
A doubly-linked list for tracking living threads guarantees
constant-time insert/delete performance with no corner cases of a
hash table. I chose this ccan implementation of doubly-linked
lists over the BSD sys/queue.h implementation since:
1) insertion and removal are both branchless
2) locality is improved if a struct may be a member of multiple lists
(0002 patch in Feature 9632 will introduce a secondary list
for waiting FDs)
This also increases cache locality during iteration: improving
performance in a new IO#close benchmark with many sleeping threads
while still scanning the same number of threads.
vm_thread_close 1.762
* vm_core.h (rb_vm_t): list_head and counter for living_threads
(rb_thread_t): vmlt_node for living_threads linkage
(rb_vm_living_threads_init): new function wrapper
(rb_vm_living_threads_insert): ditto
(rb_vm_living_threads_remove): ditto
* vm.c (rb_vm_living_threads_foreach): new function wrapper
* thread.c (terminate_i, thread_start_func_2, thread_create_core,
thread_fd_close_i, thread_fd_close): update to use new APIs
* vm.c (vm_mark_each_thread_func, rb_vm_mark, ruby_vm_destruct,
vm_memsize, vm_init2, Init_VM): ditto
* vm_trace.c (clear_trace_func_i, rb_clear_trace_func): ditto
* benchmark/bm_vm_thread_close.rb: added to show improvement
* ccan/build_assert/build_assert.h: added as a dependency of list.h
* ccan/check_type/check_type.h: ditto
* ccan/container_of/container_of.h: ditto
* ccan/licenses/BSD-MIT: ditto
* ccan/licenses/CC0: ditto
* ccan/str/str.h: ditto (stripped of unused macros)
* ccan/list/list.h: ditto
* common.mk: add CCAN_LIST_INCLUDES
[ruby-core:61871][Feature 9632 (part 1)]
Apologies for the size of this commit, but I think a good
doubly-linked list will be useful for future features, too.
This may be used to add ordering to a container_of-based hash
table to preserve compatibility if required (e.g. feature 9614).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-11 03:48:51 +04:00
|
|
|
CCAN_DIR = {$(VPATH)}ccan
|
|
|
|
CCAN_LIST_INCLUDES = $(CCAN_DIR)/build_assert/build_assert.h \
|
|
|
|
$(CCAN_DIR)/check_type/check_type.h \
|
|
|
|
$(CCAN_DIR)/container_of/container_of.h \
|
|
|
|
$(CCAN_DIR)/list/list.h \
|
|
|
|
$(CCAN_DIR)/str/str.h
|
2013-04-11 16:03:23 +04:00
|
|
|
|
|
|
|
RUBY_H_INCLUDES = {$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}defines.h \
|
|
|
|
{$(VPATH)}intern.h {$(VPATH)}missing.h {$(VPATH)}st.h \
|
|
|
|
{$(VPATH)}subst.h
|
|
|
|
ENCODING_H_INCLUDES= {$(VPATH)}encoding.h {$(VPATH)}oniguruma.h
|
|
|
|
PROBES_H_INCLUDES = {$(VPATH)}probes.h
|
|
|
|
VM_CORE_H_INCLUDES = {$(VPATH)}vm_core.h {$(VPATH)}thread_$(THREAD_MODEL).h \
|
|
|
|
{$(VPATH)}node.h {$(VPATH)}method.h {$(VPATH)}ruby_atomic.h \
|
vm*: doubly-linked list from ccan to manage vm->living_threads
A doubly-linked list for tracking living threads guarantees
constant-time insert/delete performance with no corner cases of a
hash table. I chose this ccan implementation of doubly-linked
lists over the BSD sys/queue.h implementation since:
1) insertion and removal are both branchless
2) locality is improved if a struct may be a member of multiple lists
(0002 patch in Feature 9632 will introduce a secondary list
for waiting FDs)
This also increases cache locality during iteration: improving
performance in a new IO#close benchmark with many sleeping threads
while still scanning the same number of threads.
vm_thread_close 1.762
* vm_core.h (rb_vm_t): list_head and counter for living_threads
(rb_thread_t): vmlt_node for living_threads linkage
(rb_vm_living_threads_init): new function wrapper
(rb_vm_living_threads_insert): ditto
(rb_vm_living_threads_remove): ditto
* vm.c (rb_vm_living_threads_foreach): new function wrapper
* thread.c (terminate_i, thread_start_func_2, thread_create_core,
thread_fd_close_i, thread_fd_close): update to use new APIs
* vm.c (vm_mark_each_thread_func, rb_vm_mark, ruby_vm_destruct,
vm_memsize, vm_init2, Init_VM): ditto
* vm_trace.c (clear_trace_func_i, rb_clear_trace_func): ditto
* benchmark/bm_vm_thread_close.rb: added to show improvement
* ccan/build_assert/build_assert.h: added as a dependency of list.h
* ccan/check_type/check_type.h: ditto
* ccan/container_of/container_of.h: ditto
* ccan/licenses/BSD-MIT: ditto
* ccan/licenses/CC0: ditto
* ccan/str/str.h: ditto (stripped of unused macros)
* ccan/list/list.h: ditto
* common.mk: add CCAN_LIST_INCLUDES
[ruby-core:61871][Feature 9632 (part 1)]
Apologies for the size of this commit, but I think a good
doubly-linked list will be useful for future features, too.
This may be used to add ordering to a container_of-based hash
table to preserve compatibility if required (e.g. feature 9614).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-11 03:48:51 +04:00
|
|
|
{$(VPATH)}vm_debug.h {$(VPATH)}id.h {$(VPATH)}thread_native.h \
|
|
|
|
$(CCAN_LIST_INCLUDES)
|
2013-04-11 16:03:23 +04:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2004-03-22 02:21:31 +03:00
|
|
|
acosh.$(OBJEXT): {$(VPATH)}acosh.c
|
2008-01-03 06:24:21 +03:00
|
|
|
alloca.$(OBJEXT): {$(VPATH)}alloca.c {$(VPATH)}config.h
|
2004-03-22 02:21:31 +03:00
|
|
|
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
|
2013-04-11 18:42:33 +04:00
|
|
|
setproctitle.$(OBJEXT): {$(VPATH)}setproctitle.c {$(VPATH)}util.h $(RUBY_H_INCLUDES) $(hdrdir)/ruby.h
|
2004-03-22 02:21:31 +03:00
|
|
|
strchr.$(OBJEXT): {$(VPATH)}strchr.c
|
|
|
|
strdup.$(OBJEXT): {$(VPATH)}strdup.c
|
|
|
|
strerror.$(OBJEXT): {$(VPATH)}strerror.c
|
2012-06-22 16:05:11 +04:00
|
|
|
strlcat.$(OBJEXT): {$(VPATH)}strlcat.c
|
|
|
|
strlcpy.$(OBJEXT): {$(VPATH)}strlcpy.c
|
2004-03-22 02:21:31 +03:00
|
|
|
strstr.$(OBJEXT): {$(VPATH)}strstr.c
|
|
|
|
strtod.$(OBJEXT): {$(VPATH)}strtod.c
|
|
|
|
strtol.$(OBJEXT): {$(VPATH)}strtol.c
|
|
|
|
nt.$(OBJEXT): {$(VPATH)}nt.c
|
|
|
|
os2.$(OBJEXT): {$(VPATH)}os2.c
|
|
|
|
dl_os2.$(OBJEXT): {$(VPATH)}dl_os2.c
|
2007-01-04 07:44:48 +03:00
|
|
|
ia64.$(OBJEXT): {$(VPATH)}ia64.s
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
2004-03-22 02:21:31 +03:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2012-06-22 16:05:11 +04:00
|
|
|
addr2line.$(OBJEXT): {$(VPATH)}addr2line.c {$(VPATH)}addr2line.h {$(VPATH)}config.h
|
2011-06-18 03:15:47 +04:00
|
|
|
array.$(OBJEXT): {$(VPATH)}array.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}internal.h $(PROBES_H_INCLUDES) {$(VPATH)}id.h {$(VPATH)}vm_opts.h
|
2011-06-18 03:15:47 +04:00
|
|
|
bignum.$(OBJEXT): {$(VPATH)}bignum.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
2012-07-10 17:57:11 +04:00
|
|
|
{$(VPATH)}thread.h {$(VPATH)}internal.h
|
2009-08-30 09:13:42 +04:00
|
|
|
class.$(OBJEXT): {$(VPATH)}class.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}constant.h {$(VPATH)}vm_opts.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
compar.$(OBJEXT): {$(VPATH)}compar.c $(RUBY_H_INCLUDES)
|
2011-06-18 03:15:47 +04:00
|
|
|
complex.$(OBJEXT): {$(VPATH)}complex.c $(RUBY_H_INCLUDES) \
|
2013-04-11 18:42:33 +04:00
|
|
|
{$(VPATH)}internal.h $(hdrdir)/ruby.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
dir.$(OBJEXT): {$(VPATH)}dir.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
2011-06-18 03:15:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) \
|
|
|
|
{$(VPATH)}internal.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
dln.$(OBJEXT): {$(VPATH)}dln.c {$(VPATH)}dln.h $(RUBY_H_INCLUDES)
|
2010-05-16 09:41:50 +04:00
|
|
|
dln_find.$(OBJEXT): {$(VPATH)}dln_find.c {$(VPATH)}dln.h $(RUBY_H_INCLUDES)
|
2010-05-16 09:55:41 +04:00
|
|
|
dmydln.$(OBJEXT): {$(VPATH)}dmydln.c $(RUBY_H_INCLUDES)
|
2004-03-22 02:21:31 +03:00
|
|
|
dmyext.$(OBJEXT): {$(VPATH)}dmyext.c
|
2008-08-28 18:36:52 +04:00
|
|
|
encoding.$(OBJEXT): {$(VPATH)}encoding.c $(RUBY_H_INCLUDES) \
|
2011-06-18 03:15:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}regenc.h {$(VPATH)}util.h \
|
|
|
|
{$(VPATH)}internal.h
|
2008-09-25 19:00:39 +04:00
|
|
|
enum.$(OBJEXT): {$(VPATH)}enum.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}util.h {$(VPATH)}id.h {$(VPATH)}internal.h
|
2012-03-08 19:26:01 +04:00
|
|
|
enumerator.$(OBJEXT): {$(VPATH)}enumerator.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}node.h
|
2009-08-30 09:13:42 +04:00
|
|
|
error.$(OBJEXT): {$(VPATH)}error.c {$(VPATH)}known_errors.inc \
|
2010-05-16 08:55:29 +04:00
|
|
|
$(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) $(ENCODING_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2009-09-18 11:29:17 +04:00
|
|
|
eval.$(OBJEXT): {$(VPATH)}eval.c {$(VPATH)}eval_intern.h {$(VPATH)}vm.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) {$(VPATH)}eval_error.c \
|
2012-11-20 16:57:49 +04:00
|
|
|
{$(VPATH)}eval_jump.c {$(VPATH)}gc.h {$(VPATH)}iseq.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}internal.h $(PROBES_H_INCLUDES) {$(VPATH)}vm_opts.h {$(VPATH)}probes_helper.h
|
2007-12-20 12:29:46 +03:00
|
|
|
load.$(OBJEXT): {$(VPATH)}load.c {$(VPATH)}eval_intern.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}util.h $(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}dln.h {$(VPATH)}internal.h $(PROBES_H_INCLUDES) {$(VPATH)}vm_opts.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
file.$(OBJEXT): {$(VPATH)}file.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \
|
2011-06-18 03:15:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}util.h {$(VPATH)}dln.h \
|
|
|
|
{$(VPATH)}internal.h
|
2008-09-25 19:00:39 +04:00
|
|
|
gc.$(OBJEXT): {$(VPATH)}gc.c $(RUBY_H_INCLUDES) {$(VPATH)}re.h \
|
|
|
|
{$(VPATH)}regex.h $(ENCODING_H_INCLUDES) $(VM_CORE_H_INCLUDES) \
|
|
|
|
{$(VPATH)}gc.h {$(VPATH)}io.h {$(VPATH)}eval_intern.h {$(VPATH)}util.h \
|
2012-11-20 16:57:49 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}constant.h \
|
2013-05-27 01:30:44 +04:00
|
|
|
{$(VPATH)}thread.h $(PROBES_H_INCLUDES) {$(VPATH)}vm_opts.h {$(VPATH)}debug.h
|
2014-03-23 05:10:12 +04:00
|
|
|
hash.$(OBJEXT): {$(VPATH)}hash.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h {$(VPATH)}id.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}internal.h $(PROBES_H_INCLUDES) {$(VPATH)}vm_opts.h
|
2011-06-18 03:15:47 +04:00
|
|
|
inits.$(OBJEXT): {$(VPATH)}inits.c $(RUBY_H_INCLUDES) \
|
|
|
|
{$(VPATH)}internal.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
io.$(OBJEXT): {$(VPATH)}io.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \
|
2012-07-10 17:57:11 +04:00
|
|
|
{$(VPATH)}util.h $(ENCODING_H_INCLUDES) {$(VPATH)}dln.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}thread.h {$(VPATH)}id.h {$(VPATH)}ruby_atomic.h
|
2013-04-11 18:42:33 +04:00
|
|
|
main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h {$(VPATH)}vm_debug.h {$(VPATH)}vm_opts.h $(hdrdir)/ruby.h
|
2008-09-25 19:00:39 +04:00
|
|
|
marshal.$(OBJEXT): {$(VPATH)}marshal.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \
|
2011-05-18 17:41:54 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}util.h {$(VPATH)}internal.h
|
2011-06-18 03:15:47 +04:00
|
|
|
math.$(OBJEXT): {$(VPATH)}math.c $(RUBY_H_INCLUDES) \
|
|
|
|
{$(VPATH)}internal.h
|
2009-12-09 17:05:59 +03:00
|
|
|
node.$(OBJEXT): {$(VPATH)}node.c $(RUBY_H_INCLUDES) \
|
2013-10-28 07:43:17 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}vm_opts.h {$(VPATH)}internal.h
|
2009-08-30 09:13:42 +04:00
|
|
|
numeric.$(OBJEXT): {$(VPATH)}numeric.c $(RUBY_H_INCLUDES) \
|
2012-12-02 13:57:47 +04:00
|
|
|
{$(VPATH)}util.h $(ENCODING_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}id.h
|
2011-05-18 17:41:54 +04:00
|
|
|
object.$(OBJEXT): {$(VPATH)}object.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
2013-05-02 11:54:17 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}constant.h $(ENCODING_H_INCLUDES) $(PROBES_H_INCLUDES) \
|
|
|
|
{$(VPATH)}vm_opts.h {$(VPATH)}id.h
|
2009-08-30 09:13:42 +04:00
|
|
|
pack.$(OBJEXT): {$(VPATH)}pack.c $(RUBY_H_INCLUDES) {$(VPATH)}encoding.h \
|
2013-04-12 16:07:27 +04:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}internal.h
|
2009-08-30 09:13:42 +04:00
|
|
|
parse.$(OBJEXT): {$(VPATH)}parse.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h \
|
2012-12-02 13:57:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}id.h {$(VPATH)}regenc.h \
|
2009-08-30 09:13:42 +04:00
|
|
|
{$(VPATH)}regex.h {$(VPATH)}util.h {$(VPATH)}lex.c \
|
|
|
|
{$(VPATH)}defs/keywords {$(VPATH)}id.c {$(VPATH)}parse.y \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}parse.h {$(VPATH)}internal.h $(PROBES_H_INCLUDES) {$(VPATH)}vm_opts.h
|
2008-09-25 19:00:39 +04:00
|
|
|
proc.$(OBJEXT): {$(VPATH)}proc.c {$(VPATH)}eval_intern.h \
|
|
|
|
$(RUBY_H_INCLUDES) {$(VPATH)}gc.h $(VM_CORE_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}iseq.h {$(VPATH)}vm_opts.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
process.$(OBJEXT): {$(VPATH)}process.c $(RUBY_H_INCLUDES) \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}util.h {$(VPATH)}io.h $(ENCODING_H_INCLUDES) {$(VPATH)}dln.h \
|
2012-11-20 16:57:49 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}thread.h {$(VPATH)}vm_opts.h
|
2012-11-09 11:12:00 +04:00
|
|
|
random.$(OBJEXT): {$(VPATH)}random.c $(RUBY_H_INCLUDES) \
|
2013-06-08 01:01:42 +04:00
|
|
|
{$(VPATH)}siphash.c {$(VPATH)}siphash.h {$(VPATH)}internal.h
|
2008-09-25 19:00:39 +04:00
|
|
|
range.$(OBJEXT): {$(VPATH)}range.c $(RUBY_H_INCLUDES) \
|
2012-12-02 13:57:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}id.h
|
2013-04-11 18:42:33 +04:00
|
|
|
rational.$(OBJEXT): {$(VPATH)}rational.c $(RUBY_H_INCLUDES) {$(VPATH)}internal.h $(hdrdir)/ruby.h
|
2008-09-25 19:00:39 +04:00
|
|
|
re.$(OBJEXT): {$(VPATH)}re.c $(RUBY_H_INCLUDES) {$(VPATH)}re.h \
|
|
|
|
{$(VPATH)}regex.h $(ENCODING_H_INCLUDES) {$(VPATH)}util.h \
|
2011-06-18 03:15:47 +04:00
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}internal.h
|
2008-09-25 19:00:39 +04:00
|
|
|
regcomp.$(OBJEXT): {$(VPATH)}regcomp.c {$(VPATH)}regparse.h \
|
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}oniguruma.h \
|
|
|
|
$(RUBY_H_INCLUDES)
|
|
|
|
regenc.$(OBJEXT): {$(VPATH)}regenc.c {$(VPATH)}regint.h \
|
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h $(RUBY_H_INCLUDES)
|
2008-08-13 12:30:21 +04:00
|
|
|
regerror.$(OBJEXT): {$(VPATH)}regerror.c {$(VPATH)}regint.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h $(RUBY_H_INCLUDES)
|
2008-08-13 12:30:21 +04:00
|
|
|
regexec.$(OBJEXT): {$(VPATH)}regexec.c {$(VPATH)}regint.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h $(RUBY_H_INCLUDES)
|
2008-01-01 17:17:37 +03:00
|
|
|
regparse.$(OBJEXT): {$(VPATH)}regparse.c {$(VPATH)}regparse.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}regint.h {$(VPATH)}regenc.h {$(VPATH)}oniguruma.h \
|
|
|
|
$(RUBY_H_INCLUDES)
|
2008-08-13 12:30:21 +04:00
|
|
|
regsyntax.$(OBJEXT): {$(VPATH)}regsyntax.c {$(VPATH)}regint.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
{$(VPATH)}regenc.h {$(VPATH)}oniguruma.h $(RUBY_H_INCLUDES)
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
ruby.$(OBJEXT): {$(VPATH)}ruby.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}eval_intern.h $(VM_CORE_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}dln.h {$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2013-10-28 07:43:17 +04:00
|
|
|
safe.$(OBJEXT): {$(VPATH)}safe.c $(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) {$(VPATH)}vm_opts.h {$(VPATH)}internal.h
|
2008-09-25 19:00:39 +04:00
|
|
|
signal.$(OBJEXT): {$(VPATH)}signal.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}vm_opts.h {$(VPATH)}internal.h {$(VPATH)}ruby_atomic.h {$(VPATH)}eval_intern.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
sprintf.$(OBJEXT): {$(VPATH)}sprintf.c $(RUBY_H_INCLUDES) {$(VPATH)}re.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}regex.h {$(VPATH)}vsnprintf.c $(ENCODING_H_INCLUDES) {$(VPATH)}internal.h
|
2011-06-18 03:15:47 +04:00
|
|
|
st.$(OBJEXT): {$(VPATH)}st.c $(RUBY_H_INCLUDES)
|
|
|
|
strftime.$(OBJEXT): {$(VPATH)}strftime.c $(RUBY_H_INCLUDES) \
|
2012-06-22 16:05:11 +04:00
|
|
|
{$(VPATH)}timev.h $(ENCODING_H_INCLUDES)
|
2008-09-25 19:00:39 +04:00
|
|
|
string.$(OBJEXT): {$(VPATH)}string.c $(RUBY_H_INCLUDES) {$(VPATH)}re.h \
|
2014-02-05 08:58:00 +04:00
|
|
|
{$(VPATH)}regex.h $(ENCODING_H_INCLUDES) {$(VPATH)}internal.h $(PROBES_H_INCLUDES)
|
2011-05-18 17:41:54 +04:00
|
|
|
struct.$(OBJEXT): {$(VPATH)}struct.c $(RUBY_H_INCLUDES) {$(VPATH)}internal.h
|
2007-02-27 14:37:54 +03:00
|
|
|
thread.$(OBJEXT): {$(VPATH)}thread.c {$(VPATH)}eval_intern.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(RUBY_H_INCLUDES) {$(VPATH)}gc.h $(VM_CORE_H_INCLUDES) \
|
2012-11-20 16:57:49 +04:00
|
|
|
{$(VPATH)}thread_$(THREAD_MODEL).c $(ENCODING_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}io.h {$(VPATH)}thread.h {$(VPATH)}timev.h {$(VPATH)}vm_opts.h
|
2008-08-28 18:36:52 +04:00
|
|
|
transcode.$(OBJEXT): {$(VPATH)}transcode.c $(RUBY_H_INCLUDES) \
|
2011-06-18 03:15:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}transcode_data.h {$(VPATH)}internal.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
cont.$(OBJEXT): {$(VPATH)}cont.c $(RUBY_H_INCLUDES) \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}gc.h {$(VPATH)}eval_intern.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2008-09-25 19:00:39 +04:00
|
|
|
time.$(OBJEXT): {$(VPATH)}time.c $(RUBY_H_INCLUDES) \
|
2011-06-18 03:15:47 +04:00
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}timev.h {$(VPATH)}internal.h
|
2011-06-18 06:32:44 +04:00
|
|
|
util.$(OBJEXT): {$(VPATH)}util.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
|
|
|
|
{$(VPATH)}internal.h
|
2008-08-28 18:36:52 +04:00
|
|
|
variable.$(OBJEXT): {$(VPATH)}variable.c $(RUBY_H_INCLUDES) \
|
2013-05-02 11:54:17 +04:00
|
|
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}encoding.h {$(VPATH)}id.h \
|
2011-06-18 03:15:47 +04:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}internal.h {$(VPATH)}constant.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
version.$(OBJEXT): {$(VPATH)}version.c $(RUBY_H_INCLUDES) \
|
2013-05-15 11:56:39 +04:00
|
|
|
$(srcdir)/include/ruby/version.h $(srcdir)/version.h $(srcdir)/revision.h {$(VPATH)}config.h
|
|
|
|
loadpath.$(OBJEXT): {$(VPATH)}loadpath.c $(RUBY_H_INCLUDES) \
|
2013-06-17 12:08:25 +04:00
|
|
|
$(srcdir)/include/ruby/version.h $(srcdir)/version.h {$(VPATH)}config.h \
|
2012-03-27 17:44:25 +04:00
|
|
|
verconf.h
|
2013-07-14 21:47:25 +04:00
|
|
|
localeinit.$(OBJEXT): {$(VPATH)}localeinit.c $(RUBY_H_INCLUDES) \
|
|
|
|
$(ENCODING_H_INCLUDES) {$(VPATH)}internal.h
|
|
|
|
miniinit.$(OBJEXT): {$(VPATH)}miniinit.c $(RUBY_H_INCLUDES) \
|
|
|
|
$(ENCODING_H_INCLUDES)
|
2008-06-30 18:01:53 +04:00
|
|
|
|
* include/ruby/node.h, vm_core.h: move definition of
RUBY_VM_METHOD_NODE to node.h.
* class.c, common.mk: remove useless inclusion.
* compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
move some definitions from vm_core.h to iseq.h.
* compile.c, iseq.c, vm.c: ditto.
* eval.c, compile.c: move some functions for parser
from eval.c to compile.c.
* eval_intern.h, vm_core.h: move va_init_list() macro to
vm_core.h.
* iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
* load.c, ruby.c: use rb_iseq_new_top() instead of
rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
* proc.c: use rb_iseq_first_lineno() instead of accessing
iseq structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 11:49:45 +04:00
|
|
|
compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}iseq.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) {$(VPATH)}insns.inc \
|
2012-11-20 16:57:49 +04:00
|
|
|
{$(VPATH)}insns_info.inc {$(VPATH)}optinsn.inc \
|
2011-06-18 03:15:47 +04:00
|
|
|
{$(VPATH)}optunifs.inc {$(VPATH)}opt_sc.inc {$(VPATH)}insns.inc \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
* include/ruby/node.h, vm_core.h: move definition of
RUBY_VM_METHOD_NODE to node.h.
* class.c, common.mk: remove useless inclusion.
* compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
move some definitions from vm_core.h to iseq.h.
* compile.c, iseq.c, vm.c: ditto.
* eval.c, compile.c: move some functions for parser
from eval.c to compile.c.
* eval_intern.h, vm_core.h: move va_init_list() macro to
vm_core.h.
* iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
* load.c, ruby.c: use rb_iseq_new_top() instead of
rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
* proc.c: use rb_iseq_first_lineno() instead of accessing
iseq structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 11:49:45 +04:00
|
|
|
iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}gc.h {$(VPATH)}iseq.h \
|
2008-09-25 19:00:39 +04:00
|
|
|
$(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) {$(VPATH)}insns.inc \
|
2014-01-12 04:21:37 +04:00
|
|
|
{$(VPATH)}insns_info.inc {$(VPATH)}node_name.inc {$(VPATH)}internal.h \
|
|
|
|
{$(VPATH)}vm_opts.h {$(VPATH)}ruby_atomic.h {$(VPATH)}eval_intern.h \
|
|
|
|
{$(VPATH)}util.h
|
2008-09-25 19:00:39 +04:00
|
|
|
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}gc.h {$(VPATH)}iseq.h \
|
|
|
|
{$(VPATH)}eval_intern.h $(RUBY_H_INCLUDES) $(ENCODING_H_INCLUDES) \
|
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}vm_method.c {$(VPATH)}vm_eval.c \
|
|
|
|
{$(VPATH)}vm_insnhelper.c {$(VPATH)}vm_insnhelper.h {$(VPATH)}vm_exec.c \
|
|
|
|
{$(VPATH)}vm_exec.h {$(VPATH)}insns.def {$(VPATH)}vmtc.inc \
|
2012-11-20 16:57:49 +04:00
|
|
|
{$(VPATH)}vm.inc {$(VPATH)}insns.inc \
|
2012-11-18 20:30:10 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm.h {$(VPATH)}constant.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(PROBES_H_INCLUDES) {$(VPATH)}probes_helper.h {$(VPATH)}vm_opts.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
vm_dump.$(OBJEXT): {$(VPATH)}vm_dump.c $(RUBY_H_INCLUDES) \
|
2012-11-20 16:57:49 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}addr2line.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2008-09-25 19:00:39 +04:00
|
|
|
debug.$(OBJEXT): {$(VPATH)}debug.c $(RUBY_H_INCLUDES) \
|
|
|
|
$(ENCODING_H_INCLUDES) $(VM_CORE_H_INCLUDES) {$(VPATH)}eval_intern.h \
|
2013-10-28 07:43:17 +04:00
|
|
|
{$(VPATH)}util.h {$(VPATH)}vm_opts.h {$(VPATH)}internal.h
|
2012-12-02 13:57:47 +04:00
|
|
|
id.$(OBJEXT): {$(VPATH)}id.c $(RUBY_H_INCLUDES) {$(VPATH)}id.h {$(VPATH)}vm_opts.h
|
2012-06-02 19:59:37 +04:00
|
|
|
vm_backtrace.$(OBJEXT): {$(VPATH)}vm_backtrace.c \
|
2012-08-22 05:11:30 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) $(RUBY_H_INCLUDES) $(ENCODING_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}iseq.h {$(VPATH)}debug.h {$(VPATH)}vm_opts.h {$(VPATH)}ruby_atomic.h {$(VPATH)}eval_intern.h
|
2012-08-27 10:09:26 +04:00
|
|
|
vm_trace.$(OBJEXT): {$(VPATH)}vm_trace.c $(ENCODING_H_INCLUDES) \
|
2012-11-20 16:57:49 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) $(RUBY_H_INCLUDES) {$(VPATH)}debug.h \
|
2013-04-11 16:03:23 +04:00
|
|
|
{$(VPATH)}internal.h {$(VPATH)}vm_opts.h {$(VPATH)}ruby_atomic.h {$(VPATH)}eval_intern.h
|
2008-06-30 18:01:53 +04:00
|
|
|
miniprelude.$(OBJEXT): {$(VPATH)}miniprelude.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
* common.mk: clean up
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 04:20:28 +04:00
|
|
|
prelude.$(OBJEXT): {$(VPATH)}prelude.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2008-09-25 19:00:39 +04:00
|
|
|
golf_prelude.$(OBJEXT): {$(VPATH)}golf_prelude.c $(RUBY_H_INCLUDES) \
|
2013-04-11 16:03:23 +04:00
|
|
|
$(VM_CORE_H_INCLUDES) {$(VPATH)}internal.h {$(VPATH)}vm_opts.h
|
2008-08-28 18:36:52 +04:00
|
|
|
goruby.$(OBJEXT): {$(VPATH)}goruby.c {$(VPATH)}main.c $(RUBY_H_INCLUDES) \
|
2013-04-11 18:42:33 +04:00
|
|
|
{$(VPATH)}vm_debug.h {$(VPATH)}node.h $(hdrdir)/ruby.h
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-07-29 17:55:29 +04:00
|
|
|
sizes.$(OBJEXT): {$(VPATH)}sizes.c $(RUBY_H_INCLUDES)
|
|
|
|
|
2008-01-01 20:31:28 +03:00
|
|
|
ascii.$(OBJEXT): {$(VPATH)}ascii.c {$(VPATH)}regenc.h {$(VPATH)}config.h \
|
2012-06-22 16:05:11 +04:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}missing.h $(RUBY_H_INCLUDES)
|
2008-08-28 18:36:52 +04:00
|
|
|
us_ascii.$(OBJEXT): {$(VPATH)}us_ascii.c {$(VPATH)}regenc.h \
|
2012-06-22 16:05:11 +04:00
|
|
|
{$(VPATH)}config.h {$(VPATH)}oniguruma.h {$(VPATH)}missing.h $(RUBY_H_INCLUDES)
|
2008-08-13 12:30:21 +04:00
|
|
|
unicode.$(OBJEXT): {$(VPATH)}unicode.c {$(VPATH)}regint.h \
|
2008-01-01 17:17:37 +03:00
|
|
|
{$(VPATH)}config.h {$(VPATH)}defines.h {$(VPATH)}regenc.h \
|
2008-08-28 18:36:52 +04:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}st.h {$(VPATH)}ruby.h \
|
2012-06-22 16:05:11 +04:00
|
|
|
{$(VPATH)}missing.h {$(VPATH)}intern.h \
|
|
|
|
{$(VPATH)}enc/unicode/name2ctype.h {$(VPATH)}enc/unicode/casefold.h \
|
|
|
|
{$(VPATH)}subst.h $(RUBY_H_INCLUDES)
|
2009-08-21 12:01:09 +04:00
|
|
|
|
2008-01-15 11:26:54 +03:00
|
|
|
utf_8.$(OBJEXT): {$(VPATH)}utf_8.c {$(VPATH)}regenc.h {$(VPATH)}config.h \
|
2012-06-22 16:05:11 +04:00
|
|
|
{$(VPATH)}oniguruma.h {$(VPATH)}missing.h $(RUBY_H_INCLUDES)
|
2007-10-11 01:35:45 +04:00
|
|
|
|
2013-06-30 05:59:12 +04:00
|
|
|
win32/win32.$(OBJEXT): {$(VPATH)}win32/win32.c {$(VPATH)}dln.h {$(VPATH)}dln_find.c \
|
2013-08-05 12:38:39 +04:00
|
|
|
{$(VPATH)}internal.h $(RUBY_H_INCLUDES) $(PLATFORM_D)
|
2012-08-23 14:20:37 +04:00
|
|
|
win32/file.$(OBJEXT): {$(VPATH)}win32/file.c $(RUBY_H_INCLUDES) $(PLATFORM_D)
|
|
|
|
|
2012-03-26 09:08:55 +04:00
|
|
|
$(NEWLINE_C): $(srcdir)/enc/trans/newline.trans $(srcdir)/tool/transcode-tblgen.rb
|
|
|
|
$(Q) $(BASERUBY) "$(srcdir)/tool/transcode-tblgen.rb" -vo $@ $(srcdir)/enc/trans/newline.trans
|
|
|
|
newline.$(OBJEXT): $(NEWLINE_C) {$(VPATH)}defines.h \
|
2008-08-28 18:36:52 +04:00
|
|
|
{$(VPATH)}intern.h {$(VPATH)}missing.h {$(VPATH)}st.h \
|
2011-06-18 03:15:47 +04:00
|
|
|
{$(VPATH)}transcode_data.h {$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}subst.h
|
2008-08-24 19:58:43 +04:00
|
|
|
|
2013-12-27 09:46:01 +04:00
|
|
|
verconf.h: $(srcdir)/template/verconf.h.tmpl $(srcdir)/tool/generic_erb.rb $(RBCONFIG)
|
2013-05-15 11:58:28 +04:00
|
|
|
$(ECHO) creating $@
|
2013-12-27 09:46:01 +04:00
|
|
|
$(Q) $(MINIRUBY) "$(srcdir)/tool/generic_erb.rb" $(srcdir)/template/verconf.h.tmpl > $@
|
2013-05-15 11:58:28 +04:00
|
|
|
|
* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle
SolarisStudio 12.3 cc.
* configure.in (--enable-dtrace): new option to enable/disable
DTrace support. By default, trying to enable if dtrace command
is found on the system. It is disabled when cross compiling.
* configure.in (RUBY_DTRACE_POSTPROCESS): new macro. checks whether
the dtrace on the system needs postprocessing with "dtrace -G".
The postprocessing is needed on Solaris 10 and other platforms.
* configure.in (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether
the dtrace supports USDT.
* configure.in (DTRACE): move after RUBY_DTRACE_POSTPROCESS.
* configure.in (LD): On Solaris, /usr/ccs/bin/ld is preferred.
* configure.in, Makefile.in, common.mk (DTRACE_OBJ): new macro for
DTrace probe object generated by postprocessing with "dtrace -G".
* Makefile.in, common.mk (probes.$(OBJEXT)): DTrace probe object
generated by the postprocessing. New file probes.stamp is for
rebuilding related objects that may be modified by "dtrace -G".
* configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ): new
macro for DTrace static library hacks.
* configure.in, Makefile.in (LIBRUBY_A_OBJS): ditto.
* Makefile.in, common.mk (ruby-glommed.$(OBJEXT)): new target with
rule for DTrace static library hacks.
* common.mk (DTRACE_DEPENDENT_OBJS): objects depended on probes.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18 12:24:24 +04:00
|
|
|
DTRACE_DEPENDENT_OBJS = array.$(OBJEXT) \
|
|
|
|
eval.$(OBJEXT) \
|
|
|
|
gc.$(OBJEXT) \
|
|
|
|
hash.$(OBJEXT) \
|
|
|
|
load.$(OBJEXT) \
|
|
|
|
object.$(OBJEXT) \
|
|
|
|
parse.$(OBJEXT) \
|
|
|
|
string.$(OBJEXT) \
|
|
|
|
vm.$(OBJEXT)
|
|
|
|
|
|
|
|
probes.$(OBJEXT): $(DTRACE_DEPENDENT_OBJS)
|
|
|
|
ruby-glommed.$(OBJEXT): $(OBJS) $(DTRACE_OBJ)
|
|
|
|
|
2010-07-22 01:38:25 +04:00
|
|
|
$(OBJS): {$(VPATH)}config.h {$(VPATH)}missing.h
|
|
|
|
|
* 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 09:37:46 +03:00
|
|
|
INSNS2VMOPT = --srcdir="$(srcdir)"
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}minsns.inc: $(srcdir)/template/minsns.inc.tmpl
|
2007-07-21 12:48:29 +04:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}opt_sc.inc: $(srcdir)/template/opt_sc.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}optinsn.inc: $(srcdir)/template/optinsn.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}optunifs.inc: $(srcdir)/template/optunifs.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}insns.inc: $(srcdir)/template/insns.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}insns_info.inc: $(srcdir)/template/insns_info.inc.tmpl
|
2007-02-04 22:15:38 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}vmtc.inc: $(srcdir)/template/vmtc.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-03-05 05:52:21 +03:00
|
|
|
{$(VPATH)}vm.inc: $(srcdir)/template/vm.inc.tmpl
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-11-18 18:19:16 +04:00
|
|
|
srcs: {$(VPATH)}parse.c {$(VPATH)}lex.c {$(VPATH)}newline.c {$(VPATH)}id.c srcs-ext srcs-enc
|
2009-03-15 02:26:11 +03:00
|
|
|
|
2012-12-22 20:53:12 +04:00
|
|
|
EXT_SRCS = $(srcdir)/ext/ripper/ripper.c $(srcdir)/ext/json/parser/parser.c \
|
2013-11-18 18:19:16 +04:00
|
|
|
$(srcdir)/ext/dl/callback/callback.c $(srcdir)/ext/rbconfig/sizeof/sizes.c
|
2009-03-15 02:26:11 +03:00
|
|
|
|
|
|
|
srcs-ext: $(EXT_SRCS)
|
2008-08-05 22:56:42 +04:00
|
|
|
|
2008-09-26 12:06:59 +04:00
|
|
|
srcs-enc: $(ENC_MK)
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) making srcs under enc
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(MAKE) -f $(ENC_MK) RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) srcs
|
2007-08-06 08:09:56 +04:00
|
|
|
|
2012-11-16 12:56:49 +04:00
|
|
|
all-incs: incs
|
2009-03-16 06:30:01 +03:00
|
|
|
incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h {$(VPATH)}known_errors.inc \
|
2014-05-22 09:02:15 +04:00
|
|
|
$(srcdir)/revision.h $(REVISION_H) enc/unicode/name2ctype.h enc/jis/props.h \
|
|
|
|
{$(VPATH)}id.h {$(VPATH)}probes.dmyh
|
2007-12-22 21:22:43 +03:00
|
|
|
|
2008-04-03 07:56:07 +04:00
|
|
|
insns: $(INSNS)
|
|
|
|
|
2013-04-11 15:03:21 +04:00
|
|
|
id.h: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl $(srcdir)/defs/id.def
|
2012-12-04 21:36:19 +04:00
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \
|
2013-04-08 11:10:18 +04:00
|
|
|
$(srcdir)/template/id.h.tmpl
|
2012-12-04 21:36:19 +04:00
|
|
|
|
2013-04-11 15:03:21 +04:00
|
|
|
id.c: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.c.tmpl $(srcdir)/defs/id.def
|
2012-08-31 09:31:20 +04:00
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \
|
2013-04-08 11:10:18 +04:00
|
|
|
$(srcdir)/template/id.c.tmpl
|
2009-09-07 00:22:18 +04:00
|
|
|
|
2007-12-24 11:40:59 +03:00
|
|
|
node_name.inc: {$(VPATH)}node.h
|
2011-07-31 18:17:37 +04:00
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(BASERUBY) -n $(srcdir)/tool/node_name.rb < $? > $@
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2009-01-13 12:05:29 +03:00
|
|
|
encdb.h: $(PREP) $(srcdir)/tool/generic_erb.rb $(srcdir)/template/encdb.h.tmpl
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/encdb.h.tmpl $(srcdir)/enc enc
|
2008-01-12 19:03:51 +03:00
|
|
|
|
2009-01-13 12:05:29 +03:00
|
|
|
transdb.h: $(PREP) srcs-enc $(srcdir)/tool/generic_erb.rb $(srcdir)/template/transdb.h.tmpl
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/transdb.h.tmpl $(srcdir)/enc/trans enc/trans
|
2008-01-29 13:05:39 +03:00
|
|
|
|
2012-05-16 09:39:06 +04:00
|
|
|
enc/encinit.c: $(ENC_MK) $(srcdir)/enc/encinit.c.erb
|
|
|
|
|
2008-09-26 12:18:49 +04:00
|
|
|
known_errors.inc: $(srcdir)/template/known_errors.inc.tmpl $(srcdir)/defs/known_errors.def
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/known_errors.inc.tmpl $(srcdir)/defs/known_errors.def
|
2008-09-26 12:18:49 +04:00
|
|
|
|
2012-03-26 09:08:55 +04:00
|
|
|
$(MINIPRELUDE_C): $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2012-12-11 10:13:41 +04:00
|
|
|
$(Q) $(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
|
2007-08-25 05:20:30 +04:00
|
|
|
|
2010-06-08 01:27:16 +04:00
|
|
|
prelude.c: $(srcdir)/tool/compile_prelude.rb $(RBCONFIG) \
|
2012-11-29 10:52:18 +04:00
|
|
|
$(srcdir)/lib/rubygems/defaults.rb \
|
|
|
|
$(srcdir)/lib/rubygems/core_ext/kernel_gem.rb \
|
2010-06-08 01:27:16 +04:00
|
|
|
$(PRELUDE_SCRIPTS) $(PREP)
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(COMPILE_PRELUDE) $(PRELUDE_SCRIPTS) $@
|
2007-11-10 12:22:59 +03:00
|
|
|
|
2008-08-13 10:15:52 +04:00
|
|
|
golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(RBCONFIG) $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(PREP)
|
2010-11-11 15:46:23 +03:00
|
|
|
$(ECHO) generating $@
|
2010-11-12 14:51:42 +03:00
|
|
|
$(Q) $(COMPILE_PRELUDE) $(srcdir)/golf_prelude.rb $@
|
2007-12-22 21:22:43 +03:00
|
|
|
|
2012-11-22 16:49:59 +04:00
|
|
|
probes.dmyh: {$(srcdir)}probes.d $(srcdir)/tool/gen_dummy_probes.rb
|
2012-11-13 11:49:09 +04:00
|
|
|
$(BASERUBY) $(srcdir)/tool/gen_dummy_probes.rb $(srcdir)/probes.d > $@
|
|
|
|
|
2012-11-22 16:49:59 +04:00
|
|
|
probes.h: {$(VPATH)}probes.$(DTRACE_EXT)
|
2012-11-19 09:56:38 +04:00
|
|
|
|
2010-05-24 13:31:46 +04:00
|
|
|
prereq: incs srcs preludes PHONY
|
2007-12-22 21:22:43 +03:00
|
|
|
|
|
|
|
preludes: {$(VPATH)}miniprelude.c
|
2007-12-25 10:04:30 +03:00
|
|
|
preludes: {$(srcdir)}golf_prelude.c
|
2007-08-24 19:26:28 +04:00
|
|
|
|
2009-03-16 06:30:01 +03:00
|
|
|
$(srcdir)/revision.h:
|
|
|
|
@exit > $@
|
|
|
|
|
|
|
|
$(REVISION_H): $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
2012-05-01 10:49:00 +04:00
|
|
|
-$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > revision.tmp
|
2012-05-01 10:37:24 +04:00
|
|
|
$(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp
|
2007-12-22 09:14:50 +03:00
|
|
|
|
2013-04-11 15:03:21 +04:00
|
|
|
$(srcdir)/ext/ripper/ripper.c: parse.y id.h
|
2010-11-17 12:22:45 +03:00
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
|
2013-04-08 11:10:18 +04:00
|
|
|
Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
|
2007-11-15 08:29:58 +03:00
|
|
|
|
2011-07-08 11:39:07 +04:00
|
|
|
$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
|
2010-11-17 12:22:45 +03:00
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
|
2013-01-21 10:41:38 +04:00
|
|
|
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
|
2010-07-29 01:51:31 +04:00
|
|
|
|
2012-12-22 20:53:12 +04:00
|
|
|
$(srcdir)/ext/dl/callback/callback.c: $(srcdir)/ext/dl/callback/mkcallback.rb $(srcdir)/ext/dl/dl.h
|
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
|
|
|
|
Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)"
|
|
|
|
|
2013-11-18 18:19:16 +04:00
|
|
|
$(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
|
|
|
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
|
|
|
|
$(ECHO) generating $@
|
|
|
|
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
|
|
|
|
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)"
|
|
|
|
|
2007-01-05 16:52:16 +03:00
|
|
|
##
|
|
|
|
|
2013-01-04 14:47:06 +04:00
|
|
|
run: fake miniruby$(EXEEXT) PHONY
|
|
|
|
$(BTESTRUBY) $(TESTRUN_SCRIPT) $(RUNOPT)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2007-02-02 21:35:40 +03:00
|
|
|
runruby: $(PROGRAM) PHONY
|
2008-12-12 13:35:31 +03:00
|
|
|
$(RUNRUBY) $(TESTRUN_SCRIPT)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-01-04 14:47:06 +04:00
|
|
|
parse: fake miniruby$(EXEEXT) PHONY
|
|
|
|
$(BTESTRUBY) $(srcdir)/tool/parse.rb $(TESTRUN_SCRIPT)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2013-08-08 09:54:08 +04:00
|
|
|
bisect: PHONY
|
|
|
|
$(srcdir)/tool/bisect.sh miniruby $(srcdir)
|
|
|
|
|
|
|
|
bisect-ruby: PHONY
|
|
|
|
$(srcdir)/tool/bisect.sh ruby $(srcdir)
|
|
|
|
|
2007-09-27 10:46:31 +04:00
|
|
|
COMPARE_RUBY = $(BASERUBY)
|
2012-06-10 01:36:05 +04:00
|
|
|
ITEM =
|
|
|
|
OPTS =
|
2007-09-27 10:46:31 +04:00
|
|
|
|
2007-02-02 21:35:40 +03:00
|
|
|
benchmark: $(PROGRAM) PHONY
|
2007-09-27 10:46:31 +04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
2012-11-26 13:30:32 +04:00
|
|
|
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
|
2007-09-27 10:46:31 +04:00
|
|
|
--pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2007-02-02 21:35:40 +03:00
|
|
|
benchmark-each: $(PROGRAM) PHONY
|
2007-09-27 10:46:31 +04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
2012-11-26 13:30:32 +04:00
|
|
|
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
|
2007-09-27 10:46:31 +04:00
|
|
|
--pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2007-02-02 21:35:40 +03:00
|
|
|
tbench: $(PROGRAM) PHONY
|
2007-09-27 10:46:31 +04:00
|
|
|
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
2012-11-26 13:30:32 +04:00
|
|
|
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
|
2007-09-27 10:46:31 +04:00
|
|
|
--pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
|
|
|
run.gdb:
|
2013-11-26 14:30:42 +04:00
|
|
|
echo set breakpoint pending on > run.gdb
|
|
|
|
echo b ruby_debug_breakpoint >> run.gdb
|
2007-02-25 18:58:27 +03:00
|
|
|
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-28 00:03:53 +04:00
|
|
|
echo source $(srcdir)/.gdbinit >> run.gdb
|
2010-10-24 22:00:20 +04:00
|
|
|
echo 'set $$_exitcode = -999' >> run.gdb
|
2007-02-25 18:58:27 +03:00
|
|
|
echo run >> run.gdb
|
2010-10-24 22:00:20 +04:00
|
|
|
echo 'if $$_exitcode != -999' >> run.gdb
|
|
|
|
echo ' quit' >> run.gdb
|
|
|
|
echo end >> run.gdb
|
|
|
|
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2008-06-17 15:32:40 +04:00
|
|
|
gdb: miniruby$(EXEEXT) run.gdb PHONY
|
2008-12-12 13:35:31 +03:00
|
|
|
gdb -x run.gdb --quiet --args $(MINIRUBY) $(TESTRUN_SCRIPT)
|
2006-12-31 18:02:22 +03:00
|
|
|
|
2008-10-04 10:36:20 +04:00
|
|
|
gdb-ruby: $(PROGRAM) run.gdb PHONY
|
2012-10-05 11:28:32 +04:00
|
|
|
$(Q) $(RUNRUBY_COMMAND) $(RUNRUBY_DEBUGGER) -- $(TESTRUN_SCRIPT)
|
2008-10-04 10:36:20 +04:00
|
|
|
|
2008-09-26 13:40:04 +04:00
|
|
|
dist:
|
2008-10-04 10:36:20 +04:00
|
|
|
$(BASERUBY) $(srcdir)/tool/make-snapshot tmp $(RELNAME)
|
2008-01-25 12:27:30 +03:00
|
|
|
|
2013-06-14 09:10:15 +04:00
|
|
|
up::
|
2012-05-01 10:37:24 +04:00
|
|
|
-$(Q)$(MAKE) $(MFLAGS) REVISION_FORCE=PHONY "$(REVISION_H)"
|
2008-01-27 12:19:00 +03:00
|
|
|
|
2013-06-14 08:01:54 +04:00
|
|
|
update-config_files: $(srcdir)/tool/config.guess $(srcdir)/tool/config.sub
|
|
|
|
$(srcdir)/tool/config.guess:
|
2013-06-14 08:40:32 +04:00
|
|
|
$(Q) $(BASERUBY) -C $(@D) get-config_files $(@F)
|
2013-06-14 08:01:54 +04:00
|
|
|
$(srcdir)/tool/config.sub:
|
2013-06-14 08:40:32 +04:00
|
|
|
$(Q) $(BASERUBY) -C $(@D) get-config_files $(@F)
|
2013-06-14 08:01:54 +04:00
|
|
|
|
2009-04-07 08:35:24 +04:00
|
|
|
info: info-program info-libruby_a info-libruby_so info-arch
|
|
|
|
info-program:
|
|
|
|
@echo PROGRAM=$(PROGRAM)
|
|
|
|
info-libruby_a:
|
|
|
|
@echo LIBRUBY_A=$(LIBRUBY_A)
|
|
|
|
info-libruby_so:
|
|
|
|
@echo LIBRUBY_SO=$(LIBRUBY_SO)
|
|
|
|
info-arch:
|
|
|
|
@echo arch=$(arch)
|
|
|
|
|
2010-05-24 13:31:46 +04:00
|
|
|
change: PHONY
|
2010-05-24 07:52:46 +04:00
|
|
|
$(BASERUBY) -C "$(srcdir)" ./tool/change_maker.rb $(CHANGES) > change.log
|
|
|
|
|
2011-06-14 08:09:43 +04:00
|
|
|
love: sudo-precheck up all test install test-all
|
2011-06-11 10:37:25 +04:00
|
|
|
@echo love is all you need
|
2011-02-24 16:53:11 +03:00
|
|
|
|
2013-05-03 08:50:15 +04:00
|
|
|
yes-test-all: sudo-precheck
|
|
|
|
|
2011-06-14 08:09:43 +04:00
|
|
|
sudo-precheck:
|
2011-07-08 06:39:15 +04:00
|
|
|
@$(SUDO) echo > $(NULL)
|
2011-06-14 08:09:43 +04:00
|
|
|
|
2008-01-29 10:27:09 +03:00
|
|
|
help: PHONY
|
2010-11-13 10:38:01 +03:00
|
|
|
$(MESSAGE_BEGIN) \
|
|
|
|
" Makefile of Ruby" \
|
|
|
|
"" \
|
|
|
|
"targets:" \
|
|
|
|
" all (default): builds all of below" \
|
|
|
|
" miniruby: builds only miniruby" \
|
|
|
|
" encs: builds encodings" \
|
|
|
|
" exts: builds extensions" \
|
|
|
|
" main: builds encodings, extensions and ruby" \
|
|
|
|
" docs: builds documents" \
|
|
|
|
" run: runs test.rb by miniruby" \
|
|
|
|
" runruby: runs test.rb by ruby you just built" \
|
|
|
|
" gdb: runs test.rb by miniruby under gdb" \
|
|
|
|
" gdb-ruby: runs test.rb by ruby under gdb" \
|
|
|
|
" check: equals make test test-all" \
|
|
|
|
" test: ruby core tests" \
|
2013-07-20 20:08:49 +04:00
|
|
|
" test-all: all ruby tests [TESTS=<test files>]" \
|
2010-11-13 10:38:01 +03:00
|
|
|
" test-rubyspec: run RubySpec test suite" \
|
|
|
|
" update-rubyspec: update local copy of RubySpec" \
|
|
|
|
" benchmark: benchmark this ruby and COMPARE_RUBY" \
|
2013-11-06 14:32:40 +04:00
|
|
|
" gcbench: gc benchmark [GCBENCH_ITEM=<item_name>]" \
|
|
|
|
" gcbench-rdoc: gc benchmark with GCBENCH_ITEM=rdoc" \
|
2010-11-13 10:38:01 +03:00
|
|
|
" install: install all ruby distributions" \
|
|
|
|
" install-nodoc: install without rdoc" \
|
|
|
|
" install-cross: install cross compiling staff" \
|
|
|
|
" clean: clean for tarball" \
|
2010-12-14 12:19:55 +03:00
|
|
|
" distclean: clean for repository" \
|
2010-11-13 10:38:01 +03:00
|
|
|
" change: make change log template" \
|
|
|
|
" golf: for golfers" \
|
|
|
|
"" \
|
|
|
|
"see DeveloperHowto for more detail: " \
|
2014-04-02 10:15:19 +04:00
|
|
|
" https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto" \
|
2010-11-13 10:38:01 +03:00
|
|
|
$(MESSAGE_END)
|