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,5 @@
1
+ #
2
+ # I feel like saying, "The magic happens here!" But it doesn't.
3
+ #
4
+ SUBDIRS = lib tests
5
+
@@ -0,0 +1,582 @@
1
+ # Makefile.in generated by automake 1.9.5 from Makefile.am.
2
+ # @configure_input@
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
+ @SET_MAKE@
16
+ srcdir = @srcdir@
17
+ top_srcdir = @top_srcdir@
18
+ VPATH = @srcdir@
19
+ pkgdatadir = $(datadir)/@PACKAGE@
20
+ pkglibdir = $(libdir)/@PACKAGE@
21
+ pkgincludedir = $(includedir)/@PACKAGE@
22
+ top_builddir = .
23
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
+ INSTALL = @INSTALL@
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 = @ACLOCAL@
73
+ AMDEP_FALSE = @AMDEP_FALSE@
74
+ AMDEP_TRUE = @AMDEP_TRUE@
75
+ AMTAR = @AMTAR@
76
+ AUTOCONF = @AUTOCONF@
77
+ AUTOHEADER = @AUTOHEADER@
78
+ AUTOMAKE = @AUTOMAKE@
79
+ AWK = @AWK@
80
+ CC = @CC@
81
+ CCDEPMODE = @CCDEPMODE@
82
+ CFLAGS = @CFLAGS@
83
+ CPP = @CPP@
84
+ CPPFLAGS = @CPPFLAGS@
85
+ CYGPATH_W = @CYGPATH_W@
86
+ DEFS = @DEFS@
87
+ DEPDIR = @DEPDIR@
88
+ ECHO_C = @ECHO_C@
89
+ ECHO_N = @ECHO_N@
90
+ ECHO_T = @ECHO_T@
91
+ EGREP = @EGREP@
92
+ EXEEXT = @EXEEXT@
93
+ INSTALL_DATA = @INSTALL_DATA@
94
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
95
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
96
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97
+ LDFLAGS = @LDFLAGS@
98
+ LEX = @LEX@
99
+ LEXLIB = @LEXLIB@
100
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
101
+ LIBOBJS = @LIBOBJS@
102
+ LIBS = @LIBS@
103
+ LN_S = @LN_S@
104
+ LTLIBOBJS = @LTLIBOBJS@
105
+ MAKEINFO = @MAKEINFO@
106
+ OBJEXT = @OBJEXT@
107
+ PACKAGE = @PACKAGE@
108
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109
+ PACKAGE_NAME = @PACKAGE_NAME@
110
+ PACKAGE_STRING = @PACKAGE_STRING@
111
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
112
+ PACKAGE_VERSION = @PACKAGE_VERSION@
113
+ PATH_SEPARATOR = @PATH_SEPARATOR@
114
+ RANLIB = @RANLIB@
115
+ SET_MAKE = @SET_MAKE@
116
+ SHELL = @SHELL@
117
+ STRIP = @STRIP@
118
+ VERSION = @VERSION@
119
+ YACC = @YACC@
120
+ ac_ct_CC = @ac_ct_CC@
121
+ ac_ct_RANLIB = @ac_ct_RANLIB@
122
+ ac_ct_STRIP = @ac_ct_STRIP@
123
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
124
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
125
+ am__include = @am__include@
126
+ am__leading_dot = @am__leading_dot@
127
+ am__quote = @am__quote@
128
+ am__tar = @am__tar@
129
+ am__untar = @am__untar@
130
+ bindir = @bindir@
131
+ build_alias = @build_alias@
132
+ datadir = @datadir@
133
+ exec_prefix = @exec_prefix@
134
+ host_alias = @host_alias@
135
+ includedir = @includedir@
136
+ infodir = @infodir@
137
+ install_sh = @install_sh@
138
+ libdir = @libdir@
139
+ libexecdir = @libexecdir@
140
+ localstatedir = @localstatedir@
141
+ mandir = @mandir@
142
+ mkdir_p = @mkdir_p@
143
+ oldincludedir = @oldincludedir@
144
+ prefix = @prefix@
145
+ program_transform_name = @program_transform_name@
146
+ sbindir = @sbindir@
147
+ sharedstatedir = @sharedstatedir@
148
+ sysconfdir = @sysconfdir@
149
+ target_alias = @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: