rice 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. data/COPYING +23 -0
  2. data/Doxyfile +1253 -0
  3. data/Makefile.am +26 -0
  4. data/Makefile.in +736 -0
  5. data/README +881 -0
  6. data/README.mingw +8 -0
  7. data/bootstrap +8 -0
  8. data/config.guess +1535 -0
  9. data/config.sub +1644 -0
  10. data/configure +7310 -0
  11. data/configure.ac +48 -0
  12. data/depcomp +584 -0
  13. data/doxygen.ac +314 -0
  14. data/doxygen.am +186 -0
  15. data/install-sh +507 -0
  16. data/missing +367 -0
  17. data/post-autoconf.rb +22 -0
  18. data/post-automake.rb +28 -0
  19. data/rice/Address_Registration_Guard.hpp +7 -0
  20. data/rice/Address_Registration_Guard.ipp +34 -0
  21. data/rice/Address_Registration_Guard_defn.hpp +65 -0
  22. data/rice/Allocation_Strategies.hpp +37 -0
  23. data/rice/Array.hpp +220 -0
  24. data/rice/Array.ipp +262 -0
  25. data/rice/Builtin_Object.hpp +8 -0
  26. data/rice/Builtin_Object.ipp +50 -0
  27. data/rice/Builtin_Object_defn.hpp +51 -0
  28. data/rice/Class.cpp +57 -0
  29. data/rice/Class.hpp +8 -0
  30. data/rice/Class.ipp +4 -0
  31. data/rice/Class_defn.hpp +83 -0
  32. data/rice/Constructor.hpp +189 -0
  33. data/rice/Critical_Guard.hpp +34 -0
  34. data/rice/Critical_Guard.ipp +20 -0
  35. data/rice/Data_Object.hpp +127 -0
  36. data/rice/Data_Object.ipp +129 -0
  37. data/rice/Data_Type.cpp +21 -0
  38. data/rice/Data_Type.hpp +8 -0
  39. data/rice/Data_Type.ipp +227 -0
  40. data/rice/Data_Type_defn.hpp +219 -0
  41. data/rice/Data_Type_fwd.hpp +12 -0
  42. data/rice/Enum.hpp +118 -0
  43. data/rice/Enum.ipp +246 -0
  44. data/rice/Exception.cpp +59 -0
  45. data/rice/Exception.hpp +69 -0
  46. data/rice/Exception_Base.hpp +30 -0
  47. data/rice/Exception_Base.ipp +11 -0
  48. data/rice/Hash.hpp +206 -0
  49. data/rice/Hash.ipp +336 -0
  50. data/rice/Identifier.cpp +8 -0
  51. data/rice/Identifier.hpp +50 -0
  52. data/rice/Identifier.ipp +33 -0
  53. data/rice/Jump_Tag.hpp +24 -0
  54. data/rice/Makefile.am +112 -0
  55. data/rice/Makefile.in +675 -0
  56. data/rice/Module.cpp +75 -0
  57. data/rice/Module.hpp +8 -0
  58. data/rice/Module.ipp +6 -0
  59. data/rice/Module_defn.hpp +87 -0
  60. data/rice/Module_impl.hpp +237 -0
  61. data/rice/Module_impl.ipp +302 -0
  62. data/rice/Object.cpp +153 -0
  63. data/rice/Object.hpp +8 -0
  64. data/rice/Object.ipp +19 -0
  65. data/rice/Object_defn.hpp +183 -0
  66. data/rice/Require_Guard.hpp +21 -0
  67. data/rice/String.cpp +93 -0
  68. data/rice/String.hpp +88 -0
  69. data/rice/Struct.cpp +117 -0
  70. data/rice/Struct.hpp +162 -0
  71. data/rice/Struct.ipp +26 -0
  72. data/rice/Symbol.cpp +25 -0
  73. data/rice/Symbol.hpp +66 -0
  74. data/rice/Symbol.ipp +44 -0
  75. data/rice/VM.cpp +79 -0
  76. data/rice/VM.hpp +27 -0
  77. data/rice/config.hpp +23 -0
  78. data/rice/config.hpp.in +22 -0
  79. data/rice/detail/Auto_Function_Wrapper.hpp +719 -0
  80. data/rice/detail/Auto_Function_Wrapper.ipp +1354 -0
  81. data/rice/detail/Auto_Member_Function_Wrapper.hpp +685 -0
  82. data/rice/detail/Auto_Member_Function_Wrapper.ipp +1435 -0
  83. data/rice/detail/Caster.hpp +61 -0
  84. data/rice/detail/Exception_Handler.hpp +118 -0
  85. data/rice/detail/Iterator_Definer.hpp +98 -0
  86. data/rice/detail/Not_Copyable.hpp +25 -0
  87. data/rice/detail/Wrapped_Function.hpp +33 -0
  88. data/rice/detail/check_ruby_type.cpp +21 -0
  89. data/rice/detail/check_ruby_type.hpp +23 -0
  90. data/rice/detail/creation_funcs.hpp +45 -0
  91. data/rice/detail/creation_funcs.ipp +62 -0
  92. data/rice/detail/default_allocation_func.hpp +23 -0
  93. data/rice/detail/default_allocation_func.ipp +11 -0
  94. data/rice/detail/define_method_and_auto_wrap.hpp +27 -0
  95. data/rice/detail/define_method_and_auto_wrap.ipp +20 -0
  96. data/rice/detail/env.hpp +13 -0
  97. data/rice/detail/from_ruby.hpp +43 -0
  98. data/rice/detail/from_ruby.ipp +74 -0
  99. data/rice/detail/method_data.cpp +105 -0
  100. data/rice/detail/method_data.hpp +33 -0
  101. data/rice/detail/node.hpp +13 -0
  102. data/rice/detail/object_call.hpp +85 -0
  103. data/rice/detail/object_call.ipp +147 -0
  104. data/rice/detail/protect.cpp +27 -0
  105. data/rice/detail/protect.hpp +34 -0
  106. data/rice/detail/remove_const.hpp +21 -0
  107. data/rice/detail/ruby.hpp +85 -0
  108. data/rice/detail/rubysig.hpp +13 -0
  109. data/rice/detail/st.hpp +56 -0
  110. data/rice/detail/to_ruby.hpp +16 -0
  111. data/rice/detail/to_ruby.ipp +10 -0
  112. data/rice/detail/win32.hpp +16 -0
  113. data/rice/detail/wrap_function.hpp +288 -0
  114. data/rice/detail/wrap_function.ipp +473 -0
  115. data/rice/generate_code.rb +1092 -0
  116. data/rice/global_function.hpp +16 -0
  117. data/rice/global_function.ipp +11 -0
  118. data/rice/protect.hpp +91 -0
  119. data/rice/protect.ipp +803 -0
  120. data/rice/ruby_try_catch.hpp +86 -0
  121. data/rice/to_from_ruby.hpp +8 -0
  122. data/rice/to_from_ruby.ipp +299 -0
  123. data/rice/to_from_ruby_defn.hpp +71 -0
  124. data/ruby.ac +105 -0
  125. data/ruby/Makefile.am +1 -0
  126. data/ruby/Makefile.in +493 -0
  127. data/ruby/lib/Makefile.am +3 -0
  128. data/ruby/lib/Makefile.in +369 -0
  129. data/ruby/lib/mkmf-rice.rb.in +199 -0
  130. data/sample/Makefile.am +47 -0
  131. data/sample/Makefile.in +375 -0
  132. data/sample/enum/extconf.rb +3 -0
  133. data/sample/enum/sample_enum.cpp +54 -0
  134. data/sample/enum/test.rb +8 -0
  135. data/sample/inheritance/animals.cpp +98 -0
  136. data/sample/inheritance/extconf.rb +3 -0
  137. data/sample/inheritance/test.rb +7 -0
  138. data/sample/map/extconf.rb +3 -0
  139. data/sample/map/map.cpp +81 -0
  140. data/sample/map/test.rb +7 -0
  141. data/test/Makefile.am +44 -0
  142. data/test/Makefile.in +575 -0
  143. data/test/test_Address_Registration_Guard.cpp +43 -0
  144. data/test/test_Allocation_Strategies.cpp +77 -0
  145. data/test/test_Array.cpp +241 -0
  146. data/test/test_Builtin_Object.cpp +72 -0
  147. data/test/test_Class.cpp +350 -0
  148. data/test/test_Constructor.cpp +30 -0
  149. data/test/test_Critical_Guard.cpp +47 -0
  150. data/test/test_Data_Object.cpp +235 -0
  151. data/test/test_Enum.cpp +162 -0
  152. data/test/test_Exception.cpp +46 -0
  153. data/test/test_Hash.cpp +195 -0
  154. data/test/test_Identifier.cpp +70 -0
  155. data/test/test_Jump_Tag.cpp +17 -0
  156. data/test/test_Module.cpp +253 -0
  157. data/test/test_Object.cpp +148 -0
  158. data/test/test_String.cpp +94 -0
  159. data/test/test_Struct.cpp +192 -0
  160. data/test/test_Symbol.cpp +63 -0
  161. data/test/test_To_From_Ruby.cpp +281 -0
  162. data/test/test_VM.cpp +26 -0
  163. data/test/test_rice.rb +30 -0
  164. data/test/unittest.cpp +136 -0
  165. data/test/unittest.hpp +292 -0
  166. metadata +209 -0
data/ruby.ac ADDED
@@ -0,0 +1,105 @@
1
+ dnl Get a key from ruby's configuration table
2
+ AC_DEFUN([RUBY_CONFIG], [$RUBY -rrbconfig -e "puts Config::CONFIG[['$1']]"])
3
+
4
+ AC_DEFUN([RB_INIT_RUBY], [
5
+
6
+ AC_ARG_WITH(
7
+ ruby,
8
+ AC_HELP_STRING(
9
+ --with-ruby=PATH,
10
+ [ path to the ruby interpreter [[ruby]] ]),
11
+ [ RUBY=$withval ],
12
+ [ RUBY=ruby ])
13
+ AC_ARG_WITH(
14
+ ruby_sitelibdir,
15
+ AC_HELP_STRING(
16
+ --with-ruby-sitelibdir=PATH,
17
+ [ path to install ruby scripts [[auto-detect]] ]),
18
+ [ ruby_sitelibdir=$withval ],
19
+ [ ruby_sitelibdir=NONE ])
20
+
21
+ AC_SUBST(RUBY)
22
+
23
+ RUBY_CONFIG_ARCHDIR=`RUBY_CONFIG(archdir)`
24
+ RUBY_CONFIG_LIBDIR=`RUBY_CONFIG(libdir)`
25
+ RUBY_CONFIG_BINDIR=`RUBY_CONFIG(bindir)`
26
+ RUBY_CONFIG_LIBS=`RUBY_CONFIG(LIBS)`
27
+ RUBY_CONFIG_DLDLIBS=`RUBY_CONFIG(DLDLIBS)`
28
+ RUBY_CONFIG_LDFLAGS=`RUBY_CONFIG(LDFLAGS)`
29
+ RUBY_CONFIG_LIBRUBYARG=`RUBY_CONFIG(LIBRUBYARG)`
30
+ RUBY_CONFIG_LIBRUBYARG_STATIC=`RUBY_CONFIG(LIBRUBYARG_STATIC)`
31
+
32
+ RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
33
+ AC_SUBST(RUBY_CPPFLAGS)
34
+
35
+ RUBY_LDFLAGS="-L${RUBY_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_LDFLAGS}"
36
+ AC_SUBST(RUBY_LDFLAGS)
37
+
38
+ RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
39
+ AC_SUBST(RUBY_LIBS)
40
+
41
+ RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}"
42
+ AC_SUBST(RUBY_LIBRUBYARG)
43
+
44
+ RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}"
45
+ AC_SUBST(RUBY_LIBRUBYARG_STATIC)
46
+
47
+ dnl If the user specified a prefix, then use it, otherwise defalut to
48
+ dnl the configured sitelibdir
49
+ if test "x${ruby_sitelibdir}x" != "xNONEx"
50
+ then
51
+ RUBY_SITELIBDIR="${ruby_sitelibdir}"
52
+ else
53
+ if test "x${prefix}x" = "xNONEx"
54
+ then
55
+ RUBY_SITELIBDIR=`RUBY_CONFIG(sitelibdir)`
56
+ else
57
+ sitelibdir_no_prefix=`$RUBY -rrbconfig \
58
+ -e "include Config; \
59
+ puts CONFIG[['sitelibdir']].sub(CONFIG[['prefix']], '')"`
60
+ RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
61
+ fi
62
+ fi
63
+ AC_SUBST(RUBY_SITELIBDIR)
64
+
65
+ dnl The fourth parameter to AC_CHECK_HEADER keeps autoconf from
66
+ dnl searching for standard header files as a side-effect (which we want)
67
+ CPPFLAGS_save="${CPPFLAGS}"
68
+ CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
69
+ AC_CHECK_HEADER(ruby.h,,AC_MSG_ERROR(
70
+ could not find ruby.h (check config.log)),[ ])
71
+ AC_CHECK_HEADER(node.h,,AC_MSG_ERROR(
72
+ could not find node.h (check config.log)),[
73
+ #include <ruby.h>
74
+ ])
75
+ AC_CHECK_HEADER(version.h,,AC_MSG_ERROR(
76
+ could not find version.h (check config.log)),[
77
+ #include <ruby.h>
78
+ ])
79
+ CPPFLAGS="${CPPFLAGS_save}"
80
+
81
+ AC_MINGW32
82
+
83
+ if test x"${MINGW32}"x = xyesx; then
84
+ RB_FIX_MINGW_LIBS
85
+ fi
86
+
87
+ ]) dnl RB_INIT_RUBY
88
+
89
+ dnl We would like to be able to build using MingW against the one-click
90
+ dnl installer, which is built using VC6. So, we detect this situation
91
+ dnl and fix up the link step if this is the case.
92
+ dnl
93
+ dnl Static linking isn't likely to work correctly, so we disable it by
94
+ dnl default, but if the user asks for LIBRUBYARG_STATIC, they'll still
95
+ dnl get static linking.
96
+ AC_DEFUN([RB_FIX_MINGW_LIBS], [
97
+ RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"`
98
+ RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"`
99
+ RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"`
100
+ RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"`
101
+ RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"`
102
+ RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"`
103
+ ]) dnl RB_FIX_MINGW_LIBS
104
+
105
+ dnl vim:ft=config
data/ruby/Makefile.am ADDED
@@ -0,0 +1 @@
1
+ SUBDIRS = lib
data/ruby/Makefile.in ADDED
@@ -0,0 +1,493 @@
1
+ # Makefile.in generated by automake 1.10 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+ @SET_MAKE@
16
+ VPATH = @srcdir@
17
+ pkgdatadir = $(datadir)/@PACKAGE@
18
+ pkglibdir = $(libdir)/@PACKAGE@
19
+ pkgincludedir = $(includedir)/@PACKAGE@
20
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21
+ install_sh_DATA = $(install_sh) -c -m 644
22
+ install_sh_PROGRAM = $(install_sh) -c
23
+ install_sh_SCRIPT = $(install_sh) -c
24
+ INSTALL_HEADER = $(INSTALL_DATA)
25
+ transform = $(program_transform_name)
26
+ NORMAL_INSTALL = :
27
+ PRE_INSTALL = :
28
+ POST_INSTALL = :
29
+ NORMAL_UNINSTALL = :
30
+ PRE_UNINSTALL = :
31
+ POST_UNINSTALL = :
32
+ build_triplet = @build@
33
+ host_triplet = @host@
34
+ subdir = ruby
35
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
36
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37
+ am__aclocal_m4_deps = $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
38
+ $(top_srcdir)/configure.ac
39
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40
+ $(ACLOCAL_M4)
41
+ mkinstalldirs = $(install_sh) -d
42
+ CONFIG_HEADER = $(top_builddir)/rice/config.hpp
43
+ CONFIG_CLEAN_FILES =
44
+ SOURCES =
45
+ DIST_SOURCES =
46
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
47
+ html-recursive info-recursive install-data-recursive \
48
+ install-dvi-recursive install-exec-recursive \
49
+ install-html-recursive install-info-recursive \
50
+ install-pdf-recursive install-ps-recursive install-recursive \
51
+ installcheck-recursive installdirs-recursive pdf-recursive \
52
+ ps-recursive uninstall-recursive
53
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
54
+ distclean-recursive maintainer-clean-recursive
55
+ ETAGS = etags
56
+ CTAGS = ctags
57
+ DIST_SUBDIRS = $(SUBDIRS)
58
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
59
+ ACLOCAL = @ACLOCAL@
60
+ AMTAR = @AMTAR@
61
+ AUTOCONF = @AUTOCONF@
62
+ AUTOHEADER = @AUTOHEADER@
63
+ AUTOMAKE = @AUTOMAKE@
64
+ AWK = @AWK@
65
+ CPPFLAGS = @CPPFLAGS@
66
+ CXX = @CXX@
67
+ CXXDEPMODE = @CXXDEPMODE@
68
+ CXXFLAGS = @CXXFLAGS@
69
+ CYGPATH_W = @CYGPATH_W@
70
+ DEFS = @DEFS@
71
+ DEPDIR = @DEPDIR@
72
+ DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
73
+ DX_CONFIG = @DX_CONFIG@
74
+ DX_DOCDIR = @DX_DOCDIR@
75
+ DX_DOT = @DX_DOT@
76
+ DX_DOXYGEN = @DX_DOXYGEN@
77
+ DX_DVIPS = @DX_DVIPS@
78
+ DX_EGREP = @DX_EGREP@
79
+ DX_ENV = @DX_ENV@
80
+ DX_FLAG_chi = @DX_FLAG_chi@
81
+ DX_FLAG_chm = @DX_FLAG_chm@
82
+ DX_FLAG_doc = @DX_FLAG_doc@
83
+ DX_FLAG_dot = @DX_FLAG_dot@
84
+ DX_FLAG_html = @DX_FLAG_html@
85
+ DX_FLAG_man = @DX_FLAG_man@
86
+ DX_FLAG_pdf = @DX_FLAG_pdf@
87
+ DX_FLAG_ps = @DX_FLAG_ps@
88
+ DX_FLAG_rtf = @DX_FLAG_rtf@
89
+ DX_FLAG_xml = @DX_FLAG_xml@
90
+ DX_HHC = @DX_HHC@
91
+ DX_LATEX = @DX_LATEX@
92
+ DX_MAKEINDEX = @DX_MAKEINDEX@
93
+ DX_PDFLATEX = @DX_PDFLATEX@
94
+ DX_PERL = @DX_PERL@
95
+ DX_PROJECT = @DX_PROJECT@
96
+ ECHO_C = @ECHO_C@
97
+ ECHO_N = @ECHO_N@
98
+ ECHO_T = @ECHO_T@
99
+ EXEEXT = @EXEEXT@
100
+ INSTALL = @INSTALL@
101
+ INSTALL_DATA = @INSTALL_DATA@
102
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
103
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
104
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
105
+ LDFLAGS = @LDFLAGS@
106
+ LIBOBJS = @LIBOBJS@
107
+ LIBS = @LIBS@
108
+ LTLIBOBJS = @LTLIBOBJS@
109
+ MAKEINFO = @MAKEINFO@
110
+ MKDIR_P = @MKDIR_P@
111
+ OBJEXT = @OBJEXT@
112
+ PACKAGE = @PACKAGE@
113
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
114
+ PACKAGE_NAME = @PACKAGE_NAME@
115
+ PACKAGE_STRING = @PACKAGE_STRING@
116
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
117
+ PACKAGE_VERSION = @PACKAGE_VERSION@
118
+ PATH_SEPARATOR = @PATH_SEPARATOR@
119
+ RANLIB = @RANLIB@
120
+ RICE_CPPFLAGS = @RICE_CPPFLAGS@
121
+ RICE_LDFLAGS = @RICE_LDFLAGS@
122
+ RICE_SAMPLES = @RICE_SAMPLES@
123
+ RICE_USING_MINGW32 = @RICE_USING_MINGW32@
124
+ RUBY = @RUBY@
125
+ RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
126
+ RUBY_LDFLAGS = @RUBY_LDFLAGS@
127
+ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
128
+ RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
129
+ RUBY_LIBS = @RUBY_LIBS@
130
+ RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
131
+ SET_MAKE = @SET_MAKE@
132
+ SHELL = @SHELL@
133
+ STRIP = @STRIP@
134
+ VERSION = @VERSION@
135
+ abs_builddir = @abs_builddir@
136
+ abs_srcdir = @abs_srcdir@
137
+ abs_top_builddir = @abs_top_builddir@
138
+ abs_top_srcdir = @abs_top_srcdir@
139
+ ac_ct_CXX = @ac_ct_CXX@
140
+ am__include = @am__include@
141
+ am__leading_dot = @am__leading_dot@
142
+ am__quote = @am__quote@
143
+ am__tar = @am__tar@
144
+ am__untar = @am__untar@
145
+ bindir = @bindir@
146
+ build = @build@
147
+ build_alias = @build_alias@
148
+ build_cpu = @build_cpu@
149
+ build_os = @build_os@
150
+ build_vendor = @build_vendor@
151
+ builddir = @builddir@
152
+ datadir = @datadir@
153
+ datarootdir = @datarootdir@
154
+ docdir = @docdir@
155
+ dvidir = @dvidir@
156
+ exec_prefix = @exec_prefix@
157
+ host = @host@
158
+ host_alias = @host_alias@
159
+ host_cpu = @host_cpu@
160
+ host_os = @host_os@
161
+ host_vendor = @host_vendor@
162
+ htmldir = @htmldir@
163
+ includedir = @includedir@
164
+ infodir = @infodir@
165
+ install_sh = @install_sh@
166
+ libdir = @libdir@
167
+ libexecdir = @libexecdir@
168
+ localedir = @localedir@
169
+ localstatedir = @localstatedir@
170
+ mandir = @mandir@
171
+ mkdir_p = @mkdir_p@
172
+ oldincludedir = @oldincludedir@
173
+ pdfdir = @pdfdir@
174
+ prefix = @prefix@
175
+ program_transform_name = @program_transform_name@
176
+ psdir = @psdir@
177
+ sbindir = @sbindir@
178
+ sharedstatedir = @sharedstatedir@
179
+ srcdir = @srcdir@
180
+ sysconfdir = @sysconfdir@
181
+ target_alias = @target_alias@
182
+ top_builddir = @top_builddir@
183
+ top_srcdir = @top_srcdir@
184
+ SUBDIRS = lib
185
+ all: all-recursive
186
+
187
+ .SUFFIXES:
188
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
189
+ @for dep in $?; do \
190
+ case '$(am__configure_deps)' in \
191
+ *$$dep*) \
192
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
193
+ && exit 0; \
194
+ exit 1;; \
195
+ esac; \
196
+ done; \
197
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/Makefile'; \
198
+ cd $(top_srcdir) && \
199
+ $(AUTOMAKE) --gnu ruby/Makefile
200
+ .PRECIOUS: Makefile
201
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
202
+ @case '$?' in \
203
+ *config.status*) \
204
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
205
+ *) \
206
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
207
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
208
+ esac;
209
+
210
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
211
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
212
+
213
+ $(top_srcdir)/configure: $(am__configure_deps)
214
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
215
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
216
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
217
+
218
+ # This directory's subdirectories are mostly independent; you can cd
219
+ # into them and run `make' without going through this Makefile.
220
+ # To change the values of `make' variables: instead of editing Makefiles,
221
+ # (1) if the variable is set in `config.status', edit `config.status'
222
+ # (which will cause the Makefiles to be regenerated when you run `make');
223
+ # (2) otherwise, pass the desired values on the `make' command line.
224
+ $(RECURSIVE_TARGETS):
225
+ @failcom='exit 1'; \
226
+ for f in x $$MAKEFLAGS; do \
227
+ case $$f in \
228
+ *=* | --[!k]*);; \
229
+ *k*) failcom='fail=yes';; \
230
+ esac; \
231
+ done; \
232
+ dot_seen=no; \
233
+ target=`echo $@ | sed s/-recursive//`; \
234
+ list='$(SUBDIRS)'; for subdir in $$list; do \
235
+ echo "Making $$target in $$subdir"; \
236
+ if test "$$subdir" = "."; then \
237
+ dot_seen=yes; \
238
+ local_target="$$target-am"; \
239
+ else \
240
+ local_target="$$target"; \
241
+ fi; \
242
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
243
+ || eval $$failcom; \
244
+ done; \
245
+ if test "$$dot_seen" = "no"; then \
246
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
247
+ fi; test -z "$$fail"
248
+
249
+ $(RECURSIVE_CLEAN_TARGETS):
250
+ @failcom='exit 1'; \
251
+ for f in x $$MAKEFLAGS; do \
252
+ case $$f in \
253
+ *=* | --[!k]*);; \
254
+ *k*) failcom='fail=yes';; \
255
+ esac; \
256
+ done; \
257
+ dot_seen=no; \
258
+ case "$@" in \
259
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
260
+ *) list='$(SUBDIRS)' ;; \
261
+ esac; \
262
+ rev=''; for subdir in $$list; do \
263
+ if test "$$subdir" = "."; then :; else \
264
+ rev="$$subdir $$rev"; \
265
+ fi; \
266
+ done; \
267
+ rev="$$rev ."; \
268
+ target=`echo $@ | sed s/-recursive//`; \
269
+ for subdir in $$rev; do \
270
+ echo "Making $$target in $$subdir"; \
271
+ if test "$$subdir" = "."; then \
272
+ local_target="$$target-am"; \
273
+ else \
274
+ local_target="$$target"; \
275
+ fi; \
276
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277
+ || eval $$failcom; \
278
+ done && test -z "$$fail"
279
+ tags-recursive:
280
+ list='$(SUBDIRS)'; for subdir in $$list; do \
281
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
282
+ done
283
+ ctags-recursive:
284
+ list='$(SUBDIRS)'; for subdir in $$list; do \
285
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
286
+ done
287
+
288
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
289
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
290
+ unique=`for i in $$list; do \
291
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
292
+ done | \
293
+ $(AWK) ' { files[$$0] = 1; } \
294
+ END { for (i in files) print i; }'`; \
295
+ mkid -fID $$unique
296
+ tags: TAGS
297
+
298
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
299
+ $(TAGS_FILES) $(LISP)
300
+ tags=; \
301
+ here=`pwd`; \
302
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
303
+ include_option=--etags-include; \
304
+ empty_fix=.; \
305
+ else \
306
+ include_option=--include; \
307
+ empty_fix=; \
308
+ fi; \
309
+ list='$(SUBDIRS)'; for subdir in $$list; do \
310
+ if test "$$subdir" = .; then :; else \
311
+ test ! -f $$subdir/TAGS || \
312
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
313
+ fi; \
314
+ done; \
315
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
316
+ unique=`for i in $$list; do \
317
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
318
+ done | \
319
+ $(AWK) ' { files[$$0] = 1; } \
320
+ END { for (i in files) print i; }'`; \
321
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
322
+ test -n "$$unique" || unique=$$empty_fix; \
323
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
324
+ $$tags $$unique; \
325
+ fi
326
+ ctags: CTAGS
327
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
328
+ $(TAGS_FILES) $(LISP)
329
+ tags=; \
330
+ here=`pwd`; \
331
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
332
+ unique=`for i in $$list; do \
333
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
334
+ done | \
335
+ $(AWK) ' { files[$$0] = 1; } \
336
+ END { for (i in files) print i; }'`; \
337
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
338
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
339
+ $$tags $$unique
340
+
341
+ GTAGS:
342
+ here=`$(am__cd) $(top_builddir) && pwd` \
343
+ && cd $(top_srcdir) \
344
+ && gtags -i $(GTAGS_ARGS) $$here
345
+
346
+ distclean-tags:
347
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
348
+
349
+ distdir: $(DISTFILES)
350
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
351
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
352
+ list='$(DISTFILES)'; \
353
+ dist_files=`for file in $$list; do echo $$file; done | \
354
+ sed -e "s|^$$srcdirstrip/||;t" \
355
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
356
+ case $$dist_files in \
357
+ */*) eval $(MKDIR_P) `echo "$$dist_files" | \
358
+ sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
359
+ sort -u` ;; \
360
+ esac; \
361
+ for file in $$dist_files; do \
362
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
363
+ if test -d $$d/$$file; then \
364
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
365
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
366
+ cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
367
+ fi; \
368
+ cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
369
+ else \
370
+ test -f "$(distdir)"/$$file \
371
+ || cp -p $$d/$$file "$(distdir)"/$$file \
372
+ || exit 1; \
373
+ fi; \
374
+ done
375
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
376
+ if test "$$subdir" = .; then :; else \
377
+ test -d "$(distdir)/$$subdir" \
378
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
379
+ || exit 1; \
380
+ distdir=`$(am__cd) "$(distdir)" && pwd`; \
381
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
382
+ (cd $$subdir && \
383
+ $(MAKE) $(AM_MAKEFLAGS) \
384
+ top_distdir="$$top_distdir" \
385
+ distdir="$$distdir/$$subdir" \
386
+ am__remove_distdir=: \
387
+ am__skip_length_check=: \
388
+ distdir) \
389
+ || exit 1; \
390
+ fi; \
391
+ done
392
+ check-am: all-am
393
+ check: check-recursive
394
+ all-am: Makefile
395
+ installdirs: installdirs-recursive
396
+ installdirs-am:
397
+ install: install-recursive
398
+ install-exec: install-exec-recursive
399
+ install-data: install-data-recursive
400
+ uninstall: uninstall-recursive
401
+
402
+ install-am: all-am
403
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
404
+
405
+ installcheck: installcheck-recursive
406
+ install-strip:
407
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
408
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
409
+ `test -z '$(STRIP)' || \
410
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
411
+ mostlyclean-generic:
412
+
413
+ clean-generic:
414
+
415
+ distclean-generic:
416
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
417
+
418
+ maintainer-clean-generic:
419
+ @echo "This command is intended for maintainers to use"
420
+ @echo "it deletes files that may require special tools to rebuild."
421
+ clean: clean-recursive
422
+
423
+ clean-am: clean-generic mostlyclean-am
424
+
425
+ distclean: distclean-recursive
426
+ -rm -f Makefile
427
+ distclean-am: clean-am distclean-generic distclean-tags
428
+
429
+ dvi: dvi-recursive
430
+
431
+ dvi-am:
432
+
433
+ html: html-recursive
434
+
435
+ info: info-recursive
436
+
437
+ info-am:
438
+
439
+ install-data-am:
440
+
441
+ install-dvi: install-dvi-recursive
442
+
443
+ install-exec-am:
444
+
445
+ install-html: install-html-recursive
446
+
447
+ install-info: install-info-recursive
448
+
449
+ install-man:
450
+
451
+ install-pdf: install-pdf-recursive
452
+
453
+ install-ps: install-ps-recursive
454
+
455
+ installcheck-am:
456
+
457
+ maintainer-clean: maintainer-clean-recursive
458
+ -rm -f Makefile
459
+ maintainer-clean-am: distclean-am maintainer-clean-generic
460
+
461
+ mostlyclean: mostlyclean-recursive
462
+
463
+ mostlyclean-am: mostlyclean-generic
464
+
465
+ pdf: pdf-recursive
466
+
467
+ pdf-am:
468
+
469
+ ps: ps-recursive
470
+
471
+ ps-am:
472
+
473
+ uninstall-am:
474
+
475
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
476
+ install-strip
477
+
478
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
479
+ all all-am check check-am clean clean-generic ctags \
480
+ ctags-recursive distclean distclean-generic distclean-tags \
481
+ distdir dvi dvi-am html html-am info info-am install \
482
+ install-am install-data install-data-am install-dvi \
483
+ install-dvi-am install-exec install-exec-am install-html \
484
+ install-html-am install-info install-info-am install-man \
485
+ install-pdf install-pdf-am install-ps install-ps-am \
486
+ install-strip installcheck installcheck-am installdirs \
487
+ installdirs-am maintainer-clean maintainer-clean-generic \
488
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
489
+ tags-recursive uninstall uninstall-am
490
+
491
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
492
+ # Otherwise a system limit (for SysV at least) may be exceeded.
493
+ .NOEXPORT: