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,13 @@
1
+ INCLUDES = -I$(top_srcdir)/lib
2
+ LDFLAGS = -L$(top_srcdir)/lib
3
+
4
+ TESTS = test-basic test-parse test-yts test-emit
5
+ noinst_PROGRAMS = test-basic test-parse test-yts test-emit
6
+ test_basic_SOURCES = Basic.c CuTest.c CuTest.h
7
+ test_basic_LDADD = -lsyck
8
+ test_parse_SOURCES = Parse.c CuTest.c CuTest.h
9
+ test_parse_LDADD = -lsyck
10
+ test_yts_SOURCES = YTS.c CuTest.c CuTest.h
11
+ test_yts_LDADD = -lsyck
12
+ test_emit_SOURCES = Emit.c CuTest.c CuTest.h
13
+ test_emit_LDADD = -lsyck
@@ -0,0 +1,480 @@
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
+
17
+ SOURCES = $(test_basic_SOURCES) $(test_emit_SOURCES) $(test_parse_SOURCES) $(test_yts_SOURCES)
18
+
19
+ srcdir = @srcdir@
20
+ top_srcdir = @top_srcdir@
21
+ VPATH = @srcdir@
22
+ pkgdatadir = $(datadir)/@PACKAGE@
23
+ pkglibdir = $(libdir)/@PACKAGE@
24
+ pkgincludedir = $(includedir)/@PACKAGE@
25
+ top_builddir = ..
26
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27
+ INSTALL = @INSTALL@
28
+ install_sh_DATA = $(install_sh) -c -m 644
29
+ install_sh_PROGRAM = $(install_sh) -c
30
+ install_sh_SCRIPT = $(install_sh) -c
31
+ INSTALL_HEADER = $(INSTALL_DATA)
32
+ transform = $(program_transform_name)
33
+ NORMAL_INSTALL = :
34
+ PRE_INSTALL = :
35
+ POST_INSTALL = :
36
+ NORMAL_UNINSTALL = :
37
+ PRE_UNINSTALL = :
38
+ POST_UNINSTALL = :
39
+ noinst_PROGRAMS = test-basic$(EXEEXT) test-parse$(EXEEXT) \
40
+ test-yts$(EXEEXT) test-emit$(EXEEXT)
41
+ subdir = tests
42
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
45
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46
+ $(ACLOCAL_M4)
47
+ mkinstalldirs = $(install_sh) -d
48
+ CONFIG_HEADER = $(top_builddir)/config.h
49
+ CONFIG_CLEAN_FILES =
50
+ PROGRAMS = $(noinst_PROGRAMS)
51
+ am_test_basic_OBJECTS = Basic.$(OBJEXT) CuTest.$(OBJEXT)
52
+ test_basic_OBJECTS = $(am_test_basic_OBJECTS)
53
+ test_basic_DEPENDENCIES =
54
+ am_test_emit_OBJECTS = Emit.$(OBJEXT) CuTest.$(OBJEXT)
55
+ test_emit_OBJECTS = $(am_test_emit_OBJECTS)
56
+ test_emit_DEPENDENCIES =
57
+ am_test_parse_OBJECTS = Parse.$(OBJEXT) CuTest.$(OBJEXT)
58
+ test_parse_OBJECTS = $(am_test_parse_OBJECTS)
59
+ test_parse_DEPENDENCIES =
60
+ am_test_yts_OBJECTS = YTS.$(OBJEXT) CuTest.$(OBJEXT)
61
+ test_yts_OBJECTS = $(am_test_yts_OBJECTS)
62
+ test_yts_DEPENDENCIES =
63
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
64
+ depcomp = $(SHELL) $(top_srcdir)/config/depcomp
65
+ am__depfiles_maybe = depfiles
66
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
67
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68
+ CCLD = $(CC)
69
+ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
70
+ SOURCES = $(test_basic_SOURCES) $(test_emit_SOURCES) \
71
+ $(test_parse_SOURCES) $(test_yts_SOURCES)
72
+ DIST_SOURCES = $(test_basic_SOURCES) $(test_emit_SOURCES) \
73
+ $(test_parse_SOURCES) $(test_yts_SOURCES)
74
+ ETAGS = etags
75
+ CTAGS = ctags
76
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
77
+ ACLOCAL = @ACLOCAL@
78
+ AMDEP_FALSE = @AMDEP_FALSE@
79
+ AMDEP_TRUE = @AMDEP_TRUE@
80
+ AMTAR = @AMTAR@
81
+ AUTOCONF = @AUTOCONF@
82
+ AUTOHEADER = @AUTOHEADER@
83
+ AUTOMAKE = @AUTOMAKE@
84
+ AWK = @AWK@
85
+ CC = @CC@
86
+ CCDEPMODE = @CCDEPMODE@
87
+ CFLAGS = @CFLAGS@
88
+ CPP = @CPP@
89
+ CPPFLAGS = @CPPFLAGS@
90
+ CYGPATH_W = @CYGPATH_W@
91
+ DEFS = @DEFS@
92
+ DEPDIR = @DEPDIR@
93
+ ECHO_C = @ECHO_C@
94
+ ECHO_N = @ECHO_N@
95
+ ECHO_T = @ECHO_T@
96
+ EGREP = @EGREP@
97
+ EXEEXT = @EXEEXT@
98
+ INSTALL_DATA = @INSTALL_DATA@
99
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
100
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
101
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
102
+ LDFLAGS = -L$(top_srcdir)/lib
103
+ LEX = @LEX@
104
+ LEXLIB = @LEXLIB@
105
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
106
+ LIBOBJS = @LIBOBJS@
107
+ LIBS = @LIBS@
108
+ LN_S = @LN_S@
109
+ LTLIBOBJS = @LTLIBOBJS@
110
+ MAKEINFO = @MAKEINFO@
111
+ OBJEXT = @OBJEXT@
112
+ PACKAGE = @PACKAGE@
113
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
114
+ PACKAGE_NAME = @PACKAGE_NAME@
115
+ PACKAGE_STRING = @PACKAGE_STRING@
116
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
117
+ PACKAGE_VERSION = @PACKAGE_VERSION@
118
+ PATH_SEPARATOR = @PATH_SEPARATOR@
119
+ RANLIB = @RANLIB@
120
+ SET_MAKE = @SET_MAKE@
121
+ SHELL = @SHELL@
122
+ STRIP = @STRIP@
123
+ VERSION = @VERSION@
124
+ YACC = @YACC@
125
+ ac_ct_CC = @ac_ct_CC@
126
+ ac_ct_RANLIB = @ac_ct_RANLIB@
127
+ ac_ct_STRIP = @ac_ct_STRIP@
128
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
129
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
130
+ am__include = @am__include@
131
+ am__leading_dot = @am__leading_dot@
132
+ am__quote = @am__quote@
133
+ am__tar = @am__tar@
134
+ am__untar = @am__untar@
135
+ bindir = @bindir@
136
+ build_alias = @build_alias@
137
+ datadir = @datadir@
138
+ exec_prefix = @exec_prefix@
139
+ host_alias = @host_alias@
140
+ includedir = @includedir@
141
+ infodir = @infodir@
142
+ install_sh = @install_sh@
143
+ libdir = @libdir@
144
+ libexecdir = @libexecdir@
145
+ localstatedir = @localstatedir@
146
+ mandir = @mandir@
147
+ mkdir_p = @mkdir_p@
148
+ oldincludedir = @oldincludedir@
149
+ prefix = @prefix@
150
+ program_transform_name = @program_transform_name@
151
+ sbindir = @sbindir@
152
+ sharedstatedir = @sharedstatedir@
153
+ sysconfdir = @sysconfdir@
154
+ target_alias = @target_alias@
155
+ INCLUDES = -I$(top_srcdir)/lib
156
+ TESTS = test-basic test-parse test-yts test-emit
157
+ test_basic_SOURCES = Basic.c CuTest.c CuTest.h
158
+ test_basic_LDADD = -lsyck
159
+ test_parse_SOURCES = Parse.c CuTest.c CuTest.h
160
+ test_parse_LDADD = -lsyck
161
+ test_yts_SOURCES = YTS.c CuTest.c CuTest.h
162
+ test_yts_LDADD = -lsyck
163
+ test_emit_SOURCES = Emit.c CuTest.c CuTest.h
164
+ test_emit_LDADD = -lsyck
165
+ all: all-am
166
+
167
+ .SUFFIXES:
168
+ .SUFFIXES: .c .o .obj
169
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
170
+ @for dep in $?; do \
171
+ case '$(am__configure_deps)' in \
172
+ *$$dep*) \
173
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
174
+ && exit 0; \
175
+ exit 1;; \
176
+ esac; \
177
+ done; \
178
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
179
+ cd $(top_srcdir) && \
180
+ $(AUTOMAKE) --foreign tests/Makefile
181
+ .PRECIOUS: Makefile
182
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
183
+ @case '$?' in \
184
+ *config.status*) \
185
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
186
+ *) \
187
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
188
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
189
+ esac;
190
+
191
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
192
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
193
+
194
+ $(top_srcdir)/configure: $(am__configure_deps)
195
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
196
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
197
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
198
+
199
+ clean-noinstPROGRAMS:
200
+ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
201
+ test-basic$(EXEEXT): $(test_basic_OBJECTS) $(test_basic_DEPENDENCIES)
202
+ @rm -f test-basic$(EXEEXT)
203
+ $(LINK) $(test_basic_LDFLAGS) $(test_basic_OBJECTS) $(test_basic_LDADD) $(LIBS)
204
+ test-emit$(EXEEXT): $(test_emit_OBJECTS) $(test_emit_DEPENDENCIES)
205
+ @rm -f test-emit$(EXEEXT)
206
+ $(LINK) $(test_emit_LDFLAGS) $(test_emit_OBJECTS) $(test_emit_LDADD) $(LIBS)
207
+ test-parse$(EXEEXT): $(test_parse_OBJECTS) $(test_parse_DEPENDENCIES)
208
+ @rm -f test-parse$(EXEEXT)
209
+ $(LINK) $(test_parse_LDFLAGS) $(test_parse_OBJECTS) $(test_parse_LDADD) $(LIBS)
210
+ test-yts$(EXEEXT): $(test_yts_OBJECTS) $(test_yts_DEPENDENCIES)
211
+ @rm -f test-yts$(EXEEXT)
212
+ $(LINK) $(test_yts_LDFLAGS) $(test_yts_OBJECTS) $(test_yts_LDADD) $(LIBS)
213
+
214
+ mostlyclean-compile:
215
+ -rm -f *.$(OBJEXT)
216
+
217
+ distclean-compile:
218
+ -rm -f *.tab.c
219
+
220
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Basic.Po@am__quote@
221
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CuTest.Po@am__quote@
222
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Emit.Po@am__quote@
223
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Parse.Po@am__quote@
224
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/YTS.Po@am__quote@
225
+
226
+ .c.o:
227
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
228
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
229
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
230
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
231
+ @am__fastdepCC_FALSE@ $(COMPILE) -c $<
232
+
233
+ .c.obj:
234
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
235
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
236
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
237
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
238
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
239
+ uninstall-info-am:
240
+
241
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
242
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
243
+ unique=`for i in $$list; do \
244
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
245
+ done | \
246
+ $(AWK) ' { files[$$0] = 1; } \
247
+ END { for (i in files) print i; }'`; \
248
+ mkid -fID $$unique
249
+ tags: TAGS
250
+
251
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
252
+ $(TAGS_FILES) $(LISP)
253
+ tags=; \
254
+ here=`pwd`; \
255
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
256
+ unique=`for i in $$list; do \
257
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
258
+ done | \
259
+ $(AWK) ' { files[$$0] = 1; } \
260
+ END { for (i in files) print i; }'`; \
261
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
262
+ test -n "$$unique" || unique=$$empty_fix; \
263
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
264
+ $$tags $$unique; \
265
+ fi
266
+ ctags: CTAGS
267
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
268
+ $(TAGS_FILES) $(LISP)
269
+ tags=; \
270
+ here=`pwd`; \
271
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
272
+ unique=`for i in $$list; do \
273
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
274
+ done | \
275
+ $(AWK) ' { files[$$0] = 1; } \
276
+ END { for (i in files) print i; }'`; \
277
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
278
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
279
+ $$tags $$unique
280
+
281
+ GTAGS:
282
+ here=`$(am__cd) $(top_builddir) && pwd` \
283
+ && cd $(top_srcdir) \
284
+ && gtags -i $(GTAGS_ARGS) $$here
285
+
286
+ distclean-tags:
287
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
288
+
289
+ check-TESTS: $(TESTS)
290
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; \
291
+ srcdir=$(srcdir); export srcdir; \
292
+ list='$(TESTS)'; \
293
+ if test -n "$$list"; then \
294
+ for tst in $$list; do \
295
+ if test -f ./$$tst; then dir=./; \
296
+ elif test -f $$tst; then dir=; \
297
+ else dir="$(srcdir)/"; fi; \
298
+ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
299
+ all=`expr $$all + 1`; \
300
+ case " $(XFAIL_TESTS) " in \
301
+ *" $$tst "*) \
302
+ xpass=`expr $$xpass + 1`; \
303
+ failed=`expr $$failed + 1`; \
304
+ echo "XPASS: $$tst"; \
305
+ ;; \
306
+ *) \
307
+ echo "PASS: $$tst"; \
308
+ ;; \
309
+ esac; \
310
+ elif test $$? -ne 77; then \
311
+ all=`expr $$all + 1`; \
312
+ case " $(XFAIL_TESTS) " in \
313
+ *" $$tst "*) \
314
+ xfail=`expr $$xfail + 1`; \
315
+ echo "XFAIL: $$tst"; \
316
+ ;; \
317
+ *) \
318
+ failed=`expr $$failed + 1`; \
319
+ echo "FAIL: $$tst"; \
320
+ ;; \
321
+ esac; \
322
+ else \
323
+ skip=`expr $$skip + 1`; \
324
+ echo "SKIP: $$tst"; \
325
+ fi; \
326
+ done; \
327
+ if test "$$failed" -eq 0; then \
328
+ if test "$$xfail" -eq 0; then \
329
+ banner="All $$all tests passed"; \
330
+ else \
331
+ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
332
+ fi; \
333
+ else \
334
+ if test "$$xpass" -eq 0; then \
335
+ banner="$$failed of $$all tests failed"; \
336
+ else \
337
+ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
338
+ fi; \
339
+ fi; \
340
+ dashes="$$banner"; \
341
+ skipped=""; \
342
+ if test "$$skip" -ne 0; then \
343
+ skipped="($$skip tests were not run)"; \
344
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
345
+ dashes="$$skipped"; \
346
+ fi; \
347
+ report=""; \
348
+ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
349
+ report="Please report to $(PACKAGE_BUGREPORT)"; \
350
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
351
+ dashes="$$report"; \
352
+ fi; \
353
+ dashes=`echo "$$dashes" | sed s/./=/g`; \
354
+ echo "$$dashes"; \
355
+ echo "$$banner"; \
356
+ test -z "$$skipped" || echo "$$skipped"; \
357
+ test -z "$$report" || echo "$$report"; \
358
+ echo "$$dashes"; \
359
+ test "$$failed" -eq 0; \
360
+ else :; fi
361
+
362
+ distdir: $(DISTFILES)
363
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
364
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
365
+ list='$(DISTFILES)'; for file in $$list; do \
366
+ case $$file in \
367
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
368
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
369
+ esac; \
370
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
371
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
372
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
373
+ dir="/$$dir"; \
374
+ $(mkdir_p) "$(distdir)$$dir"; \
375
+ else \
376
+ dir=''; \
377
+ fi; \
378
+ if test -d $$d/$$file; then \
379
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
380
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
381
+ fi; \
382
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
383
+ else \
384
+ test -f $(distdir)/$$file \
385
+ || cp -p $$d/$$file $(distdir)/$$file \
386
+ || exit 1; \
387
+ fi; \
388
+ done
389
+ check-am: all-am
390
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
391
+ check: check-am
392
+ all-am: Makefile $(PROGRAMS)
393
+ installdirs:
394
+ install: install-am
395
+ install-exec: install-exec-am
396
+ install-data: install-data-am
397
+ uninstall: uninstall-am
398
+
399
+ install-am: all-am
400
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
401
+
402
+ installcheck: installcheck-am
403
+ install-strip:
404
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
405
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
406
+ `test -z '$(STRIP)' || \
407
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
408
+ mostlyclean-generic:
409
+
410
+ clean-generic:
411
+
412
+ distclean-generic:
413
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
414
+
415
+ maintainer-clean-generic:
416
+ @echo "This command is intended for maintainers to use"
417
+ @echo "it deletes files that may require special tools to rebuild."
418
+ clean: clean-am
419
+
420
+ clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
421
+
422
+ distclean: distclean-am
423
+ -rm -rf ./$(DEPDIR)
424
+ -rm -f Makefile
425
+ distclean-am: clean-am distclean-compile distclean-generic \
426
+ distclean-tags
427
+
428
+ dvi: dvi-am
429
+
430
+ dvi-am:
431
+
432
+ html: html-am
433
+
434
+ info: info-am
435
+
436
+ info-am:
437
+
438
+ install-data-am:
439
+
440
+ install-exec-am:
441
+
442
+ install-info: install-info-am
443
+
444
+ install-man:
445
+
446
+ installcheck-am:
447
+
448
+ maintainer-clean: maintainer-clean-am
449
+ -rm -rf ./$(DEPDIR)
450
+ -rm -f Makefile
451
+ maintainer-clean-am: distclean-am maintainer-clean-generic
452
+
453
+ mostlyclean: mostlyclean-am
454
+
455
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic
456
+
457
+ pdf: pdf-am
458
+
459
+ pdf-am:
460
+
461
+ ps: ps-am
462
+
463
+ ps-am:
464
+
465
+ uninstall-am: uninstall-info-am
466
+
467
+ .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
468
+ clean-generic clean-noinstPROGRAMS ctags distclean \
469
+ distclean-compile distclean-generic distclean-tags distdir dvi \
470
+ dvi-am html html-am info info-am install install-am \
471
+ install-data install-data-am install-exec install-exec-am \
472
+ install-info install-info-am install-man install-strip \
473
+ installcheck installcheck-am installdirs maintainer-clean \
474
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
475
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
476
+ uninstall-am uninstall-info-am
477
+
478
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
479
+ # Otherwise a system limit (for SysV at least) may be exceeded.
480
+ .NOEXPORT: