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
data/ruby/Makefile.am ADDED
@@ -0,0 +1,62 @@
1
+ ## Process this file with automake to produce Makefile.in
2
+
3
+ include ../generic/generic.mk
4
+
5
+ TESTS_ENVIRONMENT = $(RUBY) -I.libs -I$(srcdir)
6
+
7
+ ## Test programs to be run
8
+ TESTS = smoketest.rb
9
+
10
+ BUILT_SOURCES = xapian_wrap.cc xapian_wrap.h
11
+
12
+ EXTRA_DIST = util.i $(TESTS) $(BUILT_SOURCES)
13
+
14
+ SUBDIRS = . docs
15
+
16
+ rubylibdir = $(RUBY_LIB)
17
+ dist_rubylib_DATA = xapian.rb
18
+
19
+ rubylibarchdir = $(RUBY_LIB_ARCH)
20
+ rubylibarch_LTLIBRARIES = _xapian.la
21
+
22
+ # Remove the .la file - _xapian.la is never linked against (it's a module)
23
+ # and Ruby doesn't use libltdl. Note that the library gets installed by
24
+ # install-data, so that's where we need to hook.
25
+ install-data-hook:
26
+ rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.la
27
+
28
+ # Because we don't install the .la file, "make uninstall" doesn't work and
29
+ # we need to remove the file ourselves.
30
+ uninstall-local:
31
+ rm -f $(DESTDIR)$(rubylibarchdir)/_xapian.$(RUBY_DLEXT)
32
+
33
+ AM_CPPFLAGS = -I$(RUBY_INC) -I$(RUBY_INC_ARCH)
34
+ AM_CXXFLAGS = @SWIG_CXXFLAGS@ $(XAPIAN_CXXFLAGS)
35
+ _xapian_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)" $(NO_UNDEFINED)
36
+ _xapian_la_SOURCES = xapian_wrap.cc xapian_wrap.h
37
+ _xapian_la_LIBADD = $(XAPIAN_LIBS) $(RUBY_LIBS)
38
+
39
+ if MAINTAINER_MODE
40
+ xapian_wrap.cc xapian_wrap.h: xapian_wrap.stamp
41
+ @stamp=xapian_wrap.stamp; $(make_many_locked)
42
+ xapian_wrap.stamp: $(SWIG_sources) util.i
43
+ $(multitarget_begin)
44
+ -rm -f xapian_wrap.ccT xapian_wrap.ccU
45
+ $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
46
+ -initname _xapian -ruby \
47
+ -o xapian_wrap.ccT $(SWIG_mainsource)
48
+ ## In Ruby 1.9, there's a memoisation optimisation wrapper for
49
+ ## rb_intern under GCC which breaks SWIG's usage so disable this so
50
+ ## the code compiles.
51
+ awk '{print} /#include <ruby\.h>/{print "#undef rb_intern\n"}' xapian_wrap.ccT > xapian_wrap.ccU
52
+ rm xapian_wrap.ccT
53
+ mv xapian_wrap.ccU xapian_wrap.cc
54
+ $(multitarget_end)
55
+
56
+ CLEANFILES = $(BUILT_SOURCES) xapian_wrap.stamp
57
+ else
58
+ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
59
+ endif
60
+
61
+ # Compatibility wrapper which configure creates when required.
62
+ DISTCLEANFILES = rubyio.h
data/ruby/Makefile.in ADDED
@@ -0,0 +1,854 @@
1
+ # Makefile.in generated by automake 1.10.3 from Makefile.am.
2
+ # @configure_input@
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
+ @SET_MAKE@
17
+
18
+
19
+ VPATH = @srcdir@
20
+ pkgdatadir = $(datadir)/@PACKAGE@
21
+ pkglibdir = $(libdir)/@PACKAGE@
22
+ pkgincludedir = $(includedir)/@PACKAGE@
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 = @build@
36
+ host_triplet = @host@
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.@am__isrc@ -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 = @ACLOCAL@
103
+ AMTAR = @AMTAR@
104
+ AR = @AR@
105
+ AUTOCONF = @AUTOCONF@
106
+ AUTOHEADER = @AUTOHEADER@
107
+ AUTOM4TE = @AUTOM4TE@
108
+ AUTOMAKE = @AUTOMAKE@
109
+ AWK = @AWK@
110
+ BINDINGS = @BINDINGS@
111
+ CC = @CC@
112
+ CCDEPMODE = @CCDEPMODE@
113
+ CFLAGS = @CFLAGS@
114
+ COMPAT_VERSION = @COMPAT_VERSION@
115
+ CPP = @CPP@
116
+ CPPFLAGS = @CPPFLAGS@
117
+ CSC = @CSC@
118
+ CXX = @CXX@
119
+ CXXCPP = @CXXCPP@
120
+ CXXDEPMODE = @CXXDEPMODE@
121
+ CXXFLAGS = @CXXFLAGS@
122
+ CYGPATH_W = @CYGPATH_W@
123
+ DEFS = @DEFS@
124
+ DEPDIR = @DEPDIR@
125
+ DSYMUTIL = @DSYMUTIL@
126
+ ECHO = @ECHO@
127
+ ECHO_C = @ECHO_C@
128
+ ECHO_N = @ECHO_N@
129
+ ECHO_T = @ECHO_T@
130
+ EGREP = @EGREP@
131
+ EXEEXT = @EXEEXT@
132
+ GACUTIL = @GACUTIL@
133
+ GREP = @GREP@
134
+ INSTALL = @INSTALL@
135
+ INSTALL_DATA = @INSTALL_DATA@
136
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
137
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
138
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
139
+ JAR = @JAR@
140
+ JAVA = @JAVA@
141
+ JAVAC = @JAVAC@
142
+ JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
143
+ JAVA_CXXFLAGS = @JAVA_CXXFLAGS@
144
+ JAVA_HOME = @JAVA_HOME@
145
+ JAVA_PATHSEP = @JAVA_PATHSEP@
146
+ JDK_HOME = @JDK_HOME@
147
+ JNI_INCLUDE_DIR = @JNI_INCLUDE_DIR@
148
+ LDFLAGS = @LDFLAGS@
149
+ LIBOBJS = @LIBOBJS@
150
+ LIBS = @LIBS@
151
+
152
+ # `make QUIET=' overrides `./configure --enable-quiet'.
153
+ # `make QUIET=y' overrides `./configure' without `--enable-quiet'.
154
+ LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
155
+ LN_S = @LN_S@
156
+ LTLIBOBJS = @LTLIBOBJS@
157
+ MAINT = @MAINT@
158
+ MAKEINFO = @MAKEINFO@
159
+ MKDIR_P = @MKDIR_P@
160
+ MONO = @MONO@
161
+ NMEDIT = @NMEDIT@
162
+ NO_UNDEFINED = @NO_UNDEFINED@
163
+ OBJEXT = @OBJEXT@
164
+ OVERRIDE_MACOSX_DEPLOYMENT_TARGET = @OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
165
+ PACKAGE = @PACKAGE@
166
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
167
+ PACKAGE_NAME = @PACKAGE_NAME@
168
+ PACKAGE_STRING = @PACKAGE_STRING@
169
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
170
+ PACKAGE_VERSION = @PACKAGE_VERSION@
171
+ PATH_SEPARATOR = @PATH_SEPARATOR@
172
+ PERL = @PERL@
173
+ PHP = @PHP@
174
+ PHP_CONFIG = @PHP_CONFIG@
175
+ PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@
176
+ PHP_INC = @PHP_INC@
177
+ PHP_LIBS = @PHP_LIBS@
178
+ PHP_MAJOR_VERSION = @PHP_MAJOR_VERSION@
179
+ PYTHON = @PYTHON@
180
+ PYTHON_INC = @PYTHON_INC@
181
+ PYTHON_LIB = @PYTHON_LIB@
182
+ PYTHON_LIBS = @PYTHON_LIBS@
183
+ PYTHON_SO = @PYTHON_SO@
184
+ RANLIB = @RANLIB@
185
+ RDOC = @RDOC@
186
+ RUBY = @RUBY@
187
+ RUBY_DLEXT = @RUBY_DLEXT@
188
+ RUBY_INC = @RUBY_INC@
189
+ RUBY_INC_ARCH = @RUBY_INC_ARCH@
190
+ RUBY_LIB = @RUBY_LIB@
191
+ RUBY_LIBS = @RUBY_LIBS@
192
+ RUBY_LIB_ARCH = @RUBY_LIB_ARCH@
193
+ RUN_CSHARP = @RUN_CSHARP@
194
+ SED = @SED@
195
+ SET_MAKE = @SET_MAKE@
196
+ SHELL = @SHELL@
197
+ SN = @SN@
198
+ STRIP = @STRIP@
199
+ SWIG = @SWIG@
200
+ SWIG_CXXFLAGS = @SWIG_CXXFLAGS@
201
+ SWIG_FLAGS = @SWIG_FLAGS@
202
+ TCLSH = @TCLSH@
203
+ TCL_CPPFLAGS = @TCL_CPPFLAGS@
204
+ TCL_LIB = @TCL_LIB@
205
+ TCL_LIBS = @TCL_LIBS@
206
+ VERSION = @VERSION@
207
+ VERSION_NO_SNAPSHOT = @VERSION_NO_SNAPSHOT@
208
+ XAPIAN_CONFIG = @XAPIAN_CONFIG@
209
+ XAPIAN_CXXFLAGS = @XAPIAN_CXXFLAGS@
210
+ XAPIAN_LIBS = @XAPIAN_LIBS@
211
+ XAPIAN_VERSION = @XAPIAN_VERSION@
212
+ abs_builddir = @abs_builddir@
213
+ abs_srcdir = @abs_srcdir@
214
+ abs_top_builddir = @abs_top_builddir@
215
+ abs_top_srcdir = @abs_top_srcdir@
216
+ ac_ct_CC = @ac_ct_CC@
217
+ ac_ct_CXX = @ac_ct_CXX@
218
+ am__include = @am__include@
219
+ am__leading_dot = @am__leading_dot@
220
+ am__quote = @am__quote@
221
+ am__tar = @am__tar@
222
+ am__untar = @am__untar@
223
+ bindir = @bindir@
224
+ build = @build@
225
+ build_alias = @build_alias@
226
+ build_cpu = @build_cpu@
227
+ build_os = @build_os@
228
+ build_vendor = @build_vendor@
229
+ builddir = @builddir@
230
+ datadir = @datadir@
231
+ datarootdir = @datarootdir@
232
+ docdir = @docdir@
233
+ dvidir = @dvidir@
234
+ exec_prefix = @exec_prefix@
235
+ host = @host@
236
+ host_alias = @host_alias@
237
+ host_cpu = @host_cpu@
238
+ host_os = @host_os@
239
+ host_vendor = @host_vendor@
240
+ htmldir = @htmldir@
241
+ includedir = @includedir@
242
+ infodir = @infodir@
243
+ install_sh = @install_sh@
244
+ libdir = @libdir@
245
+ libexecdir = @libexecdir@
246
+ localedir = @localedir@
247
+ localstatedir = @localstatedir@
248
+ mandir = @mandir@
249
+ mkdir_p = @mkdir_p@
250
+ oldincludedir = @oldincludedir@
251
+ pdfdir = @pdfdir@
252
+ prefix = @prefix@
253
+ program_transform_name = @program_transform_name@
254
+ psdir = @psdir@
255
+ sbindir = @sbindir@
256
+ sharedstatedir = @sharedstatedir@
257
+ srcdir = @srcdir@
258
+ sysconfdir = @sysconfdir@
259
+ target_alias = @target_alias@
260
+ top_build_prefix = @top_build_prefix@
261
+ top_builddir = @top_builddir@
262
+ top_srcdir = @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 = @SWIG_CXXFLAGS@ $(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
+ @MAINTAINER_MODE_TRUE@CLEANFILES = $(BUILT_SOURCES) xapian_wrap.stamp
307
+ @MAINTAINER_MODE_FALSE@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: @MAINTAINER_MODE_TRUE@ $(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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
342
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xapian_wrap.Plo@am__quote@
382
+
383
+ .cc.o:
384
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
385
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
386
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
387
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
388
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
389
+
390
+ .cc.obj:
391
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
392
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
393
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
394
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
395
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
396
+
397
+ .cc.lo:
398
+ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
399
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
400
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
401
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
402
+ @am__fastdepCXX_FALSE@ $(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
+ @MAINTAINER_MODE_TRUE@export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
825
+
826
+ # This requires GNU make, but apparently that's the default on OS X.
827
+ @OVERRIDE_MACOSX_DEPLOYMENT_TARGET_TRUE@export MACOSX_DEPLOYMENT_TARGET=@OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
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
+ @MAINTAINER_MODE_TRUE@xapian_wrap.cc xapian_wrap.h: xapian_wrap.stamp
841
+ @MAINTAINER_MODE_TRUE@ @stamp=xapian_wrap.stamp; $(make_many_locked)
842
+ @MAINTAINER_MODE_TRUE@xapian_wrap.stamp: $(SWIG_sources) util.i
843
+ @MAINTAINER_MODE_TRUE@ $(multitarget_begin)
844
+ @MAINTAINER_MODE_TRUE@ -rm -f xapian_wrap.ccT xapian_wrap.ccU
845
+ @MAINTAINER_MODE_TRUE@ $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
846
+ @MAINTAINER_MODE_TRUE@ -initname _xapian -ruby \
847
+ @MAINTAINER_MODE_TRUE@ -o xapian_wrap.ccT $(SWIG_mainsource)
848
+ @MAINTAINER_MODE_TRUE@ awk '{print} /#include <ruby\.h>/{print "#undef rb_intern\n"}' xapian_wrap.ccT > xapian_wrap.ccU
849
+ @MAINTAINER_MODE_TRUE@ rm xapian_wrap.ccT
850
+ @MAINTAINER_MODE_TRUE@ mv xapian_wrap.ccU xapian_wrap.cc
851
+ @MAINTAINER_MODE_TRUE@ $(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: