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,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
+
data/test/Makefile.am ADDED
@@ -0,0 +1,78 @@
1
+ noinst_PROGRAMS = unittest vm_unittest
2
+
3
+ SUBDIRS = ext
4
+
5
+ TESTS = unittest vm_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_Allocation_Strategies.cpp \
36
+ test_Array.cpp \
37
+ test_Builtin_Object.cpp \
38
+ test_Class.cpp \
39
+ test_Constructor.cpp \
40
+ test_Critical_Guard.cpp \
41
+ test_Data_Object.cpp \
42
+ test_Data_Type.cpp \
43
+ test_Director.cpp \
44
+ test_Enum.cpp \
45
+ test_Exception.cpp \
46
+ test_Hash.cpp \
47
+ test_Identifier.cpp \
48
+ test_Jump_Tag.cpp \
49
+ test_Memory_Management.cpp \
50
+ test_Module.cpp \
51
+ test_Object.cpp \
52
+ test_String.cpp \
53
+ test_Struct.cpp \
54
+ test_Symbol.cpp \
55
+ test_To_From_Ruby.cpp \
56
+ test_global_functions.cpp
57
+
58
+ vm_unittest_SOURCES = \
59
+ unittest.cpp \
60
+ test_VM.cpp
61
+
62
+ AM_CPPFLAGS = \
63
+ -I.. \
64
+ $(RUBY_CFLAGS)
65
+ $(RUBY_CPPFLAGS)
66
+
67
+ AM_CXXLAGS = \
68
+ $(RUBY_CXXFLAGS)
69
+
70
+ AM_LDFLAGS = \
71
+ $(RUBY_LDFLAGS) \
72
+ -L../rice
73
+
74
+ LIBS = \
75
+ -lrice \
76
+ $(RUBY_LIBS) \
77
+ $(RUBY_LIBRUBYARG)
78
+
data/test/Makefile.in ADDED
@@ -0,0 +1,728 @@
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
+
17
+ VPATH = @srcdir@
18
+ pkgdatadir = $(datadir)/@PACKAGE@
19
+ pkglibdir = $(libdir)/@PACKAGE@
20
+ pkgincludedir = $(includedir)/@PACKAGE@
21
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22
+ install_sh_DATA = $(install_sh) -c -m 644
23
+ install_sh_PROGRAM = $(install_sh) -c
24
+ install_sh_SCRIPT = $(install_sh) -c
25
+ INSTALL_HEADER = $(INSTALL_DATA)
26
+ transform = $(program_transform_name)
27
+ NORMAL_INSTALL = :
28
+ PRE_INSTALL = :
29
+ POST_INSTALL = :
30
+ NORMAL_UNINSTALL = :
31
+ PRE_UNINSTALL = :
32
+ POST_UNINSTALL = :
33
+ build_triplet = @build@
34
+ host_triplet = @host@
35
+ noinst_PROGRAMS = unittest$(EXEEXT) vm_unittest$(EXEEXT)
36
+ TESTS = unittest$(EXEEXT) vm_unittest$(EXEEXT)
37
+ subdir = test
38
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40
+ am__aclocal_m4_deps = $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
41
+ $(top_srcdir)/configure.ac
42
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
+ $(ACLOCAL_M4)
44
+ mkinstalldirs = $(install_sh) -d
45
+ CONFIG_HEADER = $(top_builddir)/rice/config.hpp
46
+ CONFIG_CLEAN_FILES =
47
+ PROGRAMS = $(noinst_PROGRAMS)
48
+ am_unittest_OBJECTS = unittest.$(OBJEXT) \
49
+ test_Address_Registration_Guard.$(OBJEXT) \
50
+ test_Allocation_Strategies.$(OBJEXT) test_Array.$(OBJEXT) \
51
+ test_Builtin_Object.$(OBJEXT) test_Class.$(OBJEXT) \
52
+ test_Constructor.$(OBJEXT) test_Critical_Guard.$(OBJEXT) \
53
+ test_Data_Object.$(OBJEXT) test_Data_Type.$(OBJEXT) \
54
+ test_Director.$(OBJEXT) test_Enum.$(OBJEXT) \
55
+ test_Exception.$(OBJEXT) test_Hash.$(OBJEXT) \
56
+ test_Identifier.$(OBJEXT) test_Jump_Tag.$(OBJEXT) \
57
+ test_Memory_Management.$(OBJEXT) test_Module.$(OBJEXT) \
58
+ test_Object.$(OBJEXT) test_String.$(OBJEXT) \
59
+ test_Struct.$(OBJEXT) test_Symbol.$(OBJEXT) \
60
+ test_To_From_Ruby.$(OBJEXT) test_global_functions.$(OBJEXT)
61
+ unittest_OBJECTS = $(am_unittest_OBJECTS)
62
+ unittest_LDADD = $(LDADD)
63
+ am_vm_unittest_OBJECTS = unittest.$(OBJEXT) test_VM.$(OBJEXT)
64
+ vm_unittest_OBJECTS = $(am_vm_unittest_OBJECTS)
65
+ vm_unittest_LDADD = $(LDADD)
66
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)/rice@am__isrc@
67
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
68
+ am__depfiles_maybe = depfiles
69
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
70
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
71
+ CXXLD = $(CXX)
72
+ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
73
+ -o $@
74
+ SOURCES = $(unittest_SOURCES) $(vm_unittest_SOURCES)
75
+ DIST_SOURCES = $(unittest_SOURCES) $(vm_unittest_SOURCES)
76
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
77
+ html-recursive info-recursive install-data-recursive \
78
+ install-dvi-recursive install-exec-recursive \
79
+ install-html-recursive install-info-recursive \
80
+ install-pdf-recursive install-ps-recursive install-recursive \
81
+ installcheck-recursive installdirs-recursive pdf-recursive \
82
+ ps-recursive uninstall-recursive
83
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
84
+ distclean-recursive maintainer-clean-recursive
85
+ ETAGS = etags
86
+ CTAGS = ctags
87
+ DIST_SUBDIRS = $(SUBDIRS)
88
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
89
+ ACLOCAL = @ACLOCAL@
90
+ AMTAR = @AMTAR@
91
+ AUTOCONF = @AUTOCONF@
92
+ AUTOHEADER = @AUTOHEADER@
93
+ AUTOMAKE = @AUTOMAKE@
94
+ AWK = @AWK@
95
+ CPPFLAGS = @CPPFLAGS@
96
+ CXX = @CXX@
97
+ CXXDEPMODE = @CXXDEPMODE@
98
+ CXXFLAGS = @CXXFLAGS@
99
+ CYGPATH_W = @CYGPATH_W@
100
+ DEFS = @DEFS@
101
+ DEPDIR = @DEPDIR@
102
+ DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
103
+ DX_CONFIG = @DX_CONFIG@
104
+ DX_DOCDIR = @DX_DOCDIR@
105
+ DX_DOT = @DX_DOT@
106
+ DX_DOXYGEN = @DX_DOXYGEN@
107
+ DX_DVIPS = @DX_DVIPS@
108
+ DX_EGREP = @DX_EGREP@
109
+ DX_ENV = @DX_ENV@
110
+ DX_FLAG_chi = @DX_FLAG_chi@
111
+ DX_FLAG_chm = @DX_FLAG_chm@
112
+ DX_FLAG_doc = @DX_FLAG_doc@
113
+ DX_FLAG_dot = @DX_FLAG_dot@
114
+ DX_FLAG_html = @DX_FLAG_html@
115
+ DX_FLAG_man = @DX_FLAG_man@
116
+ DX_FLAG_pdf = @DX_FLAG_pdf@
117
+ DX_FLAG_ps = @DX_FLAG_ps@
118
+ DX_FLAG_rtf = @DX_FLAG_rtf@
119
+ DX_FLAG_xml = @DX_FLAG_xml@
120
+ DX_HHC = @DX_HHC@
121
+ DX_LATEX = @DX_LATEX@
122
+ DX_MAKEINDEX = @DX_MAKEINDEX@
123
+ DX_PDFLATEX = @DX_PDFLATEX@
124
+ DX_PERL = @DX_PERL@
125
+ DX_PROJECT = @DX_PROJECT@
126
+ ECHO_C = @ECHO_C@
127
+ ECHO_N = @ECHO_N@
128
+ ECHO_T = @ECHO_T@
129
+ EXEEXT = @EXEEXT@
130
+ INSTALL = @INSTALL@
131
+ INSTALL_DATA = @INSTALL_DATA@
132
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
133
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
134
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
135
+ LDFLAGS = @LDFLAGS@
136
+ LIBOBJS = @LIBOBJS@
137
+ LIBS = \
138
+ -lrice \
139
+ $(RUBY_LIBS) \
140
+ $(RUBY_LIBRUBYARG)
141
+
142
+ LTLIBOBJS = @LTLIBOBJS@
143
+ MAKEINFO = @MAKEINFO@
144
+ MKDIR_P = @MKDIR_P@
145
+ OBJEXT = @OBJEXT@
146
+ PACKAGE = @PACKAGE@
147
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
148
+ PACKAGE_NAME = @PACKAGE_NAME@
149
+ PACKAGE_STRING = @PACKAGE_STRING@
150
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
151
+ PACKAGE_VERSION = @PACKAGE_VERSION@
152
+ PATH_SEPARATOR = @PATH_SEPARATOR@
153
+ RANLIB = @RANLIB@
154
+ RICE_CPPFLAGS = @RICE_CPPFLAGS@
155
+ RICE_LDFLAGS = @RICE_LDFLAGS@
156
+ RICE_ROOT = @RICE_ROOT@
157
+ RICE_SAMPLES = @RICE_SAMPLES@
158
+ RICE_USING_MINGW32 = @RICE_USING_MINGW32@
159
+ RUBY = @RUBY@
160
+ RUBY_CFLAGS = @RUBY_CFLAGS@
161
+ RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
162
+ RUBY_CXXFLAGS = @RUBY_CXXFLAGS@
163
+ RUBY_LDFLAGS = @RUBY_LDFLAGS@
164
+ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
165
+ RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
166
+ RUBY_LIBS = @RUBY_LIBS@
167
+ RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
168
+ RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
169
+ SET_MAKE = @SET_MAKE@
170
+ SHELL = @SHELL@
171
+ STRIP = @STRIP@
172
+ VERSION = @VERSION@
173
+ abs_builddir = @abs_builddir@
174
+ abs_srcdir = @abs_srcdir@
175
+ abs_top_builddir = @abs_top_builddir@
176
+ abs_top_srcdir = @abs_top_srcdir@
177
+ ac_ct_CXX = @ac_ct_CXX@
178
+ am__include = @am__include@
179
+ am__leading_dot = @am__leading_dot@
180
+ am__quote = @am__quote@
181
+ am__tar = @am__tar@
182
+ am__untar = @am__untar@
183
+ bindir = @bindir@
184
+ build = @build@
185
+ build_alias = @build_alias@
186
+ build_cpu = @build_cpu@
187
+ build_os = @build_os@
188
+ build_vendor = @build_vendor@
189
+ builddir = @builddir@
190
+ datadir = @datadir@
191
+ datarootdir = @datarootdir@
192
+ docdir = @docdir@
193
+ dvidir = @dvidir@
194
+ exec_prefix = @exec_prefix@
195
+ host = @host@
196
+ host_alias = @host_alias@
197
+ host_cpu = @host_cpu@
198
+ host_os = @host_os@
199
+ host_vendor = @host_vendor@
200
+ htmldir = @htmldir@
201
+ includedir = @includedir@
202
+ infodir = @infodir@
203
+ install_sh = @install_sh@
204
+ libdir = @libdir@
205
+ libexecdir = @libexecdir@
206
+ localedir = @localedir@
207
+ localstatedir = @localstatedir@
208
+ mandir = @mandir@
209
+ mkdir_p = @mkdir_p@
210
+ oldincludedir = @oldincludedir@
211
+ pdfdir = @pdfdir@
212
+ prefix = @prefix@
213
+ program_transform_name = @program_transform_name@
214
+ psdir = @psdir@
215
+ sbindir = @sbindir@
216
+ sharedstatedir = @sharedstatedir@
217
+ srcdir = @srcdir@
218
+ sysconfdir = @sysconfdir@
219
+ target_alias = @target_alias@
220
+ top_builddir = @top_builddir@
221
+ top_srcdir = @top_srcdir@
222
+ SUBDIRS = ext
223
+ unittest_SOURCES = \
224
+ unittest.cpp \
225
+ test_Address_Registration_Guard.cpp \
226
+ test_Allocation_Strategies.cpp \
227
+ test_Array.cpp \
228
+ test_Builtin_Object.cpp \
229
+ test_Class.cpp \
230
+ test_Constructor.cpp \
231
+ test_Critical_Guard.cpp \
232
+ test_Data_Object.cpp \
233
+ test_Data_Type.cpp \
234
+ test_Director.cpp \
235
+ test_Enum.cpp \
236
+ test_Exception.cpp \
237
+ test_Hash.cpp \
238
+ test_Identifier.cpp \
239
+ test_Jump_Tag.cpp \
240
+ test_Memory_Management.cpp \
241
+ test_Module.cpp \
242
+ test_Object.cpp \
243
+ test_String.cpp \
244
+ test_Struct.cpp \
245
+ test_Symbol.cpp \
246
+ test_To_From_Ruby.cpp \
247
+ test_global_functions.cpp
248
+
249
+ vm_unittest_SOURCES = \
250
+ unittest.cpp \
251
+ test_VM.cpp
252
+
253
+ AM_CPPFLAGS = \
254
+ -I.. \
255
+ $(RUBY_CFLAGS)
256
+
257
+ AM_CXXLAGS = \
258
+ $(RUBY_CXXFLAGS)
259
+
260
+ AM_LDFLAGS = \
261
+ $(RUBY_LDFLAGS) \
262
+ -L../rice
263
+
264
+ all: all-recursive
265
+
266
+ .SUFFIXES:
267
+ .SUFFIXES: .cpp .o .obj
268
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
269
+ @for dep in $?; do \
270
+ case '$(am__configure_deps)' in \
271
+ *$$dep*) \
272
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
273
+ && exit 0; \
274
+ exit 1;; \
275
+ esac; \
276
+ done; \
277
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \
278
+ cd $(top_srcdir) && \
279
+ $(AUTOMAKE) --gnu test/Makefile
280
+ .PRECIOUS: Makefile
281
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
282
+ @case '$?' in \
283
+ *config.status*) \
284
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
285
+ *) \
286
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
287
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
288
+ esac;
289
+
290
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
291
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
292
+
293
+ $(top_srcdir)/configure: $(am__configure_deps)
294
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
295
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
296
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
297
+
298
+ clean-noinstPROGRAMS:
299
+ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
300
+ unittest$(EXEEXT): $(unittest_OBJECTS) $(unittest_DEPENDENCIES)
301
+ @rm -f unittest$(EXEEXT)
302
+ $(CXXLINK) $(unittest_OBJECTS) $(unittest_LDADD) $(LIBS)
303
+ vm_unittest$(EXEEXT): $(vm_unittest_OBJECTS) $(vm_unittest_DEPENDENCIES)
304
+ @rm -f vm_unittest$(EXEEXT)
305
+ $(CXXLINK) $(vm_unittest_OBJECTS) $(vm_unittest_LDADD) $(LIBS)
306
+
307
+ mostlyclean-compile:
308
+ -rm -f *.$(OBJEXT)
309
+
310
+ distclean-compile:
311
+ -rm -f *.tab.c
312
+
313
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Address_Registration_Guard.Po@am__quote@
314
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Allocation_Strategies.Po@am__quote@
315
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Array.Po@am__quote@
316
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Builtin_Object.Po@am__quote@
317
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Class.Po@am__quote@
318
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Constructor.Po@am__quote@
319
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Critical_Guard.Po@am__quote@
320
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Data_Object.Po@am__quote@
321
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Data_Type.Po@am__quote@
322
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Director.Po@am__quote@
323
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Enum.Po@am__quote@
324
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Exception.Po@am__quote@
325
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Hash.Po@am__quote@
326
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Identifier.Po@am__quote@
327
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Jump_Tag.Po@am__quote@
328
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Memory_Management.Po@am__quote@
329
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Module.Po@am__quote@
330
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Object.Po@am__quote@
331
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_String.Po@am__quote@
332
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Struct.Po@am__quote@
333
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_Symbol.Po@am__quote@
334
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_To_From_Ruby.Po@am__quote@
335
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_VM.Po@am__quote@
336
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_global_functions.Po@am__quote@
337
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unittest.Po@am__quote@
338
+
339
+ .cpp.o:
340
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
341
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
342
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
343
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
344
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
345
+
346
+ .cpp.obj:
347
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
348
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
349
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
350
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
352
+
353
+ # This directory's subdirectories are mostly independent; you can cd
354
+ # into them and run `make' without going through this Makefile.
355
+ # To change the values of `make' variables: instead of editing Makefiles,
356
+ # (1) if the variable is set in `config.status', edit `config.status'
357
+ # (which will cause the Makefiles to be regenerated when you run `make');
358
+ # (2) otherwise, pass the desired values on the `make' command line.
359
+ $(RECURSIVE_TARGETS):
360
+ @failcom='exit 1'; \
361
+ for f in x $$MAKEFLAGS; do \
362
+ case $$f in \
363
+ *=* | --[!k]*);; \
364
+ *k*) failcom='fail=yes';; \
365
+ esac; \
366
+ done; \
367
+ dot_seen=no; \
368
+ target=`echo $@ | sed s/-recursive//`; \
369
+ list='$(SUBDIRS)'; for subdir in $$list; do \
370
+ echo "Making $$target in $$subdir"; \
371
+ if test "$$subdir" = "."; then \
372
+ dot_seen=yes; \
373
+ local_target="$$target-am"; \
374
+ else \
375
+ local_target="$$target"; \
376
+ fi; \
377
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
378
+ || eval $$failcom; \
379
+ done; \
380
+ if test "$$dot_seen" = "no"; then \
381
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
382
+ fi; test -z "$$fail"
383
+
384
+ $(RECURSIVE_CLEAN_TARGETS):
385
+ @failcom='exit 1'; \
386
+ for f in x $$MAKEFLAGS; do \
387
+ case $$f in \
388
+ *=* | --[!k]*);; \
389
+ *k*) failcom='fail=yes';; \
390
+ esac; \
391
+ done; \
392
+ dot_seen=no; \
393
+ case "$@" in \
394
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
395
+ *) list='$(SUBDIRS)' ;; \
396
+ esac; \
397
+ rev=''; for subdir in $$list; do \
398
+ if test "$$subdir" = "."; then :; else \
399
+ rev="$$subdir $$rev"; \
400
+ fi; \
401
+ done; \
402
+ rev="$$rev ."; \
403
+ target=`echo $@ | sed s/-recursive//`; \
404
+ for subdir in $$rev; do \
405
+ echo "Making $$target in $$subdir"; \
406
+ if test "$$subdir" = "."; then \
407
+ local_target="$$target-am"; \
408
+ else \
409
+ local_target="$$target"; \
410
+ fi; \
411
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
412
+ || eval $$failcom; \
413
+ done && test -z "$$fail"
414
+ tags-recursive:
415
+ list='$(SUBDIRS)'; for subdir in $$list; do \
416
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
417
+ done
418
+ ctags-recursive:
419
+ list='$(SUBDIRS)'; for subdir in $$list; do \
420
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
421
+ done
422
+
423
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
424
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
425
+ unique=`for i in $$list; do \
426
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
427
+ done | \
428
+ $(AWK) ' { files[$$0] = 1; } \
429
+ END { for (i in files) print i; }'`; \
430
+ mkid -fID $$unique
431
+ tags: TAGS
432
+
433
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
434
+ $(TAGS_FILES) $(LISP)
435
+ tags=; \
436
+ here=`pwd`; \
437
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
438
+ include_option=--etags-include; \
439
+ empty_fix=.; \
440
+ else \
441
+ include_option=--include; \
442
+ empty_fix=; \
443
+ fi; \
444
+ list='$(SUBDIRS)'; for subdir in $$list; do \
445
+ if test "$$subdir" = .; then :; else \
446
+ test ! -f $$subdir/TAGS || \
447
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
448
+ fi; \
449
+ done; \
450
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
451
+ unique=`for i in $$list; do \
452
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
453
+ done | \
454
+ $(AWK) ' { files[$$0] = 1; } \
455
+ END { for (i in files) print i; }'`; \
456
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
457
+ test -n "$$unique" || unique=$$empty_fix; \
458
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
459
+ $$tags $$unique; \
460
+ fi
461
+ ctags: CTAGS
462
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
463
+ $(TAGS_FILES) $(LISP)
464
+ tags=; \
465
+ here=`pwd`; \
466
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
467
+ unique=`for i in $$list; do \
468
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
469
+ done | \
470
+ $(AWK) ' { files[$$0] = 1; } \
471
+ END { for (i in files) print i; }'`; \
472
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
473
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
474
+ $$tags $$unique
475
+
476
+ GTAGS:
477
+ here=`$(am__cd) $(top_builddir) && pwd` \
478
+ && cd $(top_srcdir) \
479
+ && gtags -i $(GTAGS_ARGS) $$here
480
+
481
+ distclean-tags:
482
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
483
+
484
+ check-TESTS: $(TESTS)
485
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
486
+ srcdir=$(srcdir); export srcdir; \
487
+ list=' $(TESTS) '; \
488
+ if test -n "$$list"; then \
489
+ for tst in $$list; do \
490
+ if test -f ./$$tst; then dir=./; \
491
+ elif test -f $$tst; then dir=; \
492
+ else dir="$(srcdir)/"; fi; \
493
+ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
494
+ all=`expr $$all + 1`; \
495
+ case " $(XFAIL_TESTS) " in \
496
+ *$$ws$$tst$$ws*) \
497
+ xpass=`expr $$xpass + 1`; \
498
+ failed=`expr $$failed + 1`; \
499
+ echo "XPASS: $$tst"; \
500
+ ;; \
501
+ *) \
502
+ echo "PASS: $$tst"; \
503
+ ;; \
504
+ esac; \
505
+ elif test $$? -ne 77; then \
506
+ all=`expr $$all + 1`; \
507
+ case " $(XFAIL_TESTS) " in \
508
+ *$$ws$$tst$$ws*) \
509
+ xfail=`expr $$xfail + 1`; \
510
+ echo "XFAIL: $$tst"; \
511
+ ;; \
512
+ *) \
513
+ failed=`expr $$failed + 1`; \
514
+ echo "FAIL: $$tst"; \
515
+ ;; \
516
+ esac; \
517
+ else \
518
+ skip=`expr $$skip + 1`; \
519
+ echo "SKIP: $$tst"; \
520
+ fi; \
521
+ done; \
522
+ if test "$$failed" -eq 0; then \
523
+ if test "$$xfail" -eq 0; then \
524
+ banner="All $$all tests passed"; \
525
+ else \
526
+ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
527
+ fi; \
528
+ else \
529
+ if test "$$xpass" -eq 0; then \
530
+ banner="$$failed of $$all tests failed"; \
531
+ else \
532
+ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
533
+ fi; \
534
+ fi; \
535
+ dashes="$$banner"; \
536
+ skipped=""; \
537
+ if test "$$skip" -ne 0; then \
538
+ skipped="($$skip tests were not run)"; \
539
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
540
+ dashes="$$skipped"; \
541
+ fi; \
542
+ report=""; \
543
+ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
544
+ report="Please report to $(PACKAGE_BUGREPORT)"; \
545
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
546
+ dashes="$$report"; \
547
+ fi; \
548
+ dashes=`echo "$$dashes" | sed s/./=/g`; \
549
+ echo "$$dashes"; \
550
+ echo "$$banner"; \
551
+ test -z "$$skipped" || echo "$$skipped"; \
552
+ test -z "$$report" || echo "$$report"; \
553
+ echo "$$dashes"; \
554
+ test "$$failed" -eq 0; \
555
+ else :; fi
556
+
557
+ distdir: $(DISTFILES)
558
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
559
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
560
+ list='$(DISTFILES)'; \
561
+ dist_files=`for file in $$list; do echo $$file; done | \
562
+ sed -e "s|^$$srcdirstrip/||;t" \
563
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
564
+ case $$dist_files in \
565
+ */*) eval $(MKDIR_P) `echo "$$dist_files" | \
566
+ sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
567
+ sort -u` ;; \
568
+ esac; \
569
+ for file in $$dist_files; do \
570
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
571
+ if test -d $$d/$$file; then \
572
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
573
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
574
+ cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
575
+ fi; \
576
+ cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
577
+ else \
578
+ test -f "$(distdir)"/$$file \
579
+ || cp -p $$d/$$file "$(distdir)"/$$file \
580
+ || exit 1; \
581
+ fi; \
582
+ done
583
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
584
+ if test "$$subdir" = .; then :; else \
585
+ test -d "$(distdir)/$$subdir" \
586
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
587
+ || exit 1; \
588
+ distdir=`$(am__cd) "$(distdir)" && pwd`; \
589
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
590
+ (cd $$subdir && \
591
+ $(MAKE) $(AM_MAKEFLAGS) \
592
+ top_distdir="$$top_distdir" \
593
+ distdir="$$distdir/$$subdir" \
594
+ am__remove_distdir=: \
595
+ am__skip_length_check=: \
596
+ distdir) \
597
+ || exit 1; \
598
+ fi; \
599
+ done
600
+ check-am: all-am
601
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
602
+ check: check-recursive
603
+ all-am: Makefile $(PROGRAMS)
604
+ installdirs: installdirs-recursive
605
+ installdirs-am:
606
+ install: install-recursive
607
+ install-exec: install-exec-recursive
608
+ install-data: install-data-recursive
609
+ uninstall: uninstall-recursive
610
+
611
+ install-am: all-am
612
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
613
+
614
+ installcheck: installcheck-recursive
615
+ install-strip:
616
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
617
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
618
+ `test -z '$(STRIP)' || \
619
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
620
+ mostlyclean-generic:
621
+
622
+ clean-generic:
623
+
624
+ distclean-generic:
625
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
626
+
627
+ maintainer-clean-generic:
628
+ @echo "This command is intended for maintainers to use"
629
+ @echo "it deletes files that may require special tools to rebuild."
630
+ clean: clean-recursive
631
+
632
+ clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
633
+
634
+ distclean: distclean-recursive
635
+ -rm -rf ./$(DEPDIR)
636
+ -rm -f Makefile
637
+ distclean-am: clean-am distclean-compile distclean-generic \
638
+ distclean-tags
639
+
640
+ dvi: dvi-recursive
641
+
642
+ dvi-am:
643
+
644
+ html: html-recursive
645
+
646
+ info: info-recursive
647
+
648
+ info-am:
649
+
650
+ install-data-am:
651
+
652
+ install-dvi: install-dvi-recursive
653
+
654
+ install-exec-am:
655
+
656
+ install-html: install-html-recursive
657
+
658
+ install-info: install-info-recursive
659
+
660
+ install-man:
661
+
662
+ install-pdf: install-pdf-recursive
663
+
664
+ install-ps: install-ps-recursive
665
+
666
+ installcheck-am:
667
+
668
+ maintainer-clean: maintainer-clean-recursive
669
+ -rm -rf ./$(DEPDIR)
670
+ -rm -f Makefile
671
+ maintainer-clean-am: distclean-am maintainer-clean-generic
672
+
673
+ mostlyclean: mostlyclean-recursive
674
+
675
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic
676
+
677
+ pdf: pdf-recursive
678
+
679
+ pdf-am:
680
+
681
+ ps: ps-recursive
682
+
683
+ ps-am:
684
+
685
+ uninstall-am:
686
+
687
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
688
+ install-strip
689
+
690
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
691
+ all all-am check check-TESTS check-am clean clean-generic \
692
+ clean-noinstPROGRAMS ctags ctags-recursive distclean \
693
+ distclean-compile distclean-generic distclean-tags distdir dvi \
694
+ dvi-am html html-am info info-am install install-am \
695
+ install-data install-data-am install-dvi install-dvi-am \
696
+ install-exec install-exec-am install-html install-html-am \
697
+ install-info install-info-am install-man install-pdf \
698
+ install-pdf-am install-ps install-ps-am install-strip \
699
+ installcheck installcheck-am installdirs installdirs-am \
700
+ maintainer-clean maintainer-clean-generic mostlyclean \
701
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
702
+ tags tags-recursive uninstall uninstall-am
703
+
704
+
705
+ check: run_multiple_extensions_test
706
+
707
+ .PHONY: run_multiple_extensions_test
708
+
709
+ run_multiple_extensions_test:
710
+ $(RUBY) test_multiple_extensions.rb
711
+
712
+ check: run_multiple_extensions_with_inheritance_test
713
+
714
+ .PHONY: run_multiple_extensions_with_inheritance_test
715
+
716
+ run_multiple_extensions_with_inheritance_test:
717
+ $(RUBY) test_multiple_extensions_with_inheritance.rb
718
+
719
+ check: run_multiple_extensions_same_class_test
720
+
721
+ .PHONY: run_multiple_extensions_same_class_test
722
+
723
+ run_multiple_extensions_same_class_test:
724
+ $(RUBY) test_multiple_extensions_same_class.rb
725
+ $(RUBY_CPPFLAGS)
726
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
727
+ # Otherwise a system limit (for SysV at least) may be exceeded.
728
+ .NOEXPORT: