summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2013-04-12* common.mk: pack.o depends on internal.h.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-12* common.mk: version.o depends on $(srcdir)/include/ruby/version.hakr
instead of {$(VPATH)}version.h to avoid confusion by VPATH between top level version.h and include/ruby/version.h for build in-place. [ruby-dev:47249] [Bug #8256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11* common.mk: Add dependencies for include/ruby.hakr
* tool/update-deps: Use "make -p all miniruby ruby golf" to extract deendencies in makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11* common.mk: Dependency updated.akr
* tool/update-deps: Rewritten. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11* common.mk: partially revert r40183, which breaks building onnaruse
other than source directory. (its commit log also says the same thing, but such failure is not reproducible on my environment and the commit breaks build on my environment) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-08Fixes a build failure of ext/ripper/ripper.c on building out of place.yugui
* common.mk (id.h, id.c): Always generated in $(srcdir). (ext/ripper/ripper.c): Passes $(PATH_SEPARATOR) too to the sub make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-30timev.h: move time_t stuffsnobu
* timev.h (TYPEOF_TIMEVAL_TV_SEC, unsigned_time_t): move from time.c. * thread.c: use definitions in timev.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-22compiler versionnobu
* common.mk (showflags): show the compiler version. * configure.in (CC_VERSION): compiler with version option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07common.mk: reinstall targetnobu
* common.mk (reinstall): new target. * defs/gmake.mk (install, uninstall): can't run parallel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25common.mk: clean miniprelude.cnobu
* common.mk (realclean-local): miniprelude.c is made by srcs, so it should not removed by distclean but by realclean. [Bug #6807] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20common.mk: uninstallnobu
* common.mk (uninstall): uninstall installed file listed in $(INSTALLED_LIST) file. * tool/rbuninstall.rb: simple uninstallation tool. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-09common.mk: no expansionnobu
* common.mk (showconfig): get rid of variable expansion by shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-21mkconfig.rb: no BASERUBYnobu
* tool/mkconfig.rb: BASERUBY is transient at core build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-20vpath.rb: hack for msys makenobu
* tool/vpath.rb (VPath#def_options): hack for msys make, which converts a command line argument to non-msys command seems like a path list automagically. [Bug #7710] [ruby-core:51489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18common.mk: install-gemnobu
* common.mk (install-gem): target to install default gems only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07* Makefile.in, common.mk (fake, yes-fake, no-make): these dependeciesusa
are not platform dependent. * win32/Makefile.sub ($(arch)-fake.rb): workaround. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* Makefile.in (RBCONFIG): Moved from common.mk in order to use theyugui
variable in Makefile.in. * win32/Makefie.sub (RBCONFIG): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* common.mk (run, parse): Use BTESTRUBY instead of MINIRUBY to handleyugui
cross-compiling cases, e.g. NativeClient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04* common.mk (yes-btest): btest depends on also $(arch)-fake.rb andyugui
rbconfig.rb on building for NativeClient. * Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross compiling. * configure.in (CROSS_COMPILING): New substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-22common.mk: srcs-extnobu
* common.mk (ext/dl/callback/callback.c): include in srcs-ext for snapshot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11* common.mk: Added --pages-dir to rdoc creation. Now doc/ items showdrbrain
up at top-level. * .document: Moved doc/* entries to doc/.document * doc/.document: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11Revert r38301naruse
"* common.mk ($(MINIPRELUDE_C)): -I may break make dist." This didn't solve the issue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11* common.mk ($(MINIPRELUDE_C)): -I may break make dist.naruse
patched by Vit Ondruch [Bug #7541] [ruby-core:50736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04id.c: generatenobu
* common.mk, defs/id.def, template/id.c.tmpl: generate id.c as well as id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03* compile.c (iseq_compile_each): joke shouldn't use id.h defined ids.ko1
* id.c (Init_id): ditto. * common.mk: fix dpendency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-02* array.c, enum.c, insns.def, io.c, numeric.c, parse.y, process.c,ko1
range.c: use prepared IDs. A patch from charliesome (Charlie Somerville). [Bug #7495] * common.mk: add dependency to id.h. * common.mk: replace ID_H_INCLUDES with id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29tool/vpath.rbnobu
* tool/generic_erb.rb, tool/id2token.rb: add --path-separator option for mingw where make and built ruby live in different world. * tool/vpath.rb: extract from tool/instruction.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29* include/ruby/debug.h: add rb_debug_inspector_* APIs.ko1
* vm_backtrace.c: ditto. * common.mk: add dpendency from vm_backtrace.o to include/ruby/debug.h. * proc.c (rb_binding_new_with_cfp): constify. * vm.c (rb_vm_get_ruby_level_next_cfp): consitify. * vm_core.h, vm_trace.c: move decls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29* lib/rubygems*: Updated to RubyGems 2.0drbrain
* test/rubygems*: ditto. * common.mk (prelude): Updated for RubyGems 2.0 source rearrangement. * tool/change_maker.rb: Allow invalid UTF-8 characters in source files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27* lib/rdoc/*: Added --root option for building documentation outsidedrbrain
the source directory. * test/rdoc/*: ditto * common.mk (rdoc): Added --root to rdoc rule git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27* common.mk (rdoc): Set --debug for rdoc generation in case of bugsdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-26* common.mk: specify label `built-ruby'.ko1
* benchmark/driver.rb: quote path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-23configure.in: --disable-dlnnobu
* configure.in (--disable-dln): option to disable dynamic linking feature. [ruby-core:37676] [Feature #4946] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* common.mk, win32/Makefile.sub (probes.dmyh): now be made in currentusa
(=build) directory if build from the repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake mergesusa
explicit rules for same target, but not merges exlicit rules and implicit rules -- always explict rules win. So, need to add an explist rule for probes.h. reported by Heesob Park at [Bug #7421] [ruby-core:49839] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-20* include/ruby/debug.h: introdudced.ko1
Debugging/profiling features will be located. * vm_trace.c: expose C-level TracePoint APIs. Note that they are experimental. * vm_trace.c, include/ruby/debug.h: rename `rb_hook_flag_t' to `rb_event_hook_flag_t'. Macro names `RUBY_HOOK_FLAG_*' are also renamed to `RUBY_EVENT_HOOK_FLAG_*'. * debug.h, vm_debug.h: rename debug.h to vm_debug.h. * common.mk: ditto. * debug.c, main.c, vm_core.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-20common.mk: fix for BSD makenobu
* common.mk (incs): BSD make cannot deal with non-prefixed dependency and prefixed target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* vm_dump.c: not to include probes.h because the code does not dependngoto
on it. * common.mk (vm_dump.$(OBJEXT)): remove dependency on probes.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19common.mk: no purelibnobu
* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated since r28841, so set to an empty list to get rid of a bogus path in child processes, which caused an insecure operation exception in test/ruby/test_encoding.rb:test_unsafe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* configure.in: fix didn't enable_dtrace=yes on auto.naruse
* configure.in: see enable_dtrace for adding libelf on FreeBSD. * common.mk: VPATH is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* Makefile.in, common.mk (probes.h): moved to common.mk and changed tousa
see $(srcdir). * common.mk (probes.dmyh): now created it on $(srcdir) always. * win32/Makefile.sub (.SUFFIXES): removed common suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* common.mk (vm_dump.o): depend probes.h.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* Makefile.in (.SUFFIX): bsdmake needs .SUFFIX is defined before use.naruse
* common.mk: fix path of probes.dmyh. * configure.in: FreeBSD's USDT requires libelf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18* vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK,ngoto
RUBY_DTRACE_FUNC_RETURN_HOOK): move from vm_core.h to new file probes_helper.h for narrowing dependency to probes.h. * common.mk (VM_CORE_H_INCLUDES): remove dependency to probes.h. * common.mk (vm.$(OBJEXT)): add dependency to probes_helper.h. * vm.c, vm_insnhelper.c: include probes_helper.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,ngoto
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-16common.mk: dependencies for proges.dmyhnobu
* common.mk (incs): dist files need probes.dmyh. * common.mk (probes.dmyh): depends on generator script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16probes.h: select by suffix rulesnobu
* Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h): select generating with dtrace or copying dummy file by suffix rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16* Makefile.in (no-dtrace-probes.h): dmyprobes.h is in srcdir.naruse
* common.mk (dmyprobes.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16Makefile.in: move probes.h to all-incsnobu
* Makefile.in (incs): probes.h is a platform dependent file, so it cannot be a part of prereq target. move it to all-incs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13* common.mk (vm_insnhelper.c): this target is useless and causesnaruse
ruby always need rebuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e