Permalink
Browse files

Including as stripped-down version of Rake and a batch file to run a …

…standard build
  • Loading branch information...
1 parent 13cd39c commit ecba4e613738cb9be761c7e1698f4ccdaef0b561 @agross agross committed Nov 19, 2009
Showing with 12,304 additions and 3 deletions.
  1. +1,591 −0 Tools/Rake/lib/ruby/1.8/fileutils.rb
  2. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/Win32API.so
  3. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/bigdecimal.so
  4. +92 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/config.h
  5. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/curses.so
  6. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/dbm.so
  7. +262 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/defines.h
  8. +32 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/digest.h
  9. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest.so
  10. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/bubblebabble.so
  11. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/md5.so
  12. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/rmd160.so
  13. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/sha1.so
  14. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/sha2.so
  15. +313 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/dl.h
  16. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/dl.so
  17. +16 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/dlconfig.h
  18. +40 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/dln.h
  19. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/enumerator.so
  20. +60 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/env.h
  21. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/etc.so
  22. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/fcntl.so
  23. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/gdbm.so
  24. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/iconv.so
  25. +508 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/intern.h
  26. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/io/wait.so
  27. +142 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/missing.h
  28. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/nkf.so
  29. +474 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/node.h
  30. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/openssl.so
  31. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/racc/cparse.so
  32. +154 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/rbconfig.rb
  33. +42 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/re.h
  34. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/readline.so
  35. +221 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/regex.h
  36. +759 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/ruby.h
  37. +88 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/rubyio.h
  38. +105 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/rubysig.h
  39. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/sdbm.so
  40. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/socket.so
  41. +72 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/st.h
  42. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/stringio.so
  43. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/strscan.so
  44. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/syck.so
  45. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/tcltklib.so
  46. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/thread.so
  47. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/tkutil.so
  48. +67 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/util.h
  49. +19 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/version.h
  50. +559 −0 Tools/Rake/lib/ruby/1.8/i386-mswin32/win32/win32.h
  51. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/win32ole.so
  52. BIN Tools/Rake/lib/ruby/1.8/i386-mswin32/zlib.so
  53. +352 −0 Tools/Rake/lib/ruby/1.8/monitor.rb
  54. +1,788 −0 Tools/Rake/lib/ruby/1.8/optparse.rb
  55. +146 −0 Tools/Rake/lib/ruby/1.8/ostruct.rb
  56. +360 −0 Tools/Rake/lib/ruby/1.8/singleton.rb
  57. +2,506 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake.rb
  58. +108 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/alt_system.rb
  59. +8 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/classic_namespace.rb
  60. +33 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/clean.rb
  61. +24 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/compositepublisher.rb
  62. +153 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/ftptools.rb
  63. +75 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/publisher.rb
  64. +18 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/rubyforgepublisher.rb
  65. +47 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/sshpublisher.rb
  66. +209 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/sys.rb
  67. +97 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/gempackagetask.rb
  68. +42 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/loaders/makefile.rb
  69. +184 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/packagetask.rb
  70. +5 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/rake_test_loader.rb
  71. +209 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/rdoctask.rb
  72. +23 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/ruby182_test_unit_fix.rb
  73. +23 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/runtest.rb
  74. +23 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/tasklib.rb
  75. +161 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/testtask.rb
  76. +55 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rake/win32.rb
  77. +10 −0 Tools/Rake/lib/ruby/site_ruby/1.8/rubygems.rb
  78. +10 −0 Tools/Rake/lib/ruby/site_ruby/1.8/ubygems.rb
  79. +19 −0 build.cmd
  80. +0 −3 rakefile

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,92 @@
+#if _MSC_VER != 1200
+#error MSC version unmatch
+#endif
+#define USE_WINSOCK2 1
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_OFF_T 1
+#define SIZEOF_INT 4
+#define SIZEOF_SHORT 2
+#define SIZEOF_LONG 4
+#define SIZEOF_LONG_LONG 0
+#define SIZEOF___INT64 8
+#define SIZEOF_OFF_T 4
+#define SIZEOF_VOIDP 4
+#define SIZEOF_FLOAT 4
+#define SIZEOF_DOUBLE 8
+#define SIZEOF_TIME_T 4
+#define HAVE_PROTOTYPES 1
+#define TOKEN_PASTE(x,y) x##y
+#define HAVE_STDARG_PROTOTYPES 1
+#define NORETURN(x) __declspec(noreturn) x
+#define RUBY_EXTERN extern __declspec(dllimport)
+#define HAVE_DECL_SYS_NERR 1
+#define HAVE_LIMITS_H 1
+#define HAVE_FCNTL_H 1
+#define HAVE_SYS_UTIME_H 1
+#define HAVE_FLOAT_H 1
+#define rb_pid_t int
+#define rb_gid_t int
+#define rb_uid_t int
+#define HAVE_STRUCT_STAT_ST_RDEV 1
+#define HAVE_ST_RDEV 1
+#define GETGROUPS_T int
+#define RETSIGTYPE void
+#define HAVE_ALLOCA 1
+#define HAVE_DUP2 1
+#define HAVE_MEMCMP 1
+#define HAVE_MEMMOVE 1
+#define HAVE_MKDIR 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_STRERROR 1
+#define HAVE_STRFTIME 1
+#define HAVE_STRCHR 1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOD 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define HAVE_FLOCK 1
+#define HAVE_VSNPRINTF 1
+#define HAVE_ISNAN 1
+#define HAVE_FINITE 1
+#define HAVE_HYPOT 1
+#define HAVE_FMOD 1
+#define HAVE_FREXP 1
+#define HAVE_MODF 1
+#define HAVE_WAITPID 1
+#define HAVE_FSYNC 1
+#define HAVE_GETCWD 1
+#define HAVE_CHSIZE 1
+#define HAVE_TIMES 1
+#define HAVE_FCNTL 1
+#define HAVE_LINK 1
+#define HAVE__SETJMP 1
+#define HAVE_TELLDIR 1
+#define HAVE_SEEKDIR 1
+#define HAVE_MKTIME 1
+#define HAVE_COSH 1
+#define HAVE_SINH 1
+#define HAVE_TANH 1
+#define HAVE_TZNAME 1
+#define HAVE_DAYLIGHT 1
+#define SETPGRP_VOID 1
+#define RSHIFT(x,y) ((x)>>(int)y)
+#define FILE_COUNT _cnt
+#define FILE_READPTR _ptr
+#define inline __inline
+#define NEED_IO_SEEK_BETWEEN_RW 1
+#define STACK_GROW_DIRECTION -1
+#define DEFAULT_KCODE KCODE_NONE
+#define DLEXT ".so"
+#define DLEXT2 ".dll"
+#define RUBY_LIB "/lib/ruby/1.8"
+#define RUBY_SITE_LIB "/lib/ruby/site_ruby"
+#define RUBY_SITE_LIB2 "/lib/ruby/site_ruby/1.8"
+#define RUBY_PLATFORM "i386-mswin32"
+#define RUBY_ARCHLIB "/lib/ruby/1.8/i386-mswin32"
+#define RUBY_SITE_ARCHLIB "/lib/ruby/site_ruby/1.8/i386-msvcrt"
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,262 @@
+/************************************************
+
+ defines.h -
+
+ $Author: shyouhei $
+ $Date: 2007-09-07 16:33:58 +0900 (Fri, 07 Sep 2007) $
+ created at: Wed May 18 00:21:44 JST 1994
+
+************************************************/
+#ifndef DEFINES_H
+#define DEFINES_H
+
+#define RUBY
+
+#ifdef __cplusplus
+# ifndef HAVE_PROTOTYPES
+# define HAVE_PROTOTYPES 1
+# endif
+# ifndef HAVE_STDARG_PROTOTYPES
+# define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
+#undef _
+#ifdef HAVE_PROTOTYPES
+# define _(args) args
+#else
+# define _(args) ()
+#endif
+
+#undef __
+#ifdef HAVE_STDARG_PROTOTYPES
+# define __(args) args
+#else
+# define __(args) ()
+#endif
+
+#ifdef __cplusplus
+#define ANYARGS ...
+#else
+#define ANYARGS
+#endif
+
+#define xmalloc ruby_xmalloc
+#define xcalloc ruby_xcalloc
+#define xrealloc ruby_xrealloc
+#define xfree ruby_xfree
+
+void *xmalloc _((long));
+void *xcalloc _((long,long));
+void *xrealloc _((void*,long));
+void xfree _((void*));
+
+#if SIZEOF_LONG_LONG > 0
+# define LONG_LONG long long
+#elif SIZEOF___INT64 > 0
+# define HAVE_LONG_LONG 1
+# define LONG_LONG __int64
+# undef SIZEOF_LONG_LONG
+# define SIZEOF_LONG_LONG SIZEOF___INT64
+#endif
+
+#if SIZEOF_INT*2 <= SIZEOF_LONG_LONG
+# define BDIGIT unsigned int
+# define SIZEOF_BDIGITS SIZEOF_INT
+# define BDIGIT_DBL unsigned LONG_LONG
+# define BDIGIT_DBL_SIGNED LONG_LONG
+#elif SIZEOF_INT*2 <= SIZEOF_LONG
+# define BDIGIT unsigned int
+# define SIZEOF_BDIGITS SIZEOF_INT
+# define BDIGIT_DBL unsigned long
+# define BDIGIT_DBL_SIGNED long
+#elif SIZEOF_SHORT*2 <= SIZEOF_LONG
+# define BDIGIT unsigned short
+# define SIZEOF_BDIGITS SIZEOF_SHORT
+# define BDIGIT_DBL unsigned long
+# define BDIGIT_DBL_SIGNED long
+#else
+# define BDIGIT unsigned short
+# define SIZEOF_BDIGITS (SIZEOF_LONG/2)
+# define BDIGIT_DBL unsigned long
+# define BDIGIT_DBL_SIGNED long
+#endif
+
+#ifdef __CYGWIN__
+#undef _WIN32
+#endif
+
+#if defined(MSDOS) || defined(_WIN32) || defined(__human68k__) || defined(__EMX__)
+#define DOSISH 1
+#ifndef _WIN32_WCE
+# define DOSISH_DRIVE_LETTER
+#endif
+#endif
+
+/* define RUBY_USE_EUC/SJIS for default kanji-code */
+#ifndef DEFAULT_KCODE
+#if defined(DOSISH) || defined(__CYGWIN__) || defined(__MACOS__) || defined(OS2)
+#define DEFAULT_KCODE KCODE_SJIS
+#else
+#define DEFAULT_KCODE KCODE_EUC
+#endif
+#endif
+
+#ifdef __NeXT__
+/* NextStep, OpenStep, Rhapsody */
+#ifndef S_IRUSR
+#define S_IRUSR 0000400 /* read permission, owner */
+#endif
+#ifndef S_IRGRP
+#define S_IRGRP 0000040 /* read permission, group */
+#endif
+#ifndef S_IROTH
+#define S_IROTH 0000004 /* read permission, other */
+#endif
+#ifndef S_IWUSR
+#define S_IWUSR 0000200 /* write permission, owner */
+#endif
+#ifndef S_IWGRP
+#define S_IWGRP 0000020 /* write permission, group */
+#endif
+#ifndef S_IWOTH
+#define S_IWOTH 0000002 /* write permission, other */
+#endif
+#ifndef S_IXUSR
+#define S_IXUSR 0000100 /* execute/search permission, owner */
+#endif
+#ifndef S_IXGRP
+#define S_IXGRP 0000010 /* execute/search permission, group */
+#endif
+#ifndef S_IXOTH
+#define S_IXOTH 0000001 /* execute/search permission, other */
+#endif
+#ifndef S_IRWXU
+#define S_IRWXU 0000700 /* read, write, execute permissions, owner */
+#endif
+#ifndef S_IRWXG
+#define S_IRWXG 0000070 /* read, write, execute permissions, group */
+#endif
+#ifndef S_IRWXO
+#define S_IRWXO 0000007 /* read, write, execute permissions, other */
+#endif
+#ifndef S_ISBLK
+#define S_ISBLK(mode) (((mode) & (0170000)) == (0060000))
+#endif
+#ifndef S_ISCHR
+#define S_ISCHR(mode) (((mode) & (0170000)) == (0020000))
+#endif
+#ifndef S_ISDIR
+#define S_ISDIR(mode) (((mode) & (0170000)) == (0040000))
+#endif
+#ifndef S_ISFIFO
+#define S_ISFIFO(mode) (((mode) & (0170000)) == (0010000))
+#endif
+#ifndef S_ISREG
+#define S_ISREG(mode) (((mode) & (0170000)) == (0100000))
+#endif
+/* Do not trust WORDS_BIGENDIAN from configure since -arch compiler flag may
+ result in a different endian. Instead trust __BIG_ENDIAN__ and
+ __LITTLE_ENDIAN__ which are set correctly by -arch. */
+#undef WORDS_BIGENDIAN
+#ifdef __BIG_ENDIAN__
+#define WORDS_BIGENDIAN
+#endif
+#ifndef __APPLE__
+/* NextStep, OpenStep (but not Rhapsody) */
+#ifndef GETPGRP_VOID
+#define GETPGRP_VOID 1
+#endif
+#ifndef WNOHANG
+#define WNOHANG 01
+#endif
+#ifndef WUNTRACED
+#define WUNTRACED 02
+#endif
+#ifndef X_OK
+#define X_OK 1
+#endif
+#endif /* __APPLE__ */
+#endif /* NeXT */
+
+#ifdef _WIN32
+#include "win32/win32.h"
+#endif
+
+#if defined(__VMS)
+#include "vms.h"
+#endif
+
+#if defined(__BEOS__)
+#include <net/socket.h> /* intern.h needs fd_set definition */
+#endif
+
+#ifdef RUBY_EXPORT
+#undef RUBY_EXTERN
+#endif
+
+#ifndef RUBY_EXTERN
+#define RUBY_EXTERN extern
+#endif
+
+#ifndef EXTERN
+#define EXTERN RUBY_EXTERN /* deprecated */
+#endif
+
+#ifndef RUBY_MBCHAR_MAXSIZE
+#define RUBY_MBCHAR_MAXSIZE INT_MAX
+ /* MB_CUR_MAX will not work well in C locale */
+#endif
+
+#if defined(sparc) || defined(__sparc__)
+static inline void
+flush_register_windows(void)
+{
+ asm
+#ifdef __GNUC__
+ volatile
+#endif
+# if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__)
+ ("flushw")
+# else
+ ("ta 0x03")
+# endif /* trap always to flush register windows if we are on a Sparc system */
+ ;
+}
+# define FLUSH_REGISTER_WINDOWS flush_register_windows()
+#elif defined(__ia64)
+void *rb_ia64_bsp(void);
+void rb_ia64_flushrs(void);
+# define FLUSH_REGISTER_WINDOWS rb_ia64_flushrs()
+#else
+# define FLUSH_REGISTER_WINDOWS ((void)0)
+#endif
+
+#if defined(DOSISH)
+#define PATH_SEP ";"
+#elif defined(riscos)
+#define PATH_SEP ","
+#else
+#define PATH_SEP ":"
+#endif
+#define PATH_SEP_CHAR PATH_SEP[0]
+
+#if defined(__human68k__)
+#define PATH_ENV "path"
+#else
+#define PATH_ENV "PATH"
+#endif
+
+#if defined(DOSISH) && !defined(__human68k__) && !defined(__EMX__)
+#define ENV_IGNORECASE
+#endif
+
+#ifndef DLEXT_MAXLEN
+#define DLEXT_MAXLEN 4
+#endif
+
+#ifndef RUBY_PLATFORM
+#define RUBY_PLATFORM "unknown-unknown"
+#endif
+
+#endif
@@ -0,0 +1,32 @@
+/************************************************
+
+ digest.h - header file for ruby digest modules
+
+ $Author: shyouhei $
+ created at: Fri May 25 08:54:56 JST 2001
+
+
+ Copyright (C) 2001-2006 Akinori MUSHA
+
+ $RoughId: digest.h,v 1.3 2001/07/13 15:38:27 knu Exp $
+ $Id: digest.h 11708 2007-02-12 23:01:19Z shyouhei $
+
+************************************************/
+
+#include "ruby.h"
+
+#define RUBY_DIGEST_API_VERSION 2
+
+typedef void (*rb_digest_hash_init_func_t)(void *);
+typedef void (*rb_digest_hash_update_func_t)(void *, unsigned char *, size_t);
+typedef void (*rb_digest_hash_finish_func_t)(void *, unsigned char *);
+
+typedef struct {
+ int api_version;
+ size_t digest_len;
+ size_t block_len;
+ size_t ctx_size;
+ rb_digest_hash_init_func_t init_func;
+ rb_digest_hash_update_func_t update_func;
+ rb_digest_hash_finish_func_t finish_func;
+} rb_digest_metadata_t;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit ecba4e6

Please sign in to comment.