aboutsummaryrefslogtreecommitdiffstats
path: root/win32/Makefile.sub
Commit message (Collapse)AuthorAgeFilesLines
* * {bcc32,win32,wince}/Makefile.sub (config.h): check if affectednobu2005-03-031-5/+32
| | | | | | | | | | | | | | 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
* * configure.in, lib/mkmf.rb: use simple commands if available.nobu2005-02-221-1/+2
| | | | | | | | | | | | | * 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
* * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): useusa2005-02-101-1/+1
| | | | | | | | | | | | | winsock2 on mswin32/mingw. * ext/socket/extconf.rb: ditto. * win32/win32.c (StartSockets): ditto. * win32/win32.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: add prototypes for Microsoft compiler.usa2004-09-171-1/+2
| | | | | | | | | | * 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
* * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.usa2004-09-071-0/+1
| | | | | | | | | | | | * 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
* * configure.in, win32/Makefile.sub (LIBS): need to link shell32usa2004-08-191-1/+1
| | | | | | | library for SH* functions on mswin32 and mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * */Makefile.sub (distclean-local): should remove $(RBCONFIG).usa2004-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAGnobu2004-04-071-0/+4
| | | | | | | | | 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
* * cygwin/GNUmakefile.in (clean-local, distclean-local): removenobu2004-03-281-1/+1
| | | | | | | | | work files. * win32/Makefile.sub (clean-local): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, */Makefile.sub (lib, dll): phony targets.nobu2004-03-251-4/+2
| | | | | | | | | * 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
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-11/+15
| | | | | | | | | | | | | | | | | | 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
* * Makefile.in, */Makefile.sub, common.mk: extract common portions.nobu2004-03-211-350/+39
| | | | | | | | | | | | | | | | * 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
* * ruby.c (opt_W_getter): get rid of warning.usa2004-03-101-10/+13
| | | | | | | | * 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
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2004-03-091-4/+31
| | | | | | | replaced regex.c entry with Oniguruma files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old ifnobu2004-03-041-5/+7
| | | | | | | unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): shouldn't check defined? NORETURN.usa2004-03-021-3/+1
| | | | | | | | | [ruby-dev:23100] * ChangeLog: typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.nobu2004-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: use optparse instead of getopts.nobu2004-02-221-1/+1
| | | | | | | * 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
* * win32/Makefile.sub (config.status): should create *.pdb on ext/,usa2004-02-161-1/+1
| | | | | | | | | | | | | not .ext/. * win32/Makefile.sub (config.status): convert the name of import library. * lib/mkmf.rb (create_makefile): now don't need to remove $(TARGET).lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: use fileutils.rb instead of ftools.rb.nobu2004-02-141-10/+6
| | | | | | | | | | | | * 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
* * string.c (rb_str_match): raise TypeError when both arguments areusa2004-02-101-2/+1
| | | | | | | | | | | | 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
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,nobu2004-02-091-10/+52
| | | | | | | | | | | | | | | | | | | | | | 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
* * configure.in (DLEXT2): removed. Ruby does not treateban2004-01-291-2/+0
| | | | | | | | | | ".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
* * configure.in: check availability of link(). [ruby-dev:22237]siena2004-01-211-0/+1
| | | | | | | | | | * 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
* * ext/extmk.rb, win32/Makefile.sub, win32/configure.bat,usa2004-01-191-7/+13
| | | | | | | win32/setup.mak: --with-static-linked-ext support on mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with singlenobu2004-01-101-1/+1
| | | | | | | | | | | 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
* * win32/dir.h, win32/win32.c: fix patch miss.usa2004-01-051-1/+1
| | | | | | | * win32/Makefile.sub: fix file dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fix install directory if destdir and compile_dir areusa2003-12-281-4/+1
| | | | | | | | | | | | | not in the same drive. * ext/extmk.rb: ditto. * win32/Makefile.sub, win32/README.win32, win32/configure.bat, win32/setup.mak: new configure scheme. use ``configure --prefix=dir'' instead of ``nmake DESTDIR=dir install''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (config.h): removeusa2003-12-221-1/+0
| | | | | | | | 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
* * eval.c (stack_extend): ignore inline optimization on VC7.usa2003-12-181-3/+6
| | | | | | | | | | | | | * win32/Makefile.sub (OS, RT): can override. * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none option. based on Tietew's patch [ruby-dev:22289] * lib/mkmf.rb (create_makefile): should remove deffile if it's made by miniruby. based on nobu's patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-12-011-1/+2
| | | | | | | | | | (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
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-241-1/+1
| | | | | | | (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
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-221-0/+2
| | | | | | | | | | (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
* * string.c: add #include "version.h". this file still depends on it.usa2003-11-051-1/+2
| | | | | | | | * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub: add version.h dependency to string.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2003-11-041-4/+3
| | | | | | | remove needless version.h dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]eban2003-10-311-0/+1
| | | | | | | * bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spacesusa2003-10-301-1/+1
| | | | | | | at the beginning of line to remove by sed. (ruby-bugs-ja PR#580) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/csv/mac.csv.eban2003-09-161-1/+1
| | | | | | | * win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, w_object): get rid of warnings.nobu2003-08-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-06-051-2/+3
| | | | | | | | | | | (MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,nobu2003-05-211-9/+12
| | | | | | | wince/Makefile.sub: update dependencies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: defineusa2003-05-131-0/+1
| | | | | | | | HAVE_FSYNC. * win32/win32.h (fsync): define as _commit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_is_finite_p): use finite() if available.nobu2003-04-211-4/+4
| | | | | | | | | | | * win32/win32.h (isinf, isnan): define as macro. [ruby-win32:00533] * bcc32/Makefile.sub, win32/Makefile.sub: no longer use missing/isinf.c, missing/isnan.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: definenobu2003-03-041-2/+2
| | | | | | | | | | | | | RUBY_EXPORT to export symbols. * defines.h: use RUBY_EXTERN instead of EXTERN. * intern.h, re.h, ruby.h, rubysig.h: ditto. * win32/win32.h: remove EXTERN definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,knu2003-01-251-7/+12
| | | | | | | | | | | | bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS parser with something plain and comprehensible. This fixes a bug where make flags were wrongly reordered and the resulted command line often did not make sense especially when BSD make is used with extra arguments given. Tested with FreeBSD and Linux by me and mswin32, bccwin32 and mingw by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() andnobu2003-01-091-1/+1
| | | | | | | | | | | | | | | | | | fflush() are needed. * io.c (flush_before_seek): flush write stream only. * io.c (rb_io_check_readable): seek instead of flush if the last operation was write. * io.c (rb_io_check_writable): seek instead of flush if the last operation was read. * bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between R/W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): under Windows, get the modulenobu2003-01-051-2/+2
| | | | | | | | | | | | | | path from an internal address instead of hard coded library name. * cygwin/GNUmakefile.in, bcc32/Makefile.sub, win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro. * bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer depends on makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.usa2003-01-041-1/+1
| | | | | | | | | | | | | | | | | * win32/Makefile.sub (LIBS): use oldnames.lib. * win32/win32.c (rb_w32_getcwd): follow above change. * win32/win32.h: ditto. * wince/direct.c, wince/direct.h (getcwd): ditto. * wince/io.h: ditto. * wince/string.c, wince/wince.h (stricmp, strnicmp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set rb_cv_need_io_flush_between_seek=yes.usa2003-01-041-0/+1
| | | | | | | | * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. (pointed out by moriq [ruby-dev:19299]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, {win32,bcc32}/Makefile.sub: add new target:eban2002-12-311-0/+4
| | | | | | | | | | | | | | | what-where, no-install. * mkconfig.rb: add const: CROSS_COMPILING. * ext/extmk.rb: no-install support. add MAKEDIRS macro. * lib/mkmf.rb: add !ifdef .. !endif for Borland make. * process.c: improve DJGPP support. system "ls", "-l". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e