Граф коммитов

346 Коммитов

Автор SHA1 Сообщение Дата
nobu 26be081f1b Makefile.in: PIC lex.c
* Makefile.in (lex.c): make position independent table.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-22 00:37:09 +00:00
naruse c4324e31f4 * Makefile.in (rbconfig.rb): add rule to make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-07 02:39:59 +00:00
nobu d138ab0442 Makefile.in: selectable configure
* Makefile.in (reconfig): use selected configure script name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-21 00:11:20 +00:00
nobu 663eefcb6f Makefile.in: CONFIGURE
* Makefile.in (CONFIGURE): make configure script name selectable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-19 02:04:31 +00:00
nobu f0e2c9591b Makefile.in: no probes.stamp unless DTRACE_REBUILD
* Makefile.in (probes.o): do not need to rebuild object files
  unless `dtrace -G` modifies input object files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-13 01:55:44 +00:00
nobu db24cb705d miniinit.c: minimum built-in encodings in miniruby
* common.mk (MINIOBJS): no longer need dmyenc.o.

* miniinit.c (Init_enc): declare minimum built-in encodings so
  that these Encoding constants will be available in miniruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-08 06:30:32 +00:00
nobu cdcae92de9 common.mk: same fake.rb
* common.mk (fake.rb): generate from same template on all
  platforms including win32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:24 +00:00
nobu 6268830ba8 mkconfig.rb: without fake.rb
* tool/mkconfig.rb: use arguments instead of built-in constants
  to work without fake.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:11 +00:00
nobu e9f3a59e85 configure.in: BOOTSTRAPRUBY
* configure.in (BOOTSTRAPRUBY): baseruby if cross compiling or
  miniruby, anyway runnable ruby command.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:06 +00:00
nobu 556515bf69 Makefile.in: make static IDs symbols local
* Makefile.in (LIBRUBY_SO): make symbols for static IDs which
  begin with ruby_static_id_ local too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-23 07:05:23 +00:00
nobu 57e60d1f10 Makefile.in: do not rebuild unnecessarily
* Makefile.in (probes.stamp): rebuild dtrace dependent objects
  only when `dtrace -G` modifies its input files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04 02:12:45 +00:00
