rice-jdguyot 1.4.0.p1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. data/COPYING +23 -0
  2. data/Doxyfile +1253 -0
  3. data/Makefile.am +26 -0
  4. data/Makefile.in +743 -0
  5. data/README +1119 -0
  6. data/README.mingw +8 -0
  7. data/Rakefile +33 -0
  8. data/aclocal.m4 +874 -0
  9. data/bootstrap +8 -0
  10. data/config.guess +1500 -0
  11. data/config.sub +1616 -0
  12. data/configure +7461 -0
  13. data/configure.ac +52 -0
  14. data/depcomp +584 -0
  15. data/doxygen.ac +314 -0
  16. data/doxygen.am +186 -0
  17. data/extconf.rb +34 -0
  18. data/install-sh +507 -0
  19. data/missing +367 -0
  20. data/post-autoconf.rb +22 -0
  21. data/post-automake.rb +28 -0
  22. data/rice/Address_Registration_Guard.cpp +22 -0
  23. data/rice/Address_Registration_Guard.hpp +7 -0
  24. data/rice/Address_Registration_Guard.ipp +37 -0
  25. data/rice/Address_Registration_Guard_defn.hpp +75 -0
  26. data/rice/Allocation_Strategies.hpp +37 -0
  27. data/rice/Arg.hpp +8 -0
  28. data/rice/Arg_impl.hpp +127 -0
  29. data/rice/Arg_operators.cpp +21 -0
  30. data/rice/Arg_operators.hpp +19 -0
  31. data/rice/Array.hpp +220 -0
  32. data/rice/Array.ipp +263 -0
  33. data/rice/Builtin_Object.hpp +8 -0
  34. data/rice/Builtin_Object.ipp +50 -0
  35. data/rice/Builtin_Object_defn.hpp +51 -0
  36. data/rice/Class.cpp +57 -0
  37. data/rice/Class.hpp +8 -0
  38. data/rice/Class.ipp +6 -0
  39. data/rice/Class_defn.hpp +83 -0
  40. data/rice/Constructor.hpp +367 -0
  41. data/rice/Critical_Guard.hpp +40 -0
  42. data/rice/Critical_Guard.ipp +26 -0
  43. data/rice/Data_Object.hpp +8 -0
  44. data/rice/Data_Object.ipp +133 -0
  45. data/rice/Data_Object_defn.hpp +132 -0
  46. data/rice/Data_Type.cpp +54 -0
  47. data/rice/Data_Type.hpp +8 -0
  48. data/rice/Data_Type.ipp +365 -0
  49. data/rice/Data_Type_defn.hpp +261 -0
  50. data/rice/Data_Type_fwd.hpp +12 -0
  51. data/rice/Director.cpp +13 -0
  52. data/rice/Director.hpp +39 -0
  53. data/rice/Enum.hpp +117 -0
  54. data/rice/Enum.ipp +246 -0
  55. data/rice/Exception.cpp +59 -0
  56. data/rice/Exception.hpp +9 -0
  57. data/rice/Exception_Base.hpp +8 -0
  58. data/rice/Exception_Base.ipp +13 -0
  59. data/rice/Exception_Base_defn.hpp +27 -0
  60. data/rice/Exception_defn.hpp +69 -0
  61. data/rice/Hash.hpp +210 -0
  62. data/rice/Hash.ipp +338 -0
  63. data/rice/Identifier.cpp +8 -0
  64. data/rice/Identifier.hpp +50 -0
  65. data/rice/Identifier.ipp +33 -0
  66. data/rice/Jump_Tag.hpp +24 -0
  67. data/rice/Makefile.am +130 -0
  68. data/rice/Makefile.in +716 -0
  69. data/rice/Module.cpp +84 -0
  70. data/rice/Module.hpp +8 -0
  71. data/rice/Module.ipp +6 -0
  72. data/rice/Module_defn.hpp +88 -0
  73. data/rice/Module_impl.hpp +281 -0
  74. data/rice/Module_impl.ipp +348 -0
  75. data/rice/Object.cpp +160 -0
  76. data/rice/Object.hpp +8 -0
  77. data/rice/Object.ipp +19 -0
  78. data/rice/Object_defn.hpp +191 -0
  79. data/rice/Require_Guard.hpp +21 -0
  80. data/rice/String.cpp +94 -0
  81. data/rice/String.hpp +89 -0
  82. data/rice/Struct.cpp +117 -0
  83. data/rice/Struct.hpp +162 -0
  84. data/rice/Struct.ipp +26 -0
  85. data/rice/Symbol.cpp +25 -0
  86. data/rice/Symbol.hpp +66 -0
  87. data/rice/Symbol.ipp +44 -0
  88. data/rice/VM.cpp +92 -0
  89. data/rice/VM.hpp +32 -0
  90. data/rice/config.hpp +41 -0
  91. data/rice/config.hpp.in +40 -0
  92. data/rice/detail/Arguments.hpp +118 -0
  93. data/rice/detail/Auto_Function_Wrapper.hpp +829 -0
  94. data/rice/detail/Auto_Function_Wrapper.ipp +3391 -0
  95. data/rice/detail/Auto_Member_Function_Wrapper.hpp +828 -0
  96. data/rice/detail/Auto_Member_Function_Wrapper.ipp +2503 -0
  97. data/rice/detail/Caster.hpp +103 -0
  98. data/rice/detail/Exception_Handler.hpp +8 -0
  99. data/rice/detail/Exception_Handler.ipp +68 -0
  100. data/rice/detail/Exception_Handler_defn.hpp +96 -0
  101. data/rice/detail/Iterator.hpp +93 -0
  102. data/rice/detail/Not_Copyable.hpp +25 -0
  103. data/rice/detail/Wrapped_Function.hpp +33 -0
  104. data/rice/detail/cfp.hpp +24 -0
  105. data/rice/detail/cfp.ipp +51 -0
  106. data/rice/detail/check_ruby_type.cpp +27 -0
  107. data/rice/detail/check_ruby_type.hpp +23 -0
  108. data/rice/detail/creation_funcs.hpp +37 -0
  109. data/rice/detail/creation_funcs.ipp +36 -0
  110. data/rice/detail/default_allocation_func.hpp +23 -0
  111. data/rice/detail/default_allocation_func.ipp +11 -0
  112. data/rice/detail/define_method_and_auto_wrap.hpp +31 -0
  113. data/rice/detail/define_method_and_auto_wrap.ipp +30 -0
  114. data/rice/detail/demangle.cpp +56 -0
  115. data/rice/detail/demangle.hpp +19 -0
  116. data/rice/detail/env.hpp +19 -0
  117. data/rice/detail/from_ruby.hpp +43 -0
  118. data/rice/detail/from_ruby.ipp +60 -0
  119. data/rice/detail/method_data.cpp +159 -0
  120. data/rice/detail/method_data.hpp +21 -0
  121. data/rice/detail/mininode.cpp +1220 -0
  122. data/rice/detail/mininode.hpp +320 -0
  123. data/rice/detail/node.hpp +13 -0
  124. data/rice/detail/object_call.hpp +68 -0
  125. data/rice/detail/object_call.ipp +131 -0
  126. data/rice/detail/protect.cpp +29 -0
  127. data/rice/detail/protect.hpp +34 -0
  128. data/rice/detail/ruby.hpp +93 -0
  129. data/rice/detail/ruby_version_code.hpp +6 -0
  130. data/rice/detail/ruby_version_code.hpp.in +6 -0
  131. data/rice/detail/rubysig.hpp +19 -0
  132. data/rice/detail/st.hpp +60 -0
  133. data/rice/detail/to_ruby.hpp +22 -0
  134. data/rice/detail/to_ruby.ipp +36 -0
  135. data/rice/detail/traits.hpp +43 -0
  136. data/rice/detail/win32.hpp +16 -0
  137. data/rice/detail/wrap_function.hpp +341 -0
  138. data/rice/detail/wrap_function.ipp +514 -0
  139. data/rice/global_function.hpp +33 -0
  140. data/rice/global_function.ipp +22 -0
  141. data/rice/protect.hpp +91 -0
  142. data/rice/protect.ipp +1133 -0
  143. data/rice/ruby_mark.hpp +13 -0
  144. data/rice/ruby_try_catch.hpp +86 -0
  145. data/rice/rubypp.rb +97 -0
  146. data/rice/to_from_ruby.hpp +8 -0
  147. data/rice/to_from_ruby.ipp +294 -0
  148. data/rice/to_from_ruby_defn.hpp +71 -0
  149. data/ruby/Makefile.am +1 -0
  150. data/ruby/Makefile.in +497 -0
  151. data/ruby/lib/Makefile.am +3 -0
  152. data/ruby/lib/Makefile.in +373 -0
  153. data/ruby/lib/mkmf-rice.rb.in +216 -0
  154. data/ruby/lib/version.rb +3 -0
  155. data/ruby.ac +136 -0
  156. data/sample/Makefile.am +47 -0
  157. data/sample/Makefile.in +379 -0
  158. data/sample/enum/extconf.rb +3 -0
  159. data/sample/enum/sample_enum.cpp +54 -0
  160. data/sample/enum/test.rb +8 -0
  161. data/sample/inheritance/animals.cpp +98 -0
  162. data/sample/inheritance/extconf.rb +3 -0
  163. data/sample/inheritance/test.rb +7 -0
  164. data/sample/map/extconf.rb +3 -0
  165. data/sample/map/map.cpp +81 -0
  166. data/sample/map/test.rb +7 -0
  167. data/test/Makefile.am +78 -0
  168. data/test/Makefile.in +728 -0
  169. data/test/ext/Makefile.am +43 -0
  170. data/test/ext/Makefile.in +375 -0
  171. data/test/ext/t1/Foo.hpp +10 -0
  172. data/test/ext/t1/extconf.rb +2 -0
  173. data/test/ext/t1/t1.cpp +15 -0
  174. data/test/ext/t2/extconf.rb +2 -0
  175. data/test/ext/t2/t2.cpp +11 -0
  176. data/test/test_Address_Registration_Guard.cpp +43 -0
  177. data/test/test_Allocation_Strategies.cpp +77 -0
  178. data/test/test_Array.cpp +241 -0
  179. data/test/test_Builtin_Object.cpp +72 -0
  180. data/test/test_Class.cpp +498 -0
  181. data/test/test_Constructor.cpp +128 -0
  182. data/test/test_Critical_Guard.cpp +51 -0
  183. data/test/test_Data_Object.cpp +275 -0
  184. data/test/test_Data_Type.cpp +348 -0
  185. data/test/test_Director.cpp +301 -0
  186. data/test/test_Enum.cpp +195 -0
  187. data/test/test_Exception.cpp +46 -0
  188. data/test/test_Hash.cpp +195 -0
  189. data/test/test_Identifier.cpp +70 -0
  190. data/test/test_Jump_Tag.cpp +17 -0
  191. data/test/test_Memory_Management.cpp +50 -0
  192. data/test/test_Module.cpp +481 -0
  193. data/test/test_Object.cpp +148 -0
  194. data/test/test_String.cpp +94 -0
  195. data/test/test_Struct.cpp +192 -0
  196. data/test/test_Symbol.cpp +63 -0
  197. data/test/test_To_From_Ruby.cpp +277 -0
  198. data/test/test_VM.cpp +26 -0
  199. data/test/test_global_functions.cpp +114 -0
  200. data/test/test_rice.rb +43 -0
  201. data/test/unittest.cpp +136 -0
  202. data/test/unittest.hpp +292 -0
  203. metadata +289 -0
