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/tcl8/Makefile.am ADDED
@@ -0,0 +1,49 @@
1
+ ## Process this file with automake to produce Makefile.in
2
+
3
+ include ../generic/generic.mk
4
+
5
+ TESTS_ENVIRONMENT = \
6
+ srcdir="$(srcdir)" LIBTOOL="$(LIBTOOL)" TCLSH="$(TCLSH)" $(srcdir)/run-tcl-test
7
+
8
+ ## Test programs to be run
9
+ TESTS = smoketest.tcl
10
+
11
+ EXTRA_DIST = except.i util.i $(TESTS) $(BUILT_SOURCES) run-tcl-test runtest.tcl pkgIndex.tcl.in
12
+ SUBDIRS = docs
13
+
14
+ tcllibdir = @TCL_LIB@/xapian@VERSION@
15
+
16
+ tcllib_LTLIBRARIES = xapian.la
17
+ tcllib_DATA = pkgIndex.tcl
18
+
19
+ # Remove the .la file - xapian.la is never linked against (it's a module)
20
+ # and TCL doesn't use libltdl. Note that the library gets installed by
21
+ # install-data, so that's where we need to hook.
22
+ install-data-hook:
23
+ rm -f $(DESTDIR)$(tcllibdir)/xapian.la
24
+
25
+ # Because we don't install the .la file, "make uninstall" doesn't work and
26
+ # we need to remove the file ourselves.
27
+ uninstall-local:
28
+ eval `grep '^dlname=' $(tcllib_LTLIBRARIES)` ; \
29
+ rm -f $(DESTDIR)$(tcllibdir)/"$$dlname"
30
+
31
+ AM_CPPFLAGS = @TCL_CPPFLAGS@
32
+ AM_CXXFLAGS = @SWIG_CXXFLAGS@ $(XAPIAN_CXXFLAGS)
33
+ xapian_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
34
+ nodist_xapian_la_SOURCES = xapian_wrap.cc
35
+ xapian_la_LIBADD = $(XAPIAN_LIBS) $(TCL_LIBS)
36
+
37
+ BUILT_SOURCES = xapian_wrap.cc
38
+ CLEANFILES = pkgIndex.tcl
39
+
40
+ if MAINTAINER_MODE
41
+ xapian_wrap.cc: $(SWIG_sources) except.i util.i
42
+ $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
43
+ -tcl8 -namespace -pkgversion @VERSION_NO_SNAPSHOT@ \
44
+ -o xapian_wrap.cc $(SWIG_mainsource)
45
+
46
+ CLEANFILES += $(BUILT_SOURCES)
47
+ else
48
+ MAINTAINERCLEANFILES = $(BUILT_SOURCES)
49
+ endif
data/tcl8/Makefile.in ADDED
@@ -0,0 +1,835 @@
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 = $(srcdir)/../generic/generic.mk $(srcdir)/Makefile.am \
38
+ $(srcdir)/Makefile.in $(srcdir)/pkgIndex.tcl.in
39
+ @MAINTAINER_MODE_TRUE@am__append_1 = $(BUILT_SOURCES)
40
+ subdir = tcl8
41
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
43
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44
+ $(ACLOCAL_M4)
45
+ mkinstalldirs = $(install_sh) -d
46
+ CONFIG_HEADER = $(top_builddir)/config.h
47
+ CONFIG_CLEAN_FILES = pkgIndex.tcl
48
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49
+ am__vpath_adj = case $$p in \
50
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51
+ *) f=$$p;; \
52
+ esac;
53
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54
+ am__installdirs = "$(DESTDIR)$(tcllibdir)" "$(DESTDIR)$(tcllibdir)"
55
+ tcllibLTLIBRARIES_INSTALL = $(INSTALL)
56
+ LTLIBRARIES = $(tcllib_LTLIBRARIES)
57
+ am__DEPENDENCIES_1 =
58
+ xapian_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
59
+ nodist_xapian_la_OBJECTS = xapian_wrap.lo
60
+ xapian_la_OBJECTS = $(nodist_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
+ SOURCES = $(nodist_xapian_la_SOURCES)
77
+ DIST_SOURCES =
78
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
79
+ html-recursive info-recursive install-data-recursive \
80
+ install-dvi-recursive install-exec-recursive \
81
+ install-html-recursive install-info-recursive \
82
+ install-pdf-recursive install-ps-recursive install-recursive \
83
+ installcheck-recursive installdirs-recursive pdf-recursive \
84
+ ps-recursive uninstall-recursive
85
+ tcllibDATA_INSTALL = $(INSTALL_DATA)
86
+ DATA = $(tcllib_DATA)
87
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
88
+ distclean-recursive maintainer-clean-recursive
89
+ ETAGS = etags
90
+ CTAGS = ctags
91
+ DIST_SUBDIRS = $(SUBDIRS)
92
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
93
+ ACLOCAL = @ACLOCAL@
94
+ AMTAR = @AMTAR@
95
+ AR = @AR@
96
+ AUTOCONF = @AUTOCONF@
97
+ AUTOHEADER = @AUTOHEADER@
98
+ AUTOM4TE = @AUTOM4TE@
99
+ AUTOMAKE = @AUTOMAKE@
100
+ AWK = @AWK@
101
+ BINDINGS = @BINDINGS@
102
+ CC = @CC@
103
+ CCDEPMODE = @CCDEPMODE@
104
+ CFLAGS = @CFLAGS@
105
+ COMPAT_VERSION = @COMPAT_VERSION@
106
+ CPP = @CPP@
107
+ CPPFLAGS = @CPPFLAGS@
108
+ CSC = @CSC@
109
+ CXX = @CXX@
110
+ CXXCPP = @CXXCPP@
111
+ CXXDEPMODE = @CXXDEPMODE@
112
+ CXXFLAGS = @CXXFLAGS@
113
+ CYGPATH_W = @CYGPATH_W@
114
+ DEFS = @DEFS@
115
+ DEPDIR = @DEPDIR@
116
+ DSYMUTIL = @DSYMUTIL@
117
+ ECHO = @ECHO@
118
+ ECHO_C = @ECHO_C@
119
+ ECHO_N = @ECHO_N@
120
+ ECHO_T = @ECHO_T@
121
+ EGREP = @EGREP@
122
+ EXEEXT = @EXEEXT@
123
+ GACUTIL = @GACUTIL@
124
+ GREP = @GREP@
125
+ INSTALL = @INSTALL@
126
+ INSTALL_DATA = @INSTALL_DATA@
127
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
128
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
129
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
130
+ JAR = @JAR@
131
+ JAVA = @JAVA@
132
+ JAVAC = @JAVAC@
133
+ JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
134
+ JAVA_CXXFLAGS = @JAVA_CXXFLAGS@
135
+ JAVA_HOME = @JAVA_HOME@
136
+ JAVA_PATHSEP = @JAVA_PATHSEP@
137
+ JDK_HOME = @JDK_HOME@
138
+ JNI_INCLUDE_DIR = @JNI_INCLUDE_DIR@
139
+ LDFLAGS = @LDFLAGS@
140
+ LIBOBJS = @LIBOBJS@
141
+ LIBS = @LIBS@
142
+
143
+ # `make QUIET=' overrides `./configure --enable-quiet'.
144
+ # `make QUIET=y' overrides `./configure' without `--enable-quiet'.
145
+ LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
146
+ LN_S = @LN_S@
147
+ LTLIBOBJS = @LTLIBOBJS@
148
+ MAINT = @MAINT@
149
+ MAKEINFO = @MAKEINFO@
150
+ MKDIR_P = @MKDIR_P@
151
+ MONO = @MONO@
152
+ NMEDIT = @NMEDIT@
153
+ NO_UNDEFINED = @NO_UNDEFINED@
154
+ OBJEXT = @OBJEXT@
155
+ OVERRIDE_MACOSX_DEPLOYMENT_TARGET = @OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
156
+ PACKAGE = @PACKAGE@
157
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
158
+ PACKAGE_NAME = @PACKAGE_NAME@
159
+ PACKAGE_STRING = @PACKAGE_STRING@
160
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
161
+ PACKAGE_VERSION = @PACKAGE_VERSION@
162
+ PATH_SEPARATOR = @PATH_SEPARATOR@
163
+ PERL = @PERL@
164
+ PHP = @PHP@
165
+ PHP_CONFIG = @PHP_CONFIG@
166
+ PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@
167
+ PHP_INC = @PHP_INC@
168
+ PHP_LIBS = @PHP_LIBS@
169
+ PHP_MAJOR_VERSION = @PHP_MAJOR_VERSION@
170
+ PYTHON = @PYTHON@
171
+ PYTHON_INC = @PYTHON_INC@
172
+ PYTHON_LIB = @PYTHON_LIB@
173
+ PYTHON_LIBS = @PYTHON_LIBS@
174
+ PYTHON_SO = @PYTHON_SO@
175
+ RANLIB = @RANLIB@
176
+ RDOC = @RDOC@
177
+ RUBY = @RUBY@
178
+ RUBY_DLEXT = @RUBY_DLEXT@
179
+ RUBY_INC = @RUBY_INC@
180
+ RUBY_INC_ARCH = @RUBY_INC_ARCH@
181
+ RUBY_LIB = @RUBY_LIB@
182
+ RUBY_LIBS = @RUBY_LIBS@
183
+ RUBY_LIB_ARCH = @RUBY_LIB_ARCH@
184
+ RUN_CSHARP = @RUN_CSHARP@
185
+ SED = @SED@
186
+ SET_MAKE = @SET_MAKE@
187
+ SHELL = @SHELL@
188
+ SN = @SN@
189
+ STRIP = @STRIP@
190
+ SWIG = @SWIG@
191
+ SWIG_CXXFLAGS = @SWIG_CXXFLAGS@
192
+ SWIG_FLAGS = @SWIG_FLAGS@
193
+ TCLSH = @TCLSH@
194
+ TCL_CPPFLAGS = @TCL_CPPFLAGS@
195
+ TCL_LIB = @TCL_LIB@
196
+ TCL_LIBS = @TCL_LIBS@
197
+ VERSION = @VERSION@
198
+ VERSION_NO_SNAPSHOT = @VERSION_NO_SNAPSHOT@
199
+ XAPIAN_CONFIG = @XAPIAN_CONFIG@
200
+ XAPIAN_CXXFLAGS = @XAPIAN_CXXFLAGS@
201
+ XAPIAN_LIBS = @XAPIAN_LIBS@
202
+ XAPIAN_VERSION = @XAPIAN_VERSION@
203
+ abs_builddir = @abs_builddir@
204
+ abs_srcdir = @abs_srcdir@
205
+ abs_top_builddir = @abs_top_builddir@
206
+ abs_top_srcdir = @abs_top_srcdir@
207
+ ac_ct_CC = @ac_ct_CC@
208
+ ac_ct_CXX = @ac_ct_CXX@
209
+ am__include = @am__include@
210
+ am__leading_dot = @am__leading_dot@
211
+ am__quote = @am__quote@
212
+ am__tar = @am__tar@
213
+ am__untar = @am__untar@
214
+ bindir = @bindir@
215
+ build = @build@
216
+ build_alias = @build_alias@
217
+ build_cpu = @build_cpu@
218
+ build_os = @build_os@
219
+ build_vendor = @build_vendor@
220
+ builddir = @builddir@
221
+ datadir = @datadir@
222
+ datarootdir = @datarootdir@
223
+ docdir = @docdir@
224
+ dvidir = @dvidir@
225
+ exec_prefix = @exec_prefix@
226
+ host = @host@
227
+ host_alias = @host_alias@
228
+ host_cpu = @host_cpu@
229
+ host_os = @host_os@
230
+ host_vendor = @host_vendor@
231
+ htmldir = @htmldir@
232
+ includedir = @includedir@
233
+ infodir = @infodir@
234
+ install_sh = @install_sh@
235
+ libdir = @libdir@
236
+ libexecdir = @libexecdir@
237
+ localedir = @localedir@
238
+ localstatedir = @localstatedir@
239
+ mandir = @mandir@
240
+ mkdir_p = @mkdir_p@
241
+ oldincludedir = @oldincludedir@
242
+ pdfdir = @pdfdir@
243
+ prefix = @prefix@
244
+ program_transform_name = @program_transform_name@
245
+ psdir = @psdir@
246
+ sbindir = @sbindir@
247
+ sharedstatedir = @sharedstatedir@
248
+ srcdir = @srcdir@
249
+ sysconfdir = @sysconfdir@
250
+ target_alias = @target_alias@
251
+ top_build_prefix = @top_build_prefix@
252
+ top_builddir = @top_builddir@
253
+ top_srcdir = @top_srcdir@
254
+
255
+ # Recover from the removal of $@. A full explanation of this is in the
256
+ # automake manual under the heading "Multiple Outputs".
257
+ make_many_locked = \
258
+ if test -f $@; then :; else \
259
+ trap 'rm -rf "$$stamp-lck" "$$stamp"' 1 2 13 15; \
260
+ if mkdir "$$stamp-lck" 2>/dev/null; then \
261
+ rm -f "$$stamp"; \
262
+ $(MAKE) $(AM_MAKEFLAGS) "$$stamp"; \
263
+ result=$$?; rm -rf "$$stamp-lck"; exit $$result; \
264
+ else \
265
+ while test -d "$$stamp-lck"; do sleep 1; done; \
266
+ test -f "$$stamp"; \
267
+ fi; \
268
+ fi
269
+
270
+ multitarget_begin = @rm -f $@-t; touch $@-t
271
+ multitarget_end = @mv -f $@-t $@
272
+ SWIG_mainsource = \
273
+ $(srcdir)/../xapian.i
274
+
275
+ SWIG_sources = \
276
+ $(SWIG_mainsource) \
277
+ $(srcdir)/../generic/except.i
278
+
279
+ SWIG_includes = \
280
+ -I$(srcdir) \
281
+ -I$(srcdir)/../generic
282
+
283
+ TESTS_ENVIRONMENT = \
284
+ srcdir="$(srcdir)" LIBTOOL="$(LIBTOOL)" TCLSH="$(TCLSH)" $(srcdir)/run-tcl-test
285
+
286
+ TESTS = smoketest.tcl
287
+ EXTRA_DIST = except.i util.i $(TESTS) $(BUILT_SOURCES) run-tcl-test runtest.tcl pkgIndex.tcl.in
288
+ SUBDIRS = docs
289
+ tcllibdir = @TCL_LIB@/xapian@VERSION@
290
+ tcllib_LTLIBRARIES = xapian.la
291
+ tcllib_DATA = pkgIndex.tcl
292
+ AM_CPPFLAGS = @TCL_CPPFLAGS@
293
+ AM_CXXFLAGS = @SWIG_CXXFLAGS@ $(XAPIAN_CXXFLAGS)
294
+ xapian_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
295
+ nodist_xapian_la_SOURCES = xapian_wrap.cc
296
+ xapian_la_LIBADD = $(XAPIAN_LIBS) $(TCL_LIBS)
297
+ BUILT_SOURCES = xapian_wrap.cc
298
+ CLEANFILES = pkgIndex.tcl $(am__append_1)
299
+ @MAINTAINER_MODE_FALSE@MAINTAINERCLEANFILES = $(BUILT_SOURCES)
300
+ all: $(BUILT_SOURCES)
301
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
302
+
303
+ .SUFFIXES:
304
+ .SUFFIXES: .cc .lo .o .obj
305
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../generic/generic.mk $(am__configure_deps)
306
+ @for dep in $?; do \
307
+ case '$(am__configure_deps)' in \
308
+ *$$dep*) \
309
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
310
+ && { if test -f $@; then exit 0; else break; fi; }; \
311
+ exit 1;; \
312
+ esac; \
313
+ done; \
314
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tcl8/Makefile'; \
315
+ cd $(top_srcdir) && \
316
+ $(AUTOMAKE) --gnu tcl8/Makefile
317
+ .PRECIOUS: Makefile
318
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
319
+ @case '$?' in \
320
+ *config.status*) \
321
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
322
+ *) \
323
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
324
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
325
+ esac;
326
+
327
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
328
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329
+
330
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
331
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
333
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
334
+ pkgIndex.tcl: $(top_builddir)/config.status $(srcdir)/pkgIndex.tcl.in
335
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
336
+ install-tcllibLTLIBRARIES: $(tcllib_LTLIBRARIES)
337
+ @$(NORMAL_INSTALL)
338
+ test -z "$(tcllibdir)" || $(MKDIR_P) "$(DESTDIR)$(tcllibdir)"
339
+ @list='$(tcllib_LTLIBRARIES)'; for p in $$list; do \
340
+ if test -f $$p; then \
341
+ f=$(am__strip_dir) \
342
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(tcllibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(tcllibdir)/$$f'"; \
343
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(tcllibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(tcllibdir)/$$f"; \
344
+ else :; fi; \
345
+ done
346
+
347
+ uninstall-tcllibLTLIBRARIES:
348
+ @$(NORMAL_UNINSTALL)
349
+ @list='$(tcllib_LTLIBRARIES)'; for p in $$list; do \
350
+ p=$(am__strip_dir) \
351
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(tcllibdir)/$$p'"; \
352
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(tcllibdir)/$$p"; \
353
+ done
354
+
355
+ clean-tcllibLTLIBRARIES:
356
+ -test -z "$(tcllib_LTLIBRARIES)" || rm -f $(tcllib_LTLIBRARIES)
357
+ @list='$(tcllib_LTLIBRARIES)'; for p in $$list; do \
358
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
359
+ test "$$dir" != "$$p" || dir=.; \
360
+ echo "rm -f \"$${dir}/so_locations\""; \
361
+ rm -f "$${dir}/so_locations"; \
362
+ done
363
+ xapian.la: $(xapian_la_OBJECTS) $(xapian_la_DEPENDENCIES)
364
+ $(xapian_la_LINK) -rpath $(tcllibdir) $(xapian_la_OBJECTS) $(xapian_la_LIBADD) $(LIBS)
365
+
366
+ mostlyclean-compile:
367
+ -rm -f *.$(OBJEXT)
368
+
369
+ distclean-compile:
370
+ -rm -f *.tab.c
371
+
372
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xapian_wrap.Plo@am__quote@
373
+
374
+ .cc.o:
375
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
376
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
377
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
378
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
379
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
380
+
381
+ .cc.obj:
382
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
383
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
384
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
385
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
386
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
387
+
388
+ .cc.lo:
389
+ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
390
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
391
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
392
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
393
+ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
394
+
395
+ mostlyclean-libtool:
396
+ -rm -f *.lo
397
+
398
+ clean-libtool:
399
+ -rm -rf .libs _libs
400
+ install-tcllibDATA: $(tcllib_DATA)
401
+ @$(NORMAL_INSTALL)
402
+ test -z "$(tcllibdir)" || $(MKDIR_P) "$(DESTDIR)$(tcllibdir)"
403
+ @list='$(tcllib_DATA)'; for p in $$list; do \
404
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
405
+ f=$(am__strip_dir) \
406
+ echo " $(tcllibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(tcllibdir)/$$f'"; \
407
+ $(tcllibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(tcllibdir)/$$f"; \
408
+ done
409
+
410
+ uninstall-tcllibDATA:
411
+ @$(NORMAL_UNINSTALL)
412
+ @list='$(tcllib_DATA)'; for p in $$list; do \
413
+ f=$(am__strip_dir) \
414
+ echo " rm -f '$(DESTDIR)$(tcllibdir)/$$f'"; \
415
+ rm -f "$(DESTDIR)$(tcllibdir)/$$f"; \
416
+ done
417
+
418
+ # This directory's subdirectories are mostly independent; you can cd
419
+ # into them and run `make' without going through this Makefile.
420
+ # To change the values of `make' variables: instead of editing Makefiles,
421
+ # (1) if the variable is set in `config.status', edit `config.status'
422
+ # (which will cause the Makefiles to be regenerated when you run `make');
423
+ # (2) otherwise, pass the desired values on the `make' command line.
424
+ $(RECURSIVE_TARGETS):
425
+ @fail= failcom='exit 1'; \
426
+ for f in x $$MAKEFLAGS; do \
427
+ case $$f in \
428
+ *=* | --[!k]*);; \
429
+ *k*) failcom='fail=yes';; \
430
+ esac; \
431
+ done; \
432
+ dot_seen=no; \
433
+ target=`echo $@ | sed s/-recursive//`; \
434
+ list='$(SUBDIRS)'; for subdir in $$list; do \
435
+ echo "Making $$target in $$subdir"; \
436
+ if test "$$subdir" = "."; then \
437
+ dot_seen=yes; \
438
+ local_target="$$target-am"; \
439
+ else \
440
+ local_target="$$target"; \
441
+ fi; \
442
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
443
+ || eval $$failcom; \
444
+ done; \
445
+ if test "$$dot_seen" = "no"; then \
446
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
447
+ fi; test -z "$$fail"
448
+
449
+ $(RECURSIVE_CLEAN_TARGETS):
450
+ @fail= failcom='exit 1'; \
451
+ for f in x $$MAKEFLAGS; do \
452
+ case $$f in \
453
+ *=* | --[!k]*);; \
454
+ *k*) failcom='fail=yes';; \
455
+ esac; \
456
+ done; \
457
+ dot_seen=no; \
458
+ case "$@" in \
459
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
460
+ *) list='$(SUBDIRS)' ;; \
461
+ esac; \
462
+ rev=''; for subdir in $$list; do \
463
+ if test "$$subdir" = "."; then :; else \
464
+ rev="$$subdir $$rev"; \
465
+ fi; \
466
+ done; \
467
+ rev="$$rev ."; \
468
+ target=`echo $@ | sed s/-recursive//`; \
469
+ for subdir in $$rev; do \
470
+ echo "Making $$target in $$subdir"; \
471
+ if test "$$subdir" = "."; then \
472
+ local_target="$$target-am"; \
473
+ else \
474
+ local_target="$$target"; \
475
+ fi; \
476
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
477
+ || eval $$failcom; \
478
+ done && test -z "$$fail"
479
+ tags-recursive:
480
+ list='$(SUBDIRS)'; for subdir in $$list; do \
481
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
482
+ done
483
+ ctags-recursive:
484
+ list='$(SUBDIRS)'; for subdir in $$list; do \
485
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
486
+ done
487
+
488
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
489
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
490
+ unique=`for i in $$list; do \
491
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
492
+ done | \
493
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
494
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
495
+ mkid -fID $$unique
496
+ tags: TAGS
497
+
498
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
499
+ $(TAGS_FILES) $(LISP)
500
+ tags=; \
501
+ here=`pwd`; \
502
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
503
+ include_option=--etags-include; \
504
+ empty_fix=.; \
505
+ else \
506
+ include_option=--include; \
507
+ empty_fix=; \
508
+ fi; \
509
+ list='$(SUBDIRS)'; for subdir in $$list; do \
510
+ if test "$$subdir" = .; then :; else \
511
+ test ! -f $$subdir/TAGS || \
512
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
513
+ fi; \
514
+ done; \
515
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
516
+ unique=`for i in $$list; do \
517
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
518
+ done | \
519
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
520
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
521
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
522
+ test -n "$$unique" || unique=$$empty_fix; \
523
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524
+ $$tags $$unique; \
525
+ fi
526
+ ctags: CTAGS
527
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
528
+ $(TAGS_FILES) $(LISP)
529
+ tags=; \
530
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
531
+ unique=`for i in $$list; do \
532
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
533
+ done | \
534
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
535
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
536
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
537
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
538
+ $$tags $$unique
539
+
540
+ GTAGS:
541
+ here=`$(am__cd) $(top_builddir) && pwd` \
542
+ && cd $(top_srcdir) \
543
+ && gtags -i $(GTAGS_ARGS) $$here
544
+
545
+ distclean-tags:
546
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
547
+
548
+ check-TESTS: $(TESTS)
549
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; \
550
+ srcdir=$(srcdir); export srcdir; \
551
+ list=' $(TESTS) '; \
552
+ if test -n "$$list"; then \
553
+ for tst in $$list; do \
554
+ if test -f ./$$tst; then dir=./; \
555
+ elif test -f $$tst; then dir=; \
556
+ else dir="$(srcdir)/"; fi; \
557
+ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
558
+ all=`expr $$all + 1`; \
559
+ case " $(XFAIL_TESTS) " in \
560
+ *[\ \ ]$$tst[\ \ ]*) \
561
+ xpass=`expr $$xpass + 1`; \
562
+ failed=`expr $$failed + 1`; \
563
+ echo "XPASS: $$tst"; \
564
+ ;; \
565
+ *) \
566
+ echo "PASS: $$tst"; \
567
+ ;; \
568
+ esac; \
569
+ elif test $$? -ne 77; then \
570
+ all=`expr $$all + 1`; \
571
+ case " $(XFAIL_TESTS) " in \
572
+ *[\ \ ]$$tst[\ \ ]*) \
573
+ xfail=`expr $$xfail + 1`; \
574
+ echo "XFAIL: $$tst"; \
575
+ ;; \
576
+ *) \
577
+ failed=`expr $$failed + 1`; \
578
+ echo "FAIL: $$tst"; \
579
+ ;; \
580
+ esac; \
581
+ else \
582
+ skip=`expr $$skip + 1`; \
583
+ echo "SKIP: $$tst"; \
584
+ fi; \
585
+ done; \
586
+ if test "$$all" -eq 1; then \
587
+ tests="test"; \
588
+ All=""; \
589
+ else \
590
+ tests="tests"; \
591
+ All="All "; \
592
+ fi; \
593
+ if test "$$failed" -eq 0; then \
594
+ if test "$$xfail" -eq 0; then \
595
+ banner="$$All$$all $$tests passed"; \
596
+ else \
597
+ if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
598
+ banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
599
+ fi; \
600
+ else \
601
+ if test "$$xpass" -eq 0; then \
602
+ banner="$$failed of $$all $$tests failed"; \
603
+ else \
604
+ if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
605
+ banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
606
+ fi; \
607
+ fi; \
608
+ dashes="$$banner"; \
609
+ skipped=""; \
610
+ if test "$$skip" -ne 0; then \
611
+ if test "$$skip" -eq 1; then \
612
+ skipped="($$skip test was not run)"; \
613
+ else \
614
+ skipped="($$skip tests were not run)"; \
615
+ fi; \
616
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
617
+ dashes="$$skipped"; \
618
+ fi; \
619
+ report=""; \
620
+ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
621
+ report="Please report to $(PACKAGE_BUGREPORT)"; \
622
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
623
+ dashes="$$report"; \
624
+ fi; \
625
+ dashes=`echo "$$dashes" | sed s/./=/g`; \
626
+ echo "$$dashes"; \
627
+ echo "$$banner"; \
628
+ test -z "$$skipped" || echo "$$skipped"; \
629
+ test -z "$$report" || echo "$$report"; \
630
+ echo "$$dashes"; \
631
+ test "$$failed" -eq 0; \
632
+ else :; fi
633
+
634
+ distdir: $(DISTFILES)
635
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
636
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
637
+ list='$(DISTFILES)'; \
638
+ dist_files=`for file in $$list; do echo $$file; done | \
639
+ sed -e "s|^$$srcdirstrip/||;t" \
640
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
641
+ case $$dist_files in \
642
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
643
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
644
+ sort -u` ;; \
645
+ esac; \
646
+ for file in $$dist_files; do \
647
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
648
+ if test -d $$d/$$file; then \
649
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
650
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
651
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
652
+ fi; \
653
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
654
+ else \
655
+ test -f $(distdir)/$$file \
656
+ || cp -p $$d/$$file $(distdir)/$$file \
657
+ || exit 1; \
658
+ fi; \
659
+ done
660
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
661
+ if test "$$subdir" = .; then :; else \
662
+ test -d "$(distdir)/$$subdir" \
663
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
664
+ || exit 1; \
665
+ distdir=`$(am__cd) $(distdir) && pwd`; \
666
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
667
+ (cd $$subdir && \
668
+ $(MAKE) $(AM_MAKEFLAGS) \
669
+ top_distdir="$$top_distdir" \
670
+ distdir="$$distdir/$$subdir" \
671
+ am__remove_distdir=: \
672
+ am__skip_length_check=: \
673
+ distdir) \
674
+ || exit 1; \
675
+ fi; \
676
+ done
677
+ check-am: all-am
678
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
679
+ check: $(BUILT_SOURCES)
680
+ $(MAKE) $(AM_MAKEFLAGS) check-recursive
681
+ all-am: Makefile $(LTLIBRARIES) $(DATA)
682
+ installdirs: installdirs-recursive
683
+ installdirs-am:
684
+ for dir in "$(DESTDIR)$(tcllibdir)" "$(DESTDIR)$(tcllibdir)"; do \
685
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
686
+ done
687
+ install: $(BUILT_SOURCES)
688
+ $(MAKE) $(AM_MAKEFLAGS) install-recursive
689
+ install-exec: install-exec-recursive
690
+ install-data: install-data-recursive
691
+ uninstall: uninstall-recursive
692
+
693
+ install-am: all-am
694
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
695
+
696
+ installcheck: installcheck-recursive
697
+ install-strip:
698
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
699
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
700
+ `test -z '$(STRIP)' || \
701
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
702
+ mostlyclean-generic:
703
+
704
+ clean-generic:
705
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
706
+
707
+ distclean-generic:
708
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
709
+
710
+ maintainer-clean-generic:
711
+ @echo "This command is intended for maintainers to use"
712
+ @echo "it deletes files that may require special tools to rebuild."
713
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
714
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
715
+ clean: clean-recursive
716
+
717
+ clean-am: clean-generic clean-libtool clean-tcllibLTLIBRARIES \
718
+ mostlyclean-am
719
+
720
+ distclean: distclean-recursive
721
+ -rm -rf ./$(DEPDIR)
722
+ -rm -f Makefile
723
+ distclean-am: clean-am distclean-compile distclean-generic \
724
+ distclean-tags
725
+
726
+ dvi: dvi-recursive
727
+
728
+ dvi-am:
729
+
730
+ html: html-recursive
731
+
732
+ html-am:
733
+
734
+ info: info-recursive
735
+
736
+ info-am:
737
+
738
+ install-data-am: install-tcllibDATA install-tcllibLTLIBRARIES
739
+ @$(NORMAL_INSTALL)
740
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
741
+
742
+ install-dvi: install-dvi-recursive
743
+
744
+ install-dvi-am:
745
+
746
+ install-exec-am:
747
+
748
+ install-html: install-html-recursive
749
+
750
+ install-html-am:
751
+
752
+ install-info: install-info-recursive
753
+
754
+ install-info-am:
755
+
756
+ install-man:
757
+
758
+ install-pdf: install-pdf-recursive
759
+
760
+ install-pdf-am:
761
+
762
+ install-ps: install-ps-recursive
763
+
764
+ install-ps-am:
765
+
766
+ installcheck-am:
767
+
768
+ maintainer-clean: maintainer-clean-recursive
769
+ -rm -rf ./$(DEPDIR)
770
+ -rm -f Makefile
771
+ maintainer-clean-am: distclean-am maintainer-clean-generic
772
+
773
+ mostlyclean: mostlyclean-recursive
774
+
775
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
776
+ mostlyclean-libtool
777
+
778
+ pdf: pdf-recursive
779
+
780
+ pdf-am:
781
+
782
+ ps: ps-recursive
783
+
784
+ ps-am:
785
+
786
+ uninstall-am: uninstall-local uninstall-tcllibDATA \
787
+ uninstall-tcllibLTLIBRARIES
788
+
789
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
790
+ install-data-am install-strip
791
+
792
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
793
+ all all-am check check-TESTS check-am clean clean-generic \
794
+ clean-libtool clean-tcllibLTLIBRARIES ctags ctags-recursive \
795
+ distclean distclean-compile distclean-generic \
796
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
797
+ html-am info info-am install install-am install-data \
798
+ install-data-am install-data-hook install-dvi install-dvi-am \
799
+ install-exec install-exec-am install-html install-html-am \
800
+ install-info install-info-am install-man install-pdf \
801
+ install-pdf-am install-ps install-ps-am install-strip \
802
+ install-tcllibDATA install-tcllibLTLIBRARIES installcheck \
803
+ installcheck-am installdirs installdirs-am maintainer-clean \
804
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
805
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
806
+ tags tags-recursive uninstall uninstall-am uninstall-local \
807
+ uninstall-tcllibDATA uninstall-tcllibLTLIBRARIES
808
+
809
+
810
+ # Export these so that we run the locally installed autotools when building
811
+ # from a bootstrapped SVN tree.
812
+ @MAINTAINER_MODE_TRUE@export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
813
+
814
+ # This requires GNU make, but apparently that's the default on OS X.
815
+ @OVERRIDE_MACOSX_DEPLOYMENT_TARGET_TRUE@export MACOSX_DEPLOYMENT_TARGET=@OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
816
+
817
+ # Remove the .la file - xapian.la is never linked against (it's a module)
818
+ # and TCL doesn't use libltdl. Note that the library gets installed by
819
+ # install-data, so that's where we need to hook.
820
+ install-data-hook:
821
+ rm -f $(DESTDIR)$(tcllibdir)/xapian.la
822
+
823
+ # Because we don't install the .la file, "make uninstall" doesn't work and
824
+ # we need to remove the file ourselves.
825
+ uninstall-local:
826
+ eval `grep '^dlname=' $(tcllib_LTLIBRARIES)` ; \
827
+ rm -f $(DESTDIR)$(tcllibdir)/"$$dlname"
828
+
829
+ @MAINTAINER_MODE_TRUE@xapian_wrap.cc: $(SWIG_sources) except.i util.i
830
+ @MAINTAINER_MODE_TRUE@ $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
831
+ @MAINTAINER_MODE_TRUE@ -tcl8 -namespace -pkgversion @VERSION_NO_SNAPSHOT@ \
832
+ @MAINTAINER_MODE_TRUE@ -o xapian_wrap.cc $(SWIG_mainsource)
833
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
834
+ # Otherwise a system limit (for SysV at least) may be exceeded.
835
+ .NOEXPORT: