mhs-xapian 1.0.18a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. data/.gitignore +3 -0
  2. data/AUTHORS +1 -0
  3. data/COPYING +340 -0
  4. data/ChangeLog +5876 -0
  5. data/HACKING +101 -0
  6. data/INSTALL +293 -0
  7. data/Makefile +722 -0
  8. data/Makefile.am +26 -0
  9. data/Makefile.in +722 -0
  10. data/NEWS +2110 -0
  11. data/README +59 -0
  12. data/Rakefile +51 -0
  13. data/TODO +47 -0
  14. data/aclocal.m4 +7675 -0
  15. data/config.guess +1501 -0
  16. data/config.h +56 -0
  17. data/config.h.in +55 -0
  18. data/config.status +1298 -0
  19. data/config.sub +1705 -0
  20. data/configure +18536 -0
  21. data/configure.ac +944 -0
  22. data/csharp/.deps/xapian_wrap.Plo +1 -0
  23. data/csharp/AssemblyInfo.cs +40 -0
  24. data/csharp/AssemblyInfo.cs.in +40 -0
  25. data/csharp/Auto.cs +46 -0
  26. data/csharp/BM25Weight.cs +107 -0
  27. data/csharp/BoolWeight.cs +103 -0
  28. data/csharp/Database.cs +275 -0
  29. data/csharp/DateValueRangeProcessor.cs +61 -0
  30. data/csharp/Document.cs +177 -0
  31. data/csharp/ESet.cs +94 -0
  32. data/csharp/ESetIterator.cs +117 -0
  33. data/csharp/Enquire.cs +274 -0
  34. data/csharp/ExpandDecider.cs +76 -0
  35. data/csharp/Flint.cs +58 -0
  36. data/csharp/InMemory.cs +46 -0
  37. data/csharp/MSet.cs +193 -0
  38. data/csharp/MSetIterator.cs +141 -0
  39. data/csharp/Makefile +868 -0
  40. data/csharp/Makefile.am +106 -0
  41. data/csharp/Makefile.in +868 -0
  42. data/csharp/MatchDecider.cs +76 -0
  43. data/csharp/MultiValueSorter.cs +63 -0
  44. data/csharp/NumberValueRangeProcessor.cs +61 -0
  45. data/csharp/PositionIterator.cs +101 -0
  46. data/csharp/PostingIterator.cs +125 -0
  47. data/csharp/Quartz.cs +58 -0
  48. data/csharp/Query.cs +150 -0
  49. data/csharp/QueryParser.cs +174 -0
  50. data/csharp/RSet.cs +102 -0
  51. data/csharp/Remote.cs +100 -0
  52. data/csharp/SWIGTYPE_p_std__string.cs +30 -0
  53. data/csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs +30 -0
  54. data/csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs +30 -0
  55. data/csharp/SimpleStopper.cs +64 -0
  56. data/csharp/SmokeTest.cs +178 -0
  57. data/csharp/Sorter.cs +76 -0
  58. data/csharp/Stem.cs +66 -0
  59. data/csharp/Stopper.cs +91 -0
  60. data/csharp/StringValueRangeProcessor.cs +53 -0
  61. data/csharp/TermGenerator.cs +152 -0
  62. data/csharp/TermIterator.cs +125 -0
  63. data/csharp/TradWeight.cs +107 -0
  64. data/csharp/ValueIterator.cs +102 -0
  65. data/csharp/ValueRangeProcessor.cs +76 -0
  66. data/csharp/Version.cs +60 -0
  67. data/csharp/Weight.cs +93 -0
  68. data/csharp/WritableDatabase.cs +153 -0
  69. data/csharp/Xapian.cs +65 -0
  70. data/csharp/XapianPINVOKE.cs +1527 -0
  71. data/csharp/docs/Makefile +450 -0
  72. data/csharp/docs/Makefile.am +16 -0
  73. data/csharp/docs/Makefile.in +450 -0
  74. data/csharp/docs/examples/SimpleExpand.cs +109 -0
  75. data/csharp/docs/examples/SimpleIndex.cs +71 -0
  76. data/csharp/docs/examples/SimpleSearch.cs +78 -0
  77. data/csharp/docs/index.html +211 -0
  78. data/csharp/util.i +233 -0
  79. data/csharp/xapian_wrap.cc +10338 -0
  80. data/csharp/xapian_wrap.h +93 -0
  81. data/depcomp +632 -0
  82. data/extconf.rb +20 -0
  83. data/generic/except.i +80 -0
  84. data/generic/generic.mk +48 -0
  85. data/install-sh +520 -0
  86. data/java-swig/.deps/xapian_wrap.Plo +1 -0
  87. data/java-swig/Auto.java +35 -0
  88. data/java-swig/BM25Weight.java +81 -0
  89. data/java-swig/BoolWeight.java +77 -0
  90. data/java-swig/Database.java +195 -0
  91. data/java-swig/DateValueRangeProcessor.java +51 -0
  92. data/java-swig/Document.java +135 -0
  93. data/java-swig/ESet.java +71 -0
  94. data/java-swig/ESetIterator.java +71 -0
  95. data/java-swig/Enquire.java +246 -0
  96. data/java-swig/ExpandDecider.java +59 -0
  97. data/java-swig/Flint.java +43 -0
  98. data/java-swig/InMemory.java +35 -0
  99. data/java-swig/MSet.java +143 -0
  100. data/java-swig/MSetIterator.java +87 -0
  101. data/java-swig/Makefile +781 -0
  102. data/java-swig/Makefile.am +132 -0
  103. data/java-swig/Makefile.in +781 -0
  104. data/java-swig/MatchDecider.java +59 -0
  105. data/java-swig/MultiValueSorter.java +51 -0
  106. data/java-swig/NumberValueRangeProcessor.java +51 -0
  107. data/java-swig/PositionIterator.java +63 -0
  108. data/java-swig/PostingIterator.java +83 -0
  109. data/java-swig/Quartz.java +43 -0
  110. data/java-swig/Query.java +189 -0
  111. data/java-swig/QueryParser.java +214 -0
  112. data/java-swig/RSet.java +79 -0
  113. data/java-swig/Remote.java +71 -0
  114. data/java-swig/SWIGTYPE_p_std__string.java +25 -0
  115. data/java-swig/SimpleStopper.java +51 -0
  116. data/java-swig/SmokeTest.java +161 -0
  117. data/java-swig/Sorter.java +59 -0
  118. data/java-swig/Stem.java +51 -0
  119. data/java-swig/Stopper.java +63 -0
  120. data/java-swig/StringValueRangeProcessor.java +43 -0
  121. data/java-swig/TermGenerator.java +158 -0
  122. data/java-swig/TermIterator.java +83 -0
  123. data/java-swig/TradWeight.java +81 -0
  124. data/java-swig/ValueIterator.java +67 -0
  125. data/java-swig/ValueRangeProcessor.java +59 -0
  126. data/java-swig/Version.java +47 -0
  127. data/java-swig/Weight.java +68 -0
  128. data/java-swig/WritableDatabase.java +123 -0
  129. data/java-swig/Xapian.java +39 -0
  130. data/java-swig/XapianConstants.java +15 -0
  131. data/java-swig/XapianJNI.java +508 -0
  132. data/java-swig/run-java-test +6 -0
  133. data/java-swig/xapian_wrap.cc +12594 -0
  134. data/java-swig/xapian_wrap.h +91 -0
  135. data/java/Makefile +660 -0
  136. data/java/Makefile.am +35 -0
  137. data/java/Makefile.in +660 -0
  138. data/java/README +76 -0
  139. data/java/SmokeTest.java +148 -0
  140. data/java/native/.deps/Database.Plo +1 -0
  141. data/java/native/.deps/Document.Plo +1 -0
  142. data/java/native/.deps/ESet.Plo +1 -0
  143. data/java/native/.deps/ESetIterator.Plo +1 -0
  144. data/java/native/.deps/Enquire.Plo +1 -0
  145. data/java/native/.deps/MSet.Plo +1 -0
  146. data/java/native/.deps/MSetIterator.Plo +1 -0
  147. data/java/native/.deps/PositionIterator.Plo +1 -0
  148. data/java/native/.deps/Query.Plo +1 -0
  149. data/java/native/.deps/RSet.Plo +1 -0
  150. data/java/native/.deps/Stem.Plo +1 -0
  151. data/java/native/.deps/TermIterator.Plo +1 -0
  152. data/java/native/.deps/WritableDatabase.Plo +1 -0
  153. data/java/native/.deps/org_xapian_XapianJNI.Plo +1 -0
  154. data/java/native/.deps/utils.Plo +1 -0
  155. data/java/native/Database.cc +222 -0
  156. data/java/native/Document.cc +173 -0
  157. data/java/native/ESet.cc +79 -0
  158. data/java/native/ESetIterator.cc +82 -0
  159. data/java/native/Enquire.cc +271 -0
  160. data/java/native/MSet.cc +169 -0
  161. data/java/native/MSetIterator.cc +107 -0
  162. data/java/native/Makefile +594 -0
  163. data/java/native/Makefile.am +51 -0
  164. data/java/native/Makefile.in +594 -0
  165. data/java/native/PositionIterator.cc +64 -0
  166. data/java/native/Query.cc +180 -0
  167. data/java/native/RSet.cc +98 -0
  168. data/java/native/Stem.cc +75 -0
  169. data/java/native/TermIterator.cc +107 -0
  170. data/java/native/WritableDatabase.cc +118 -0
  171. data/java/native/XapianObjectHolder.h +115 -0
  172. data/java/native/org_xapian_XapianJNI.cc +78 -0
  173. data/java/native/org_xapian_XapianJNI.h +1369 -0
  174. data/java/native/utils.cc +51 -0
  175. data/java/native/xapian_jni.h +116 -0
  176. data/java/org/xapian/Database.java +148 -0
  177. data/java/org/xapian/Document.java +135 -0
  178. data/java/org/xapian/ESet.java +66 -0
  179. data/java/org/xapian/ESetIterator.java +97 -0
  180. data/java/org/xapian/Enquire.java +136 -0
  181. data/java/org/xapian/ExpandDecider.java +30 -0
  182. data/java/org/xapian/MSet.java +104 -0
  183. data/java/org/xapian/MSetIterator.java +132 -0
  184. data/java/org/xapian/Makefile +580 -0
  185. data/java/org/xapian/Makefile.am +38 -0
  186. data/java/org/xapian/Makefile.in +580 -0
  187. data/java/org/xapian/MatchDecider.java +30 -0
  188. data/java/org/xapian/PositionIterator.java +89 -0
  189. data/java/org/xapian/Query.java +190 -0
  190. data/java/org/xapian/RSet.java +89 -0
  191. data/java/org/xapian/Stem.java +80 -0
  192. data/java/org/xapian/TermIterator.java +142 -0
  193. data/java/org/xapian/WritableDatabase.java +92 -0
  194. data/java/org/xapian/Xapian.java +114 -0
  195. data/java/org/xapian/XapianJNI.java +444 -0
  196. data/java/org/xapian/errors/AssertionError.java +40 -0
  197. data/java/org/xapian/errors/DatabaseCorruptError.java +40 -0
  198. data/java/org/xapian/errors/DatabaseError.java +40 -0
  199. data/java/org/xapian/errors/DatabaseLockError.java +40 -0
  200. data/java/org/xapian/errors/DatabaseModifiedError.java +40 -0
  201. data/java/org/xapian/errors/DatabaseOpeningError.java +40 -0
  202. data/java/org/xapian/errors/DocNotFoundError.java +40 -0
  203. data/java/org/xapian/errors/FeatureUnavailableError.java +40 -0
  204. data/java/org/xapian/errors/InternalError.java +40 -0
  205. data/java/org/xapian/errors/InvalidArgumentError.java +40 -0
  206. data/java/org/xapian/errors/InvalidOperationError.java +40 -0
  207. data/java/org/xapian/errors/LogicError.java +40 -0
  208. data/java/org/xapian/errors/Makefile +416 -0
  209. data/java/org/xapian/errors/Makefile.am +32 -0
  210. data/java/org/xapian/errors/Makefile.in +416 -0
  211. data/java/org/xapian/errors/NetworkError.java +40 -0
  212. data/java/org/xapian/errors/NetworkTimeoutError.java +40 -0
  213. data/java/org/xapian/errors/RangeError.java +40 -0
  214. data/java/org/xapian/errors/RuntimeError.java +40 -0
  215. data/java/org/xapian/errors/UnimplementedError.java +40 -0
  216. data/java/org/xapian/errors/XapianError.java +40 -0
  217. data/java/org/xapian/errors/XapianRuntimeError.java +49 -0
  218. data/java/org/xapian/examples/Makefile +391 -0
  219. data/java/org/xapian/examples/Makefile.am +8 -0
  220. data/java/org/xapian/examples/Makefile.in +391 -0
  221. data/java/org/xapian/examples/SimpleIndex.java +68 -0
  222. data/java/org/xapian/examples/SimpleSearch.java +71 -0
  223. data/java/run-java-test +6 -0
  224. data/libtool +7618 -0
  225. data/ltmain.sh +6956 -0
  226. data/mhs-xapian.gemspec +368 -0
  227. data/missing +378 -0
  228. data/php/.deps/xapian_wrap.Plo +1 -0
  229. data/php/Makefile +871 -0
  230. data/php/Makefile.am +82 -0
  231. data/php/Makefile.in +871 -0
  232. data/php/docs/Makefile +453 -0
  233. data/php/docs/Makefile.am +19 -0
  234. data/php/docs/Makefile.in +453 -0
  235. data/php/docs/examples/simpleexpand.php4 +108 -0
  236. data/php/docs/examples/simpleexpand.php5 +104 -0
  237. data/php/docs/examples/simpleindex.php4 +76 -0
  238. data/php/docs/examples/simpleindex.php5 +73 -0
  239. data/php/docs/examples/simplesearch.php4 +75 -0
  240. data/php/docs/examples/simplesearch.php5 +72 -0
  241. data/php/docs/index.html +313 -0
  242. data/php/except.i +98 -0
  243. data/php/php4/php_xapian.h +323 -0
  244. data/php/php4/xapian.php +32 -0
  245. data/php/php4/xapian_wrap.cc +27656 -0
  246. data/php/php5/php_xapian.h +319 -0
  247. data/php/php5/xapian.php +1566 -0
  248. data/php/php5/xapian_wrap.cc +24330 -0
  249. data/php/smoketest.php +246 -0
  250. data/php/smoketest4.php +84 -0
  251. data/php/smoketest5.php +79 -0
  252. data/php/util.i +187 -0
  253. data/python/.deps/xapian_wrap.Plo +1 -0
  254. data/python/Makefile +891 -0
  255. data/python/Makefile.am +105 -0
  256. data/python/Makefile.in +891 -0
  257. data/python/doccomments.i +5134 -0
  258. data/python/docs/Makefile +448 -0
  259. data/python/docs/Makefile.am +14 -0
  260. data/python/docs/Makefile.in +448 -0
  261. data/python/docs/examples/simpleexpand.py +98 -0
  262. data/python/docs/examples/simpleindex.py +65 -0
  263. data/python/docs/examples/simplematchdecider.py +78 -0
  264. data/python/docs/examples/simplesearch.py +65 -0
  265. data/python/docs/index.html +420 -0
  266. data/python/except.i +290 -0
  267. data/python/extra.i +1048 -0
  268. data/python/extracomments.i +28 -0
  269. data/python/generate-python-exceptions +189 -0
  270. data/python/generate-python-exceptions.in +189 -0
  271. data/python/modern/xapian.py +5662 -0
  272. data/python/modern/xapian_wrap.cc +35170 -0
  273. data/python/modern/xapian_wrap.h +244 -0
  274. data/python/pythontest.py +1110 -0
  275. data/python/smoketest.py +328 -0
  276. data/python/testsuite.py +382 -0
  277. data/python/util.i +517 -0
  278. data/ruby/.deps/xapian_wrap.Plo +494 -0
  279. data/ruby/.libs/_xapian.bundle +0 -0
  280. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist +25 -0
  281. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle +0 -0
  282. data/ruby/.libs/_xapian.la +35 -0
  283. data/ruby/.libs/_xapian.lai +35 -0
  284. data/ruby/Makefile +854 -0
  285. data/ruby/Makefile.am +62 -0
  286. data/ruby/Makefile.in +854 -0
  287. data/ruby/_xapian.la +35 -0
  288. data/ruby/docs/Makefile +487 -0
  289. data/ruby/docs/Makefile.am +50 -0
  290. data/ruby/docs/Makefile.in +487 -0
  291. data/ruby/docs/examples/simpleexpand.rb +98 -0
  292. data/ruby/docs/examples/simpleindex.rb +60 -0
  293. data/ruby/docs/examples/simplematchdecider.rb +74 -0
  294. data/ruby/docs/examples/simplesearch.rb +63 -0
  295. data/ruby/docs/index.html +197 -0
  296. data/ruby/smoketest.rb +211 -0
  297. data/ruby/util.i +232 -0
  298. data/ruby/xapian.rb +280 -0
  299. data/ruby/xapian_wrap.cc +25837 -0
  300. data/ruby/xapian_wrap.h +65 -0
  301. data/ruby/xapian_wrap.lo +12 -0
  302. data/skiptest +2 -0
  303. data/stamp-h1 +1 -0
  304. data/tcl8/.deps/xapian_wrap.Plo +1 -0
  305. data/tcl8/Makefile +835 -0
  306. data/tcl8/Makefile.am +49 -0
  307. data/tcl8/Makefile.in +835 -0
  308. data/tcl8/docs/Makefile +448 -0
  309. data/tcl8/docs/Makefile.am +14 -0
  310. data/tcl8/docs/Makefile.in +448 -0
  311. data/tcl8/docs/examples/simpleexpand.tcl +104 -0
  312. data/tcl8/docs/examples/simpleindex.tcl +68 -0
  313. data/tcl8/docs/examples/simplesearch.tcl +66 -0
  314. data/tcl8/docs/index.html +208 -0
  315. data/tcl8/except.i +48 -0
  316. data/tcl8/pkgIndex.tcl +1 -0
  317. data/tcl8/pkgIndex.tcl.in +1 -0
  318. data/tcl8/run-tcl-test +15 -0
  319. data/tcl8/runtest.tcl +29 -0
  320. data/tcl8/smoketest.tcl +155 -0
  321. data/tcl8/util.i +76 -0
  322. data/tcl8/xapian_wrap.cc +20900 -0
  323. data/xapian-bindings.spec +206 -0
  324. data/xapian-bindings.spec.in +206 -0
  325. data/xapian-version.h +1 -0
  326. data/xapian-version.h.in +1 -0
  327. data/xapian.i +939 -0
  328. metadata +395 -0
Binary file
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>English</string>
7
+ <key>CFBundleIdentifier</key>
8
+ <string>com.apple.xcode.dsym._xapian.bundle</string>
9
+ <key>CFBundleInfoDictionaryVersion</key>
10
+ <string>6.0</string>
11
+ <key>CFBundlePackageType</key>
12
+ <string>dSYM</string>
13
+ <key>CFBundleSignature</key>
14
+ <string>????</string>
15
+ <key>CFBundleShortVersionString</key>
16
+ <string>1.0</string>
17
+ <key>CFBundleVersion</key>
18
+ <string>1</string>
19
+ <key>dSYM_UUID</key>
20
+ <dict>
21
+ <key>i386</key>
22
+ <string>08B11D5A-CF19-5436-A1F3-4C908369371E</string>
23
+ </dict>
24
+ </dict>
25
+ </plist>
@@ -0,0 +1,35 @@
1
+ # _xapian.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='_xapian.bundle'
9
+
10
+ # Names of this library.
11
+ library_names='_xapian.bundle _xapian.bundle _xapian.bundle'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' /opt/local/lib/libxapian.la -lz -lstdc++'
18
+
19
+ # Version information for _xapian.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=no
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/opt/local/lib/ruby/site_ruby/1.8/i686-darwin9'
@@ -0,0 +1,35 @@
1
+ # _xapian.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='_xapian.bundle'
9
+
10
+ # Names of this library.
11
+ library_names='_xapian.bundle _xapian.bundle _xapian.bundle'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' /opt/local/lib/libxapian.la -lz -lstdc++'
18
+
19
+ # Version information for _xapian.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/opt/local/lib/ruby/site_ruby/1.8/i686-darwin9'
data/ruby/Makefile ADDED
@@ -0,0 +1,854 @@
1
+ # Makefile.in generated by automake 1.10.3 from Makefile.am.
2
+ # ruby/Makefile. Generated from Makefile.in by configure.
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6
+ # Inc.
7
+ # This Makefile.in is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy and/or distribute it,
9
+ # with or without modifications, as long as this notice is preserved.
10
+
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+ # PARTICULAR PURPOSE.
15
+
16
+
17
+
18
+
19
+
20
+ pkgdatadir = $(datadir)/xapian-bindings
21
+ pkglibdir = $(libdir)/xapian-bindings
22
+ pkgincludedir = $(includedir)/xapian-bindings
23
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
+ install_sh_DATA = $(install_sh) -c -m 644
25
+ install_sh_PROGRAM = $(install_sh) -c
26
+ install_sh_SCRIPT = $(install_sh) -c
27
+ INSTALL_HEADER = $(INSTALL_DATA)
28
+ transform = $(program_transform_name)
29
+ NORMAL_INSTALL = :
30
+ PRE_INSTALL = :
31
+ POST_INSTALL = :
32
+ NORMAL_UNINSTALL = :
33
+ PRE_UNINSTALL = :
34
+ POST_UNINSTALL = :
35
+ build_triplet = i386-apple-darwin9.8.0
36
+ host_triplet = i386-apple-darwin9.8.0
37
+ DIST_COMMON = $(dist_rubylib_DATA) $(srcdir)/../generic/generic.mk \
38
+ $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39
+ subdir = ruby
40
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
+ $(ACLOCAL_M4)
44
+ mkinstalldirs = $(install_sh) -d
45
+ CONFIG_HEADER = $(top_builddir)/config.h
46
+ CONFIG_CLEAN_FILES =
47
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
48
+ am__vpath_adj = case $$p in \
49
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
50
+ *) f=$$p;; \
51
+ esac;
52
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
53
+ am__installdirs = "$(DESTDIR)$(rubylibarchdir)" \
54
+ "$(DESTDIR)$(rubylibdir)"
55
+ rubylibarchLTLIBRARIES_INSTALL = $(INSTALL)
56
+ LTLIBRARIES = $(rubylibarch_LTLIBRARIES)
57
+ am__DEPENDENCIES_1 =
58
+ _xapian_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
59
+ am__xapian_la_OBJECTS = xapian_wrap.lo
60
+ _xapian_la_OBJECTS = $(am__xapian_la_OBJECTS)
61
+ _xapian_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
62
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
63
+ $(CXXFLAGS) $(_xapian_la_LDFLAGS) $(LDFLAGS) -o $@
64
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)
65
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
66
+ am__depfiles_maybe = depfiles
67
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
68
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
69
+ LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
70
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
71
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
72
+ CXXLD = $(CXX)
73
+ CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
74
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
75
+ $(LDFLAGS) -o $@
76
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
77
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
78
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
79
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
80
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
81
+ CCLD = $(CC)
82
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
83
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
84
+ $(LDFLAGS) -o $@
85
+ SOURCES = $(_xapian_la_SOURCES)
86
+ DIST_SOURCES = $(_xapian_la_SOURCES)
87
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
88
+ html-recursive info-recursive install-data-recursive \
89
+ install-dvi-recursive install-exec-recursive \
90
+ install-html-recursive install-info-recursive \
91
+ install-pdf-recursive install-ps-recursive install-recursive \
92
+ installcheck-recursive installdirs-recursive pdf-recursive \
93
+ ps-recursive uninstall-recursive
94
+ dist_rubylibDATA_INSTALL = $(INSTALL_DATA)
95
+ DATA = $(dist_rubylib_DATA)
96
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
97
+ distclean-recursive maintainer-clean-recursive
98
+ ETAGS = etags
99
+ CTAGS = ctags
100
+ DIST_SUBDIRS = $(SUBDIRS)
101
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
102
+ ACLOCAL = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run aclocal-1.10
103
+ AMTAR = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run tar
104
+ AR = ar
105
+ AUTOCONF = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run autoconf
106
+ AUTOHEADER = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run autoheader
107
+ AUTOM4TE = autom4te
108
+ AUTOMAKE = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run automake-1.10
109
+ AWK = gawk
110
+ BINDINGS = ruby
111
+ CC = gcc
112
+ CCDEPMODE = depmode=gcc3
113
+ CFLAGS = -g -O2
114
+ COMPAT_VERSION = 1.0.18
115
+ CPP = gcc -E
116
+ CPPFLAGS =
117
+ CSC =
118
+ CXX = g++
119
+ CXXCPP = g++ -E
120
+ CXXDEPMODE = depmode=gcc3
121
+ CXXFLAGS = -g -O2
122
+ CYGPATH_W = echo
123
+ DEFS = -DHAVE_CONFIG_H
124
+ DEPDIR = .deps
125
+ DSYMUTIL = dsymutil
126
+ ECHO = /bin/echo
127
+ ECHO_C = \c
128
+ ECHO_N =
129
+ ECHO_T =
130
+ EGREP = /usr/bin/grep -E
131
+ EXEEXT =
132
+ GACUTIL =
133
+ GREP = /usr/bin/grep
134
+ INSTALL = /opt/local/bin/ginstall -c
135
+ INSTALL_DATA = ${INSTALL} -m 644
136
+ INSTALL_PROGRAM = ${INSTALL}
137
+ INSTALL_SCRIPT = ${INSTALL}
138
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
139
+ JAR =
140
+ JAVA =
141
+ JAVAC =
142
+ JAVA_CPPFLAGS =
143
+ JAVA_CXXFLAGS = -Wall -W -Wno-unused
144
+ JAVA_HOME =
145
+ JAVA_PATHSEP =
146
+ JDK_HOME =
147
+ JNI_INCLUDE_DIR =
148
+ LDFLAGS =
149
+ LIBOBJS =
150
+ LIBS =
151
+
152
+ # `make QUIET=' overrides `./configure --enable-quiet'.
153
+ # `make QUIET=y' overrides `./configure' without `--enable-quiet'.
154
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool $(QUIET:y=--quiet)
155
+ LN_S = ln -s
156
+ LTLIBOBJS =
157
+ MAINT = #
158
+ MAKEINFO = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run makeinfo
159
+ MKDIR_P = /opt/local/bin/gmkdir -p
160
+ MONO =
161
+ NMEDIT = nmedit
162
+ NO_UNDEFINED =
163
+ OBJEXT = o
164
+ OVERRIDE_MACOSX_DEPLOYMENT_TARGET = 10.3
165
+ PACKAGE = xapian-bindings
166
+ PACKAGE_BUGREPORT = http://xapian.org/bugs
167
+ PACKAGE_NAME = xapian-bindings
168
+ PACKAGE_STRING = xapian-bindings 1.0.18
169
+ PACKAGE_TARNAME = xapian-bindings
170
+ PACKAGE_VERSION = 1.0.18
171
+ PATH_SEPARATOR = :
172
+ PERL =
173
+ PHP =
174
+ PHP_CONFIG =
175
+ PHP_EXTENSION_DIR =
176
+ PHP_INC =
177
+ PHP_LIBS =
178
+ PHP_MAJOR_VERSION =
179
+ PYTHON =
180
+ PYTHON_INC =
181
+ PYTHON_LIB =
182
+ PYTHON_LIBS =
183
+ PYTHON_SO =
184
+ RANLIB = ranlib
185
+ RDOC =
186
+ RUBY = /opt/local/bin/ruby
187
+ RUBY_DLEXT = bundle
188
+ RUBY_INC = /opt/local/lib/ruby/1.8/i686-darwin9
189
+ RUBY_INC_ARCH = /opt/local/lib/ruby/1.8/i686-darwin9
190
+ RUBY_LIB = /opt/local/lib/ruby/site_ruby/1.8
191
+ RUBY_LIBS =
192
+ RUBY_LIB_ARCH = /opt/local/lib/ruby/site_ruby/1.8/i686-darwin9
193
+ RUN_CSHARP =
194
+ SED = /opt/local/bin/gsed
195
+ SET_MAKE =
196
+ SHELL = /bin/sh
197
+ SN =
198
+ STRIP = strip
199
+ SWIG =
200
+ SWIG_CXXFLAGS = -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
201
+ SWIG_FLAGS =
202
+ TCLSH =
203
+ TCL_CPPFLAGS =
204
+ TCL_LIB =
205
+ TCL_LIBS =
206
+ VERSION = 1.0.18
207
+ VERSION_NO_SNAPSHOT = 1.0.18
208
+ XAPIAN_CONFIG = /opt/local/bin/xapian-config
209
+ XAPIAN_CXXFLAGS = -I/opt/local/include
210
+ XAPIAN_LIBS = /opt/local/lib/libxapian.la -lstdc++
211
+ XAPIAN_VERSION = 1.0.18
212
+ abs_builddir = /Users/zdennis/source/opensource_projects/xapian/ruby
213
+ abs_srcdir = /Users/zdennis/source/opensource_projects/xapian/ruby
214
+ abs_top_builddir = /Users/zdennis/source/opensource_projects/xapian
215
+ abs_top_srcdir = /Users/zdennis/source/opensource_projects/xapian
216
+ ac_ct_CC = gcc
217
+ ac_ct_CXX = g++
218
+ am__include = include
219
+ am__leading_dot = .
220
+ am__quote =
221
+ am__tar = tar --format=ustar -chf - "$$tardir"
222
+ am__untar = tar -xf -
223
+ bindir = ${exec_prefix}/bin
224
+ build = i386-apple-darwin9.8.0
225
+ build_alias =
226
+ build_cpu = i386
227
+ build_os = darwin9.8.0
228
+ build_vendor = apple
229
+ builddir = .
230
+ datadir = ${datarootdir}
231
+ datarootdir = ${prefix}/share
232
+ docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
233
+ dvidir = ${docdir}
234
+ exec_prefix = ${prefix}
235
+ host = i386-apple-darwin9.8.0
236
+ host_alias =
237
+ host_cpu = i386
238
+ host_os = darwin9.8.0
239
+ host_vendor = apple
240
+ htmldir = ${docdir}
241
+ includedir = ${prefix}/include
242
+ infodir = ${datarootdir}/info
243
+ install_sh = $(SHELL) /Users/zdennis/source/opensource_projects/xapian/install-sh
244
+ libdir = ${exec_prefix}/lib
245
+ libexecdir = ${exec_prefix}/libexec
246
+ localedir = ${datarootdir}/locale
247
+ localstatedir = ${prefix}/var
248
+ mandir = ${datarootdir}/man
249
+ mkdir_p = /opt/local/bin/gmkdir -p
250
+ oldincludedir = /usr/include
251
+ pdfdir = ${docdir}
252
+ prefix = /usr/local
253
+ program_transform_name = s,x,x,
254
+ psdir = ${docdir}
255
+ sbindir = ${exec_prefix}/sbin
256
+ sharedstatedir = ${prefix}/com
257
+ srcdir = .
258
+ sysconfdir = ${prefix}/etc
259
+ target_alias =
260
+ top_build_prefix = ../
261
+ top_builddir = ..
262
+ top_srcdir = ..
263
+
264
+ # Recover from the removal of $@. A full explanation of this is in the
265
+ # automake manual under the heading "Multiple Outputs".
266
+ make_many_locked = \
267
+ if test -f $@; then :; else \
268
+ trap 'rm -rf "$$stamp-lck" "$$stamp"' 1 2 13 15; \
269
+ if mkdir "$$stamp-lck" 2>/dev/null; then \
270
+ rm -f "$$stamp"; \
271
+ $(MAKE) $(AM_MAKEFLAGS) "$$stamp"; \
272
+ result=$$?; rm -rf "$$stamp-lck"; exit $$result; \
273
+ else \
274
+ while test -d "$$stamp-lck"; do sleep 1; done; \
275
+ test -f "$$stamp"; \
276
+ fi; \
277
+ fi
278
+
279
+ multitarget_begin = @rm -f $@-t; touch $@-t
280
+ multitarget_end = @mv -f $@-t $@
281
+ SWIG_mainsource = \
282
+ $(srcdir)/../xapian.i
283
+
284
+ SWIG_sources = \
285
+ $(SWIG_mainsource) \
286
+ $(srcdir)/../generic/except.i
287
+
288
+ SWIG_includes = \
289
+ -I$(srcdir) \
290
+ -I$(srcdir)/../generic
291
+
292
+ TESTS_ENVIRONMENT = $(RUBY) -I.libs -I$(srcdir)
293
+ TESTS = smoketest.rb
294
+ BUILT_SOURCES = xapian_wrap.cc xapian_wrap.h
295
+ EXTRA_DIST = util.i $(TESTS) $(BUILT_SOURCES)
296
+ SUBDIRS = . docs
297
+ rubylibdir = $(RUBY_LIB)
298
+ dist_rubylib_DATA = xapian.rb
299
+ rubylibarchdir = $(RUBY_LIB_ARCH)
300
+ rubylibarch_LTLIBRARIES = _xapian.la
301
+ AM_CPPFLAGS = -I$(RUBY_INC) -I$(RUBY_INC_ARCH)
302
+ AM_CXXFLAGS = -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden $(XAPIAN_CXXFLAGS)
303
+ _xapian_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)" $(NO_UNDEFINED)
304
+ _xapian_la_SOURCES = xapian_wrap.cc xapian_wrap.h
305
+ _xapian_la_LIBADD = $(XAPIAN_LIBS) $(RUBY_LIBS)
306
+ #CLEANFILES = $(BUILT_SOURCES) xapian_wrap.stamp
307
+ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
308
+
309
+ # Compatibility wrapper which configure creates when required.
310
+ DISTCLEANFILES = rubyio.h
311
+ all: $(BUILT_SOURCES)
312
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
313
+
314
+ .SUFFIXES:
315
+ .SUFFIXES: .cc .lo .o .obj
316
+ $(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(srcdir)/../generic/generic.mk $(am__configure_deps)
317
+ @for dep in $?; do \
318
+ case '$(am__configure_deps)' in \
319
+ *$$dep*) \
320
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
321
+ && { if test -f $@; then exit 0; else break; fi; }; \
322
+ exit 1;; \
323
+ esac; \
324
+ done; \
325
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/Makefile'; \
326
+ cd $(top_srcdir) && \
327
+ $(AUTOMAKE) --gnu ruby/Makefile
328
+ .PRECIOUS: Makefile
329
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330
+ @case '$?' in \
331
+ *config.status*) \
332
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
333
+ *) \
334
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
335
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
336
+ esac;
337
+
338
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
339
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340
+
341
+ $(top_srcdir)/configure: # $(am__configure_deps)
342
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343
+ $(ACLOCAL_M4): # $(am__aclocal_m4_deps)
344
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345
+ install-rubylibarchLTLIBRARIES: $(rubylibarch_LTLIBRARIES)
346
+ @$(NORMAL_INSTALL)
347
+ test -z "$(rubylibarchdir)" || $(MKDIR_P) "$(DESTDIR)$(rubylibarchdir)"
348
+ @list='$(rubylibarch_LTLIBRARIES)'; for p in $$list; do \
349
+ if test -f $$p; then \
350
+ f=$(am__strip_dir) \
351
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(rubylibarchLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(rubylibarchdir)/$$f'"; \
352
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(rubylibarchLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(rubylibarchdir)/$$f"; \
353
+ else :; fi; \
354
+ done
355
+
356
+ uninstall-rubylibarchLTLIBRARIES:
357
+ @$(NORMAL_UNINSTALL)
358
+ @list='$(rubylibarch_LTLIBRARIES)'; for p in $$list; do \
359
+ p=$(am__strip_dir) \
360
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(rubylibarchdir)/$$p'"; \
361
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(rubylibarchdir)/$$p"; \
362
+ done
363
+
364
+ clean-rubylibarchLTLIBRARIES:
365
+ -test -z "$(rubylibarch_LTLIBRARIES)" || rm -f $(rubylibarch_LTLIBRARIES)
366
+ @list='$(rubylibarch_LTLIBRARIES)'; for p in $$list; do \
367
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
368
+ test "$$dir" != "$$p" || dir=.; \
369
+ echo "rm -f \"$${dir}/so_locations\""; \
370
+ rm -f "$${dir}/so_locations"; \
371
+ done
372
+ _xapian.la: $(_xapian_la_OBJECTS) $(_xapian_la_DEPENDENCIES)
373
+ $(_xapian_la_LINK) -rpath $(rubylibarchdir) $(_xapian_la_OBJECTS) $(_xapian_la_LIBADD) $(LIBS)
374
+
375
+ mostlyclean-compile:
376
+ -rm -f *.$(OBJEXT)
377
+
378
+ distclean-compile:
379
+ -rm -f *.tab.c
380
+
381
+ include ./$(DEPDIR)/xapian_wrap.Plo
382
+
383
+ .cc.o:
384
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
385
+ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
386
+ # source='$<' object='$@' libtool=no \
387
+ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
388
+ # $(CXXCOMPILE) -c -o $@ $<
389
+
390
+ .cc.obj:
391
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
392
+ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
393
+ # source='$<' object='$@' libtool=no \
394
+ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
395
+ # $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
396
+
397
+ .cc.lo:
398
+ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
399
+ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
400
+ # source='$<' object='$@' libtool=yes \
401
+ # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
402
+ # $(LTCXXCOMPILE) -c -o $@ $<
403
+
404
+ mostlyclean-libtool:
405
+ -rm -f *.lo
406
+
407
+ clean-libtool:
408
+ -rm -rf .libs _libs
409
+ install-dist_rubylibDATA: $(dist_rubylib_DATA)
410
+ @$(NORMAL_INSTALL)
411
+ test -z "$(rubylibdir)" || $(MKDIR_P) "$(DESTDIR)$(rubylibdir)"
412
+ @list='$(dist_rubylib_DATA)'; for p in $$list; do \
413
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
414
+ f=$(am__strip_dir) \
415
+ echo " $(dist_rubylibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(rubylibdir)/$$f'"; \
416
+ $(dist_rubylibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(rubylibdir)/$$f"; \
417
+ done
418
+
419
+ uninstall-dist_rubylibDATA:
420
+ @$(NORMAL_UNINSTALL)
421
+ @list='$(dist_rubylib_DATA)'; for p in $$list; do \
422
+ f=$(am__strip_dir) \
423
+ echo " rm -f '$(DESTDIR)$(rubylibdir)/$$f'"; \
424
+ rm -f "$(DESTDIR)$(rubylibdir)/$$f"; \
425
+ done
426
+
427
+ # This directory's subdirectories are mostly independent; you can cd
428
+ # into them and run `make' without going through this Makefile.
429
+ # To change the values of `make' variables: instead of editing Makefiles,
430
+ # (1) if the variable is set in `config.status', edit `config.status'
431
+ # (which will cause the Makefiles to be regenerated when you run `make');
432
+ # (2) otherwise, pass the desired values on the `make' command line.
433
+ $(RECURSIVE_TARGETS):
434
+ @fail= failcom='exit 1'; \
435
+ for f in x $$MAKEFLAGS; do \
436
+ case $$f in \
437
+ *=* | --[!k]*);; \
438
+ *k*) failcom='fail=yes';; \
439
+ esac; \
440
+ done; \
441
+ dot_seen=no; \
442
+ target=`echo $@ | sed s/-recursive//`; \
443
+ list='$(SUBDIRS)'; for subdir in $$list; do \
444
+ echo "Making $$target in $$subdir"; \
445
+ if test "$$subdir" = "."; then \
446
+ dot_seen=yes; \
447
+ local_target="$$target-am"; \
448
+ else \
449
+ local_target="$$target"; \
450
+ fi; \
451
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
452
+ || eval $$failcom; \
453
+ done; \
454
+ if test "$$dot_seen" = "no"; then \
455
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
456
+ fi; test -z "$$fail"
457
+
458
+ $(RECURSIVE_CLEAN_TARGETS):
459
+ @fail= failcom='exit 1'; \
460
+ for f in x $$MAKEFLAGS; do \
461
+ case $$f in \
462
+ *=* | --[!k]*);; \
463
+ *k*) failcom='fail=yes';; \
464
+ esac; \
465
+ done; \
466
+ dot_seen=no; \
467
+ case "$@" in \
468
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
469
+ *) list='$(SUBDIRS)' ;; \
470
+ esac; \
471
+ rev=''; for subdir in $$list; do \
472
+ if test "$$subdir" = "."; then :; else \
473
+ rev="$$subdir $$rev"; \
474
+ fi; \
475
+ done; \
476
+ rev="$$rev ."; \
477
+ target=`echo $@ | sed s/-recursive//`; \
478
+ for subdir in $$rev; do \
479
+ echo "Making $$target in $$subdir"; \
480
+ if test "$$subdir" = "."; then \
481
+ local_target="$$target-am"; \
482
+ else \
483
+ local_target="$$target"; \
484
+ fi; \
485
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
486
+ || eval $$failcom; \
487
+ done && test -z "$$fail"
488
+ tags-recursive:
489
+ list='$(SUBDIRS)'; for subdir in $$list; do \
490
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
491
+ done
492
+ ctags-recursive:
493
+ list='$(SUBDIRS)'; for subdir in $$list; do \
494
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
495
+ done
496
+
497
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
498
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
499
+ unique=`for i in $$list; do \
500
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
501
+ done | \
502
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
503
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
504
+ mkid -fID $$unique
505
+ tags: TAGS
506
+
507
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
508
+ $(TAGS_FILES) $(LISP)
509
+ tags=; \
510
+ here=`pwd`; \
511
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
512
+ include_option=--etags-include; \
513
+ empty_fix=.; \
514
+ else \
515
+ include_option=--include; \
516
+ empty_fix=; \
517
+ fi; \
518
+ list='$(SUBDIRS)'; for subdir in $$list; do \
519
+ if test "$$subdir" = .; then :; else \
520
+ test ! -f $$subdir/TAGS || \
521
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
522
+ fi; \
523
+ done; \
524
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
525
+ unique=`for i in $$list; do \
526
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
527
+ done | \
528
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
529
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
530
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
531
+ test -n "$$unique" || unique=$$empty_fix; \
532
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
533
+ $$tags $$unique; \
534
+ fi
535
+ ctags: CTAGS
536
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
537
+ $(TAGS_FILES) $(LISP)
538
+ tags=; \
539
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
540
+ unique=`for i in $$list; do \
541
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
542
+ done | \
543
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
544
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
545
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
546
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
547
+ $$tags $$unique
548
+
549
+ GTAGS:
550
+ here=`$(am__cd) $(top_builddir) && pwd` \
551
+ && cd $(top_srcdir) \
552
+ && gtags -i $(GTAGS_ARGS) $$here
553
+
554
+ distclean-tags:
555
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
556
+
557
+ check-TESTS: $(TESTS)
558
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; \
559
+ srcdir=$(srcdir); export srcdir; \
560
+ list=' $(TESTS) '; \
561
+ if test -n "$$list"; then \
562
+ for tst in $$list; do \
563
+ if test -f ./$$tst; then dir=./; \
564
+ elif test -f $$tst; then dir=; \
565
+ else dir="$(srcdir)/"; fi; \
566
+ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
567
+ all=`expr $$all + 1`; \
568
+ case " $(XFAIL_TESTS) " in \
569
+ *[\ \ ]$$tst[\ \ ]*) \
570
+ xpass=`expr $$xpass + 1`; \
571
+ failed=`expr $$failed + 1`; \
572
+ echo "XPASS: $$tst"; \
573
+ ;; \
574
+ *) \
575
+ echo "PASS: $$tst"; \
576
+ ;; \
577
+ esac; \
578
+ elif test $$? -ne 77; then \
579
+ all=`expr $$all + 1`; \
580
+ case " $(XFAIL_TESTS) " in \
581
+ *[\ \ ]$$tst[\ \ ]*) \
582
+ xfail=`expr $$xfail + 1`; \
583
+ echo "XFAIL: $$tst"; \
584
+ ;; \
585
+ *) \
586
+ failed=`expr $$failed + 1`; \
587
+ echo "FAIL: $$tst"; \
588
+ ;; \
589
+ esac; \
590
+ else \
591
+ skip=`expr $$skip + 1`; \
592
+ echo "SKIP: $$tst"; \
593
+ fi; \
594
+ done; \
595
+ if test "$$all" -eq 1; then \
596
+ tests="test"; \
597
+ All=""; \
598
+ else \
599
+ tests="tests"; \
600
+ All="All "; \
601
+ fi; \
602
+ if test "$$failed" -eq 0; then \
603
+ if test "$$xfail" -eq 0; then \
604
+ banner="$$All$$all $$tests passed"; \
605
+ else \
606
+ if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
607
+ banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
608
+ fi; \
609
+ else \
610
+ if test "$$xpass" -eq 0; then \
611
+ banner="$$failed of $$all $$tests failed"; \
612
+ else \
613
+ if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
614
+ banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
615
+ fi; \
616
+ fi; \
617
+ dashes="$$banner"; \
618
+ skipped=""; \
619
+ if test "$$skip" -ne 0; then \
620
+ if test "$$skip" -eq 1; then \
621
+ skipped="($$skip test was not run)"; \
622
+ else \
623
+ skipped="($$skip tests were not run)"; \
624
+ fi; \
625
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
626
+ dashes="$$skipped"; \
627
+ fi; \
628
+ report=""; \
629
+ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
630
+ report="Please report to $(PACKAGE_BUGREPORT)"; \
631
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
632
+ dashes="$$report"; \
633
+ fi; \
634
+ dashes=`echo "$$dashes" | sed s/./=/g`; \
635
+ echo "$$dashes"; \
636
+ echo "$$banner"; \
637
+ test -z "$$skipped" || echo "$$skipped"; \
638
+ test -z "$$report" || echo "$$report"; \
639
+ echo "$$dashes"; \
640
+ test "$$failed" -eq 0; \
641
+ else :; fi
642
+
643
+ distdir: $(DISTFILES)
644
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
645
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
646
+ list='$(DISTFILES)'; \
647
+ dist_files=`for file in $$list; do echo $$file; done | \
648
+ sed -e "s|^$$srcdirstrip/||;t" \
649
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
650
+ case $$dist_files in \
651
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
652
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
653
+ sort -u` ;; \
654
+ esac; \
655
+ for file in $$dist_files; do \
656
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
657
+ if test -d $$d/$$file; then \
658
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
659
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
660
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
661
+ fi; \
662
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
663
+ else \
664
+ test -f $(distdir)/$$file \
665
+ || cp -p $$d/$$file $(distdir)/$$file \
666
+ || exit 1; \
667
+ fi; \
668
+ done
669
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
670
+ if test "$$subdir" = .; then :; else \
671
+ test -d "$(distdir)/$$subdir" \
672
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
673
+ || exit 1; \
674
+ distdir=`$(am__cd) $(distdir) && pwd`; \
675
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
676
+ (cd $$subdir && \
677
+ $(MAKE) $(AM_MAKEFLAGS) \
678
+ top_distdir="$$top_distdir" \
679
+ distdir="$$distdir/$$subdir" \
680
+ am__remove_distdir=: \
681
+ am__skip_length_check=: \
682
+ distdir) \
683
+ || exit 1; \
684
+ fi; \
685
+ done
686
+ check-am: all-am
687
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
688
+ check: $(BUILT_SOURCES)
689
+ $(MAKE) $(AM_MAKEFLAGS) check-recursive
690
+ all-am: Makefile $(LTLIBRARIES) $(DATA)
691
+ installdirs: installdirs-recursive
692
+ installdirs-am:
693
+ for dir in "$(DESTDIR)$(rubylibarchdir)" "$(DESTDIR)$(rubylibdir)"; do \
694
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
695
+ done
696
+ install: $(BUILT_SOURCES)
697
+ $(MAKE) $(AM_MAKEFLAGS) install-recursive
698
+ install-exec: install-exec-recursive
699
+ install-data: install-data-recursive
700
+ uninstall: uninstall-recursive
701
+
702
+ install-am: all-am
703
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
704
+
705
+ installcheck: installcheck-recursive
706
+ install-strip:
707
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
708
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
709
+ `test -z '$(STRIP)' || \
710
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
711
+ mostlyclean-generic:
712
+
713
+ clean-generic:
714
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
715
+
716
+ distclean-generic:
717
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
718
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
719
+
720
+ maintainer-clean-generic:
721
+ @echo "This command is intended for maintainers to use"
722
+ @echo "it deletes files that may require special tools to rebuild."
723
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
724
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
725
+ clean: clean-recursive
726
+
727
+ clean-am: clean-generic clean-libtool clean-rubylibarchLTLIBRARIES \
728
+ mostlyclean-am
729
+
730
+ distclean: distclean-recursive
731
+ -rm -rf ./$(DEPDIR)
732
+ -rm -f Makefile
733
+ distclean-am: clean-am distclean-compile distclean-generic \
734
+ distclean-tags
735
+
736
+ dvi: dvi-recursive
737
+
738
+ dvi-am:
739
+
740
+ html: html-recursive
741
+
742
+ html-am:
743
+
744
+ info: info-recursive
745
+
746
+ info-am:
747
+
748
+ install-data-am: install-dist_rubylibDATA \
749
+ install-rubylibarchLTLIBRARIES
750
+ @$(NORMAL_INSTALL)
751
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
752
+
753
+ install-dvi: install-dvi-recursive
754
+
755
+ install-dvi-am:
756
+
757
+ install-exec-am:
758
+
759
+ install-html: install-html-recursive
760
+
761
+ install-html-am:
762
+
763
+ install-info: install-info-recursive
764
+
765
+ install-info-am:
766
+
767
+ install-man:
768
+
769
+ install-pdf: install-pdf-recursive
770
+
771
+ install-pdf-am:
772
+
773
+ install-ps: install-ps-recursive
774
+
775
+ install-ps-am:
776
+
777
+ installcheck-am:
778
+
779
+ maintainer-clean: maintainer-clean-recursive
780
+ -rm -rf ./$(DEPDIR)
781
+ -rm -f Makefile
782
+ maintainer-clean-am: distclean-am maintainer-clean-generic
783
+
784
+ mostlyclean: mostlyclean-recursive
785
+
786
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
787
+ mostlyclean-libtool
788
+
789
+ pdf: pdf-recursive
790
+
791
+ pdf-am:
792
+
793
+ ps: ps-recursive
794
+
795
+ ps-am:
796
+
797
+ uninstall-am: uninstall-dist_rubylibDATA uninstall-local \
798
+ uninstall-rubylibarchLTLIBRARIES
799
+
800
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
801
+ install-data-am install-strip
802
+
803
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
804
+ all all-am check check-TESTS check-am clean clean-generic \
805
+ clean-libtool clean-rubylibarchLTLIBRARIES ctags \
806
+ ctags-recursive distclean distclean-compile distclean-generic \
807
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
808
+ html-am info info-am install install-am install-data \
809
+ install-data-am install-data-hook install-dist_rubylibDATA \
810
+ install-dvi install-dvi-am install-exec install-exec-am \
811
+ install-html install-html-am install-info install-info-am \
812
+ install-man install-pdf install-pdf-am install-ps \
813
+ install-ps-am install-rubylibarchLTLIBRARIES install-strip \
814
+ installcheck installcheck-am installdirs installdirs-am \
815
+ maintainer-clean maintainer-clean-generic mostlyclean \
816
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
817
+ pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
818
+ uninstall-dist_rubylibDATA uninstall-local \
819
+ uninstall-rubylibarchLTLIBRARIES
820
+
821
+
822
+ # Export these so that we run the locally installed autotools when building
823
+ # from a bootstrapped SVN tree.
824
+ #export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
825
+
826
+ # This requires GNU make, but apparently that's the default on OS X.
827
+ export MACOSX_DEPLOYMENT_TARGET=10.3
828
+
829
+ # Remove the .la file - _xapian.la is never linked against (it's a module)
830
+ # and Ruby doesn't use libltdl. Note that the library gets installed by
831
+ # install-data, so that's where we need to hook.
832
+ install-data-hook:
833
+ rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.la
834
+
835
+ # Because we don't install the .la file, "make uninstall" doesn't work and
836
+ # we need to remove the file ourselves.
837
+ uninstall-local:
838
+ rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.$(RUBY_DLEXT)
839
+
840
+ #xapian_wrap.cc xapian_wrap.h: xapian_wrap.stamp
841
+ # @stamp=xapian_wrap.stamp; $(make_many_locked)
842
+ #xapian_wrap.stamp: $(SWIG_sources) util.i
843
+ # $(multitarget_begin)
844
+ # -rm -f xapian_wrap.ccT xapian_wrap.ccU
845
+ # $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
846
+ # -initname _xapian -ruby \
847
+ # -o xapian_wrap.ccT $(SWIG_mainsource)
848
+ # awk '{print} /#include <ruby\.h>/{print "#undef rb_intern\n"}' xapian_wrap.ccT > xapian_wrap.ccU
849
+ # rm xapian_wrap.ccT
850
+ # mv xapian_wrap.ccU xapian_wrap.cc
851
+ # $(multitarget_end)
852
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
853
+ # Otherwise a system limit (for SysV at least) may be exceeded.
854
+ .NOEXPORT: