ocean
ec98300405
* bcc32/Makefile.sub: can use single quote character in DESTDIR.
...
[ruby-dev:26205]
* bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
[ruby-dev:26254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:35:35 +00:00
ocean
fecc253a10
* bcc32/Makefile.sub: tds files were not deleted when DESTDIR
...
included '\' path delimiter. [ruby-dev:26193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21 01:26:02 +00:00
nobu
a3c29ec51a
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
...
to get rid of redefinition warnings on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
nobu
2c716f2b47
* ext/extmk.rb: keep srcdir unexpanded.
...
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
fixed: [ruby-core:04932]
* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
also INSTALL_PROG and INSTALL_DATA system dependent.
fixed: [ruby-core:04931]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
dbbfbc5a21
* configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
...
C++ support. [ruby-dev:26089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 21:45:43 +00:00
nobu
514df9097e
* lib/mkmf.rb (create_makefile): support platforms have file separator
...
other than /.
* {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
of building platform.
* {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu
5c6e644196
* Makefile.in, common.mk: miniruby depens on MINIOBJS.
...
* dmydln.c (dln_load): dummy function to raise LoadError.
* cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
can't load extensions on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu
7f530ef4e1
* {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
...
add extout option.
* bcc32/setup.mak: make configuration variables overridable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
ocean
18c5d91bb3
* bcc32/Makefile.sub: quick hack... prepend DESTDIR.
...
still have restriction on DESTDIR ("", "/", "e:")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 01:40:34 +00:00
nobu
4a4ff7fac1
* common.mk: add {pre,post}-install targets.
...
* instruby.rb (install?): install particular part.
* bcc32/Makefile.sub (post-install-ext): remove debug information
files after installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 09:44:33 +00:00
nobu
a48c63f36b
* {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
...
when makefiles are modified.
* {bcc32,win32,wince}/Makefile.sub (config.status): add variables
for tests.
* win32/ifchange.bat: try to update a file only if modified.
* win32/resource.rb: more descriptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 09:38:40 +00:00
nobu
984f9a0df1
* configure.in, lib/mkmf.rb: use simple commands if available.
...
* mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
* lib/mkmf.rb (create_makefile): substitute implicit rules in depend
file.
* {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
include $(topdir) and $(hdrdir) to search path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:52:59 +00:00
nobu
80f4330973
* bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
...
import32.lib.
* lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
rule lines, add search path to implicit rules, and set Borland make
special macros for search path.
* win32/win32.c, win32/win32.h (read): aboid a BCC runtime bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:07:24 +00:00
usa
befb362acf
* {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 08:37:59 +00:00
usa
15de1b79f0
* {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
...
config.status to force updating them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:30:42 +00:00
usa
d51f21cee0
* bcc32/README.bcc32, win32/README.win32: need bison instead of
...
byacc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 08:33:17 +00:00
usa
0a4e53a5c5
* parse.y: add prototypes for Microsoft compiler.
...
* ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
* {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
use bison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17 11:38:49 +00:00
ocean
6302bcf022
* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
...
(need to rebuild all) [ruby-dev:24138]
* win32/win32.{h,c}: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 10:24:08 +00:00
usa
f4d60b5f63
* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
...
* win32/win32.[ch] (fcntl): ditto.
* win32/win32.c (rb_w32_connect): support nonblocking mode.
* ext/socket/socket.c (wait_connectable, ruby_connect): support
nonblocking connect on various platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 03:52:15 +00:00
usa
9effc74508
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
...
including version.h. [ruby-talk:104456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:02:11 +00:00
usa
8d9587fb81
* */Makefile.sub (distclean-local): should remove $(RBCONFIG).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-22 01:08:23 +00:00
nobu
e022b74520
* bcc32/Makefile.sub (PHONY): Borland make disallows empty command
...
rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 12:51:01 +00:00
nobu
43db576e61
* Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
...
doesn't work for object files on VC.
* */Makefile.sub (config.h): need SIZEOF_TIME_T now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 01:43:27 +00:00
nobu
6ebad07ea1
* bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 10:28:53 +00:00
nobu
3b79d34d99
* common.mk, */Makefile.sub (lib, dll): phony targets.
...
* configure.in (ruby, miniruby): ditto.
* cygwin/GNUmakefile.in (rubyw): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 05:01:15 +00:00
nobu
9356e8d177
* bcc32/Makefile.sub: needs bcc32/mkexports.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:46:14 +00:00
nobu
52a67fe60d
* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
...
separate files under directories due to directory separator.
* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
removed.
* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
rules.
* cygwin/GNUmakefile.in: some mingw stuffs were missed.
* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
from command lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
nobu
71f46f0724
* Makefile.in, */Makefile.sub, common.mk: extract common portions.
...
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
separated time stamp file for rbconfig.rb.
* configure.in: append common.mk to Makefile.
* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
* win32/rm.bat: remove multiple files.
* wince/mkconfig_wce.rb: use fake.rb instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 23:21:31 +00:00
usa
f2b4e71013
* ruby.c (opt_W_getter): get rid of warning.
...
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
fixed dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 01:17:12 +00:00
usa
8829aa4995
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
...
replaced regex.c entry with Oniguruma files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-09 01:05:12 +00:00
nobu
f9da3539ed
* Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old if
...
unchanged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 13:50:48 +00:00
ocean
ed694e74ff
* bcc32/setup.mak: configure's default is "--enable-install-doc"
...
* win32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:56:26 +00:00
ocean
8a5dba33b2
* bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
...
bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
instead of ``make DESTDIR=dir install''.
--with-static-linked-ext support on mswin32. [ruby-dev:23034]
(by Nakada. Thanks.)
* bcc32/setup.mak: "configure --disable-install-doc" is now working.
* win32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 08:22:48 +00:00
ocean
e5670724c5
* bcc32/configure.bat: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:21:20 +00:00
ocean
cbd201f13d
* configure.bat: append missing label ":exit".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:11:44 +00:00
nobu
d65d5e7661
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:44:35 +00:00
nobu
883857d842
* ext/extmk.rb: use optparse instead of getopts.
...
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 03:58:44 +00:00
ocean
142b1b9503
* bcc32/Makefile.sub: show more warnings. (refering to mingw)
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 11:31:30 +00:00
ocean
1b529182e1
* bcc32/Makefile.sub: should warn suspicious pointer conversion.
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 17:20:17 +00:00
nobu
2549889663
* mkconfig.rb: use fileutils.rb instead of ftools.rb.
...
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
STACK_GROW_DIRECTION.
* bcc32/Makefile.sub (config.h): add newer checks.
* wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:59:19 +00:00
usa
d255aa7b69
* string.c (rb_str_match): raise TypeError when both arguments are
...
strings. [ruby-dev:22851]
* string.c (rb_str_match2): removed.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub (string.c): now not depend on version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 05:36:34 +00:00
nobu
ff9c34b3f4
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
...
runruby.rb: run rdoc, test and so on with compiled extension
libraries. [ruby-dev:22688]
* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
directory, similar to the actual directory structure.
* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
file to create new file.
* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
influence by envirionment variable.
* bcc32/configure.bat, win32/configure.bat: add install-doc options.
* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
bug which returns wrong mode. [ruby-dev:22846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:48:55 +00:00
eban
181a3a2af5
* configure.in (DLEXT2): removed. Ruby does not treat
...
".dll" as a extention library anymore.
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (DLEXT2):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 14:18:42 +00:00
siena
357d0ffc29
* configure.in: check availability of link(). [ruby-dev:22237]
...
* file.c (rb_file_s_link): raise an exception when link() is unavailable.
* missing/os2.c (link): removed. File#link isn't supported.
* bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
* win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:09:40 +00:00
nobu
482b9c2ce7
* configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
...
quotes. [ruby-dev:22564]
* lib/mkmf.rb (libpathflag): do not enclose with quotes always.
* {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-10 14:01:50 +00:00
usa
d5ae9837ff
* bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 08:29:54 +00:00
usa
d0133e413d
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
...
HAVE_ISINF definition to follow previous commits of missing.h
and win32/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 09:26:24 +00:00
usa
d8d81b35a4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(XCFLAGS): re-export $(XCFLAGS).
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 00:30:37 +00:00
usa
1b6755193b
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24 05:54:05 +00:00
usa
dbd254d4f4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(HAVE_GETCWD): output to config.h.
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(XCFLAGS): output to config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-22 08:38:07 +00:00