rice2 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +23 -0
  3. data/Doxyfile +2268 -0
  4. data/Makefile.am +26 -0
  5. data/Makefile.in +929 -0
  6. data/README.md +1054 -0
  7. data/README.mingw +8 -0
  8. data/Rakefile +24 -0
  9. data/aclocal.m4 +1090 -0
  10. data/bootstrap +8 -0
  11. data/config.guess +1667 -0
  12. data/config.sub +1793 -0
  13. data/configure +8209 -0
  14. data/configure.ac +55 -0
  15. data/depcomp +791 -0
  16. data/doxygen.ac +314 -0
  17. data/doxygen.am +186 -0
  18. data/extconf.rb +66 -0
  19. data/install-sh +529 -0
  20. data/missing +215 -0
  21. data/post-autoconf.rb +22 -0
  22. data/post-automake.rb +28 -0
  23. data/rice/Address_Registration_Guard.cpp +22 -0
  24. data/rice/Address_Registration_Guard.hpp +7 -0
  25. data/rice/Address_Registration_Guard.ipp +37 -0
  26. data/rice/Address_Registration_Guard_defn.hpp +75 -0
  27. data/rice/Arg.hpp +8 -0
  28. data/rice/Arg_impl.hpp +129 -0
  29. data/rice/Arg_operators.cpp +21 -0
  30. data/rice/Arg_operators.hpp +19 -0
  31. data/rice/Array.hpp +214 -0
  32. data/rice/Array.ipp +256 -0
  33. data/rice/Builtin_Object.hpp +8 -0
  34. data/rice/Builtin_Object.ipp +50 -0
  35. data/rice/Builtin_Object_defn.hpp +50 -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 +47 -0
  41. data/rice/Data_Object.hpp +8 -0
  42. data/rice/Data_Object.ipp +133 -0
  43. data/rice/Data_Object_defn.hpp +138 -0
  44. data/rice/Data_Type.cpp +54 -0
  45. data/rice/Data_Type.hpp +8 -0
  46. data/rice/Data_Type.ipp +365 -0
  47. data/rice/Data_Type_defn.hpp +261 -0
  48. data/rice/Data_Type_fwd.hpp +12 -0
  49. data/rice/Director.cpp +13 -0
  50. data/rice/Director.hpp +39 -0
  51. data/rice/Enum.hpp +117 -0
  52. data/rice/Enum.ipp +246 -0
  53. data/rice/Exception.cpp +59 -0
  54. data/rice/Exception.hpp +13 -0
  55. data/rice/Exception_Base.hpp +8 -0
  56. data/rice/Exception_Base.ipp +13 -0
  57. data/rice/Exception_Base_defn.hpp +27 -0
  58. data/rice/Exception_defn.hpp +69 -0
  59. data/rice/Hash.hpp +227 -0
  60. data/rice/Hash.ipp +329 -0
  61. data/rice/Identifier.cpp +8 -0
  62. data/rice/Identifier.hpp +50 -0
  63. data/rice/Identifier.ipp +33 -0
  64. data/rice/Jump_Tag.hpp +24 -0
  65. data/rice/Makefile.am +122 -0
  66. data/rice/Makefile.in +885 -0
  67. data/rice/Module.cpp +84 -0
  68. data/rice/Module.hpp +8 -0
  69. data/rice/Module.ipp +6 -0
  70. data/rice/Module_defn.hpp +88 -0
  71. data/rice/Module_impl.hpp +281 -0
  72. data/rice/Module_impl.ipp +345 -0
  73. data/rice/Object.cpp +169 -0
  74. data/rice/Object.hpp +8 -0
  75. data/rice/Object.ipp +33 -0
  76. data/rice/Object_defn.hpp +214 -0
  77. data/rice/Require_Guard.hpp +21 -0
  78. data/rice/String.cpp +94 -0
  79. data/rice/String.hpp +91 -0
  80. data/rice/Struct.cpp +117 -0
  81. data/rice/Struct.hpp +162 -0
  82. data/rice/Struct.ipp +26 -0
  83. data/rice/Symbol.cpp +25 -0
  84. data/rice/Symbol.hpp +66 -0
  85. data/rice/Symbol.ipp +44 -0
  86. data/rice/config.hpp +47 -0
  87. data/rice/config.hpp.in +46 -0
  88. data/rice/detail/Arguments.hpp +118 -0
  89. data/rice/detail/Auto_Function_Wrapper.hpp +898 -0
  90. data/rice/detail/Auto_Function_Wrapper.ipp +3694 -0
  91. data/rice/detail/Auto_Member_Function_Wrapper.hpp +897 -0
  92. data/rice/detail/Auto_Member_Function_Wrapper.ipp +2774 -0
  93. data/rice/detail/Caster.hpp +103 -0
  94. data/rice/detail/Exception_Handler.hpp +8 -0
  95. data/rice/detail/Exception_Handler.ipp +68 -0
  96. data/rice/detail/Exception_Handler_defn.hpp +96 -0
  97. data/rice/detail/Iterator.hpp +93 -0
  98. data/rice/detail/Not_Copyable.hpp +25 -0
  99. data/rice/detail/Wrapped_Function.hpp +33 -0
  100. data/rice/detail/cfp.hpp +24 -0
  101. data/rice/detail/cfp.ipp +51 -0
  102. data/rice/detail/check_ruby_type.cpp +27 -0
  103. data/rice/detail/check_ruby_type.hpp +23 -0
  104. data/rice/detail/creation_funcs.hpp +37 -0
  105. data/rice/detail/creation_funcs.ipp +36 -0
  106. data/rice/detail/default_allocation_func.hpp +23 -0
  107. data/rice/detail/default_allocation_func.ipp +11 -0
  108. data/rice/detail/define_method_and_auto_wrap.hpp +31 -0
  109. data/rice/detail/define_method_and_auto_wrap.ipp +30 -0
  110. data/rice/detail/demangle.cpp +56 -0
  111. data/rice/detail/demangle.hpp +19 -0
  112. data/rice/detail/env.hpp +11 -0
  113. data/rice/detail/from_ruby.hpp +43 -0
  114. data/rice/detail/from_ruby.ipp +60 -0
  115. data/rice/detail/method_data.cpp +92 -0
  116. data/rice/detail/method_data.hpp +21 -0
  117. data/rice/detail/node.hpp +13 -0
  118. data/rice/detail/protect.cpp +29 -0
  119. data/rice/detail/protect.hpp +34 -0
  120. data/rice/detail/ruby.hpp +74 -0
  121. data/rice/detail/ruby_version_code.hpp +6 -0
  122. data/rice/detail/ruby_version_code.hpp.in +6 -0
  123. data/rice/detail/st.hpp +22 -0
  124. data/rice/detail/to_ruby.hpp +22 -0
  125. data/rice/detail/to_ruby.ipp +36 -0
  126. data/rice/detail/traits.hpp +43 -0
  127. data/rice/detail/win32.hpp +16 -0
  128. data/rice/detail/wrap_function.hpp +66 -0
  129. data/rice/global_function.hpp +33 -0
  130. data/rice/global_function.ipp +22 -0
  131. data/rice/protect.hpp +38 -0
  132. data/rice/protect.ipp +1134 -0
  133. data/rice/ruby_mark.hpp +13 -0
  134. data/rice/ruby_try_catch.hpp +86 -0
  135. data/rice/rubypp.rb +97 -0
  136. data/rice/to_from_ruby.hpp +8 -0
  137. data/rice/to_from_ruby.ipp +418 -0
  138. data/rice/to_from_ruby_defn.hpp +70 -0
  139. data/ruby.ac +135 -0
  140. data/ruby/Makefile.am +1 -0
  141. data/ruby/Makefile.in +628 -0
  142. data/ruby/lib/Makefile.am +3 -0
  143. data/ruby/lib/Makefile.in +506 -0
  144. data/ruby/lib/mkmf-rice.rb.in +217 -0
  145. data/ruby/lib/version.rb +3 -0
  146. data/sample/Makefile.am +47 -0
  147. data/sample/Makefile.in +489 -0
  148. data/sample/enum/extconf.rb +3 -0
  149. data/sample/enum/sample_enum.cpp +54 -0
  150. data/sample/enum/test.rb +8 -0
  151. data/sample/inheritance/animals.cpp +98 -0
  152. data/sample/inheritance/extconf.rb +3 -0
  153. data/sample/inheritance/test.rb +7 -0
  154. data/sample/map/extconf.rb +3 -0
  155. data/sample/map/map.cpp +81 -0
  156. data/sample/map/test.rb +7 -0
  157. data/test/Makefile.am +72 -0
  158. data/test/Makefile.in +1213 -0
  159. data/test/ext/Makefile.am +41 -0
  160. data/test/ext/Makefile.in +483 -0
  161. data/test/ext/t1/Foo.hpp +10 -0
  162. data/test/ext/t1/extconf.rb +2 -0
  163. data/test/ext/t1/t1.cpp +15 -0
  164. data/test/ext/t2/extconf.rb +2 -0
  165. data/test/ext/t2/t2.cpp +11 -0
  166. data/test/test_Address_Registration_Guard.cpp +43 -0
  167. data/test/test_Array.cpp +248 -0
  168. data/test/test_Builtin_Object.cpp +71 -0
  169. data/test/test_Class.cpp +496 -0
  170. data/test/test_Constructor.cpp +128 -0
  171. data/test/test_Data_Object.cpp +275 -0
  172. data/test/test_Data_Type.cpp +348 -0
  173. data/test/test_Director.cpp +308 -0
  174. data/test/test_Enum.cpp +215 -0
  175. data/test/test_Exception.cpp +47 -0
  176. data/test/test_Hash.cpp +212 -0
  177. data/test/test_Identifier.cpp +70 -0
  178. data/test/test_Jump_Tag.cpp +17 -0
  179. data/test/test_Memory_Management.cpp +50 -0
  180. data/test/test_Module.cpp +497 -0
  181. data/test/test_Object.cpp +159 -0
  182. data/test/test_String.cpp +107 -0
  183. data/test/test_Struct.cpp +205 -0
  184. data/test/test_Symbol.cpp +63 -0
  185. data/test/test_To_From_Ruby.cpp +428 -0
  186. data/test/test_global_functions.cpp +114 -0
  187. data/test/test_rice.rb +41 -0
  188. data/test/unittest.cpp +136 -0
  189. data/test/unittest.hpp +294 -0
  190. metadata +297 -0
@@ -0,0 +1,3 @@
1
+ require 'mkmf-rice'
2
+ create_makefile('sample_enum')
3
+
@@ -0,0 +1,54 @@
1
+ #include "rice/Enum.hpp"
2
+ #include "rice/ruby_try_catch.hpp"
3
+
4
+ using namespace Rice;
5
+
6
+ namespace
7
+ {
8
+
9
+ enum Sample_Enum
10
+ {
11
+ SE_FOO = 1,
12
+ SE_BAR = 42,
13
+ SE_BAZ = 100,
14
+ };
15
+
16
+ Rice::Enum<Sample_Enum> sample_enum_type;
17
+
18
+ char const * description(Sample_Enum e)
19
+ {
20
+ switch(e)
21
+ {
22
+ case SE_FOO: return "Fairly Ordinary Object";
23
+ case SE_BAR: return "Beginner's All-purpose Ratchet";
24
+ case SE_BAZ: return "Better than A Zebra";
25
+ }
26
+ return "???";
27
+ }
28
+
29
+ } // namespace
30
+
31
+ template<>
32
+ Sample_Enum from_ruby<Sample_Enum>(Object x)
33
+ {
34
+ Data_Object<Sample_Enum> d(x, sample_enum_type);
35
+ return *d;
36
+ }
37
+
38
+ extern "C"
39
+ void Init_sample_enum()
40
+ {
41
+ RUBY_TRY
42
+ {
43
+ sample_enum_type =
44
+ define_enum<Sample_Enum>("Sample_Enum")
45
+ .define_value("FOO", SE_FOO)
46
+ .define_value("BAR", SE_BAR)
47
+ .define_value("BAZ", SE_BAZ);
48
+
49
+ sample_enum_type
50
+ .define_method("description", description);
51
+ }
52
+ RUBY_CATCH
53
+ }
54
+
@@ -0,0 +1,8 @@
1
+ require 'sample_enum'
2
+
3
+ Sample_Enum.each { |x| p x }
4
+ s = Sample_Enum::FOO
5
+ puts s
6
+ puts s.inspect
7
+ puts s < Sample_Enum::BAR
8
+
@@ -0,0 +1,98 @@
1
+ #include "rice/Data_Type.hpp"
2
+ #include "rice/Constructor.hpp"
3
+
4
+ using namespace Rice;
5
+
6
+ class Organism
7
+ {
8
+ public:
9
+ virtual ~Organism() = 0;
10
+ virtual char const * name() = 0;
11
+ };
12
+
13
+ Organism::
14
+ ~Organism()
15
+ {
16
+ }
17
+
18
+ class Animal
19
+ : public Organism
20
+ {
21
+ public:
22
+ virtual ~Animal() = 0;
23
+ virtual char const * speak() = 0;
24
+ };
25
+
26
+ Animal::
27
+ ~Animal()
28
+ {
29
+ }
30
+
31
+ class Bear
32
+ : public Animal
33
+ {
34
+ public:
35
+ virtual char const * name()
36
+ {
37
+ return "Bear";
38
+ }
39
+
40
+ virtual char const * speak()
41
+ {
42
+ return "I'm smarter than the average bear";
43
+ }
44
+ };
45
+
46
+ class Dog
47
+ : public Animal
48
+ {
49
+ public:
50
+ virtual char const * name()
51
+ {
52
+ return "Dog";
53
+ }
54
+
55
+ virtual char const * speak()
56
+ {
57
+ return "Woof woof";
58
+ }
59
+ };
60
+
61
+ class Rabbit
62
+ : public Animal
63
+ {
64
+ public:
65
+ virtual char const * name()
66
+ {
67
+ return "Rabbit";
68
+ }
69
+
70
+ virtual char const * speak()
71
+ {
72
+ return "What's up, doc?";
73
+ }
74
+ };
75
+
76
+ extern "C"
77
+ void Init_animals(void)
78
+ {
79
+ RUBY_TRY
80
+ {
81
+ define_class<Organism>("Organism")
82
+ .define_method("name", &Organism::name);
83
+
84
+ define_class<Animal, Organism>("Animal")
85
+ .define_method("speak", &Animal::speak);
86
+
87
+ define_class<Bear, Animal>("Bear")
88
+ .define_constructor(Constructor<Bear>());
89
+
90
+ define_class<Dog, Animal>("Dog")
91
+ .define_constructor(Constructor<Dog>());
92
+
93
+ define_class<Rabbit, Animal>("Rabbit")
94
+ .define_constructor(Constructor<Rabbit>());
95
+ }
96
+ RUBY_CATCH
97
+ }
98
+
@@ -0,0 +1,3 @@
1
+ require 'mkmf-rice'
2
+ create_makefile('animals')
3
+
@@ -0,0 +1,7 @@
1
+ require 'animals'
2
+
3
+ [ Bear, Dog, Rabbit].each do |klass|
4
+ animal = klass.new
5
+ puts "A #{animal.name} says: #{animal.speak}"
6
+ end
7
+
@@ -0,0 +1,3 @@
1
+ require 'mkmf-rice'
2
+ create_makefile('map')
3
+
@@ -0,0 +1,81 @@
1
+ #include "rice/Data_Type.hpp"
2
+ #include "rice/Constructor.hpp"
3
+
4
+ #include <map>
5
+
6
+ using namespace Rice;
7
+
8
+ namespace
9
+ {
10
+
11
+ class Map
12
+ {
13
+ private:
14
+ struct Ruby_Value_Compare
15
+ {
16
+ bool operator()(Object lhs, Object rhs) const
17
+ {
18
+ Object result = lhs.call("<", rhs);
19
+ return result.test();
20
+ }
21
+ };
22
+
23
+ typedef std::map<Object, Object, Ruby_Value_Compare> Value_Map;
24
+
25
+ public:
26
+ Object bracket(Object k)
27
+ {
28
+ Value_Map::iterator it = map_.find(k);
29
+ return it == map_.end() ? Object(Qnil) : it->second;
30
+ }
31
+
32
+ Object bracket_equals(Object k, Object v)
33
+ {
34
+ map_[k] = v;
35
+ return Qnil;
36
+ }
37
+
38
+ Value_Map::iterator begin() { return map_.begin(); }
39
+ Value_Map::iterator end() { return map_.end(); }
40
+
41
+ typedef Value_Map::value_type value_type;
42
+ typedef Value_Map::iterator iterator;
43
+
44
+ private:
45
+ Value_Map map_;
46
+ };
47
+
48
+ Data_Type<Map> rb_cMap;
49
+
50
+ } // namespace
51
+
52
+ template<>
53
+ Object to_ruby<Map::value_type>(Map::value_type const & p)
54
+ {
55
+ return protect(rb_assoc_new, p.first, p.second);
56
+ }
57
+
58
+ #include <iostream>
59
+ extern "C"
60
+ void Init_map(void)
61
+ {
62
+ RUBY_TRY
63
+ {
64
+ Map::iterator (Map::*begin)() = &Map::begin;
65
+ Map::iterator (Map::*end)() = &Map::end;
66
+ Rice::Module rb_mStd = define_module("Std");
67
+
68
+ // TODO: no delete method on the map, because I'm not sure how to
69
+ // make delete work properly while iterating
70
+ rb_cMap =
71
+ define_class_under<Map>(rb_mStd, "Map")
72
+ .define_constructor(Constructor<Map>())
73
+ .define_method("[]", &Map::bracket)
74
+ .define_method("[]=", &Map::bracket_equals)
75
+ .define_iterator(begin, end)
76
+ .include_module(rb_mEnumerable)
77
+ ;
78
+ }
79
+ RUBY_CATCH
80
+ }
81
+
@@ -0,0 +1,7 @@
1
+ require 'map'
2
+ m = Std::Map.new
3
+ m[0] = 1
4
+ m[1] = 2
5
+ m[3] = 3
6
+ m.each { |x| p x }
7
+
@@ -0,0 +1,72 @@
1
+ noinst_PROGRAMS = unittest
2
+
3
+ SUBDIRS = ext
4
+
5
+ TESTS = unittest
6
+
7
+
8
+ check: run_multiple_extensions_test
9
+
10
+ .PHONY: run_multiple_extensions_test
11
+
12
+ run_multiple_extensions_test:
13
+ $(RUBY) test_multiple_extensions.rb
14
+
15
+
16
+ check: run_multiple_extensions_with_inheritance_test
17
+
18
+ .PHONY: run_multiple_extensions_with_inheritance_test
19
+
20
+ run_multiple_extensions_with_inheritance_test:
21
+ $(RUBY) test_multiple_extensions_with_inheritance.rb
22
+
23
+
24
+ check: run_multiple_extensions_same_class_test
25
+
26
+ .PHONY: run_multiple_extensions_same_class_test
27
+
28
+ run_multiple_extensions_same_class_test:
29
+ $(RUBY) test_multiple_extensions_same_class.rb
30
+
31
+
32
+ unittest_SOURCES = \
33
+ unittest.cpp \
34
+ test_Address_Registration_Guard.cpp \
35
+ test_Array.cpp \
36
+ test_Builtin_Object.cpp \
37
+ test_Class.cpp \
38
+ test_Constructor.cpp \
39
+ test_Data_Object.cpp \
40
+ test_Data_Type.cpp \
41
+ test_Director.cpp \
42
+ test_Enum.cpp \
43
+ test_Exception.cpp \
44
+ test_Hash.cpp \
45
+ test_Identifier.cpp \
46
+ test_Jump_Tag.cpp \
47
+ test_Memory_Management.cpp \
48
+ test_Module.cpp \
49
+ test_Object.cpp \
50
+ test_String.cpp \
51
+ test_Struct.cpp \
52
+ test_Symbol.cpp \
53
+ test_To_From_Ruby.cpp \
54
+ test_global_functions.cpp
55
+
56
+ AM_CPPFLAGS = \
57
+ -I.. \
58
+ $(RUBY_CFLAGS)
59
+ $(RUBY_CPPFLAGS)
60
+
61
+ AM_CXXLAGS = \
62
+ $(RUBY_CXXFLAGS)
63
+
64
+ AM_LDFLAGS = \
65
+ $(RUBY_LDFLAGS) \
66
+ -L../rice
67
+
68
+ LIBS = \
69
+ -lrice \
70
+ $(RUBY_LIBS) \
71
+ $(RUBY_LIBRUBYARG)
72
+
@@ -0,0 +1,1213 @@
1
+ # Makefile.in generated by automake 1.16.2 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994-2020 Free Software Foundation, Inc.
5
+
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
+
17
+ VPATH = @srcdir@
18
+ am__is_gnu_make = { \
19
+ if test -z '$(MAKELEVEL)'; then \
20
+ false; \
21
+ elif test -n '$(MAKE_HOST)'; then \
22
+ true; \
23
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24
+ true; \
25
+ else \
26
+ false; \
27
+ fi; \
28
+ }
29
+ am__make_running_with_option = \
30
+ case $${target_option-} in \
31
+ ?) ;; \
32
+ *) echo "am__make_running_with_option: internal error: invalid" \
33
+ "target option '$${target_option-}' specified" >&2; \
34
+ exit 1;; \
35
+ esac; \
36
+ has_opt=no; \
37
+ sane_makeflags=$$MAKEFLAGS; \
38
+ if $(am__is_gnu_make); then \
39
+ sane_makeflags=$$MFLAGS; \
40
+ else \
41
+ case $$MAKEFLAGS in \
42
+ *\\[\ \ ]*) \
43
+ bs=\\; \
44
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46
+ esac; \
47
+ fi; \
48
+ skip_next=no; \
49
+ strip_trailopt () \
50
+ { \
51
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52
+ }; \
53
+ for flg in $$sane_makeflags; do \
54
+ test $$skip_next = yes && { skip_next=no; continue; }; \
55
+ case $$flg in \
56
+ *=*|--*) continue;; \
57
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
58
+ -*I?*) strip_trailopt 'I';; \
59
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
60
+ -*O?*) strip_trailopt 'O';; \
61
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
62
+ -*l?*) strip_trailopt 'l';; \
63
+ -[dEDm]) skip_next=yes;; \
64
+ -[JT]) skip_next=yes;; \
65
+ esac; \
66
+ case $$flg in \
67
+ *$$target_option*) has_opt=yes; break;; \
68
+ esac; \
69
+ done; \
70
+ test $$has_opt = yes
71
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73
+ pkgdatadir = $(datadir)/@PACKAGE@
74
+ pkgincludedir = $(includedir)/@PACKAGE@
75
+ pkglibdir = $(libdir)/@PACKAGE@
76
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
77
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78
+ install_sh_DATA = $(install_sh) -c -m 644
79
+ install_sh_PROGRAM = $(install_sh) -c
80
+ install_sh_SCRIPT = $(install_sh) -c
81
+ INSTALL_HEADER = $(INSTALL_DATA)
82
+ transform = $(program_transform_name)
83
+ NORMAL_INSTALL = :
84
+ PRE_INSTALL = :
85
+ POST_INSTALL = :
86
+ NORMAL_UNINSTALL = :
87
+ PRE_UNINSTALL = :
88
+ POST_UNINSTALL = :
89
+ build_triplet = @build@
90
+ host_triplet = @host@
91
+ noinst_PROGRAMS = unittest$(EXEEXT)
92
+ TESTS = unittest$(EXEEXT)
93
+ subdir = test
94
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95
+ am__aclocal_m4_deps = $(top_srcdir)/ax_cxx_compile_stdcxx.m4 \
96
+ $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
97
+ $(top_srcdir)/configure.ac
98
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99
+ $(ACLOCAL_M4)
100
+ DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101
+ mkinstalldirs = $(install_sh) -d
102
+ CONFIG_HEADER = $(top_builddir)/rice/config.hpp
103
+ CONFIG_CLEAN_FILES =
104
+ CONFIG_CLEAN_VPATH_FILES =
105
+ PROGRAMS = $(noinst_PROGRAMS)
106
+ am_unittest_OBJECTS = unittest.$(OBJEXT) \
107
+ test_Address_Registration_Guard.$(OBJEXT) test_Array.$(OBJEXT) \
108
+ test_Builtin_Object.$(OBJEXT) test_Class.$(OBJEXT) \
109
+ test_Constructor.$(OBJEXT) test_Data_Object.$(OBJEXT) \
110
+ test_Data_Type.$(OBJEXT) test_Director.$(OBJEXT) \
111
+ test_Enum.$(OBJEXT) test_Exception.$(OBJEXT) \
112
+ test_Hash.$(OBJEXT) test_Identifier.$(OBJEXT) \
113
+ test_Jump_Tag.$(OBJEXT) test_Memory_Management.$(OBJEXT) \
114
+ test_Module.$(OBJEXT) test_Object.$(OBJEXT) \
115
+ test_String.$(OBJEXT) test_Struct.$(OBJEXT) \
116
+ test_Symbol.$(OBJEXT) test_To_From_Ruby.$(OBJEXT) \
117
+ test_global_functions.$(OBJEXT)
118
+ unittest_OBJECTS = $(am_unittest_OBJECTS)
119
+ unittest_LDADD = $(LDADD)
120
+ AM_V_P = $(am__v_P_@AM_V@)
121
+ am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
122
+ am__v_P_0 = false
123
+ am__v_P_1 = :
124
+ AM_V_GEN = $(am__v_GEN_@AM_V@)
125
+ am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
126
+ am__v_GEN_0 = @echo " GEN " $@;
127
+ am__v_GEN_1 =
128
+ AM_V_at = $(am__v_at_@AM_V@)
129
+ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
130
+ am__v_at_0 = @
131
+ am__v_at_1 =
132
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/rice
133
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
134
+ am__maybe_remake_depfiles = depfiles
135
+ am__depfiles_remade = ./$(DEPDIR)/test_Address_Registration_Guard.Po \
136
+ ./$(DEPDIR)/test_Array.Po ./$(DEPDIR)/test_Builtin_Object.Po \
137
+ ./$(DEPDIR)/test_Class.Po ./$(DEPDIR)/test_Constructor.Po \
138
+ ./$(DEPDIR)/test_Data_Object.Po ./$(DEPDIR)/test_Data_Type.Po \
139
+ ./$(DEPDIR)/test_Director.Po ./$(DEPDIR)/test_Enum.Po \
140
+ ./$(DEPDIR)/test_Exception.Po ./$(DEPDIR)/test_Hash.Po \
141
+ ./$(DEPDIR)/test_Identifier.Po ./$(DEPDIR)/test_Jump_Tag.Po \
142
+ ./$(DEPDIR)/test_Memory_Management.Po \
143
+ ./$(DEPDIR)/test_Module.Po ./$(DEPDIR)/test_Object.Po \
144
+ ./$(DEPDIR)/test_String.Po ./$(DEPDIR)/test_Struct.Po \
145
+ ./$(DEPDIR)/test_Symbol.Po ./$(DEPDIR)/test_To_From_Ruby.Po \
146
+ ./$(DEPDIR)/test_global_functions.Po ./$(DEPDIR)/unittest.Po
147
+ am__mv = mv -f
148
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
149
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
150
+ AM_V_CXX = $(am__v_CXX_@AM_V@)
151
+ am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
152
+ am__v_CXX_0 = @echo " CXX " $@;
153
+ am__v_CXX_1 =
154
+ CXXLD = $(CXX)
155
+ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
156
+ -o $@
157
+ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
158
+ am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
159
+ am__v_CXXLD_0 = @echo " CXXLD " $@;
160
+ am__v_CXXLD_1 =
161
+ SOURCES = $(unittest_SOURCES)
162
+ DIST_SOURCES = $(unittest_SOURCES)
163
+ RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
164
+ ctags-recursive dvi-recursive html-recursive info-recursive \
165
+ install-data-recursive install-dvi-recursive \
166
+ install-exec-recursive install-html-recursive \
167
+ install-info-recursive install-pdf-recursive \
168
+ install-ps-recursive install-recursive installcheck-recursive \
169
+ installdirs-recursive pdf-recursive ps-recursive \
170
+ tags-recursive uninstall-recursive
171
+ am__can_run_installinfo = \
172
+ case $$AM_UPDATE_INFO_DIR in \
173
+ n|no|NO) false;; \
174
+ *) (install-info --version) >/dev/null 2>&1;; \
175
+ esac
176
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
177
+ distclean-recursive maintainer-clean-recursive
178
+ am__recursive_targets = \
179
+ $(RECURSIVE_TARGETS) \
180
+ $(RECURSIVE_CLEAN_TARGETS) \
181
+ $(am__extra_recursive_targets)
182
+ AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
183
+ check recheck distdir distdir-am
184
+ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
185
+ # Read a list of newline-separated strings from the standard input,
186
+ # and print each of them once, without duplicates. Input order is
187
+ # *not* preserved.
188
+ am__uniquify_input = $(AWK) '\
189
+ BEGIN { nonempty = 0; } \
190
+ { items[$$0] = 1; nonempty = 1; } \
191
+ END { if (nonempty) { for (i in items) print i; }; } \
192
+ '
193
+ # Make sure the list of sources is unique. This is necessary because,
194
+ # e.g., the same source file might be shared among _SOURCES variables
195
+ # for different programs/libraries.
196
+ am__define_uniq_tagged_files = \
197
+ list='$(am__tagged_files)'; \
198
+ unique=`for i in $$list; do \
199
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
200
+ done | $(am__uniquify_input)`
201
+ ETAGS = etags
202
+ CTAGS = ctags
203
+ am__tty_colors_dummy = \
204
+ mgn= red= grn= lgn= blu= brg= std=; \
205
+ am__color_tests=no
206
+ am__tty_colors = { \
207
+ $(am__tty_colors_dummy); \
208
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
209
+ am__color_tests=no; \
210
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
211
+ am__color_tests=yes; \
212
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
213
+ am__color_tests=yes; \
214
+ fi; \
215
+ if test $$am__color_tests = yes; then \
216
+ red=''; \
217
+ grn=''; \
218
+ lgn=''; \
219
+ blu=''; \
220
+ mgn=''; \
221
+ brg=''; \
222
+ std=''; \
223
+ fi; \
224
+ }
225
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
226
+ am__vpath_adj = case $$p in \
227
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
228
+ *) f=$$p;; \
229
+ esac;
230
+ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
231
+ am__install_max = 40
232
+ am__nobase_strip_setup = \
233
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
234
+ am__nobase_strip = \
235
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
236
+ am__nobase_list = $(am__nobase_strip_setup); \
237
+ for p in $$list; do echo "$$p $$p"; done | \
238
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
239
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
240
+ if (++n[$$2] == $(am__install_max)) \
241
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
242
+ END { for (dir in files) print dir, files[dir] }'
243
+ am__base_list = \
244
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
245
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
246
+ am__uninstall_files_from_dir = { \
247
+ test -z "$$files" \
248
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
249
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
250
+ $(am__cd) "$$dir" && rm -f $$files; }; \
251
+ }
252
+ am__recheck_rx = ^[ ]*:recheck:[ ]*
253
+ am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
254
+ am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
255
+ # A command that, given a newline-separated list of test names on the
256
+ # standard input, print the name of the tests that are to be re-run
257
+ # upon "make recheck".
258
+ am__list_recheck_tests = $(AWK) '{ \
259
+ recheck = 1; \
260
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
261
+ { \
262
+ if (rc < 0) \
263
+ { \
264
+ if ((getline line2 < ($$0 ".log")) < 0) \
265
+ recheck = 0; \
266
+ break; \
267
+ } \
268
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
269
+ { \
270
+ recheck = 0; \
271
+ break; \
272
+ } \
273
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
274
+ { \
275
+ break; \
276
+ } \
277
+ }; \
278
+ if (recheck) \
279
+ print $$0; \
280
+ close ($$0 ".trs"); \
281
+ close ($$0 ".log"); \
282
+ }'
283
+ # A command that, given a newline-separated list of test names on the
284
+ # standard input, create the global log from their .trs and .log files.
285
+ am__create_global_log = $(AWK) ' \
286
+ function fatal(msg) \
287
+ { \
288
+ print "fatal: making $@: " msg | "cat >&2"; \
289
+ exit 1; \
290
+ } \
291
+ function rst_section(header) \
292
+ { \
293
+ print header; \
294
+ len = length(header); \
295
+ for (i = 1; i <= len; i = i + 1) \
296
+ printf "="; \
297
+ printf "\n\n"; \
298
+ } \
299
+ { \
300
+ copy_in_global_log = 1; \
301
+ global_test_result = "RUN"; \
302
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
303
+ { \
304
+ if (rc < 0) \
305
+ fatal("failed to read from " $$0 ".trs"); \
306
+ if (line ~ /$(am__global_test_result_rx)/) \
307
+ { \
308
+ sub("$(am__global_test_result_rx)", "", line); \
309
+ sub("[ ]*$$", "", line); \
310
+ global_test_result = line; \
311
+ } \
312
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
313
+ copy_in_global_log = 0; \
314
+ }; \
315
+ if (copy_in_global_log) \
316
+ { \
317
+ rst_section(global_test_result ": " $$0); \
318
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
319
+ { \
320
+ if (rc < 0) \
321
+ fatal("failed to read from " $$0 ".log"); \
322
+ print line; \
323
+ }; \
324
+ printf "\n"; \
325
+ }; \
326
+ close ($$0 ".trs"); \
327
+ close ($$0 ".log"); \
328
+ }'
329
+ # Restructured Text title.
330
+ am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
331
+ # Solaris 10 'make', and several other traditional 'make' implementations,
332
+ # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
333
+ # by disabling -e (using the XSI extension "set +e") if it's set.
334
+ am__sh_e_setup = case $$- in *e*) set +e;; esac
335
+ # Default flags passed to test drivers.
336
+ am__common_driver_flags = \
337
+ --color-tests "$$am__color_tests" \
338
+ --enable-hard-errors "$$am__enable_hard_errors" \
339
+ --expect-failure "$$am__expect_failure"
340
+ # To be inserted before the command running the test. Creates the
341
+ # directory for the log if needed. Stores in $dir the directory
342
+ # containing $f, in $tst the test, in $log the log. Executes the
343
+ # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
344
+ # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
345
+ # will run the test scripts (or their associated LOG_COMPILER, if
346
+ # thy have one).
347
+ am__check_pre = \
348
+ $(am__sh_e_setup); \
349
+ $(am__vpath_adj_setup) $(am__vpath_adj) \
350
+ $(am__tty_colors); \
351
+ srcdir=$(srcdir); export srcdir; \
352
+ case "$@" in \
353
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
354
+ *) am__odir=.;; \
355
+ esac; \
356
+ test "x$$am__odir" = x"." || test -d "$$am__odir" \
357
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
358
+ if test -f "./$$f"; then dir=./; \
359
+ elif test -f "$$f"; then dir=; \
360
+ else dir="$(srcdir)/"; fi; \
361
+ tst=$$dir$$f; log='$@'; \
362
+ if test -n '$(DISABLE_HARD_ERRORS)'; then \
363
+ am__enable_hard_errors=no; \
364
+ else \
365
+ am__enable_hard_errors=yes; \
366
+ fi; \
367
+ case " $(XFAIL_TESTS) " in \
368
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
369
+ am__expect_failure=yes;; \
370
+ *) \
371
+ am__expect_failure=no;; \
372
+ esac; \
373
+ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
374
+ # A shell command to get the names of the tests scripts with any registered
375
+ # extension removed (i.e., equivalently, the names of the test logs, with
376
+ # the '.log' extension removed). The result is saved in the shell variable
377
+ # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
378
+ # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
379
+ # since that might cause problem with VPATH rewrites for suffix-less tests.
380
+ # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
381
+ am__set_TESTS_bases = \
382
+ bases='$(TEST_LOGS)'; \
383
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
384
+ bases=`echo $$bases`
385
+ RECHECK_LOGS = $(TEST_LOGS)
386
+ TEST_SUITE_LOG = test-suite.log
387
+ TEST_EXTENSIONS = @EXEEXT@ .test
388
+ LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
389
+ LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
390
+ am__set_b = \
391
+ case '$@' in \
392
+ */*) \
393
+ case '$*' in \
394
+ */*) b='$*';; \
395
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
396
+ esac;; \
397
+ *) \
398
+ b='$*';; \
399
+ esac
400
+ am__test_logs1 = $(TESTS:=.log)
401
+ am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
402
+ TEST_LOGS = $(am__test_logs2:.test.log=.log)
403
+ TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
404
+ TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
405
+ $(TEST_LOG_FLAGS)
406
+ DIST_SUBDIRS = $(SUBDIRS)
407
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
408
+ $(top_srcdir)/test-driver
409
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
410
+ am__relativize = \
411
+ dir0=`pwd`; \
412
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
413
+ sed_rest='s,^[^/]*/*,,'; \
414
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
415
+ sed_butlast='s,/*[^/]*$$,,'; \
416
+ while test -n "$$dir1"; do \
417
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
418
+ if test "$$first" != "."; then \
419
+ if test "$$first" = ".."; then \
420
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
421
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
422
+ else \
423
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
424
+ if test "$$first2" = "$$first"; then \
425
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
426
+ else \
427
+ dir2="../$$dir2"; \
428
+ fi; \
429
+ dir0="$$dir0"/"$$first"; \
430
+ fi; \
431
+ fi; \
432
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
433
+ done; \
434
+ reldir="$$dir2"
435
+ ACLOCAL = @ACLOCAL@
436
+ AMTAR = @AMTAR@
437
+ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
438
+ AUTOCONF = @AUTOCONF@
439
+ AUTOHEADER = @AUTOHEADER@
440
+ AUTOMAKE = @AUTOMAKE@
441
+ AWK = @AWK@
442
+ CPPFLAGS = @CPPFLAGS@
443
+ CXX = @CXX@
444
+ CXXDEPMODE = @CXXDEPMODE@
445
+ CXXFLAGS = @CXXFLAGS@
446
+ CYGPATH_W = @CYGPATH_W@
447
+ DEFS = @DEFS@
448
+ DEPDIR = @DEPDIR@
449
+ DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
450
+ DX_CONFIG = @DX_CONFIG@
451
+ DX_DOCDIR = @DX_DOCDIR@
452
+ DX_DOT = @DX_DOT@
453
+ DX_DOXYGEN = @DX_DOXYGEN@
454
+ DX_DVIPS = @DX_DVIPS@
455
+ DX_EGREP = @DX_EGREP@
456
+ DX_ENV = @DX_ENV@
457
+ DX_FLAG_chi = @DX_FLAG_chi@
458
+ DX_FLAG_chm = @DX_FLAG_chm@
459
+ DX_FLAG_doc = @DX_FLAG_doc@
460
+ DX_FLAG_dot = @DX_FLAG_dot@
461
+ DX_FLAG_html = @DX_FLAG_html@
462
+ DX_FLAG_man = @DX_FLAG_man@
463
+ DX_FLAG_pdf = @DX_FLAG_pdf@
464
+ DX_FLAG_ps = @DX_FLAG_ps@
465
+ DX_FLAG_rtf = @DX_FLAG_rtf@
466
+ DX_FLAG_xml = @DX_FLAG_xml@
467
+ DX_HHC = @DX_HHC@
468
+ DX_LATEX = @DX_LATEX@
469
+ DX_MAKEINDEX = @DX_MAKEINDEX@
470
+ DX_PDFLATEX = @DX_PDFLATEX@
471
+ DX_PERL = @DX_PERL@
472
+ DX_PROJECT = @DX_PROJECT@
473
+ ECHO_C = @ECHO_C@
474
+ ECHO_N = @ECHO_N@
475
+ ECHO_T = @ECHO_T@
476
+ EXEEXT = @EXEEXT@
477
+ HAVE_CXX14 = @HAVE_CXX14@
478
+ INSTALL = @INSTALL@
479
+ INSTALL_DATA = @INSTALL_DATA@
480
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
481
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
482
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
483
+ LDFLAGS = @LDFLAGS@
484
+ LIBOBJS = @LIBOBJS@
485
+ LIBS = \
486
+ -lrice \
487
+ $(RUBY_LIBS) \
488
+ $(RUBY_LIBRUBYARG)
489
+
490
+ LTLIBOBJS = @LTLIBOBJS@
491
+ MAKEINFO = @MAKEINFO@
492
+ MKDIR_P = @MKDIR_P@
493
+ OBJEXT = @OBJEXT@
494
+ PACKAGE = @PACKAGE@
495
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
496
+ PACKAGE_NAME = @PACKAGE_NAME@
497
+ PACKAGE_STRING = @PACKAGE_STRING@
498
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
499
+ PACKAGE_URL = @PACKAGE_URL@
500
+ PACKAGE_VERSION = @PACKAGE_VERSION@
501
+ PATH_SEPARATOR = @PATH_SEPARATOR@
502
+ RANLIB = @RANLIB@
503
+ RICE_CPPFLAGS = @RICE_CPPFLAGS@
504
+ RICE_LDFLAGS = @RICE_LDFLAGS@
505
+ RICE_ROOT = @RICE_ROOT@
506
+ RICE_SAMPLES = @RICE_SAMPLES@
507
+ RICE_USING_MINGW32 = @RICE_USING_MINGW32@
508
+ RUBY = @RUBY@
509
+ RUBY_CFLAGS = @RUBY_CFLAGS@
510
+ RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
511
+ RUBY_CXXFLAGS = @RUBY_CXXFLAGS@
512
+ RUBY_LDFLAGS = @RUBY_LDFLAGS@
513
+ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
514
+ RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
515
+ RUBY_LIBS = @RUBY_LIBS@
516
+ RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
517
+ RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
518
+ SET_MAKE = @SET_MAKE@
519
+ SHELL = @SHELL@
520
+ STRIP = @STRIP@
521
+ VERSION = @VERSION@
522
+ abs_builddir = @abs_builddir@
523
+ abs_srcdir = @abs_srcdir@
524
+ abs_top_builddir = @abs_top_builddir@
525
+ abs_top_srcdir = @abs_top_srcdir@
526
+ ac_ct_CXX = @ac_ct_CXX@
527
+ am__include = @am__include@
528
+ am__leading_dot = @am__leading_dot@
529
+ am__quote = @am__quote@
530
+ am__tar = @am__tar@
531
+ am__untar = @am__untar@
532
+ bindir = @bindir@
533
+ build = @build@
534
+ build_alias = @build_alias@
535
+ build_cpu = @build_cpu@
536
+ build_os = @build_os@
537
+ build_vendor = @build_vendor@
538
+ builddir = @builddir@
539
+ datadir = @datadir@
540
+ datarootdir = @datarootdir@
541
+ docdir = @docdir@
542
+ dvidir = @dvidir@
543
+ exec_prefix = @exec_prefix@
544
+ host = @host@
545
+ host_alias = @host_alias@
546
+ host_cpu = @host_cpu@
547
+ host_os = @host_os@
548
+ host_vendor = @host_vendor@
549
+ htmldir = @htmldir@
550
+ includedir = @includedir@
551
+ infodir = @infodir@
552
+ install_sh = @install_sh@
553
+ libdir = @libdir@
554
+ libexecdir = @libexecdir@
555
+ localedir = @localedir@
556
+ localstatedir = @localstatedir@
557
+ mandir = @mandir@
558
+ mkdir_p = @mkdir_p@
559
+ oldincludedir = @oldincludedir@
560
+ pdfdir = @pdfdir@
561
+ prefix = @prefix@
562
+ program_transform_name = @program_transform_name@
563
+ psdir = @psdir@
564
+ sbindir = @sbindir@
565
+ sharedstatedir = @sharedstatedir@
566
+ srcdir = @srcdir@
567
+ sysconfdir = @sysconfdir@
568
+ target_alias = @target_alias@
569
+ top_build_prefix = @top_build_prefix@
570
+ top_builddir = @top_builddir@
571
+ top_srcdir = @top_srcdir@
572
+ SUBDIRS = ext
573
+ unittest_SOURCES = \
574
+ unittest.cpp \
575
+ test_Address_Registration_Guard.cpp \
576
+ test_Array.cpp \
577
+ test_Builtin_Object.cpp \
578
+ test_Class.cpp \
579
+ test_Constructor.cpp \
580
+ test_Data_Object.cpp \
581
+ test_Data_Type.cpp \
582
+ test_Director.cpp \
583
+ test_Enum.cpp \
584
+ test_Exception.cpp \
585
+ test_Hash.cpp \
586
+ test_Identifier.cpp \
587
+ test_Jump_Tag.cpp \
588
+ test_Memory_Management.cpp \
589
+ test_Module.cpp \
590
+ test_Object.cpp \
591
+ test_String.cpp \
592
+ test_Struct.cpp \
593
+ test_Symbol.cpp \
594
+ test_To_From_Ruby.cpp \
595
+ test_global_functions.cpp
596
+
597
+ AM_CPPFLAGS = \
598
+ -I.. \
599
+ $(RUBY_CFLAGS)
600
+
601
+ AM_CXXLAGS = \
602
+ $(RUBY_CXXFLAGS)
603
+
604
+ AM_LDFLAGS = \
605
+ $(RUBY_LDFLAGS) \
606
+ -L../rice
607
+
608
+ all: all-recursive
609
+
610
+ .SUFFIXES:
611
+ .SUFFIXES: .cpp .log .o .obj .test .test$(EXEEXT) .trs
612
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
613
+ @for dep in $?; do \
614
+ case '$(am__configure_deps)' in \
615
+ *$$dep*) \
616
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
617
+ && { if test -f $@; then exit 0; else break; fi; }; \
618
+ exit 1;; \
619
+ esac; \
620
+ done; \
621
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \
622
+ $(am__cd) $(top_srcdir) && \
623
+ $(AUTOMAKE) --gnu test/Makefile
624
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
625
+ @case '$?' in \
626
+ *config.status*) \
627
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
628
+ *) \
629
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
630
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
631
+ esac;
632
+
633
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
634
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
635
+
636
+ $(top_srcdir)/configure: $(am__configure_deps)
637
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
638
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
639
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
640
+ $(am__aclocal_m4_deps):
641
+
642
+ clean-noinstPROGRAMS:
643
+ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
644
+
645
+ unittest$(EXEEXT): $(unittest_OBJECTS) $(unittest_DEPENDENCIES) $(EXTRA_unittest_DEPENDENCIES)
646
+ @rm -f unittest$(EXEEXT)
647
+ $(AM_V_CXXLD)$(CXXLINK) $(unittest_OBJECTS) $(unittest_LDADD) $(LIBS)
648
+
649
+ mostlyclean-compile:
650
+ -rm -f *.$(OBJEXT)
651
+
652
+ distclean-compile:
653
+ -rm -f *.tab.c
654
+
655
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Address_Registration_Guard.Po@am__quote@ # am--include-marker
656
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Array.Po@am__quote@ # am--include-marker
657
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Builtin_Object.Po@am__quote@ # am--include-marker
658
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Class.Po@am__quote@ # am--include-marker
659
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Constructor.Po@am__quote@ # am--include-marker
660
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Data_Object.Po@am__quote@ # am--include-marker
661
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Data_Type.Po@am__quote@ # am--include-marker
662
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Director.Po@am__quote@ # am--include-marker
663
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Enum.Po@am__quote@ # am--include-marker
664
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Exception.Po@am__quote@ # am--include-marker
665
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Hash.Po@am__quote@ # am--include-marker
666
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Identifier.Po@am__quote@ # am--include-marker
667
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Jump_Tag.Po@am__quote@ # am--include-marker
668
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Memory_Management.Po@am__quote@ # am--include-marker
669
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Module.Po@am__quote@ # am--include-marker
670
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Object.Po@am__quote@ # am--include-marker
671
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_String.Po@am__quote@ # am--include-marker
672
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Struct.Po@am__quote@ # am--include-marker
673
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Symbol.Po@am__quote@ # am--include-marker
674
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_To_From_Ruby.Po@am__quote@ # am--include-marker
675
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_global_functions.Po@am__quote@ # am--include-marker
676
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unittest.Po@am__quote@ # am--include-marker
677
+
678
+ $(am__depfiles_remade):
679
+ @$(MKDIR_P) $(@D)
680
+ @echo '# dummy' >$@-t && $(am__mv) $@-t $@
681
+
682
+ am--depfiles: $(am__depfiles_remade)
683
+
684
+ .cpp.o:
685
+ @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
686
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
687
+ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
688
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
689
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
690
+ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
691
+
692
+ .cpp.obj:
693
+ @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
694
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
695
+ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
696
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
697
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
698
+ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
699
+
700
+ # This directory's subdirectories are mostly independent; you can cd
701
+ # into them and run 'make' without going through this Makefile.
702
+ # To change the values of 'make' variables: instead of editing Makefiles,
703
+ # (1) if the variable is set in 'config.status', edit 'config.status'
704
+ # (which will cause the Makefiles to be regenerated when you run 'make');
705
+ # (2) otherwise, pass the desired values on the 'make' command line.
706
+ $(am__recursive_targets):
707
+ @fail=; \
708
+ if $(am__make_keepgoing); then \
709
+ failcom='fail=yes'; \
710
+ else \
711
+ failcom='exit 1'; \
712
+ fi; \
713
+ dot_seen=no; \
714
+ target=`echo $@ | sed s/-recursive//`; \
715
+ case "$@" in \
716
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
717
+ *) list='$(SUBDIRS)' ;; \
718
+ esac; \
719
+ for subdir in $$list; do \
720
+ echo "Making $$target in $$subdir"; \
721
+ if test "$$subdir" = "."; then \
722
+ dot_seen=yes; \
723
+ local_target="$$target-am"; \
724
+ else \
725
+ local_target="$$target"; \
726
+ fi; \
727
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
728
+ || eval $$failcom; \
729
+ done; \
730
+ if test "$$dot_seen" = "no"; then \
731
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
732
+ fi; test -z "$$fail"
733
+
734
+ ID: $(am__tagged_files)
735
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
736
+ tags: tags-recursive
737
+ TAGS: tags
738
+
739
+ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
740
+ set x; \
741
+ here=`pwd`; \
742
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
743
+ include_option=--etags-include; \
744
+ empty_fix=.; \
745
+ else \
746
+ include_option=--include; \
747
+ empty_fix=; \
748
+ fi; \
749
+ list='$(SUBDIRS)'; for subdir in $$list; do \
750
+ if test "$$subdir" = .; then :; else \
751
+ test ! -f $$subdir/TAGS || \
752
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
753
+ fi; \
754
+ done; \
755
+ $(am__define_uniq_tagged_files); \
756
+ shift; \
757
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
758
+ test -n "$$unique" || unique=$$empty_fix; \
759
+ if test $$# -gt 0; then \
760
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
761
+ "$$@" $$unique; \
762
+ else \
763
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
764
+ $$unique; \
765
+ fi; \
766
+ fi
767
+ ctags: ctags-recursive
768
+
769
+ CTAGS: ctags
770
+ ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
771
+ $(am__define_uniq_tagged_files); \
772
+ test -z "$(CTAGS_ARGS)$$unique" \
773
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
774
+ $$unique
775
+
776
+ GTAGS:
777
+ here=`$(am__cd) $(top_builddir) && pwd` \
778
+ && $(am__cd) $(top_srcdir) \
779
+ && gtags -i $(GTAGS_ARGS) "$$here"
780
+ cscopelist: cscopelist-recursive
781
+
782
+ cscopelist-am: $(am__tagged_files)
783
+ list='$(am__tagged_files)'; \
784
+ case "$(srcdir)" in \
785
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
786
+ *) sdir=$(subdir)/$(srcdir) ;; \
787
+ esac; \
788
+ for i in $$list; do \
789
+ if test -f "$$i"; then \
790
+ echo "$(subdir)/$$i"; \
791
+ else \
792
+ echo "$$sdir/$$i"; \
793
+ fi; \
794
+ done >> $(top_builddir)/cscope.files
795
+
796
+ distclean-tags:
797
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
798
+
799
+ # Recover from deleted '.trs' file; this should ensure that
800
+ # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
801
+ # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
802
+ # to avoid problems with "make -n".
803
+ .log.trs:
804
+ rm -f $< $@
805
+ $(MAKE) $(AM_MAKEFLAGS) $<
806
+
807
+ # Leading 'am--fnord' is there to ensure the list of targets does not
808
+ # expand to empty, as could happen e.g. with make check TESTS=''.
809
+ am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
810
+ am--force-recheck:
811
+ @:
812
+
813
+ $(TEST_SUITE_LOG): $(TEST_LOGS)
814
+ @$(am__set_TESTS_bases); \
815
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
816
+ redo_bases=`for i in $$bases; do \
817
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
818
+ done`; \
819
+ if test -n "$$redo_bases"; then \
820
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
821
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
822
+ if $(am__make_dryrun); then :; else \
823
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
824
+ fi; \
825
+ fi; \
826
+ if test -n "$$am__remaking_logs"; then \
827
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
828
+ "recursion detected" >&2; \
829
+ elif test -n "$$redo_logs"; then \
830
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
831
+ fi; \
832
+ if $(am__make_dryrun); then :; else \
833
+ st=0; \
834
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
835
+ for i in $$redo_bases; do \
836
+ test -f $$i.trs && test -r $$i.trs \
837
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
838
+ test -f $$i.log && test -r $$i.log \
839
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
840
+ done; \
841
+ test $$st -eq 0 || exit 1; \
842
+ fi
843
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
844
+ ws='[ ]'; \
845
+ results=`for b in $$bases; do echo $$b.trs; done`; \
846
+ test -n "$$results" || results=/dev/null; \
847
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
848
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
849
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
850
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
851
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
852
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
853
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
854
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
855
+ success=true; \
856
+ else \
857
+ success=false; \
858
+ fi; \
859
+ br='==================='; br=$$br$$br$$br$$br; \
860
+ result_count () \
861
+ { \
862
+ if test x"$$1" = x"--maybe-color"; then \
863
+ maybe_colorize=yes; \
864
+ elif test x"$$1" = x"--no-color"; then \
865
+ maybe_colorize=no; \
866
+ else \
867
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
868
+ fi; \
869
+ shift; \
870
+ desc=$$1 count=$$2; \
871
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
872
+ color_start=$$3 color_end=$$std; \
873
+ else \
874
+ color_start= color_end=; \
875
+ fi; \
876
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
877
+ }; \
878
+ create_testsuite_report () \
879
+ { \
880
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
881
+ result_count $$1 "PASS: " $$pass "$$grn"; \
882
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
883
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
884
+ result_count $$1 "FAIL: " $$fail "$$red"; \
885
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
886
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
887
+ }; \
888
+ { \
889
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
890
+ $(am__rst_title); \
891
+ create_testsuite_report --no-color; \
892
+ echo; \
893
+ echo ".. contents:: :depth: 2"; \
894
+ echo; \
895
+ for b in $$bases; do echo $$b; done \
896
+ | $(am__create_global_log); \
897
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
898
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
899
+ if $$success; then \
900
+ col="$$grn"; \
901
+ else \
902
+ col="$$red"; \
903
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
904
+ fi; \
905
+ echo "$${col}$$br$${std}"; \
906
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
907
+ echo "$${col}$$br$${std}"; \
908
+ create_testsuite_report --maybe-color; \
909
+ echo "$$col$$br$$std"; \
910
+ if $$success; then :; else \
911
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
912
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
913
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
914
+ fi; \
915
+ echo "$$col$$br$$std"; \
916
+ fi; \
917
+ $$success || exit 1
918
+
919
+ check-TESTS:
920
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
921
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
922
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
923
+ @set +e; $(am__set_TESTS_bases); \
924
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
925
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
926
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
927
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
928
+ exit $$?;
929
+ recheck: all
930
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
931
+ @set +e; $(am__set_TESTS_bases); \
932
+ bases=`for i in $$bases; do echo $$i; done \
933
+ | $(am__list_recheck_tests)` || exit 1; \
934
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
935
+ log_list=`echo $$log_list`; \
936
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
937
+ am__force_recheck=am--force-recheck \
938
+ TEST_LOGS="$$log_list"; \
939
+ exit $$?
940
+ unittest.log: unittest$(EXEEXT)
941
+ @p='unittest$(EXEEXT)'; \
942
+ b='unittest'; \
943
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
944
+ --log-file $$b.log --trs-file $$b.trs \
945
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
946
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
947
+ .test.log:
948
+ @p='$<'; \
949
+ $(am__set_b); \
950
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
951
+ --log-file $$b.log --trs-file $$b.trs \
952
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
953
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
954
+ @am__EXEEXT_TRUE@.test$(EXEEXT).log:
955
+ @am__EXEEXT_TRUE@ @p='$<'; \
956
+ @am__EXEEXT_TRUE@ $(am__set_b); \
957
+ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
958
+ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
959
+ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
960
+ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
961
+
962
+ distdir: $(BUILT_SOURCES)
963
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
964
+
965
+ distdir-am: $(DISTFILES)
966
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
967
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
968
+ list='$(DISTFILES)'; \
969
+ dist_files=`for file in $$list; do echo $$file; done | \
970
+ sed -e "s|^$$srcdirstrip/||;t" \
971
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
972
+ case $$dist_files in \
973
+ */*) eval $(MKDIR_P) `echo "$$dist_files" | \
974
+ sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
975
+ sort -u` ;; \
976
+ esac; \
977
+ for file in $$dist_files; do \
978
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
979
+ if test -d $$d/$$file; then \
980
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
981
+ if test -d "$(distdir)/$$file"; then \
982
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
983
+ fi; \
984
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
985
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
986
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
987
+ fi; \
988
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
989
+ else \
990
+ test -f "$(distdir)/$$file" \
991
+ || cp -p $$d/$$file "$(distdir)/$$file" \
992
+ || exit 1; \
993
+ fi; \
994
+ done
995
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
996
+ if test "$$subdir" = .; then :; else \
997
+ $(am__make_dryrun) \
998
+ || test -d "$(distdir)/$$subdir" \
999
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
1000
+ || exit 1; \
1001
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1002
+ $(am__relativize); \
1003
+ new_distdir=$$reldir; \
1004
+ dir1=$$subdir; dir2="$(top_distdir)"; \
1005
+ $(am__relativize); \
1006
+ new_top_distdir=$$reldir; \
1007
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1008
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1009
+ ($(am__cd) $$subdir && \
1010
+ $(MAKE) $(AM_MAKEFLAGS) \
1011
+ top_distdir="$$new_top_distdir" \
1012
+ distdir="$$new_distdir" \
1013
+ am__remove_distdir=: \
1014
+ am__skip_length_check=: \
1015
+ am__skip_mode_fix=: \
1016
+ distdir) \
1017
+ || exit 1; \
1018
+ fi; \
1019
+ done
1020
+ check-am: all-am
1021
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1022
+ check: check-recursive
1023
+ all-am: Makefile $(PROGRAMS)
1024
+ installdirs: installdirs-recursive
1025
+ installdirs-am:
1026
+ install: install-recursive
1027
+ install-exec: install-exec-recursive
1028
+ install-data: install-data-recursive
1029
+ uninstall: uninstall-recursive
1030
+
1031
+ install-am: all-am
1032
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1033
+
1034
+ installcheck: installcheck-recursive
1035
+ install-strip:
1036
+ if test -z '$(STRIP)'; then \
1037
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1038
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1039
+ install; \
1040
+ else \
1041
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1042
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1043
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1044
+ fi
1045
+ mostlyclean-generic:
1046
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1047
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1048
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1049
+
1050
+ clean-generic:
1051
+
1052
+ distclean-generic:
1053
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1054
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1055
+
1056
+ maintainer-clean-generic:
1057
+ @echo "This command is intended for maintainers to use"
1058
+ @echo "it deletes files that may require special tools to rebuild."
1059
+ clean: clean-recursive
1060
+
1061
+ clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
1062
+
1063
+ distclean: distclean-recursive
1064
+ -rm -f ./$(DEPDIR)/test_Address_Registration_Guard.Po
1065
+ -rm -f ./$(DEPDIR)/test_Array.Po
1066
+ -rm -f ./$(DEPDIR)/test_Builtin_Object.Po
1067
+ -rm -f ./$(DEPDIR)/test_Class.Po
1068
+ -rm -f ./$(DEPDIR)/test_Constructor.Po
1069
+ -rm -f ./$(DEPDIR)/test_Data_Object.Po
1070
+ -rm -f ./$(DEPDIR)/test_Data_Type.Po
1071
+ -rm -f ./$(DEPDIR)/test_Director.Po
1072
+ -rm -f ./$(DEPDIR)/test_Enum.Po
1073
+ -rm -f ./$(DEPDIR)/test_Exception.Po
1074
+ -rm -f ./$(DEPDIR)/test_Hash.Po
1075
+ -rm -f ./$(DEPDIR)/test_Identifier.Po
1076
+ -rm -f ./$(DEPDIR)/test_Jump_Tag.Po
1077
+ -rm -f ./$(DEPDIR)/test_Memory_Management.Po
1078
+ -rm -f ./$(DEPDIR)/test_Module.Po
1079
+ -rm -f ./$(DEPDIR)/test_Object.Po
1080
+ -rm -f ./$(DEPDIR)/test_String.Po
1081
+ -rm -f ./$(DEPDIR)/test_Struct.Po
1082
+ -rm -f ./$(DEPDIR)/test_Symbol.Po
1083
+ -rm -f ./$(DEPDIR)/test_To_From_Ruby.Po
1084
+ -rm -f ./$(DEPDIR)/test_global_functions.Po
1085
+ -rm -f ./$(DEPDIR)/unittest.Po
1086
+ -rm -f Makefile
1087
+ distclean-am: clean-am distclean-compile distclean-generic \
1088
+ distclean-tags
1089
+
1090
+ dvi: dvi-recursive
1091
+
1092
+ dvi-am:
1093
+
1094
+ html: html-recursive
1095
+
1096
+ html-am:
1097
+
1098
+ info: info-recursive
1099
+
1100
+ info-am:
1101
+
1102
+ install-data-am:
1103
+
1104
+ install-dvi: install-dvi-recursive
1105
+
1106
+ install-dvi-am:
1107
+
1108
+ install-exec-am:
1109
+
1110
+ install-html: install-html-recursive
1111
+
1112
+ install-html-am:
1113
+
1114
+ install-info: install-info-recursive
1115
+
1116
+ install-info-am:
1117
+
1118
+ install-man:
1119
+
1120
+ install-pdf: install-pdf-recursive
1121
+
1122
+ install-pdf-am:
1123
+
1124
+ install-ps: install-ps-recursive
1125
+
1126
+ install-ps-am:
1127
+
1128
+ installcheck-am:
1129
+
1130
+ maintainer-clean: maintainer-clean-recursive
1131
+ -rm -f ./$(DEPDIR)/test_Address_Registration_Guard.Po
1132
+ -rm -f ./$(DEPDIR)/test_Array.Po
1133
+ -rm -f ./$(DEPDIR)/test_Builtin_Object.Po
1134
+ -rm -f ./$(DEPDIR)/test_Class.Po
1135
+ -rm -f ./$(DEPDIR)/test_Constructor.Po
1136
+ -rm -f ./$(DEPDIR)/test_Data_Object.Po
1137
+ -rm -f ./$(DEPDIR)/test_Data_Type.Po
1138
+ -rm -f ./$(DEPDIR)/test_Director.Po
1139
+ -rm -f ./$(DEPDIR)/test_Enum.Po
1140
+ -rm -f ./$(DEPDIR)/test_Exception.Po
1141
+ -rm -f ./$(DEPDIR)/test_Hash.Po
1142
+ -rm -f ./$(DEPDIR)/test_Identifier.Po
1143
+ -rm -f ./$(DEPDIR)/test_Jump_Tag.Po
1144
+ -rm -f ./$(DEPDIR)/test_Memory_Management.Po
1145
+ -rm -f ./$(DEPDIR)/test_Module.Po
1146
+ -rm -f ./$(DEPDIR)/test_Object.Po
1147
+ -rm -f ./$(DEPDIR)/test_String.Po
1148
+ -rm -f ./$(DEPDIR)/test_Struct.Po
1149
+ -rm -f ./$(DEPDIR)/test_Symbol.Po
1150
+ -rm -f ./$(DEPDIR)/test_To_From_Ruby.Po
1151
+ -rm -f ./$(DEPDIR)/test_global_functions.Po
1152
+ -rm -f ./$(DEPDIR)/unittest.Po
1153
+ -rm -f Makefile
1154
+ maintainer-clean-am: distclean-am maintainer-clean-generic
1155
+
1156
+ mostlyclean: mostlyclean-recursive
1157
+
1158
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic
1159
+
1160
+ pdf: pdf-recursive
1161
+
1162
+ pdf-am:
1163
+
1164
+ ps: ps-recursive
1165
+
1166
+ ps-am:
1167
+
1168
+ uninstall-am:
1169
+
1170
+ .MAKE: $(am__recursive_targets) check-am install-am install-strip
1171
+
1172
+ .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1173
+ am--depfiles check check-TESTS check-am clean clean-generic \
1174
+ clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
1175
+ distclean-compile distclean-generic distclean-tags distdir dvi \
1176
+ dvi-am html html-am info info-am install install-am \
1177
+ install-data install-data-am install-dvi install-dvi-am \
1178
+ install-exec install-exec-am install-html install-html-am \
1179
+ install-info install-info-am install-man install-pdf \
1180
+ install-pdf-am install-ps install-ps-am install-strip \
1181
+ installcheck installcheck-am installdirs installdirs-am \
1182
+ maintainer-clean maintainer-clean-generic mostlyclean \
1183
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1184
+ recheck tags tags-am uninstall uninstall-am
1185
+
1186
+ .PRECIOUS: Makefile
1187
+
1188
+
1189
+ check: run_multiple_extensions_test
1190
+
1191
+ .PHONY: run_multiple_extensions_test
1192
+
1193
+ run_multiple_extensions_test:
1194
+ $(RUBY) test_multiple_extensions.rb
1195
+
1196
+ check: run_multiple_extensions_with_inheritance_test
1197
+
1198
+ .PHONY: run_multiple_extensions_with_inheritance_test
1199
+
1200
+ run_multiple_extensions_with_inheritance_test:
1201
+ $(RUBY) test_multiple_extensions_with_inheritance.rb
1202
+
1203
+ check: run_multiple_extensions_same_class_test
1204
+
1205
+ .PHONY: run_multiple_extensions_same_class_test
1206
+
1207
+ run_multiple_extensions_same_class_test:
1208
+ $(RUBY) test_multiple_extensions_same_class.rb
1209
+ $(RUBY_CPPFLAGS)
1210
+
1211
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
1212
+ # Otherwise a system limit (for SysV at least) may be exceeded.
1213
+ .NOEXPORT: