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