ngoto b7ff3d3b68 * common.mk (ruby-glommed.o): dependency on $(OBJ) should be written
in common.mk (in which OBJ is defined) because of Makefile include
  and parse order. This partly reverts r49419.
  [ruby-dev:48849] [Bug #10808]

* Makefile.in (ruby-glommed.o): ditto.

* Makefile.in (ruby-glommed.o): remove excess $(DTRACE_OBJ) because
  it is included in $(OBJS) since r49451.

* Makefile.in (probes.o): should depend on $(DTRACE_DEPENDENT_OBJS)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03 10:43:27 +00:00
nobu 1b11ba706d common.mk: link DTRACE_OBJ
* common.mk (COMMONOBJS): include $(DTRACE_OBJ) which is necessary
  for $(DTRACE_DEPENDENT_OBJS).

* configure.in (RUBY_DTRACE_POSTPROCESS): separate whether dtrace
  is needed to genearate probes.o and whether it modifies input
  object files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-30 11:45:29 +00:00
nobu fd8cf62f37 Makefile.in: dtrace-specific stuffs
* Makefile.in (DTRACE_DEPENDENT_OBJS): move dtrace-specific stuffs
  from common.mk.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-27 05:39:52 +00:00
nobu c51293ffae Makefile.in: clean ext from toplevel
* Makefile.in (clean-ext): clean extension directories from upper
  level.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-21 09:58:00 +00:00
nobu fbbf3afc11 builtin encodings and transcoder locations
* Makefile.in (VPATH, NEWLINE_C), common.mk (common-srcs): make
  and use newline.c under enc/trans directory, not toplevel.  no
  longer search enc directory implicitly.
* configure.in, enc/Makefile.in (BUILTIN_ENCS, BUILTIN_TRANSES):
  prefix respective directory names to builtin encodings and
  transcoder source names.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-18 03:56:52 +00:00
usa c5712c91b9 * Makefile.in, common.mk: move common-srcs to Makefile.in because
it breaks build on mswin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 15:22:58 +00:00
nobu 51f945670f common.mk: run after-update
* common.mk (up): run after-update on every platforms.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 14:30:32 +00:00
nobu 15cfc9553a common.mk: rebuild verconf.h for each configure
* win32/Makefile.sub (verconf.h): so depends on verconf.mk, which
  is rebuilt by setup.mak.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-01 08:20:45 +00:00
nobu e5df8e7bb3 common.mk: INITOBJS
* common.mk (INITOBJS): rename DMYEXT.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 20:04:48 +00:00
nobu 50ad0f58bb * win32/Makefile.sub (prelude.c): search from source directory,
not depending on VPATH, in parallel to r35135.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 10:29:00 +00:00
nobu 1cede1dab2 reaply r48278
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06 10:53:04 +00:00
naruse 8d00496911 Revert r48278 "common.mk: update unicode data only if BASERUBY is available"
Moreover its error "make[1]: *** No rule to make target
`lib/unicode_normalize/tables.rb', needed by `srcs-lib'.  Stop." is not
a good error message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06 05:46:43 +00:00
nobu ef8139db13 common.mk: update unicode data only if BASERUBY is available
* common.mk (lib/unicode_normalize/tables.rb): do nothing unless
  BASERUBY is available.  MINIRUBY cannot load extension libraries,
  so cannot update Unicode data.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-05 05:11:33 +00:00
nobu cde7ae1c15 common.mk: split after-update
* common.mk (after-update): move platform independent targets from
  Makefile.in.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:55:08 +00:00
nobu f54774e351 Makefile.in: update gems after update
* Makefile.in (after-update): update bundled gems source tree too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:06:32 +00:00
nobu 622f31be31 Makefile.in: update unicode files only after update source tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:14:56 +00:00
kou 1a37c5a4b6 * Makefile.in (update-coverage): Remove a never executed line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 13:04:04 +00:00
hsbt 355c032fcf * test/runner.rb: reporting test coverage for test-all with COVERAGE env.
[Feature #10189][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked simplecov url.
* .gitignore: ignored coverage directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 07:59:18 +00:00
nobu ce4cfec88a configure.in: with-destdir
* configure.in: add --with-destdir option which sets default
  destination directory to install.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-18 01:47:01 +00:00
nobu b1f4bf8aa2 common.mk: integrate clean targets
* common.mk (clean-rdoc, clean-capi, clean-platform): integrate
  from Makefile.in and win32/Makefile.sub.

* win32/Makefile.sub (RMALL): now use rm.bat instead of rmall.bat
  which does not handle any options and convert slashes.

* win32/rmall.bat: no longer used.  use rm.bat with -r instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-07 07:08:06 +00:00
nobu 86689e037f common.mk: empty by distclean
* common.mk (clean-runnable): remove files made by mkrunnable.

* common.mk (clean-extout): remove archir too.

* common.mk (clean-ext): remove timestamp directory

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-05 07:02:39 +00:00
nobu 8eedcaa6b5 common.mk: move DEFAULT_PRELUDES
* common.mk (DEFAULT_PRELUDES): no longer configurable since
  r43278, move from Makefile.in and win32/Makefile.sub.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-04 17:32:51 +00:00
nobu c2b0992156 configure.in: fix static-linked-ext
* configure.in (--with-static-linked-ext): fix for extensions to
  be linked statically.
* Makefile.in, common.mk: use ENCSTATIC for enc directory.
* ext/extmk.rb: supply dependencies of statically linked extension
  libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-03 03:40:24 +00:00
nobu 08580181ac configure.in: extract date at build time
* Makefile.in, configure.in (Makefile): extract RUBY_RELEASE_DATE from
  version.h at each build time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-16 20:23:23 +00:00
nobu 2f0c383d9d gmake.mk: universal assembler rules
* Makefile.in (CFLAGS_NO_ARCH): split from ARCH_FLAG.

* defs/gmake.mk: define assembler rules per architectures for
  universal binaries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 19:32:17 +00:00
nobu 7f2c371fba Makefile.in: suppress warnings
* Makefile.in (enc/jis/props.h): suppress `pointer-to-int-cast`
  warnings by using `offsetof`.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-22 15:09:11 +00:00
nobu f1b49b7bb9 constify character property tables
* enc/jis/props.kwd: constify character property tables of JIS
  based encodings by perfect hash.
* enc/euc_jp.c, enc/shift_jis.c: use character property functions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-22 05:02:15 +00:00
akr db9d8759ee * common.mk: Unused target, $(MKMAIN_CMD), removed.
* Makefile.in (MKMAIN_CMD): Unused macro removed.

* win32/Makefile.sub (MKMAIN_CMD): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-13 01:21:39 +00:00
akr 3699a6035e * Makefile.in: ".DEFAULT" target removed because it is not for
specifying default target.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-04 10:44:44 +00:00
nobu 7a24660960 Makefile.in, configure.in: cppflags
* Makefile.in, configure.in (cppflags): allow setting cppflags from
  the confiugre command line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-17 04:32:51 +00:00
nobu 02d28d01cf ruby.c: gem_prelude to load rubygems
* ruby.c (process_options): use gem_prelude instead of requiring
  rubygems directly when --enable=gems is given.
* Makefile.in (DEFAULT_PRELUDES): always use gem_prelude regardless of
  --disable-rubygems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-14 03:22:24 +00:00
nobu a7d04e536b Makefile.in: generate for each makefiles
* Makefile.in (MKFILES): generate for each files for parallel build.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-13 03:49:48 +00:00
nobu 3eef1b54ef configure.in: RUNRUBY_COMMAND
* configure.in, Makefile.in (RUNRUBY_COMMAND): separate from RUNRUBY,
  to use options for runruby.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-30 07:07:06 +00:00
ngoto a6f1305380 * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include library path that should be specified before LIBS.
[ruby-dev:47707] [Bug #8901]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-12 12:47:49 +00:00
nobu 5397a25634 configure.in: fix cross-compiling installation failure
* configure.in (RUNRUBY): append -- only after runruby.rb, not
  cross-compiling baseruby, so that $(RUN_OPT) can be command line
  options.  [ruby-dev:47703] [Bug #8893]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-11 08:30:48 +00:00
nobu 9f60d8421c * Makefile.in (after-update): non-configure platforms don't need
config files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 05:10:15 +00:00
nobu 67f562a417 Makefile.in: loadpath from loadpath.c
* Makefile.in (loadpath): $LOAD_PATH in miniruby is empty by default
  now.

* win32/Makefile.sub (loadpath): separate for quirky cmd.exe syntax.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 07:54:04 +00:00
nobu 81cb1f6394 compiler version
* 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-22 07:57:09 +00:00
nobu 1dfb5bb7fc Makefile.in: remove broken symlinks
* Makefile.in ($(LIBRUBY_SO)): always try to remove symlink targets
  for broken symlinks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21 05:26:32 +00:00