Commit graph

116 commits

Author SHA1 Message Date
nobu
b2d434bdb1 * Makefile.in, common.mk, win32/Makefile.sub (REVISION_H): move
before the rule.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-15 03:36:03 +00:00
nobu
49110e29d3 * Makefile.in, common.mk, win32/Makefile.sub (revision.h): fix for
nmake.  [ruby-core:30249]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-15 02:59:41 +00:00
nobu
4211e89401 * README: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 03:12:28 +00:00
nobu
b743cc0d76 * Makefile.in, configure.in, common.mk, */Makefile.sub (CHDIR): cd
using phisical directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 23:35:16 +00:00
nobu
c206448c40 * configure.in, common.mk, */configure.bat (rdoc): make before
install if rdoc is enabled.  [ruby-dev:39325]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 02:23:47 +00:00
nobu
a5a60f53b3 * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
use miniruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-07 07:28:56 +00:00
nobu
4f42eded12 * lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):
moved clean targets to platfrom makefiles.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-07 05:16:27 +00:00
usa
0c694317dd * {bcc32,win32}/Makefile.sub (ruby_version): follow changes in
configure.in.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 14:03:03 +00:00
nobu
debd74a680 * Makefile.in, common.mk, {win,bcc}32/Makefile.sub (revision.h): auto
update.  [ruby-core:17373]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 02:17:37 +00:00
knu
b67592ed7b * configure.in, win32/Makefile.sub, mkconfig.rb, instruby.rb,
ruby.c, lib/mkmf.rb, README.EXT, README.EXT.ja: Backport the
  vendor_ruby directory support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-29 11:07:59 +00:00
nobu
a96b6c282b * common.mk ({MSPEC,RUBYSPEC}_GIT_URL): moved from Makefine.in.
* {win32,bcc32}/Makefile.sub (update-rubyspec): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-19 04:01:17 +00:00
nobu
85d9aea6b4 * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01 04:14:18 +00:00
nobu
c307e12554 * common.mk (clean-local): removes MINOBJS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-11 03:39:05 +00:00
usa
b18e67490e * {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/branches/ruby_1_8@15710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:10:32 +00:00
nobu
56faedc99d * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove
intermediate files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-24 14:29:51 +00:00
nobu
555d072892 * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03 16:20:29 +00:00
nobu
3729e62609 * 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/branches/ruby_1_8@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 21:50:40 +00:00
nobu
b655714f18 * 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/branches/ruby_1_8@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:56:33 +00:00
nobu
f31e0ec7fc * win32/mkexports.rb: deal with __fastcall name decorations.
[ruby-list:44111]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 18:55:54 +00:00
nobu
0b95a09a71 * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 00:02:20 +00:00
usa
7b830f7339 * {bcc32,win32}/Makefile.sub (COMMON_MACROS): workaround for old SDK's
bug. [ruby-core:12584]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-11 05:33:42 +00:00
nobu
521da028b5 * 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/branches/ruby_1_8@12831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 08:32:34 +00:00
nobu
c0e4f24ef6 * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 06:39:26 +00:00
nobu
cab1e49429 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-10 05:50:10 +00:00
nobu
6286e724e8 * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-21 15:48:01 +00:00
usa
e7f8f389fa * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-21 07:15:01 +00:00
nobu
9d468b9ad2 * common.mk (NULLCMD): dummy command.
* bcc32/Makefile.sub (post-install-*): Borland make cannot ignore
  command-less double-colon rules.  [ruby-dev:29676]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-19 23:44:00 +00:00
nobu
23575b58ba * bcc32/Makefile.sub ($(LIBRUBY_SO)): execute pre-link hook.
* ext/extmk.rb: workaround for Borland make.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-19 15:38:31 +00:00
nobu
919d7ecccf * mkconfig.rb: *OBJS are not needed for extension libraries.
* {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo,
  missing comma.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-15 23:32:12 +00:00
nobu
5fe3c2e3ef * bcc32/Makefile.sub (post-install-ext): no longer needed.
* bcc32/configure.bat: get rid of a quirk of Borland make, which
  sets empty macro in command line to "1".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-13 15:56:48 +00:00
usa
87814fcb84 * {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't use
copy command instead of install. use -run install.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-10 08:25:32 +00:00
usa
22c07519c0 * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to define
this macro to install.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20 00:54:45 +00:00
nobu
3a2cf78faa * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
* mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
  warnings with $VERBOSE.

* win32/resource.rb: add more info.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 19:49:02 +00:00
nobu
65937b5eb9 * ruby.h, lib/mkmf.rb (create_header): clear command line options for
macros moved to extconf.h.

* ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
  EXTSTATIC permanent.

* ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.

* {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
  $(INCFLAGS).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25 23:44:08 +00:00
ocean
c31dcc79b5 * bcc32/Makefile.sub (HAVE_HYPOT): bcc32 has hypot().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 02:37:59 +00:00
ocean
5ced09a22a * bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
memory manager cannot handle large memory block properly.
  ex: 10000.times { "" << "." * 529671; GC.start } # crash
  [ruby-dev:28230]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 13:46:03 +00:00
nobu
17f022491a * configure.in (RUBY_EXTERN): macro to export symbols in shared
library.  [ruby-core:05528]

* defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
  configuration pass.

* ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:00:03 +00:00
ocean
78604644e2 * bcc32/Makefile.sub (COMMON_HEADERS): reverted 1.42.2.24.
I misunderstood, bccwin32 on ruby_1_8 uses winsock2 originally.
  [ruby-dev:26806]

* win32/win32.h: include winsock2.h instead of winsock.h. (bcc32)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-18 03:50:47 +00:00
nobu
e869ff20a3 * common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
macro definitions.

* bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.

* {win32,wince}/Makefile.sub: separate config.h for compiler versions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 15:27:13 +00:00
ocean
fda231fe22 fixed command name, and attached link to the gnuwin32 site.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 13:29:08 +00:00
nobu
983c7c74ee * {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
source to XCFLAGS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-25 12:31:21 +00:00
ocean
dfd99a5782 * bcc32/Makefile.sub (COMMON_HEADERS): ruby_1_8 is using winsock.h.
failed to compile ext/socket on bcc5.6.4. [ruby-dev:26193]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-15 09:12:53 +00:00
ocean
408e222a46 * bcc32/Makefile.sub: can use single quote character in DESTDIR.
[ruby-dev:26205]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:36:17 +00:00
ocean
06b7b801ff * 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/branches/ruby_1_8@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21 01:26:02 +00:00
nobu
73cc4a2cd7 * 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/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
nobu
96afcf2b07 * 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/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
38c9bb1ae1 * 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/branches/ruby_1_8@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu
70779bf224 * 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/branches/ruby_1_8@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu
ddda8205c2 * {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/branches/ruby_1_8@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
ocean
1598a5a137 * bcc32/Makefile.sub: quick hack... prepend DESTDIR.
still have restriction on DESTDIR ("", "/", "e:")


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 01:40:34 +00:00