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