@@ -0,0 +1,43 @@
1
+ RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
2
+ EXTCONF_OPTIONS = --with-cppflags="-I@RICE_ROOT@" --with-libpath="@RICE_ROOT@/rice"
3
+
4
+ EXTRA_DIST = \
5
+ t1/extconf.rb \
6
+ t1/t1.cpp \
7
+ t2/extconf.rb \
8
+ t2/t2.cpp
9
+
10
+ all:
11
+
12
+ t1/Makefile: t1/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
13
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t1 extconf.rb $(EXTCONF_OPTIONS)
14
+
15
+ t2/Makefile: t2/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
16
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t2 extconf.rb $(EXTCONF_OPTIONS)
17
+
18
+ all clean distclean: t1/Makefile t2/Makefile
19
+
20
+ all: t1_all t2_all
21
+
22
+ t1_all:
23
+ make -C t1 all
24
+
25
+ t2_all:
26
+ make -C t2 all
27
+
28
+ clean: t1_clean t2_clean
29
+
30
+ t1_clean:
31
+ make -C t1 clean
32
+
33
+ t2_clean:
34
+ make -C t2 clean
35
+
36
+ distclean: t1_distclean t2_distclean
37
+
38
+ t1_distclean:
39
+ make -C t1 distclean
40
+
41
+ t2_distclean:
42
+ make -C t2 distclean
43
+
@@ -0,0 +1,375 @@
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 = test/ext
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
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
47
+ ACLOCAL = @ACLOCAL@
48
+ AMTAR = @AMTAR@
49
+ AUTOCONF = @AUTOCONF@
50
+ AUTOHEADER = @AUTOHEADER@
51
+ AUTOMAKE = @AUTOMAKE@
52
+ AWK = @AWK@
53
+ CPPFLAGS = @CPPFLAGS@
54
+ CXX = @CXX@
55
+ CXXDEPMODE = @CXXDEPMODE@
56
+ CXXFLAGS = @CXXFLAGS@
57
+ CYGPATH_W = @CYGPATH_W@
58
+ DEFS = @DEFS@
59
+ DEPDIR = @DEPDIR@
60
+ DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
61
+ DX_CONFIG = @DX_CONFIG@
62
+ DX_DOCDIR = @DX_DOCDIR@
63
+ DX_DOT = @DX_DOT@
64
+ DX_DOXYGEN = @DX_DOXYGEN@
65
+ DX_DVIPS = @DX_DVIPS@
66
+ DX_EGREP = @DX_EGREP@
67
+ DX_ENV = @DX_ENV@
68
+ DX_FLAG_chi = @DX_FLAG_chi@
69
+ DX_FLAG_chm = @DX_FLAG_chm@
70
+ DX_FLAG_doc = @DX_FLAG_doc@
71
+ DX_FLAG_dot = @DX_FLAG_dot@
72
+ DX_FLAG_html = @DX_FLAG_html@
73
+ DX_FLAG_man = @DX_FLAG_man@
74
+ DX_FLAG_pdf = @DX_FLAG_pdf@
75
+ DX_FLAG_ps = @DX_FLAG_ps@
76
+ DX_FLAG_rtf = @DX_FLAG_rtf@
77
+ DX_FLAG_xml = @DX_FLAG_xml@
78
+ DX_HHC = @DX_HHC@
79
+ DX_LATEX = @DX_LATEX@
80
+ DX_MAKEINDEX = @DX_MAKEINDEX@
81
+ DX_PDFLATEX = @DX_PDFLATEX@
82
+ DX_PERL = @DX_PERL@
83
+ DX_PROJECT = @DX_PROJECT@
84
+ ECHO_C = @ECHO_C@
85
+ ECHO_N = @ECHO_N@
86
+ ECHO_T = @ECHO_T@
87
+ EXEEXT = @EXEEXT@
88
+ INSTALL = @INSTALL@
89
+ INSTALL_DATA = @INSTALL_DATA@
90
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
91
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
92
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
93
+ LDFLAGS = @LDFLAGS@
94
+ LIBOBJS = @LIBOBJS@
95
+ LIBS = @LIBS@
96
+ LTLIBOBJS = @LTLIBOBJS@
97
+ MAKEINFO = @MAKEINFO@
98
+ MKDIR_P = @MKDIR_P@
99
+ OBJEXT = @OBJEXT@
100
+ PACKAGE = @PACKAGE@
101
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
102
+ PACKAGE_NAME = @PACKAGE_NAME@
103
+ PACKAGE_STRING = @PACKAGE_STRING@
104
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
105
+ PACKAGE_VERSION = @PACKAGE_VERSION@
106
+ PATH_SEPARATOR = @PATH_SEPARATOR@
107
+ RANLIB = @RANLIB@
108
+ RICE_CPPFLAGS = @RICE_CPPFLAGS@
109
+ RICE_LDFLAGS = @RICE_LDFLAGS@
110
+ RICE_ROOT = @RICE_ROOT@
111
+ RICE_SAMPLES = @RICE_SAMPLES@
112
+ RICE_USING_MINGW32 = @RICE_USING_MINGW32@
113
+ RUBY = @RUBY@
114
+ RUBY_CFLAGS = @RUBY_CFLAGS@
115
+ RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
116
+ RUBY_CXXFLAGS = @RUBY_CXXFLAGS@
117
+ RUBY_LDFLAGS = @RUBY_LDFLAGS@
118
+ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
119
+ RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
120
+ RUBY_LIBS = @RUBY_LIBS@
121
+ RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
122
+ RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
123
+ SET_MAKE = @SET_MAKE@
124
+ SHELL = @SHELL@
125
+ STRIP = @STRIP@
126
+ VERSION = @VERSION@
127
+ abs_builddir = @abs_builddir@
128
+ abs_srcdir = @abs_srcdir@
129
+ abs_top_builddir = @abs_top_builddir@
130
+ abs_top_srcdir = @abs_top_srcdir@
131
+ ac_ct_CXX = @ac_ct_CXX@
132
+ am__include = @am__include@
133
+ am__leading_dot = @am__leading_dot@
134
+ am__quote = @am__quote@
135
+ am__tar = @am__tar@
136
+ am__untar = @am__untar@
137
+ bindir = @bindir@
138
+ build = @build@
139
+ build_alias = @build_alias@
140
+ build_cpu = @build_cpu@
141
+ build_os = @build_os@
142
+ build_vendor = @build_vendor@
143
+ builddir = @builddir@
144
+ datadir = @datadir@
145
+ datarootdir = @datarootdir@
146
+ docdir = @docdir@
147
+ dvidir = @dvidir@
148
+ exec_prefix = @exec_prefix@
149
+ host = @host@
150
+ host_alias = @host_alias@
151
+ host_cpu = @host_cpu@
152
+ host_os = @host_os@
153
+ host_vendor = @host_vendor@
154
+ htmldir = @htmldir@
155
+ includedir = @includedir@
156
+ infodir = @infodir@
157
+ install_sh = @install_sh@
158
+ libdir = @libdir@
159
+ libexecdir = @libexecdir@
160
+ localedir = @localedir@
161
+ localstatedir = @localstatedir@
162
+ mandir = @mandir@
163
+ mkdir_p = @mkdir_p@
164
+ oldincludedir = @oldincludedir@
165
+ pdfdir = @pdfdir@
166
+ prefix = @prefix@
167
+ program_transform_name = @program_transform_name@
168
+ psdir = @psdir@
169
+ sbindir = @sbindir@
170
+ sharedstatedir = @sharedstatedir@
171
+ srcdir = @srcdir@
172
+ sysconfdir = @sysconfdir@
173
+ target_alias = @target_alias@
174
+ top_builddir = @top_builddir@
175
+ top_srcdir = @top_srcdir@
176
+ RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
177
+ EXTCONF_OPTIONS = --with-cppflags="-I@RICE_ROOT@" --with-libpath="@RICE_ROOT@/rice"
178
+ EXTRA_DIST = \
179
+ t1/extconf.rb \
180
+ t1/t1.cpp \
181
+ t2/extconf.rb \
182
+ t2/t2.cpp
183
+
184
+ all: all-am
185
+
186
+ .SUFFIXES:
187
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
188
+ @for dep in $?; do \
189
+ case '$(am__configure_deps)' in \
190
+ *$$dep*) \
191
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
192
+ && exit 0; \
193
+ exit 1;; \
194
+ esac; \
195
+ done; \
196
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/ext/Makefile'; \
197
+ cd $(top_srcdir) && \
198
+ $(AUTOMAKE) --gnu test/ext/Makefile
199
+ .PRECIOUS: Makefile
200
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
201
+ @case '$?' in \
202
+ *config.status*) \
203
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
204
+ *) \
205
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
206
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
207
+ esac;
208
+
209
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
210
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
211
+
212
+ $(top_srcdir)/configure: $(am__configure_deps)
213
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
214
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
215
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
216
+ tags: TAGS
217
+ TAGS:
218
+
219
+ ctags: CTAGS
220
+ CTAGS:
221
+
222
+
223
+ distdir: $(DISTFILES)
224
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
225
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
226
+ list='$(DISTFILES)'; \
227
+ dist_files=`for file in $$list; do echo $$file; done | \
228
+ sed -e "s|^$$srcdirstrip/||;t" \
229
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
230
+ case $$dist_files in \
231
+ */*) eval $(MKDIR_P) `echo "$$dist_files" | \
232
+ sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
233
+ sort -u` ;; \
234
+ esac; \
235
+ for file in $$dist_files; do \
236
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
237
+ if test -d $$d/$$file; then \
238
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
239
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
240
+ cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
241
+ fi; \
242
+ cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
243
+ else \
244
+ test -f "$(distdir)"/$$file \
245
+ || cp -p $$d/$$file "$(distdir)"/$$file \
246
+ || exit 1; \
247
+ fi; \
248
+ done
249
+ check-am: all-am
250
+ check: check-am
251
+ all-am: Makefile
252
+ installdirs:
253
+ install: install-am
254
+ install-exec: install-exec-am
255
+ install-data: install-data-am
256
+ uninstall: uninstall-am
257
+
258
+ install-am: all-am
259
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
260
+
261
+ installcheck: installcheck-am
262
+ install-strip:
263
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
264
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
265
+ `test -z '$(STRIP)' || \
266
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
267
+ mostlyclean-generic:
268
+
269
+ clean-generic:
270
+
271
+ distclean-generic:
272
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
273
+
274
+ maintainer-clean-generic:
275
+ @echo "This command is intended for maintainers to use"
276
+ @echo "it deletes files that may require special tools to rebuild."
277
+ clean-am: clean-generic mostlyclean-am
278
+
279
+ distclean-am: clean-am distclean-generic
280
+
281
+ dvi: dvi-am
282
+
283
+ dvi-am:
284
+
285
+ html: html-am
286
+
287
+ info: info-am
288
+
289
+ info-am:
290
+
291
+ install-data-am:
292
+
293
+ install-dvi: install-dvi-am
294
+
295
+ install-exec-am:
296
+
297
+ install-html: install-html-am
298
+
299
+ install-info: install-info-am
300
+
301
+ install-man:
302
+
303
+ install-pdf: install-pdf-am
304
+
305
+ install-ps: install-ps-am
306
+
307
+ installcheck-am:
308
+
309
+ maintainer-clean: maintainer-clean-am
310
+ -rm -f Makefile
311
+ maintainer-clean-am: distclean-am maintainer-clean-generic
312
+
313
+ mostlyclean: mostlyclean-am
314
+
315
+ mostlyclean-am: mostlyclean-generic
316
+
317
+ pdf: pdf-am
318
+
319
+ pdf-am:
320
+
321
+ ps: ps-am
322
+
323
+ ps-am:
324
+
325
+ uninstall-am:
326
+
327
+ .MAKE: install-am install-strip
328
+
329
+ .PHONY: all all-am check check-am clean clean-generic distclean \
330
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
331
+ install install-am install-data install-data-am install-dvi \
332
+ install-dvi-am install-exec install-exec-am install-html \
333
+ install-html-am install-info install-info-am install-man \
334
+ install-pdf install-pdf-am install-ps install-ps-am \
335
+ install-strip installcheck installcheck-am installdirs \
336
+ maintainer-clean maintainer-clean-generic mostlyclean \
337
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
338
+
339
+
340
+ all:
341
+
342
+ t1/Makefile: t1/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
343
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t1 extconf.rb $(EXTCONF_OPTIONS)
344
+
345
+ t2/Makefile: t2/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
346
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t2 extconf.rb $(EXTCONF_OPTIONS)
347
+
348
+ all clean distclean: t1/Makefile t2/Makefile
349
+
350
+ all: t1_all t2_all
351
+
352
+ t1_all:
353
+ make -C t1 all
354
+
355
+ t2_all:
356
+ make -C t2 all
357
+
358
+ clean: t1_clean t2_clean
359
+
360
+ t1_clean:
361
+ make -C t1 clean
362
+
363
+ t2_clean:
364
+ make -C t2 clean
365
+
366
+ distclean: t1_distclean t2_distclean
367
+
368
+ t1_distclean:
369
+ make -C t1 distclean
370
+
371
+ t2_distclean:
372
+ make -C t2 distclean
373
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
374
+ # Otherwise a system limit (for SysV at least) may be exceeded.
375
+ .NOEXPORT:
@@ -0,0 +1,10 @@
1
+ #ifndef T1__FOO__HPP_
2
+ #define T1__FOO__HPP_
3
+
4
+ class Foo
5
+ {
6
+ public:
7
+ int foo() { return 42; }
8
+ };
9
+
10
+ #endif // T1__FOO__HPP_
@@ -0,0 +1,2 @@
1
+ require 'mkmf-rice'
2
+ create_makefile('t1')
@@ -0,0 +1,15 @@
1
+ #include "Foo.hpp"
2
+
3
+ #include "rice/Data_Type.hpp"
4
+ #include "rice/Constructor.hpp"
5
+
6
+ using namespace Rice;
7
+
8
+ extern "C"
9
+ void Init_t1()
10
+ {
11
+ define_class<Foo>("Foo")
12
+ .define_constructor(Constructor<Foo>())
13
+ .define_method("foo", &Foo::foo);
14
+ }
15
+