mkrf 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/CHANGELOG +2 -0
  2. data/MIT-LICENSE +7 -0
  3. data/README +54 -0
  4. data/Rakefile +107 -0
  5. data/lib/mkrf.rb +4 -0
  6. data/lib/mkrf/availability.rb +219 -0
  7. data/lib/mkrf/generator.rb +146 -0
  8. data/test/abstract_unit.rb +4 -0
  9. data/test/fixtures/down_a_directory/header_down_a_directory.h +1 -0
  10. data/test/fixtures/stdmkrf.h +1 -0
  11. data/test/sample_files/libtrivial/Rakefile +31 -0
  12. data/test/sample_files/libtrivial/extconf.rb +3 -0
  13. data/test/sample_files/libtrivial/lib/libtrivial.c +5 -0
  14. data/test/sample_files/libtrivial/lib/libtrivial.o +0 -0
  15. data/test/sample_files/libtrivial/libtrivial_so.bundle +0 -0
  16. data/test/sample_files/libtrivial/mkrf.log +1 -0
  17. data/test/sample_files/libxml-ruby-0.3.8/CHANGELOG +74 -0
  18. data/test/sample_files/libxml-ruby-0.3.8/LICENSE +22 -0
  19. data/test/sample_files/libxml-ruby-0.3.8/README +144 -0
  20. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.c +76 -0
  21. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb +49 -0
  22. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.c +86 -0
  23. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.h +82 -0
  24. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.rb +107 -0
  25. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/mkrf.log +1 -0
  26. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/old_extconf.rb +95 -0
  27. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.c +372 -0
  28. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.h +21 -0
  29. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.c +224 -0
  30. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.h +21 -0
  31. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.c +1159 -0
  32. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.h +27 -0
  33. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.c +168 -0
  34. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.h +17 -0
  35. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.c +167 -0
  36. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.h +21 -0
  37. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.c +2139 -0
  38. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.h +28 -0
  39. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.c +248 -0
  40. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.h +26 -0
  41. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.c +153 -0
  42. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.h +21 -0
  43. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.c +1417 -0
  44. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.h +31 -0
  45. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.c +715 -0
  46. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.h +22 -0
  47. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.c +426 -0
  48. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h +52 -0
  49. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.c +142 -0
  50. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.h +16 -0
  51. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.c +43 -0
  52. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.h +12 -0
  53. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.c +20 -0
  54. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.h +13 -0
  55. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.c +363 -0
  56. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.h +24 -0
  57. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.c +125 -0
  58. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.h +24 -0
  59. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.c +100 -0
  60. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.h +27 -0
  61. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c +21 -0
  62. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.h +18 -0
  63. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/sax_parser_callbacks.inc +202 -0
  64. data/test/sample_files/syck-0.55/CHANGELOG +186 -0
  65. data/test/sample_files/syck-0.55/COPYING +54 -0
  66. data/test/sample_files/syck-0.55/Makefile +582 -0
  67. data/test/sample_files/syck-0.55/Makefile.am +5 -0
  68. data/test/sample_files/syck-0.55/Makefile.in +582 -0
  69. data/test/sample_files/syck-0.55/README +105 -0
  70. data/test/sample_files/syck-0.55/README.BYTECODE +484 -0
  71. data/test/sample_files/syck-0.55/README.EXT +444 -0
  72. data/test/sample_files/syck-0.55/RELEASE +123 -0
  73. data/test/sample_files/syck-0.55/TODO +25 -0
  74. data/test/sample_files/syck-0.55/aclocal.m4 +883 -0
  75. data/test/sample_files/syck-0.55/bootstrap +7 -0
  76. data/test/sample_files/syck-0.55/config.h +79 -0
  77. data/test/sample_files/syck-0.55/config.h.in +78 -0
  78. data/test/sample_files/syck-0.55/config.status +1197 -0
  79. data/test/sample_files/syck-0.55/config/README +14 -0
  80. data/test/sample_files/syck-0.55/config/depcomp +529 -0
  81. data/test/sample_files/syck-0.55/config/install-sh +323 -0
  82. data/test/sample_files/syck-0.55/config/missing +357 -0
  83. data/test/sample_files/syck-0.55/configure +6728 -0
  84. data/test/sample_files/syck-0.55/configure.in +36 -0
  85. data/test/sample_files/syck-0.55/ext/ruby/CHANGELOG +303 -0
  86. data/test/sample_files/syck-0.55/ext/ruby/README +400 -0
  87. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/MANIFEST +1 -0
  88. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.c +1170 -0
  89. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.c +1224 -0
  90. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/extconf.rb +10 -0
  91. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.c +1894 -0
  92. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.h +79 -0
  93. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.c +174 -0
  94. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.c +2989 -0
  95. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/mkrf.log +1 -0
  96. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/node.c +407 -0
  97. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/rubyext.c +2385 -0
  98. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.c +504 -0
  99. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.h +458 -0
  100. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/token.c +2707 -0
  101. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.c +250 -0
  102. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/yamlbyte.h +170 -0
  103. data/test/sample_files/syck-0.55/ext/ruby/install.rb +1022 -0
  104. data/test/sample_files/syck-0.55/ext/ruby/lib/okay.rb +161 -0
  105. data/test/sample_files/syck-0.55/ext/ruby/lib/okay/news.rb +69 -0
  106. data/test/sample_files/syck-0.55/ext/ruby/lib/okay/rpc.rb +434 -0
  107. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml.rb +436 -0
  108. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/baseemitter.rb +247 -0
  109. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/basenode.rb +216 -0
  110. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/compat.rb +26 -0
  111. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/constants.rb +45 -0
  112. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/dbm.rb +111 -0
  113. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/emitter.rb +107 -0
  114. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/encoding.rb +33 -0
  115. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/error.rb +34 -0
  116. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/rubytypes.rb +438 -0
  117. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/store.rb +29 -0
  118. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/stream.rb +40 -0
  119. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/stringio.rb +83 -0
  120. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/syck.rb +19 -0
  121. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/tag.rb +86 -0
  122. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/types.rb +188 -0
  123. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/yamlnode.rb +54 -0
  124. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/ypath.rb +52 -0
  125. data/test/sample_files/syck-0.55/ext/ruby/lib/yod.rb +1168 -0
  126. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-modules.rb +27 -0
  127. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-sample.rb +336 -0
  128. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-validate.rb +341 -0
  129. data/test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-client.rb +51 -0
  130. data/test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-server.rb +85 -0
  131. data/test/sample_files/syck-0.55/ext/ruby/samples/yaml-sortHashKeys.rb +128 -0
  132. data/test/sample_files/syck-0.55/ext/ruby/tests/basic.rb +1653 -0
  133. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsAnchorAlias.yml +51 -0
  134. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBasicTests.yml +282 -0
  135. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml +78 -0
  136. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockSequence.yml +0 -0
  137. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsDocumentSeparator.yml +102 -0
  138. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsErrorTests.yml +23 -0
  139. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsFlowCollections.yml +73 -0
  140. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsFoldedScalars.yml +215 -0
  141. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsMapInSeq.yml +0 -0
  142. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsNullsAndEmpties.yml +66 -0
  143. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsRubyTests.yml +182 -0
  144. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsSpecificationExamples.yml +2699 -0
  145. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsTypeTransfers.yml +265 -0
  146. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsYpath.yml +221 -0
  147. data/test/sample_files/syck-0.55/ext/ruby/yts/cookbook.rb +159 -0
  148. data/test/sample_files/syck-0.55/ext/ruby/yts/index.yml +10 -0
  149. data/test/sample_files/syck-0.55/ext/ruby/yts/yts.rb +193 -0
  150. data/test/sample_files/syck-0.55/lib/Makefile +497 -0
  151. data/test/sample_files/syck-0.55/lib/Makefile.am +27 -0
  152. data/test/sample_files/syck-0.55/lib/Makefile.in +497 -0
  153. data/test/sample_files/syck-0.55/lib/bytecode.c +1170 -0
  154. data/test/sample_files/syck-0.55/lib/bytecode.re +525 -0
  155. data/test/sample_files/syck-0.55/lib/emitter.c +1224 -0
  156. data/test/sample_files/syck-0.55/lib/gram.c +1894 -0
  157. data/test/sample_files/syck-0.55/lib/gram.h +79 -0
  158. data/test/sample_files/syck-0.55/lib/gram.output +2005 -0
  159. data/test/sample_files/syck-0.55/lib/gram.y +481 -0
  160. data/test/sample_files/syck-0.55/lib/handler.c +174 -0
  161. data/test/sample_files/syck-0.55/lib/implicit.c +2989 -0
  162. data/test/sample_files/syck-0.55/lib/implicit.re +206 -0
  163. data/test/sample_files/syck-0.55/lib/node.c +407 -0
  164. data/test/sample_files/syck-0.55/lib/syck.c +504 -0
  165. data/test/sample_files/syck-0.55/lib/syck.h +458 -0
  166. data/test/sample_files/syck-0.55/lib/syck_st.c +577 -0
  167. data/test/sample_files/syck-0.55/lib/syck_st.h +46 -0
  168. data/test/sample_files/syck-0.55/lib/token.c +2707 -0
  169. data/test/sample_files/syck-0.55/lib/token.re +1139 -0
  170. data/test/sample_files/syck-0.55/lib/yaml2byte.c +250 -0
  171. data/test/sample_files/syck-0.55/lib/yamlbyte.h +170 -0
  172. data/test/sample_files/syck-0.55/stamp-h1 +1 -0
  173. data/test/sample_files/syck-0.55/tests/Basic.c +141 -0
  174. data/test/sample_files/syck-0.55/tests/CuTest.c +294 -0
  175. data/test/sample_files/syck-0.55/tests/CuTest.h +84 -0
  176. data/test/sample_files/syck-0.55/tests/Emit.c +87 -0
  177. data/test/sample_files/syck-0.55/tests/Makefile +480 -0
  178. data/test/sample_files/syck-0.55/tests/Makefile.am +13 -0
  179. data/test/sample_files/syck-0.55/tests/Makefile.in +480 -0
  180. data/test/sample_files/syck-0.55/tests/Parse.c +208 -0
  181. data/test/sample_files/syck-0.55/tests/YTS.c +2310 -0
  182. data/test/sample_files/syck-0.55/tests/YTS.c.erb +326 -0
  183. data/test/sample_files/syck-0.55/tests/YTS.c.rb +44 -0
  184. data/test/test_availability.rb +68 -0
  185. data/test/test_generator.rb +74 -0
  186. metadata +252 -0
@@ -0,0 +1,186 @@
1
+ --- %YAML:1.0
2
+ - version: 0.56
3
+ date: 2005-05-16
4
+ changes:
5
+ ext/ruby/ext/syck/rubyext.c:
6
+ - const_find, now locating class constants correctly.
7
+ - YAML::Object class for loaded objects which have no corresponding class.
8
+ - No anchors on simple strings.
9
+ - Outputing of domain and private types and anchors properly.
10
+ - Memory leak in mktime.
11
+
12
+ lib/emitter.c: scale back seq-in-map on a typed seq. prevents the shift/reduce
13
+ problem with the parser.
14
+
15
+ - version: 0.55
16
+ date: 2005-04-14
17
+ changes:
18
+ lib/emitter.c:
19
+ - output inline collections. ensure proper quoting and no blocks in inline collections.
20
+ - safe indentation of scalar blocks which include YAML document separators.
21
+
22
+ lib/syck.h: styles for every type of node now.
23
+
24
+ lib/gram.y: restructuring, trying to fix problem with typed seq-in-map shortcut nodes.
25
+
26
+ lib/token.re: fixed parsing of inline seq closing char as closing map char and vice versa.
27
+
28
+ ext/ruby/lib/yaml/rubytypes.rb: added styling of collections. to_yaml_style for
29
+ every object in Ruby.
30
+
31
+ ext/ruby/ext/syck/rubyext.c: ditto.
32
+
33
+ - version: 0.54
34
+ date: 2005-04-07
35
+ changes:
36
+ lib/emitter.c: scale back double-quoting of strings. get empty nulls working.
37
+
38
+ lib/gram.y: allowing transfers, anchors on an empty.
39
+
40
+ lib/implicit.re: removing 'y' and 'n' again!!
41
+
42
+ lib/yaml.rb: repair YAML.transfer to work with taguris.
43
+
44
+ lib/yaml/tag.rb:
45
+ - allow taguri to be set using an accessor.
46
+ - continue support of Object#to_yaml_type.
47
+
48
+ ext/ruby/ext/syck/rubyext.c:
49
+ - fixing PrivateType and DomainType objects.
50
+ - new Resolver#tagurize converts type ids to taguris.
51
+ (for backwards compatibility, since the new stuff uses strictly taguri.)
52
+ - merging nobu's changes from Ruby trunk.
53
+
54
+ ext/ruby/lib/yaml/rubytypes.rb: simplify taguri display.
55
+
56
+ - version: 0.53
57
+ date: 2005-03-28
58
+ changes:
59
+ README.EXT: more docs.
60
+
61
+ ext/ruby/ext/syck/rubyext.c:
62
+ - moved Object#yaml_new into the node_import and made it the
63
+ default behavior.
64
+ - the target_class is always called wih yaml_new, prepended
65
+ a parameter, which is the klass.
66
+ - loaded nodes through GenericResolver show their style.
67
+ - YAML::Syck::Node#transform works.
68
+ - bug with YAML::Syck::Emitter#level
69
+
70
+ ext/ruby/lib/yaml.rb: reworking YAML::Stream to use the new
71
+ emitter.
72
+
73
+ ext/ruby/lib/yaml/stream.rb: ditto.
74
+
75
+ ext/ruby/lib/yaml/rubytypes.rb: use of new yaml_new syntax.
76
+
77
+ ext/ruby/lib/yaml/tag.rb: the tag_subclasses? method now
78
+ shows up in the class.
79
+
80
+ ext/ruby/yts/yts.rb: moved eval code out of the YAML
81
+ module.
82
+ ext/ruby/yts/*.yml: prepend YAML module onto all
83
+ code that uses Stream, Omap, etc.
84
+
85
+ lib/implicit.re: were 'y' and 'n' seriously omitted??
86
+
87
+ lib/node.c: added syck_seq_assign.
88
+
89
+ - version: 0.52
90
+ date: 2005-03-27
91
+ changes:
92
+ README.EXT: added detailed API docs for Syck!!
93
+
94
+ ext/ruby/ext/syck/rubyext.c: consolidated all the diaspora of internal
95
+ node types into the family below YAML::Syck::Node -- Map,
96
+ Seq, Scalar -- all of whom are SyckNode structs pointing to
97
+ Ruby data.
98
+
99
+ lib/emitter.c: consolidated redundant block_styles struct into
100
+ the scalar_style struct. (this means loaded nodes can now
101
+ be sent back to emitter and preserve at least its very basic
102
+ formatting.)
103
+
104
+ lib/token.re: ditto.
105
+
106
+ lib/node.c: new syck_replace_str methods and syck_empty_*
107
+ methods for rewriting node contents, while keeping the ID
108
+ and other setup info.
109
+
110
+ lib/syck.h: reflect block_styles and new node functions.
111
+
112
+ - version: 0.51
113
+ date: 2005-02-09
114
+ changes:
115
+ tests/YTS.c: tests failing due to bad syck_emit_scalar call.
116
+
117
+ ext/ruby/lib/yaml/rubytypes.rb: added Object#yaml_new.
118
+
119
+ ext/ruby/ext/syck/rubyext.c: both yaml_new and yaml_initialize get
120
+ called, should they be present.
121
+
122
+ - version: 0.50
123
+ date: 2005-02-08
124
+ changes:
125
+ lib/gram.y: freed up parser to accept any structure as a headless
126
+ document!
127
+
128
+ lib/emitter.c: renovated emitter, which allows an initial walk
129
+ of the tree to check for anchors and tag prefixing. then, swift
130
+ emission of nodes with folding routines and shortcut-checking
131
+ built-in!
132
+
133
+ ext/ruby/ext/syck/rubyext.c: added hooks for the new emitter.
134
+
135
+ - version: 0.45
136
+ date: 2004-08-18
137
+ changes:
138
+ CHANGELOG: Added.
139
+
140
+ lib/Makefile.am: re2c compiling with bit vectors now.
141
+
142
+ lib/syck.c: clear parser on init. thanks, ts. [ruby-core:02931]
143
+
144
+ lib/implicit.re:
145
+ - added sexagecimal float#base60.
146
+
147
+ lib/token.re:
148
+ - using newline_len to handline CR-LFs.
149
+ "\000" was showing up on folded blocks which
150
+ stopped at EOF.
151
+
152
+ - buffer underflow. thanks, ts. [ruby-core:02929]
153
+
154
+ - indentation absolutely ignored when processing flow collections.
155
+
156
+ - plain scalars are trimmed if indentation follows in an ambiguous
157
+ flow collection.
158
+
159
+ - fixed problem with comments sharing line with opening of block sequence.
160
+
161
+ ext/ruby/lib/yaml/compat.rb: moved all ruby 1.6 -> ruby 1.8
162
+ handling into compat.rb.
163
+
164
+ ext/ruby/lib/yaml/baseemitter.rb:
165
+ - simpler flow block code.
166
+
167
+ - was forcing a mod value of zero at times, which kept
168
+ some blocks from getting indentation.
169
+
170
+ - double-quoted strings now are handled through the flow block code to
171
+ increase readability.
172
+
173
+ ext/ruby/lib/yaml/rubytypes.rb:
174
+ - exceptions were using an older YAML.object_maker. [ruby-core:03080]
175
+ - subtleties in emitting strings with opening whitespace.
176
+
177
+ ext/ruby/lib/yaml.rb:
178
+ - added YAML::load_file, YAML::parse_file.
179
+ - added rdoc to beginning of lib.
180
+
181
+ ext/ruby/ext/syck/rubyext.c:
182
+ - set buffer after Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]
183
+ - added float#base60 handling.
184
+
185
+ ext/ruby/yts/YtsSpecificationExamples.yml: new examples from the 1.0
186
+ working draft. [http://yaml.org/spec/]
@@ -0,0 +1,54 @@
1
+ Copyright (c) 2003 why the lucky stiff
2
+
3
+ This software is subject to either of two licenses (BSD or D&R), which you can choose
4
+ from in your use of the code. The terms for each of these licenses is listed below:
5
+
6
+ BSD License
7
+ ===========
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to
11
+ deal in the Software without restriction, including without limitation the
12
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
13
+ sell copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in
17
+ all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
23
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+
26
+ D&R (Death and Repudiation) License
27
+ ===================================
28
+
29
+ This software may not be used directly by any living being. ANY use of this
30
+ software (even perfectly legitimate and non-commercial uses) until after death
31
+ is explicitly restricted. Any living being using (or attempting to use) this software
32
+ will be punished to the fullest extent of the law.
33
+
34
+ For your protection, corpses will not be punished. We respectfully request
35
+ that you submit your uses (revisions, uses, distributions, uses, etc.) to
36
+ your children, who may vicariously perform these uses on your behalf. If
37
+ you use this software and you are found to be not dead, you will be punished
38
+ to the fullest extent of the law.
39
+
40
+ If you are found to be a ghost or angel, you will be punished to the fullest
41
+ extent of the law.
42
+
43
+ After your following the terms of this license, the author has vowed to repudiate
44
+ your claim, meaning that the validity of this contract will no longer be recognized.
45
+ This license will be unexpectedly revoked (at a time which is designated to be
46
+ most inconvenient) and involved heirs will be punished to the fullest extent
47
+ of the law.
48
+
49
+ Furthermore, if any parties (related or non-related) escape the punishments
50
+ outlined herein, they will be severely punished to the fullest extent of a new
51
+ revised law that (1) expands the statement "fullest extent of the law" to encompass
52
+ an infinite duration of infinite punishments and (2) exacts said punishments
53
+ upon all parties (related or non-related).
54
+
@@ -0,0 +1,582 @@
1
+ # Makefile.in generated by automake 1.9.5 from Makefile.am.
2
+ # Makefile. Generated from Makefile.in by configure.
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005 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
+
16
+ srcdir = .
17
+ top_srcdir = .
18
+
19
+ pkgdatadir = $(datadir)/syck
20
+ pkglibdir = $(libdir)/syck
21
+ pkgincludedir = $(includedir)/syck
22
+ top_builddir = .
23
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
+ INSTALL = /usr/bin/install -c
25
+ install_sh_DATA = $(install_sh) -c -m 644
26
+ install_sh_PROGRAM = $(install_sh) -c
27
+ install_sh_SCRIPT = $(install_sh) -c
28
+ INSTALL_HEADER = $(INSTALL_DATA)
29
+ transform = $(program_transform_name)
30
+ NORMAL_INSTALL = :
31
+ PRE_INSTALL = :
32
+ POST_INSTALL = :
33
+ NORMAL_UNINSTALL = :
34
+ PRE_UNINSTALL = :
35
+ POST_UNINSTALL = :
36
+ subdir = .
37
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
39
+ $(top_srcdir)/configure COPYING TODO config/README \
40
+ config/depcomp config/install-sh config/missing
41
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
43
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44
+ $(ACLOCAL_M4)
45
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
46
+ configure.lineno configure.status.lineno
47
+ mkinstalldirs = $(install_sh) -d
48
+ CONFIG_HEADER = config.h
49
+ CONFIG_CLEAN_FILES =
50
+ SOURCES =
51
+ DIST_SOURCES =
52
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
53
+ html-recursive info-recursive install-data-recursive \
54
+ install-exec-recursive install-info-recursive \
55
+ install-recursive installcheck-recursive installdirs-recursive \
56
+ pdf-recursive ps-recursive uninstall-info-recursive \
57
+ uninstall-recursive
58
+ ETAGS = etags
59
+ CTAGS = ctags
60
+ DIST_SUBDIRS = $(SUBDIRS)
61
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
62
+ distdir = $(PACKAGE)-$(VERSION)
63
+ top_distdir = $(distdir)
64
+ am__remove_distdir = \
65
+ { test ! -d $(distdir) \
66
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
67
+ && rm -fr $(distdir); }; }
68
+ DIST_ARCHIVES = $(distdir).tar.gz
69
+ GZIP_ENV = --best
70
+ distuninstallcheck_listfiles = find . -type f -print
71
+ distcleancheck_listfiles = find . -type f -print
72
+ ACLOCAL = ${SHELL} /home/why/sand/syck-0.55/config/missing --run aclocal-1.9
73
+ AMDEP_FALSE = #
74
+ AMDEP_TRUE =
75
+ AMTAR = ${SHELL} /home/why/sand/syck-0.55/config/missing --run tar
76
+ AUTOCONF = ${SHELL} /home/why/sand/syck-0.55/config/missing --run autoconf
77
+ AUTOHEADER = ${SHELL} /home/why/sand/syck-0.55/config/missing --run autoheader
78
+ AUTOMAKE = ${SHELL} /home/why/sand/syck-0.55/config/missing --run automake-1.9
79
+ AWK = gawk
80
+ CC = gcc
81
+ CCDEPMODE = depmode=gcc3
82
+ CFLAGS = -g -O2
83
+ CPP = gcc -E
84
+ CPPFLAGS =
85
+ CYGPATH_W = echo
86
+ DEFS = -DHAVE_CONFIG_H
87
+ DEPDIR = .deps
88
+ ECHO_C =
89
+ ECHO_N = -n
90
+ ECHO_T =
91
+ EGREP = grep -E
92
+ EXEEXT =
93
+ INSTALL_DATA = ${INSTALL} -m 644
94
+ INSTALL_PROGRAM = ${INSTALL}
95
+ INSTALL_SCRIPT = ${INSTALL}
96
+ INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
97
+ LDFLAGS =
98
+ LEX = flex
99
+ LEXLIB = -lfl
100
+ LEX_OUTPUT_ROOT = lex.yy
101
+ LIBOBJS =
102
+ LIBS =
103
+ LN_S = ln -s
104
+ LTLIBOBJS =
105
+ MAKEINFO = ${SHELL} /home/why/sand/syck-0.55/config/missing --run makeinfo
106
+ OBJEXT = o
107
+ PACKAGE = syck
108
+ PACKAGE_BUGREPORT =
109
+ PACKAGE_NAME = syck
110
+ PACKAGE_STRING = syck 0.54
111
+ PACKAGE_TARNAME = syck
112
+ PACKAGE_VERSION = 0.54
113
+ PATH_SEPARATOR = :
114
+ RANLIB = ranlib
115
+ SET_MAKE =
116
+ SHELL = /bin/sh
117
+ STRIP =
118
+ VERSION = 0.54
119
+ YACC = bison -y
120
+ ac_ct_CC = gcc
121
+ ac_ct_RANLIB = ranlib
122
+ ac_ct_STRIP =
123
+ am__fastdepCC_FALSE = #
124
+ am__fastdepCC_TRUE =
125
+ am__include = include
126
+ am__leading_dot = .
127
+ am__quote =
128
+ am__tar = ${AMTAR} chof - "$$tardir"
129
+ am__untar = ${AMTAR} xf -
130
+ bindir = ${exec_prefix}/bin
131
+ build_alias =
132
+ datadir = ${prefix}/share
133
+ exec_prefix = ${prefix}
134
+ host_alias =
135
+ includedir = ${prefix}/include
136
+ infodir = ${prefix}/info
137
+ install_sh = /home/why/sand/syck-0.55/config/install-sh
138
+ libdir = ${exec_prefix}/lib
139
+ libexecdir = ${exec_prefix}/libexec
140
+ localstatedir = ${prefix}/var
141
+ mandir = ${prefix}/man
142
+ mkdir_p = mkdir -p --
143
+ oldincludedir = /usr/include
144
+ prefix = /usr/local
145
+ program_transform_name = s,x,x,
146
+ sbindir = ${exec_prefix}/sbin
147
+ sharedstatedir = ${prefix}/com
148
+ sysconfdir = ${prefix}/etc
149
+ target_alias =
150
+
151
+ #
152
+ # I feel like saying, "The magic happens here!" But it doesn't.
153
+ #
154
+ SUBDIRS = lib tests
155
+ all: config.h
156
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
157
+
158
+ .SUFFIXES:
159
+ am--refresh:
160
+ @:
161
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
162
+ @for dep in $?; do \
163
+ case '$(am__configure_deps)' in \
164
+ *$$dep*) \
165
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
166
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
167
+ && exit 0; \
168
+ exit 1;; \
169
+ esac; \
170
+ done; \
171
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
172
+ cd $(top_srcdir) && \
173
+ $(AUTOMAKE) --foreign Makefile
174
+ .PRECIOUS: Makefile
175
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
+ @case '$?' in \
177
+ *config.status*) \
178
+ echo ' $(SHELL) ./config.status'; \
179
+ $(SHELL) ./config.status;; \
180
+ *) \
181
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
182
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
183
+ esac;
184
+
185
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
186
+ $(SHELL) ./config.status --recheck
187
+
188
+ $(top_srcdir)/configure: $(am__configure_deps)
189
+ cd $(srcdir) && $(AUTOCONF)
190
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
191
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
192
+
193
+ config.h: stamp-h1
194
+ @if test ! -f $@; then \
195
+ rm -f stamp-h1; \
196
+ $(MAKE) stamp-h1; \
197
+ else :; fi
198
+
199
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
200
+ @rm -f stamp-h1
201
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
202
+ $(srcdir)/config.h.in: $(am__configure_deps)
203
+ cd $(top_srcdir) && $(AUTOHEADER)
204
+ rm -f stamp-h1
205
+ touch $@
206
+
207
+ distclean-hdr:
208
+ -rm -f config.h stamp-h1
209
+ uninstall-info-am:
210
+
211
+ # This directory's subdirectories are mostly independent; you can cd
212
+ # into them and run `make' without going through this Makefile.
213
+ # To change the values of `make' variables: instead of editing Makefiles,
214
+ # (1) if the variable is set in `config.status', edit `config.status'
215
+ # (which will cause the Makefiles to be regenerated when you run `make');
216
+ # (2) otherwise, pass the desired values on the `make' command line.
217
+ $(RECURSIVE_TARGETS):
218
+ @failcom='exit 1'; \
219
+ for f in x $$MAKEFLAGS; do \
220
+ case $$f in \
221
+ *=* | --[!k]*);; \
222
+ *k*) failcom='fail=yes';; \
223
+ esac; \
224
+ done; \
225
+ dot_seen=no; \
226
+ target=`echo $@ | sed s/-recursive//`; \
227
+ list='$(SUBDIRS)'; for subdir in $$list; do \
228
+ echo "Making $$target in $$subdir"; \
229
+ if test "$$subdir" = "."; then \
230
+ dot_seen=yes; \
231
+ local_target="$$target-am"; \
232
+ else \
233
+ local_target="$$target"; \
234
+ fi; \
235
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
236
+ || eval $$failcom; \
237
+ done; \
238
+ if test "$$dot_seen" = "no"; then \
239
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
240
+ fi; test -z "$$fail"
241
+
242
+ mostlyclean-recursive clean-recursive distclean-recursive \
243
+ maintainer-clean-recursive:
244
+ @failcom='exit 1'; \
245
+ for f in x $$MAKEFLAGS; do \
246
+ case $$f in \
247
+ *=* | --[!k]*);; \
248
+ *k*) failcom='fail=yes';; \
249
+ esac; \
250
+ done; \
251
+ dot_seen=no; \
252
+ case "$@" in \
253
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
254
+ *) list='$(SUBDIRS)' ;; \
255
+ esac; \
256
+ rev=''; for subdir in $$list; do \
257
+ if test "$$subdir" = "."; then :; else \
258
+ rev="$$subdir $$rev"; \
259
+ fi; \
260
+ done; \
261
+ rev="$$rev ."; \
262
+ target=`echo $@ | sed s/-recursive//`; \
263
+ for subdir in $$rev; do \
264
+ echo "Making $$target in $$subdir"; \
265
+ if test "$$subdir" = "."; then \
266
+ local_target="$$target-am"; \
267
+ else \
268
+ local_target="$$target"; \
269
+ fi; \
270
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
271
+ || eval $$failcom; \
272
+ done && test -z "$$fail"
273
+ tags-recursive:
274
+ list='$(SUBDIRS)'; for subdir in $$list; do \
275
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
276
+ done
277
+ ctags-recursive:
278
+ list='$(SUBDIRS)'; for subdir in $$list; do \
279
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
280
+ done
281
+
282
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
283
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
284
+ unique=`for i in $$list; do \
285
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
286
+ done | \
287
+ $(AWK) ' { files[$$0] = 1; } \
288
+ END { for (i in files) print i; }'`; \
289
+ mkid -fID $$unique
290
+ tags: TAGS
291
+
292
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
293
+ $(TAGS_FILES) $(LISP)
294
+ tags=; \
295
+ here=`pwd`; \
296
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
297
+ include_option=--etags-include; \
298
+ empty_fix=.; \
299
+ else \
300
+ include_option=--include; \
301
+ empty_fix=; \
302
+ fi; \
303
+ list='$(SUBDIRS)'; for subdir in $$list; do \
304
+ if test "$$subdir" = .; then :; else \
305
+ test ! -f $$subdir/TAGS || \
306
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
307
+ fi; \
308
+ done; \
309
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
310
+ unique=`for i in $$list; do \
311
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
312
+ done | \
313
+ $(AWK) ' { files[$$0] = 1; } \
314
+ END { for (i in files) print i; }'`; \
315
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
316
+ test -n "$$unique" || unique=$$empty_fix; \
317
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
318
+ $$tags $$unique; \
319
+ fi
320
+ ctags: CTAGS
321
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
322
+ $(TAGS_FILES) $(LISP)
323
+ tags=; \
324
+ here=`pwd`; \
325
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
326
+ unique=`for i in $$list; do \
327
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
328
+ done | \
329
+ $(AWK) ' { files[$$0] = 1; } \
330
+ END { for (i in files) print i; }'`; \
331
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
332
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
333
+ $$tags $$unique
334
+
335
+ GTAGS:
336
+ here=`$(am__cd) $(top_builddir) && pwd` \
337
+ && cd $(top_srcdir) \
338
+ && gtags -i $(GTAGS_ARGS) $$here
339
+
340
+ distclean-tags:
341
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
342
+
343
+ distdir: $(DISTFILES)
344
+ $(am__remove_distdir)
345
+ mkdir $(distdir)
346
+ $(mkdir_p) $(distdir)/config
347
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
348
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
349
+ list='$(DISTFILES)'; for file in $$list; do \
350
+ case $$file in \
351
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
352
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
353
+ esac; \
354
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
355
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
356
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
357
+ dir="/$$dir"; \
358
+ $(mkdir_p) "$(distdir)$$dir"; \
359
+ else \
360
+ dir=''; \
361
+ fi; \
362
+ if test -d $$d/$$file; then \
363
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
364
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
365
+ fi; \
366
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
367
+ else \
368
+ test -f $(distdir)/$$file \
369
+ || cp -p $$d/$$file $(distdir)/$$file \
370
+ || exit 1; \
371
+ fi; \
372
+ done
373
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
374
+ if test "$$subdir" = .; then :; else \
375
+ test -d "$(distdir)/$$subdir" \
376
+ || $(mkdir_p) "$(distdir)/$$subdir" \
377
+ || exit 1; \
378
+ distdir=`$(am__cd) $(distdir) && pwd`; \
379
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
380
+ (cd $$subdir && \
381
+ $(MAKE) $(AM_MAKEFLAGS) \
382
+ top_distdir="$$top_distdir" \
383
+ distdir="$$distdir/$$subdir" \
384
+ distdir) \
385
+ || exit 1; \
386
+ fi; \
387
+ done
388
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
389
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
390
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
391
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
392
+ || chmod -R a+r $(distdir)
393
+ dist-gzip: distdir
394
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
395
+ $(am__remove_distdir)
396
+
397
+ dist-bzip2: distdir
398
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
399
+ $(am__remove_distdir)
400
+
401
+ dist-tarZ: distdir
402
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
403
+ $(am__remove_distdir)
404
+
405
+ dist-shar: distdir
406
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
407
+ $(am__remove_distdir)
408
+
409
+ dist-zip: distdir
410
+ -rm -f $(distdir).zip
411
+ zip -rq $(distdir).zip $(distdir)
412
+ $(am__remove_distdir)
413
+
414
+ dist dist-all: distdir
415
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
416
+ $(am__remove_distdir)
417
+
418
+ # This target untars the dist file and tries a VPATH configuration. Then
419
+ # it guarantees that the distribution is self-contained by making another
420
+ # tarfile.
421
+ distcheck: dist
422
+ case '$(DIST_ARCHIVES)' in \
423
+ *.tar.gz*) \
424
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
425
+ *.tar.bz2*) \
426
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
427
+ *.tar.Z*) \
428
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
429
+ *.shar.gz*) \
430
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
431
+ *.zip*) \
432
+ unzip $(distdir).zip ;;\
433
+ esac
434
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
435
+ mkdir $(distdir)/_build
436
+ mkdir $(distdir)/_inst
437
+ chmod a-w $(distdir)
438
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
439
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
440
+ && cd $(distdir)/_build \
441
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
442
+ $(DISTCHECK_CONFIGURE_FLAGS) \
443
+ && $(MAKE) $(AM_MAKEFLAGS) \
444
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
445
+ && $(MAKE) $(AM_MAKEFLAGS) check \
446
+ && $(MAKE) $(AM_MAKEFLAGS) install \
447
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
448
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
449
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
450
+ distuninstallcheck \
451
+ && chmod -R a-w "$$dc_install_base" \
452
+ && ({ \
453
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
454
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
455
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
456
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
457
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
458
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
459
+ && rm -rf "$$dc_destdir" \
460
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
461
+ && rm -rf $(DIST_ARCHIVES) \
462
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
463
+ $(am__remove_distdir)
464
+ @(echo "$(distdir) archives ready for distribution: "; \
465
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
466
+ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
467
+ distuninstallcheck:
468
+ @cd $(distuninstallcheck_dir) \
469
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
470
+ || { echo "ERROR: files left after uninstall:" ; \
471
+ if test -n "$(DESTDIR)"; then \
472
+ echo " (check DESTDIR support)"; \
473
+ fi ; \
474
+ $(distuninstallcheck_listfiles) ; \
475
+ exit 1; } >&2
476
+ distcleancheck: distclean
477
+ @if test '$(srcdir)' = . ; then \
478
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
479
+ exit 1 ; \
480
+ fi
481
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
482
+ || { echo "ERROR: files left in build directory after distclean:" ; \
483
+ $(distcleancheck_listfiles) ; \
484
+ exit 1; } >&2
485
+ check-am: all-am
486
+ check: check-recursive
487
+ all-am: Makefile config.h
488
+ installdirs: installdirs-recursive
489
+ installdirs-am:
490
+ install: install-recursive
491
+ install-exec: install-exec-recursive
492
+ install-data: install-data-recursive
493
+ uninstall: uninstall-recursive
494
+
495
+ install-am: all-am
496
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
497
+
498
+ installcheck: installcheck-recursive
499
+ install-strip:
500
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
501
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
502
+ `test -z '$(STRIP)' || \
503
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
504
+ mostlyclean-generic:
505
+
506
+ clean-generic:
507
+
508
+ distclean-generic:
509
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
510
+
511
+ maintainer-clean-generic:
512
+ @echo "This command is intended for maintainers to use"
513
+ @echo "it deletes files that may require special tools to rebuild."
514
+ clean: clean-recursive
515
+
516
+ clean-am: clean-generic mostlyclean-am
517
+
518
+ distclean: distclean-recursive
519
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
520
+ -rm -f Makefile
521
+ distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
522
+
523
+ dvi: dvi-recursive
524
+
525
+ dvi-am:
526
+
527
+ html: html-recursive
528
+
529
+ info: info-recursive
530
+
531
+ info-am:
532
+
533
+ install-data-am:
534
+
535
+ install-exec-am:
536
+
537
+ install-info: install-info-recursive
538
+
539
+ install-man:
540
+
541
+ installcheck-am:
542
+
543
+ maintainer-clean: maintainer-clean-recursive
544
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
545
+ -rm -rf $(top_srcdir)/autom4te.cache
546
+ -rm -f Makefile
547
+ maintainer-clean-am: distclean-am maintainer-clean-generic
548
+
549
+ mostlyclean: mostlyclean-recursive
550
+
551
+ mostlyclean-am: mostlyclean-generic
552
+
553
+ pdf: pdf-recursive
554
+
555
+ pdf-am:
556
+
557
+ ps: ps-recursive
558
+
559
+ ps-am:
560
+
561
+ uninstall-am: uninstall-info-am
562
+
563
+ uninstall-info: uninstall-info-recursive
564
+
565
+ .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
566
+ check-am clean clean-generic clean-recursive ctags \
567
+ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
568
+ dist-tarZ dist-zip distcheck distclean distclean-generic \
569
+ distclean-hdr distclean-recursive distclean-tags \
570
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
571
+ html-am info info-am install install-am install-data \
572
+ install-data-am install-exec install-exec-am install-info \
573
+ install-info-am install-man install-strip installcheck \
574
+ installcheck-am installdirs installdirs-am maintainer-clean \
575
+ maintainer-clean-generic maintainer-clean-recursive \
576
+ mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
577
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
578
+ uninstall-info-am
579
+
580
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
581
+ # Otherwise a system limit (for SysV at least) may be exceeded.
582
+ .NOEXPORT: