summaryrefslogtreecommitdiff
path: root/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory andnobu2009-01-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parents. * Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove temprary rdoc. * Makefile.in, win32/Makefile.sub (distclean): removes extout directory. * Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent directories. * common.mk (clean, distclean): cleans rdoc. * configure.in (RMDIRS, RMALL): added to clean extout. * lib/fileutils.rb (FileUtils#rmdir): added :parents option. * lib/mkmf.rb (create_makefile): cleans installed files at clean instead of distclean. * lib/mkmf.rb (create_makefile): added clean-so and clean-rb. * lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS. * lib/un.rb (rmdir): added -p option. * tool/rmdirs, win32/rmdirs.bat: removes directory and the parents. * win32/rm.bat: added -r option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): set VCS and VCSUP.nobu2009-01-161-4/+1
| | | | | | | * Makefile.in, win32/Makefile.sub (up): split from common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: btest-ruby should receive option with OPTS.ko12009-01-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/{encdb,transdb}.h.tmpl: moved enc/make_encdb.rb andnobu2009-01-131-6/+4
| | | | | | | | | enc/trans/make_transdb.rb using tool/generic_erb.rb. * common.mk (encdb.h, transdb.h): generates from avobe template. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-sample), rubytest.rb: use runruby.rbnobu2009-01-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):nobu2009-01-071-23/+24
| | | | | | | use version invariant configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macrousa2009-01-031-3/+0
| | | | | | | | | definition from common.mk to {Makefile.in,win32/Makefile.sub}. [ruby-dev:37678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,usa2009-01-021-8/+0
| | | | | | | | | | known_errors.inc, miniprelude.c, newline.c): move rules from common.mk to {Makefile.in,win32/Makefile.sub) for nmake. [ruby-core:20993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): ignores failure of file2lastrev.yugui2008-12-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): uses tool/file2lastrev.rb to supportyugui2008-12-221-4/+2
| | | | | | | | | | git-svn. * version.h: changed version string as `ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912) [i386-darwin9.6.0]'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Doxyfile.in: new file. Template of a configuration file foryugui2008-12-221-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Doxygen. Intorduces C-level API reference generation with Doxygen. * tool/file2lastrev.rb: wrapper script that abstracts subversion and git-svn. * tool/strip-rdoc.rb: filter for preventing doxygen from processing rdoc comments. * configure.in: (Doxyfile): Doxyfile is generated together with Makefile. (PACKAGE): configuration $(PACKAGE) is necessary for $(docdir). * instruby.rb: adds a new install target 'capi' * common.mk (capi): new target that generates C API documents with Doxygen. (install-capi): new target. (pre-install-capi): ditto. (do-install-capi): ditto. (post-install-capi): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert the previous change. [ruby-dev:37455]knu2008-12-161-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (complex.$(OBJEXT), rational.$(OBJEXT)): Properly addknu2008-12-161-2/+4
| | | | | | | | dependencies to version.h and revision.h to fix parallel build with make -j#. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eatusa2008-12-151-1/+1
| | | | | | | | ''\'' in such quotes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.nobu2008-12-151-1/+2
| | | | | | | [ruby-core:20131] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load thenobu2008-12-151-1/+1
| | | | | | | shared library. [Bug #849] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): describes more targets.yugui2008-12-131-8/+19
| | | | | | | based on a patch by Michael Klishin. [ruby-core:20523]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (run, runruby, parse, gdb, gdb-ruby): you can also runyugui2008-12-121-5/+7
| | | | | | other scripts than $(srcdir)/test.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (win32.obj): depend on headers.usa2008-12-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): have to be updated daily or by non-trivialnobu2008-10-291-1/+1
| | | | | | | commits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (exts): renamed to get rid of the existent directory.nobu2008-10-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext): split out the target for extension library.nobu2008-10-241-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): depends on enc and trans.nobu2008-10-241-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/vm.h: write a comment.ko12008-10-211-1/+1
| | | | | | | | | | * common.mk: remove vm.h from any rules. vm.h is not needed on this version. * vm_core.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs): removed ID_H_TARGET.nobu2008-10-191-1/+1
| | | | | | | | | * tool/generic_erb.rb: always overwrites if no if-change option. * template/id.h.tmpl: shows which token differs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changedyugui2008-10-181-2/+2
| | | | | | | | | | | | | input files for code generators into defs/ directory. * Makefile.in (lex.c): followed keywords and lex.c.src. * common.mk (parser.o): followed keywords. (INSNS): followed opt_*.def * tools/instruction.rb: followed opt_*.def. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: use added options for generic_erb.rb.eban2008-10-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h: reverted.nobu2008-10-171-5/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ID_H_TARGET): phony target to update id.h.nobu2008-10-171-24/+29
| | | | | | | | | | | | * tool/ifchange, win32/ifchange.bat: --timestamp option added. * tool/generic_erb.rb: --timestamp, --output and --if-change options added. * template/id.h.tmpl: moved from id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (TESTS): removed to re-enable test for minitest.akr2008-10-161-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, enc/depend (enc, trans): targets for sources.nobu2008-10-161-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (TESTS): skips minitest by default, since it interferesnobu2008-10-141-0/+1
| | | | | | | with test/unit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * x68/_dtos18.c: removed. Ruby no longer supports human68k.yugui2008-10-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * x68/_round.c: ditto. * x68/fconvert.c: ditto. * x68/select.c: ditto. * ext/Setup.x68: ditto. * missing/x68.c: ditto. * dln.c (dln_find_exe_r): removed human68k supports. (dln_find_1): ditto. * lib/mkmf.rb: ditto. * ext/extmk.rb (Init_ext): ditto. * ext/socket/socket.c (init_sock): ditto. * gc.c (GC_MALLOC_LIMIT): ditto. (rb_setjmp, rb_jmpbuf): ditto. (mark_current_machine_context): ditto. * include/ruby/defines.h (PATH_ENV): ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_path.rb: ditto. * LEGAL git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (gdb-ruby): new target. it runs ruby under controlled byyugui2008-10-041-1/+4
| | | | | | | | | gdb. * common.mk (dist): accepts RELNAME variable as the second argument of make-snapshot.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.h): removes line directives.nobu2008-10-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dist): nothing is need to run BASERUBY.nobu2008-09-261-1/+1
| | | | | | | * tool/make-snapshot: new option -archname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed build failure on some platforms.yugui2008-09-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dist): Changed its dependencies andyugui2008-09-261-2/+2
| | | | | | action. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (Init_syserr): moved to the template.yugui2008-09-261-2/+5
| | | | | | | | | | | | | | | | | (errno_missing): removed. fixed [ruby-dev:35958]. * defs/knwon_errors.def: added. extracted from Init_syserr. * templates/known_errors.inc.tmpl: added. Template for Init_syserr. c.f. [ruby-dev:35958]. * tools/generic_erb.rb: added. general purpose mapper which maps data+template into source code. * common.mk (error.$(OBJEXT), incs, known_errors.inc): Fixed dependencies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ENC_MK): defaulted to enc.mk.nobu2008-09-261-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: dependency updated.akr2008-09-251-65/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: fix btest-* rules [ruby-dev:36528].ko12008-09-251-25/+5
| | | | | | | | and remove obsolete rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed basedir and runner args to test/runner.rb. not valid args anymoreryan2008-09-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (io.o): remove dependency for vm_core.h.ko12008-09-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.h (ruby_set_debug_option): declared.akr2008-09-231-1/+1
| | | | | | | | | | * main.c: include debug.h. * common.mk (main.$(OBJEXT)): dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/node.h, vm_core.h: move definition ofko12008-09-231-5/+5
| | | | | | | | | | | | | | | | | | | | | 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
* fix a typo.akr2008-09-231-26/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, hash.c: remove unused inclusion.ko12008-09-231-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_safe.c, safe.c: rename eval_safe.c to safe.c.ko12008-09-231-1/+3
| | | | | | | | | * common.mk, eval.c, safe.c, inits.c: separate safe.c from eval.c and make Init_safe(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: clean upko12008-09-231-205/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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