summaryrefslogtreecommitdiffstats
path: root/win32/Makefile.sub
Commit message (Collapse)AuthorAgeFilesLines
...
* * common.mk (distclean-enc, realclean-enc): do not call clean ofnobu2009-01-271-7/+2
| | | | | | | | | | | | | | | | | | | enc.mk twice or more. * enc/depend (cleanobjs): added deffile. * lib/mkmf.rb (create_makefile): removes deffile at clean instead of distclean. * win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp files. * win32/Makefile.sub (clean, distclean): have moved to common.mk. * win32/rmdirs.bat: omits `not empty' message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (clean-ext): condition of EXTS was inverted.nobu2009-01-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-extout): removes extout directory.nobu2009-01-251-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory andnobu2009-01-251-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parents. * Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove temprary rdoc. * Makefile.in, win32/Makefile.sub (distclean): removes extout directory. * Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent directories. * common.mk (clean, distclean): cleans rdoc. * configure.in (RMDIRS, RMALL): added to clean extout. * lib/fileutils.rb (FileUtils#rmdir): added :parents option. * lib/mkmf.rb (create_makefile): cleans installed files at clean instead of distclean. * lib/mkmf.rb (create_makefile): added clean-so and clean-rb. * lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS. * lib/un.rb (rmdir): added -p option. * tool/rmdirs, win32/rmdirs.bat: removes directory and the parents. * win32/rm.bat: added -r option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (VCSUP): fixed the cases for git-svn or git.yugui2009-01-171-2/+2
| | | | | | | | * win32/Makefile.sub (VCSUP): ditto. * Makefile.in (up): `cd' is necessary for git and git-svn. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (up): tell nmake that need to run command viausa2009-01-161-1/+1
| | | | | | | | shell. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): set VCS and VCSUP.nobu2009-01-161-0/+14
| | | | | | | * Makefile.in, win32/Makefile.sub (up): split from common.mk. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa2009-01-161-26/+11
| | | | | | | | | | | | miniprelude.c, newline.c): if dependencies is newer than targets or targets don't exist, try to create targets with BASERUBY. no need to detect errors there because the absence of BASERUBY is not abnormal. after the try, if the targets still don't exist, copy them from $(srcdir). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX): must define as string.usa2009-01-161-0/+4
| | | | | | | | | | | if not, cause compile error in using PRI?VALUE. * win32/Makefile.sub (config.h): add SIZEOF_INTPTR_T and SIZEOF_UINTPTR_T for SIZEOF_VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa2009-01-151-6/+6
| | | | | | | | | | | miniprelude.c, newline.c): shoudn't copy when $(srcdir) != ".", too. (this is a workaround. we need more strict check.) * win32/Makefile.sub ($(INSNS)): shound't remove BASERUBY. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMPILERFLAG): for enc/trans/gb18030.c.usa2009-01-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (MISSING): added langinfo on mingwnobu2009-01-151-1/+1
| | | | | | | | | | | | and mswin. * encoding.c (rb_locale_charmap): use environments on mingw and mswin. * missing/langinfo.c (nl_langinfo_codeset): MS-Windows Japanese environment uses Windows-31J derived from Shift_JIS, not EUC-JP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa2009-01-151-6/+6
| | | | | | | | miniprelude.c, newline.c): copy only when $(srcdir) != pwd. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h, thread.c, win32/Makefile.sub (rb_fdset_t,usa2009-01-131-0/+5
| | | | | | | | | | | | | | | rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr, rb_fd_isset, rb_fd_select, rb_fd_ptr, rb_fd_max, HAVE_RB_FD_INIT): new type, functions, and macros for Windows. * win32/win32.c (extract_fd, rb_w32_select): use rb_fdset_t to expand fd_array if needed. [ruby-core:19946] * win32/win32.c (copy_fd): new funcion for rb_w32_select(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macrousa2009-01-031-2/+5
| | | | | | | | | definition from common.mk to {Makefile.in,win32/Makefile.sub}. [ruby-dev:37678] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,usa2009-01-021-0/+36
| | | | | | | | | | known_errors.inc, miniprelude.c, newline.c): move rules from common.mk to {Makefile.in,win32/Makefile.sub) for nmake. [ruby-core:20993] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (distclean-ext, realclean-ext): use EXTS as default.nobu2008-12-311-1/+5
| | | | | | | | * win32/Makefile.sub (distclean-ext, realclean-ext): try to remove ext directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): do not use snprintf/vsnprintf innobu2008-12-281-4/+0
| | | | | | | msvcrt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): no longer uses snprintf and vsnprintf ofnobu2008-12-221-0/+2
| | | | | | | | | | | | | | | | | | msvcrt. * win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed. * win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later. * win32/mkexports.rb (Exports#initialize): aliases rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility. * sprintf.c (rb_str_format): uses snprintf instead of sprintf. * numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHNusa2008-12-151-0/+1
| | | | | | | | to follow r20683. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]suke2008-11-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (RUNRUBY): now ruby requires something fromusa2008-10-281-1/+1
| | | | | | | | gem_prelude, so need to set library path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sitedir): considers --program-prefix andyugui2008-10-241-11/+11
| | | | | | | | | | | | | | | | --program-suffix. (vendordir): ditto. (rubyhdrdir): ditto. * mkconfig.rb (CONFIG["rubylibdir"]): ditto. * win32/Makefile.sub: ditto. * instruby.rb (:rdoc): ditto. * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: Ruby no longer supports Windows CE.yugui2008-10-041-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/win32.h: ditto. * ruby.c: ditto. * strftime.c: ditto. * win32/Makefile.sub: ditto. * win32/win32.c: ditto. * ext/tk/extconf.rb: ditto. * lib/fileutils.rb: ditto. * test/fileutils/test_fileutils.rb: ditto. * wince/*: removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefixusa2008-10-031-2/+2
| | | | | | | | configure option support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.usa2008-09-081-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMPILERFLAG): new compiler flag to compileusa2008-09-021-1/+4
| | | | | | | | enc/trans/japanese*.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby): new target.usa2008-09-021-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func, try_var, have_struct_member),nobu2008-08-311-0/+3
| | | | | | | | | | | (scalar_ptr_type?, scalar_type?): use MAIN_DOES_NOTHING. * lib/mkmf.rb (MAIN_DOES_NOTHING): defaults to ordinary main. * win32/Makefile.sub (config): for MAIN_DOES_NOTHING for wince. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.h): workaround for nmake.nobu2008-08-141-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do notnobu2008-08-071-0/+8
| | | | | | | use miniruby. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):nobu2008-08-071-1/+2
| | | | | | | moved clean targets to platfrom makefiles. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): export BASERUBY.usa2008-08-061-0/+1
| | | | | | | | * enc/depend: avoid GNU make'ism. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (ruby_version): follow changes in configure.in.usa2008-07-151-7/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.usa2008-07-121-0/+8
| | | | | | | | * {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which createdusa2008-07-121-1/+1
| | | | | | | | | | with DLL is broken. save import library which created by lib.exe and install it. fixed the problem mentioned at the postscript of [ruby-dev:35448] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.rb, win32/Makefile.sub (PLATFORM): use $(PLATFORM)usa2008-07-111-15/+15
| | | | | | | | instead of $(OS) because ENV["OS"] is used in test-all (drb). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.usa2008-06-061-1/+1
| | | | | | | | | | | | * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo, freehostent, freeaddrinfo): undef before define because these are macros in some versions of Windows SDK. merged from ruby_1_8. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot benobu2008-06-031-1/+1
| | | | | | | written by miniruby itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (wait_writable): wait until target files can benobu2008-06-021-1/+6
| | | | | | | | | | written actually. * win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of mt.exe. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (MKPREP): appended $(RBCONFIG).nobu2008-05-281-8/+0
| | | | | | | | | | * common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32 to get of compiling twice each time. * win32/Makefile.sub (prelude.c): not depend on $(PREP). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (MKPREP), common.mk, win32/Makefile.sub (prelude.c): getnobu2008-05-271-0/+8
| | | | | | | | | rid of depending PREP with nmake. * common.mk (encs): depends on libruby. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.subnobu2008-04-031-1/+1
| | | | | | | (MINIOBJS, ARCHMINIOBJS): separated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.usa2008-04-011-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (config.h): define ssize_t.usa2008-03-311-0/+6
| | | | | | | | * io.c (copy_stream_body): some platform don't have O_NOCTTY. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub: follow below changes.usa2008-03-141-9/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,naruse2008-03-141-0/+25
| | | | | | | | | | | uint32_t int64_t, uint64_t, int128_t, uint128_t, intptr_t, uintptr_t): check if defined. * win32/Makefile.sub: follow configure.in. * ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (config.h): define uint32_t.usa2008-03-131-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-local): WINMAINOBJ is Windows specific.nobu2008-03-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead ofusa2008-03-061-1/+1
| | | | | | | | | | ruby$(EXEEXT). suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:34000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e