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

163 Коммитов

Автор SHA1 Сообщение Дата
usa a0fe21b362 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
* {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12 20:39:02 +00:00
nobu b0c77fe85b * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub
(MINIOBJS, ARCHMINIOBJS): separated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-03 03:56:07 +00:00
usa 5bf63ffcaa * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01 00:42:06 +00:00
usa b2acbb2c67 * {bcc,win}32/Makefile.sub (config.h): define ssize_t.
* io.c (copy_stream_body): some platform don't have O_NOCTTY.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 09:58:41 +00:00
usa bc8c8e90d5 * {bcc,win}32/Makefile.sub: follow below changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 02:35:24 +00:00
usa cb912bc64d * {bcc,win}32/Makefile.sub (config.h): define uint32_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 10:58:32 +00:00
nobu 6a76630b3c * common.mk (clean-local): WINMAINOBJ is Windows specific.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-11 03:39:55 +00:00
usa 6aac0579d1 * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead of
ruby$(EXEEXT). 
	  suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>.
	  [ruby-dev:34000]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:08:37 +00:00
nobu 59a1754a64 * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove
intermediate files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-24 14:29:51 +00:00
usa 5b461c6996 * win32/resource.rb: made version infos confirm to OS spec.
* {bcc32,win32}/Makefile.sub (*.rc): add dependency.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-16 18:16:21 +00:00
nobu 5b7bdd56ad * {win,bcc}32/Makefile.sub (config.h): added HAVE_FTRUNCATE.
[ruby-dev:33786]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-15 01:27:48 +00:00
nobu c12b289362 * {bcc32,win32,wince}/Makefile.sub (MISSING): added cbrt.obj.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-10 06:07:31 +00:00
usa 4cd86dbe9f * missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
by literal 0.0. use const variable instead.

	* {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
	  tgamma.obj.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07 02:14:54 +00:00
usa ea24d298cf * {bcc32,win32}/Makefile.sub (MINIOBJS): add dmytranscode.$(OBJEXT).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-29 11:18:03 +00:00
nobu 6d91bf3b0c * common.mk (revision.h): extracts revision number with ``svn info''.
* common.mk (up): target to update from the repository.

* Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a
  file if changed.

* tool/ifchange: for unixen.

* win32/ifchange.bat: some fix


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-25 09:27:30 +00:00
nobu ad73c8b348 * enc/utf_8.c: renamed as IANA name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-15 08:26:54 +00:00
nobu de556e6281 * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
to get rid of ./ruby.exe.

* win32/enc-setup.mak: workaround for Borland make.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-15 05:57:40 +00:00
usa 4f703c7dad * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when
invoking ruby.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-15 04:55:28 +00:00
nobu 2e8965863d * common.mk (OBJS): moved encoding.o from COMMONOBJS.
* common.mk (dmyencoding.o): added.  [ruby-dev:33099]

* configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added
  dmyencoding.o.

* dmyencoding.c (rb_locale_charmap): returns nil for miniruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 16:19:02 +00:00
nobu 1637dbeca7 * {bcc,win}32/Makefile.sub (MV): use move instead of ren. [ruby-Bugs-17019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 00:17:31 +00:00
usa b9127221e5 * common.mk, Makefile.in, */Makefile.sub (distclean-local): move
removing rule of ext/ripper/y.output from common.mk to Makefiles
	  that depend on platforms.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 06:53:39 +00:00
nobu 74dd31fadf * trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for cross
compiling.

* configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib
  moved.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 21:50:40 +00:00
nobu 1c3c98821b * configure.in, cygwin/GNUmakefile.in, */Makefile.sub,
djgpp/config.hin.: version dependent directory names now contain
  teeny.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 06:42:06 +00:00
nobu 8d292a08df * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify
compiled output file name explicitly.

* enc/Makefile.in, enc/depend: now makes compiler to put generated
  files under directories corresnponding to the each source.
  enc/trans supported.

* enc/make_encmake.rb: evaluates depend file before Makefile.in so
  that the former can influence to CONFIG.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 03:49:56 +00:00
nobu 67d3013c5a * common.mk: should not pass MAKEFLAGS to recursive make.
+ normal make: MFLAGS are set and command line options and macros
    are all passed silently.
  + GNU make: ditto, and all options and macros in MAKEFLAGS are in
    effect.
  + nmake: MFLAGS is not set and MAKEFLAGS has only options without
    hyphen, no macros exist in any variables.
  + Borland make: ditto, and command line macros cannot override
    macros in makefile, so passing them is vain.

* {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
  set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:56:33 +00:00
nobu 872899fa58 * version.h: use patchlevel if revision is not set.
* {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 18:26:50 +00:00
usa c9bf419684 * */Makefile.sub (MFLAGS): define unless defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:30:40 +00:00
usa 1541ad6e8c * */Makefile.sub (DEFS, RM): output to config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 19:16:32 +00:00
nobu 4cf13ffaef * configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
* enc/Makefile.in (BUILTIN_ENCS): includes .c suffix.

* enc/depend: splitted from Makefile.in.

* {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17 08:17:50 +00:00
nobu 7554dd1346 * Makefile.in, */Makefile.sub (CP, MV): added.
* common.mk (.y.c): not discard the old target until successfully
  created.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-11 07:19:28 +00:00
akr e81b38e378 * common.mk, Makefile.in: rename prelude.c to miniprelude.c.
rename ext_prelude.c to prelude.c

* win32/Makefile.sub: ditto.

* bcc32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-14 05:06:36 +00:00
nobu d5a3389886 * common.mk (parse.c), ext/ripper/depend (ripper.c): process after
bison with sed.  [ruby-dev:32204]

* ruby.c (proc_options): use yydebug in cmdline_options.

* ruby.c (process_options): set yydebug flag of parser.

* parse.y (yydebug): moved into struct parser_params.

* parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser
  generic methods.

* */Makefile.sub (parse.c): moved to common.mk.

* tool/ytab.sed: comment out yydebug definition, and substitute
  yyerror with parser_yyerror.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13 12:41:41 +00:00
akr 9829e14432 * lex.c.blt: moved from lex.c.
* lex.c.src: copied from keywords.  This is the source of lex.c.blt.

* Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src.

* win32/Makefile.sub (lex.c): re-introduce copy rule.

* bcc32/Makefile.sub (lex.c): ditto.

* wince/Makefile.sub (lex.c): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13 06:29:49 +00:00
usa 647cd75166 * {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)
instead of $(LIBRUBY_A).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12 10:46:02 +00:00
nobu dc3ee49747 * {bcc,win}32/Makefile.sub (MINIOBJS): added prelude.$(OBJEXT).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12 09:32:55 +00:00
akr d705eabd77 * {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-11 11:35:49 +00:00
nobu 16262b6972 * {bcc32,win32}/Makefile.sub: vendor_ruby support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-10 04:18:44 +00:00
nobu 5542fe44bd * win32/mkexports.rb: deal with __fastcall name decorations.
[ruby-list:44111]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 18:55:54 +00:00
nobu fc3e0bd562 * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 00:02:20 +00:00
usa ba997e3529 * bcc32/Makefile.sub, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-11 05:31:48 +00:00
nobu 72483cdcca * Makefile.in, */Makefile.sub (VPATH): add enc directory.
* common.mk (ENCOBJS): encoding objects.

* enc: directory for encodings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-10 21:35:45 +00:00
nobu 2840fa6b65 * common.mk: inverted rules order.
* thread_win32.ci (w32_create_thread): bcc does not have
  _beginthreadex().

* bcc32/Makefile.sub: headers have moved.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 08:48:29 +00:00
nobu 92cad4305b * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args
support.

* bcc32/setup.mak: check runtime version.

* win32/win32.c (rb_w32_open_osfhandle): prototype has changed
  in bcc 5.82.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 08:32:34 +00:00
nobu 985099b0e3 * bcc32/Makefile.sub (ASMEXT): had overwitten OBJEXT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 07:11:39 +00:00
nobu 267241808b * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 06:39:26 +00:00
nobu c18e8ad7e9 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-10 05:50:10 +00:00
usa 7240868424 * missing/{strlcat,strlcpy}.c, missing.h: new functions.
* LEGAL: add copyright notice about above files.

* configure.in: check whether strlcat and strlcpy are exist or not.

* {bcc32,win32,wince}/Makefile.sub: use above files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-19 08:01:40 +00:00
nobu f9b349adb5 * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): system
specific thread model.

* compile.h, regint.h, vm.h, array.c: removed unnecessary #include.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 01:33:57 +00:00
nobu fddaf76b67 * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02 18:23:07 +00:00
usa b696420526 * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
setup.mak}: add --with-baseruby configure option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23 06:41:22 +00:00