mhs-xapian 1.0.18a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/AUTHORS +1 -0
- data/COPYING +340 -0
- data/ChangeLog +5876 -0
- data/HACKING +101 -0
- data/INSTALL +293 -0
- data/Makefile +722 -0
- data/Makefile.am +26 -0
- data/Makefile.in +722 -0
- data/NEWS +2110 -0
- data/README +59 -0
- data/Rakefile +51 -0
- data/TODO +47 -0
- data/aclocal.m4 +7675 -0
- data/config.guess +1501 -0
- data/config.h +56 -0
- data/config.h.in +55 -0
- data/config.status +1298 -0
- data/config.sub +1705 -0
- data/configure +18536 -0
- data/configure.ac +944 -0
- data/csharp/.deps/xapian_wrap.Plo +1 -0
- data/csharp/AssemblyInfo.cs +40 -0
- data/csharp/AssemblyInfo.cs.in +40 -0
- data/csharp/Auto.cs +46 -0
- data/csharp/BM25Weight.cs +107 -0
- data/csharp/BoolWeight.cs +103 -0
- data/csharp/Database.cs +275 -0
- data/csharp/DateValueRangeProcessor.cs +61 -0
- data/csharp/Document.cs +177 -0
- data/csharp/ESet.cs +94 -0
- data/csharp/ESetIterator.cs +117 -0
- data/csharp/Enquire.cs +274 -0
- data/csharp/ExpandDecider.cs +76 -0
- data/csharp/Flint.cs +58 -0
- data/csharp/InMemory.cs +46 -0
- data/csharp/MSet.cs +193 -0
- data/csharp/MSetIterator.cs +141 -0
- data/csharp/Makefile +868 -0
- data/csharp/Makefile.am +106 -0
- data/csharp/Makefile.in +868 -0
- data/csharp/MatchDecider.cs +76 -0
- data/csharp/MultiValueSorter.cs +63 -0
- data/csharp/NumberValueRangeProcessor.cs +61 -0
- data/csharp/PositionIterator.cs +101 -0
- data/csharp/PostingIterator.cs +125 -0
- data/csharp/Quartz.cs +58 -0
- data/csharp/Query.cs +150 -0
- data/csharp/QueryParser.cs +174 -0
- data/csharp/RSet.cs +102 -0
- data/csharp/Remote.cs +100 -0
- data/csharp/SWIGTYPE_p_std__string.cs +30 -0
- data/csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs +30 -0
- data/csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs +30 -0
- data/csharp/SimpleStopper.cs +64 -0
- data/csharp/SmokeTest.cs +178 -0
- data/csharp/Sorter.cs +76 -0
- data/csharp/Stem.cs +66 -0
- data/csharp/Stopper.cs +91 -0
- data/csharp/StringValueRangeProcessor.cs +53 -0
- data/csharp/TermGenerator.cs +152 -0
- data/csharp/TermIterator.cs +125 -0
- data/csharp/TradWeight.cs +107 -0
- data/csharp/ValueIterator.cs +102 -0
- data/csharp/ValueRangeProcessor.cs +76 -0
- data/csharp/Version.cs +60 -0
- data/csharp/Weight.cs +93 -0
- data/csharp/WritableDatabase.cs +153 -0
- data/csharp/Xapian.cs +65 -0
- data/csharp/XapianPINVOKE.cs +1527 -0
- data/csharp/docs/Makefile +450 -0
- data/csharp/docs/Makefile.am +16 -0
- data/csharp/docs/Makefile.in +450 -0
- data/csharp/docs/examples/SimpleExpand.cs +109 -0
- data/csharp/docs/examples/SimpleIndex.cs +71 -0
- data/csharp/docs/examples/SimpleSearch.cs +78 -0
- data/csharp/docs/index.html +211 -0
- data/csharp/util.i +233 -0
- data/csharp/xapian_wrap.cc +10338 -0
- data/csharp/xapian_wrap.h +93 -0
- data/depcomp +632 -0
- data/extconf.rb +20 -0
- data/generic/except.i +80 -0
- data/generic/generic.mk +48 -0
- data/install-sh +520 -0
- data/java-swig/.deps/xapian_wrap.Plo +1 -0
- data/java-swig/Auto.java +35 -0
- data/java-swig/BM25Weight.java +81 -0
- data/java-swig/BoolWeight.java +77 -0
- data/java-swig/Database.java +195 -0
- data/java-swig/DateValueRangeProcessor.java +51 -0
- data/java-swig/Document.java +135 -0
- data/java-swig/ESet.java +71 -0
- data/java-swig/ESetIterator.java +71 -0
- data/java-swig/Enquire.java +246 -0
- data/java-swig/ExpandDecider.java +59 -0
- data/java-swig/Flint.java +43 -0
- data/java-swig/InMemory.java +35 -0
- data/java-swig/MSet.java +143 -0
- data/java-swig/MSetIterator.java +87 -0
- data/java-swig/Makefile +781 -0
- data/java-swig/Makefile.am +132 -0
- data/java-swig/Makefile.in +781 -0
- data/java-swig/MatchDecider.java +59 -0
- data/java-swig/MultiValueSorter.java +51 -0
- data/java-swig/NumberValueRangeProcessor.java +51 -0
- data/java-swig/PositionIterator.java +63 -0
- data/java-swig/PostingIterator.java +83 -0
- data/java-swig/Quartz.java +43 -0
- data/java-swig/Query.java +189 -0
- data/java-swig/QueryParser.java +214 -0
- data/java-swig/RSet.java +79 -0
- data/java-swig/Remote.java +71 -0
- data/java-swig/SWIGTYPE_p_std__string.java +25 -0
- data/java-swig/SimpleStopper.java +51 -0
- data/java-swig/SmokeTest.java +161 -0
- data/java-swig/Sorter.java +59 -0
- data/java-swig/Stem.java +51 -0
- data/java-swig/Stopper.java +63 -0
- data/java-swig/StringValueRangeProcessor.java +43 -0
- data/java-swig/TermGenerator.java +158 -0
- data/java-swig/TermIterator.java +83 -0
- data/java-swig/TradWeight.java +81 -0
- data/java-swig/ValueIterator.java +67 -0
- data/java-swig/ValueRangeProcessor.java +59 -0
- data/java-swig/Version.java +47 -0
- data/java-swig/Weight.java +68 -0
- data/java-swig/WritableDatabase.java +123 -0
- data/java-swig/Xapian.java +39 -0
- data/java-swig/XapianConstants.java +15 -0
- data/java-swig/XapianJNI.java +508 -0
- data/java-swig/run-java-test +6 -0
- data/java-swig/xapian_wrap.cc +12594 -0
- data/java-swig/xapian_wrap.h +91 -0
- data/java/Makefile +660 -0
- data/java/Makefile.am +35 -0
- data/java/Makefile.in +660 -0
- data/java/README +76 -0
- data/java/SmokeTest.java +148 -0
- data/java/native/.deps/Database.Plo +1 -0
- data/java/native/.deps/Document.Plo +1 -0
- data/java/native/.deps/ESet.Plo +1 -0
- data/java/native/.deps/ESetIterator.Plo +1 -0
- data/java/native/.deps/Enquire.Plo +1 -0
- data/java/native/.deps/MSet.Plo +1 -0
- data/java/native/.deps/MSetIterator.Plo +1 -0
- data/java/native/.deps/PositionIterator.Plo +1 -0
- data/java/native/.deps/Query.Plo +1 -0
- data/java/native/.deps/RSet.Plo +1 -0
- data/java/native/.deps/Stem.Plo +1 -0
- data/java/native/.deps/TermIterator.Plo +1 -0
- data/java/native/.deps/WritableDatabase.Plo +1 -0
- data/java/native/.deps/org_xapian_XapianJNI.Plo +1 -0
- data/java/native/.deps/utils.Plo +1 -0
- data/java/native/Database.cc +222 -0
- data/java/native/Document.cc +173 -0
- data/java/native/ESet.cc +79 -0
- data/java/native/ESetIterator.cc +82 -0
- data/java/native/Enquire.cc +271 -0
- data/java/native/MSet.cc +169 -0
- data/java/native/MSetIterator.cc +107 -0
- data/java/native/Makefile +594 -0
- data/java/native/Makefile.am +51 -0
- data/java/native/Makefile.in +594 -0
- data/java/native/PositionIterator.cc +64 -0
- data/java/native/Query.cc +180 -0
- data/java/native/RSet.cc +98 -0
- data/java/native/Stem.cc +75 -0
- data/java/native/TermIterator.cc +107 -0
- data/java/native/WritableDatabase.cc +118 -0
- data/java/native/XapianObjectHolder.h +115 -0
- data/java/native/org_xapian_XapianJNI.cc +78 -0
- data/java/native/org_xapian_XapianJNI.h +1369 -0
- data/java/native/utils.cc +51 -0
- data/java/native/xapian_jni.h +116 -0
- data/java/org/xapian/Database.java +148 -0
- data/java/org/xapian/Document.java +135 -0
- data/java/org/xapian/ESet.java +66 -0
- data/java/org/xapian/ESetIterator.java +97 -0
- data/java/org/xapian/Enquire.java +136 -0
- data/java/org/xapian/ExpandDecider.java +30 -0
- data/java/org/xapian/MSet.java +104 -0
- data/java/org/xapian/MSetIterator.java +132 -0
- data/java/org/xapian/Makefile +580 -0
- data/java/org/xapian/Makefile.am +38 -0
- data/java/org/xapian/Makefile.in +580 -0
- data/java/org/xapian/MatchDecider.java +30 -0
- data/java/org/xapian/PositionIterator.java +89 -0
- data/java/org/xapian/Query.java +190 -0
- data/java/org/xapian/RSet.java +89 -0
- data/java/org/xapian/Stem.java +80 -0
- data/java/org/xapian/TermIterator.java +142 -0
- data/java/org/xapian/WritableDatabase.java +92 -0
- data/java/org/xapian/Xapian.java +114 -0
- data/java/org/xapian/XapianJNI.java +444 -0
- data/java/org/xapian/errors/AssertionError.java +40 -0
- data/java/org/xapian/errors/DatabaseCorruptError.java +40 -0
- data/java/org/xapian/errors/DatabaseError.java +40 -0
- data/java/org/xapian/errors/DatabaseLockError.java +40 -0
- data/java/org/xapian/errors/DatabaseModifiedError.java +40 -0
- data/java/org/xapian/errors/DatabaseOpeningError.java +40 -0
- data/java/org/xapian/errors/DocNotFoundError.java +40 -0
- data/java/org/xapian/errors/FeatureUnavailableError.java +40 -0
- data/java/org/xapian/errors/InternalError.java +40 -0
- data/java/org/xapian/errors/InvalidArgumentError.java +40 -0
- data/java/org/xapian/errors/InvalidOperationError.java +40 -0
- data/java/org/xapian/errors/LogicError.java +40 -0
- data/java/org/xapian/errors/Makefile +416 -0
- data/java/org/xapian/errors/Makefile.am +32 -0
- data/java/org/xapian/errors/Makefile.in +416 -0
- data/java/org/xapian/errors/NetworkError.java +40 -0
- data/java/org/xapian/errors/NetworkTimeoutError.java +40 -0
- data/java/org/xapian/errors/RangeError.java +40 -0
- data/java/org/xapian/errors/RuntimeError.java +40 -0
- data/java/org/xapian/errors/UnimplementedError.java +40 -0
- data/java/org/xapian/errors/XapianError.java +40 -0
- data/java/org/xapian/errors/XapianRuntimeError.java +49 -0
- data/java/org/xapian/examples/Makefile +391 -0
- data/java/org/xapian/examples/Makefile.am +8 -0
- data/java/org/xapian/examples/Makefile.in +391 -0
- data/java/org/xapian/examples/SimpleIndex.java +68 -0
- data/java/org/xapian/examples/SimpleSearch.java +71 -0
- data/java/run-java-test +6 -0
- data/libtool +7618 -0
- data/ltmain.sh +6956 -0
- data/mhs-xapian.gemspec +368 -0
- data/missing +378 -0
- data/php/.deps/xapian_wrap.Plo +1 -0
- data/php/Makefile +871 -0
- data/php/Makefile.am +82 -0
- data/php/Makefile.in +871 -0
- data/php/docs/Makefile +453 -0
- data/php/docs/Makefile.am +19 -0
- data/php/docs/Makefile.in +453 -0
- data/php/docs/examples/simpleexpand.php4 +108 -0
- data/php/docs/examples/simpleexpand.php5 +104 -0
- data/php/docs/examples/simpleindex.php4 +76 -0
- data/php/docs/examples/simpleindex.php5 +73 -0
- data/php/docs/examples/simplesearch.php4 +75 -0
- data/php/docs/examples/simplesearch.php5 +72 -0
- data/php/docs/index.html +313 -0
- data/php/except.i +98 -0
- data/php/php4/php_xapian.h +323 -0
- data/php/php4/xapian.php +32 -0
- data/php/php4/xapian_wrap.cc +27656 -0
- data/php/php5/php_xapian.h +319 -0
- data/php/php5/xapian.php +1566 -0
- data/php/php5/xapian_wrap.cc +24330 -0
- data/php/smoketest.php +246 -0
- data/php/smoketest4.php +84 -0
- data/php/smoketest5.php +79 -0
- data/php/util.i +187 -0
- data/python/.deps/xapian_wrap.Plo +1 -0
- data/python/Makefile +891 -0
- data/python/Makefile.am +105 -0
- data/python/Makefile.in +891 -0
- data/python/doccomments.i +5134 -0
- data/python/docs/Makefile +448 -0
- data/python/docs/Makefile.am +14 -0
- data/python/docs/Makefile.in +448 -0
- data/python/docs/examples/simpleexpand.py +98 -0
- data/python/docs/examples/simpleindex.py +65 -0
- data/python/docs/examples/simplematchdecider.py +78 -0
- data/python/docs/examples/simplesearch.py +65 -0
- data/python/docs/index.html +420 -0
- data/python/except.i +290 -0
- data/python/extra.i +1048 -0
- data/python/extracomments.i +28 -0
- data/python/generate-python-exceptions +189 -0
- data/python/generate-python-exceptions.in +189 -0
- data/python/modern/xapian.py +5662 -0
- data/python/modern/xapian_wrap.cc +35170 -0
- data/python/modern/xapian_wrap.h +244 -0
- data/python/pythontest.py +1110 -0
- data/python/smoketest.py +328 -0
- data/python/testsuite.py +382 -0
- data/python/util.i +517 -0
- data/ruby/.deps/xapian_wrap.Plo +494 -0
- data/ruby/.libs/_xapian.bundle +0 -0
- data/ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist +25 -0
- data/ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle +0 -0
- data/ruby/.libs/_xapian.la +35 -0
- data/ruby/.libs/_xapian.lai +35 -0
- data/ruby/Makefile +854 -0
- data/ruby/Makefile.am +62 -0
- data/ruby/Makefile.in +854 -0
- data/ruby/_xapian.la +35 -0
- data/ruby/docs/Makefile +487 -0
- data/ruby/docs/Makefile.am +50 -0
- data/ruby/docs/Makefile.in +487 -0
- data/ruby/docs/examples/simpleexpand.rb +98 -0
- data/ruby/docs/examples/simpleindex.rb +60 -0
- data/ruby/docs/examples/simplematchdecider.rb +74 -0
- data/ruby/docs/examples/simplesearch.rb +63 -0
- data/ruby/docs/index.html +197 -0
- data/ruby/smoketest.rb +211 -0
- data/ruby/util.i +232 -0
- data/ruby/xapian.rb +280 -0
- data/ruby/xapian_wrap.cc +25837 -0
- data/ruby/xapian_wrap.h +65 -0
- data/ruby/xapian_wrap.lo +12 -0
- data/skiptest +2 -0
- data/stamp-h1 +1 -0
- data/tcl8/.deps/xapian_wrap.Plo +1 -0
- data/tcl8/Makefile +835 -0
- data/tcl8/Makefile.am +49 -0
- data/tcl8/Makefile.in +835 -0
- data/tcl8/docs/Makefile +448 -0
- data/tcl8/docs/Makefile.am +14 -0
- data/tcl8/docs/Makefile.in +448 -0
- data/tcl8/docs/examples/simpleexpand.tcl +104 -0
- data/tcl8/docs/examples/simpleindex.tcl +68 -0
- data/tcl8/docs/examples/simplesearch.tcl +66 -0
- data/tcl8/docs/index.html +208 -0
- data/tcl8/except.i +48 -0
- data/tcl8/pkgIndex.tcl +1 -0
- data/tcl8/pkgIndex.tcl.in +1 -0
- data/tcl8/run-tcl-test +15 -0
- data/tcl8/runtest.tcl +29 -0
- data/tcl8/smoketest.tcl +155 -0
- data/tcl8/util.i +76 -0
- data/tcl8/xapian_wrap.cc +20900 -0
- data/xapian-bindings.spec +206 -0
- data/xapian-bindings.spec.in +206 -0
- data/xapian-version.h +1 -0
- data/xapian-version.h.in +1 -0
- data/xapian.i +939 -0
- metadata +395 -0
data/csharp/MSet.cs
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
/* ----------------------------------------------------------------------------
|
2
|
+
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
+
* Version 1.3.32
|
4
|
+
*
|
5
|
+
* Do not make changes to this file unless you know what you are doing--modify
|
6
|
+
* the SWIG interface file instead.
|
7
|
+
* ----------------------------------------------------------------------------- */
|
8
|
+
|
9
|
+
namespace Xapian {
|
10
|
+
|
11
|
+
using System;
|
12
|
+
using System.Runtime.InteropServices;
|
13
|
+
|
14
|
+
public class MSet : IDisposable {
|
15
|
+
private HandleRef swigCPtr;
|
16
|
+
protected bool swigCMemOwn;
|
17
|
+
|
18
|
+
internal MSet(IntPtr cPtr, bool cMemoryOwn) {
|
19
|
+
swigCMemOwn = cMemoryOwn;
|
20
|
+
swigCPtr = new HandleRef(this, cPtr);
|
21
|
+
}
|
22
|
+
|
23
|
+
internal static HandleRef getCPtr(MSet obj) {
|
24
|
+
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
25
|
+
}
|
26
|
+
|
27
|
+
~MSet() {
|
28
|
+
Dispose();
|
29
|
+
}
|
30
|
+
|
31
|
+
public virtual void Dispose() {
|
32
|
+
lock(this) {
|
33
|
+
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
34
|
+
swigCMemOwn = false;
|
35
|
+
XapianPINVOKE.delete_MSet(swigCPtr);
|
36
|
+
}
|
37
|
+
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
38
|
+
GC.SuppressFinalize(this);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
public MSet() : this(XapianPINVOKE.new_MSet__SWIG_0(), true) {
|
43
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
44
|
+
}
|
45
|
+
|
46
|
+
public MSet(MSet other) : this(XapianPINVOKE.new_MSet__SWIG_1(MSet.getCPtr(other)), true) {
|
47
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
48
|
+
}
|
49
|
+
|
50
|
+
public void Fetch(MSetIterator begin, MSetIterator end) {
|
51
|
+
XapianPINVOKE.MSet_Fetch__SWIG_0(swigCPtr, MSetIterator.getCPtr(begin), MSetIterator.getCPtr(end));
|
52
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
53
|
+
}
|
54
|
+
|
55
|
+
public void Fetch(MSetIterator item) {
|
56
|
+
XapianPINVOKE.MSet_Fetch__SWIG_1(swigCPtr, MSetIterator.getCPtr(item));
|
57
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
58
|
+
}
|
59
|
+
|
60
|
+
public void Fetch() {
|
61
|
+
XapianPINVOKE.MSet_Fetch__SWIG_2(swigCPtr);
|
62
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
63
|
+
}
|
64
|
+
|
65
|
+
public int ConvertToPercent(double wt) {
|
66
|
+
int ret = XapianPINVOKE.MSet_ConvertToPercent__SWIG_0(swigCPtr, wt);
|
67
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
68
|
+
return ret;
|
69
|
+
}
|
70
|
+
|
71
|
+
public int ConvertToPercent(MSetIterator item) {
|
72
|
+
int ret = XapianPINVOKE.MSet_ConvertToPercent__SWIG_1(swigCPtr, MSetIterator.getCPtr(item));
|
73
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
74
|
+
return ret;
|
75
|
+
}
|
76
|
+
|
77
|
+
public uint GetTermFreq(string tname) {
|
78
|
+
uint ret = XapianPINVOKE.MSet_GetTermFreq(swigCPtr, tname);
|
79
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
80
|
+
return ret;
|
81
|
+
}
|
82
|
+
|
83
|
+
public double GetTermWeight(string tname) {
|
84
|
+
double ret = XapianPINVOKE.MSet_GetTermWeight(swigCPtr, tname);
|
85
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
86
|
+
return ret;
|
87
|
+
}
|
88
|
+
|
89
|
+
public uint GetFirstItem() {
|
90
|
+
uint ret = XapianPINVOKE.MSet_GetFirstItem(swigCPtr);
|
91
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
92
|
+
return ret;
|
93
|
+
}
|
94
|
+
|
95
|
+
public uint GetMatchesLowerBound() {
|
96
|
+
uint ret = XapianPINVOKE.MSet_GetMatchesLowerBound(swigCPtr);
|
97
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
98
|
+
return ret;
|
99
|
+
}
|
100
|
+
|
101
|
+
public uint GetMatchesEstimated() {
|
102
|
+
uint ret = XapianPINVOKE.MSet_GetMatchesEstimated(swigCPtr);
|
103
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
104
|
+
return ret;
|
105
|
+
}
|
106
|
+
|
107
|
+
public uint GetMatchesUpperBound() {
|
108
|
+
uint ret = XapianPINVOKE.MSet_GetMatchesUpperBound(swigCPtr);
|
109
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
110
|
+
return ret;
|
111
|
+
}
|
112
|
+
|
113
|
+
public double GetMaxPossible() {
|
114
|
+
double ret = XapianPINVOKE.MSet_GetMaxPossible(swigCPtr);
|
115
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
116
|
+
return ret;
|
117
|
+
}
|
118
|
+
|
119
|
+
public double GetMaxAttained() {
|
120
|
+
double ret = XapianPINVOKE.MSet_GetMaxAttained(swigCPtr);
|
121
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
122
|
+
return ret;
|
123
|
+
}
|
124
|
+
|
125
|
+
public uint Size() {
|
126
|
+
uint ret = XapianPINVOKE.MSet_Size(swigCPtr);
|
127
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
128
|
+
return ret;
|
129
|
+
}
|
130
|
+
|
131
|
+
public bool Empty() {
|
132
|
+
bool ret = XapianPINVOKE.MSet_Empty(swigCPtr);
|
133
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
134
|
+
return ret;
|
135
|
+
}
|
136
|
+
|
137
|
+
public MSetIterator Begin() {
|
138
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSet_Begin(swigCPtr), true);
|
139
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
140
|
+
return ret;
|
141
|
+
}
|
142
|
+
|
143
|
+
public MSetIterator End() {
|
144
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSet_End(swigCPtr), true);
|
145
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
146
|
+
return ret;
|
147
|
+
}
|
148
|
+
|
149
|
+
public MSetIterator Back() {
|
150
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSet_Back(swigCPtr), true);
|
151
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
152
|
+
return ret;
|
153
|
+
}
|
154
|
+
|
155
|
+
public MSetIterator GetHit(uint i) {
|
156
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSet_GetHit(swigCPtr, i), true);
|
157
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
158
|
+
return ret;
|
159
|
+
}
|
160
|
+
|
161
|
+
public int GetDocumentPercentage(uint i) {
|
162
|
+
int ret = XapianPINVOKE.MSet_GetDocumentPercentage(swigCPtr, i);
|
163
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
164
|
+
return ret;
|
165
|
+
}
|
166
|
+
|
167
|
+
public Document GetDocument(uint i) {
|
168
|
+
Document ret = new Document(XapianPINVOKE.MSet_GetDocument(swigCPtr, i), true);
|
169
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
170
|
+
return ret;
|
171
|
+
}
|
172
|
+
|
173
|
+
public uint GetDocId(uint i) {
|
174
|
+
uint ret = XapianPINVOKE.MSet_GetDocId(swigCPtr, i);
|
175
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
176
|
+
return ret;
|
177
|
+
}
|
178
|
+
|
179
|
+
public uint GetDocumentId(uint i) {
|
180
|
+
uint ret = XapianPINVOKE.MSet_GetDocumentId(swigCPtr, i);
|
181
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
182
|
+
return ret;
|
183
|
+
}
|
184
|
+
|
185
|
+
public string GetDescription() {
|
186
|
+
string ret = XapianPINVOKE.MSet_GetDescription(swigCPtr);
|
187
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
188
|
+
return ret;
|
189
|
+
}
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
}
|
@@ -0,0 +1,141 @@
|
|
1
|
+
/* ----------------------------------------------------------------------------
|
2
|
+
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
+
* Version 1.3.32
|
4
|
+
*
|
5
|
+
* Do not make changes to this file unless you know what you are doing--modify
|
6
|
+
* the SWIG interface file instead.
|
7
|
+
* ----------------------------------------------------------------------------- */
|
8
|
+
|
9
|
+
namespace Xapian {
|
10
|
+
|
11
|
+
using System;
|
12
|
+
using System.Runtime.InteropServices;
|
13
|
+
|
14
|
+
public class MSetIterator : IDisposable {
|
15
|
+
private HandleRef swigCPtr;
|
16
|
+
protected bool swigCMemOwn;
|
17
|
+
|
18
|
+
internal MSetIterator(IntPtr cPtr, bool cMemoryOwn) {
|
19
|
+
swigCMemOwn = cMemoryOwn;
|
20
|
+
swigCPtr = new HandleRef(this, cPtr);
|
21
|
+
}
|
22
|
+
|
23
|
+
internal static HandleRef getCPtr(MSetIterator obj) {
|
24
|
+
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
25
|
+
}
|
26
|
+
|
27
|
+
~MSetIterator() {
|
28
|
+
Dispose();
|
29
|
+
}
|
30
|
+
|
31
|
+
public virtual void Dispose() {
|
32
|
+
lock(this) {
|
33
|
+
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
34
|
+
swigCMemOwn = false;
|
35
|
+
XapianPINVOKE.delete_MSetIterator(swigCPtr);
|
36
|
+
}
|
37
|
+
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
38
|
+
GC.SuppressFinalize(this);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
public static MSetIterator operator++(MSetIterator it) {
|
43
|
+
return it.Next();
|
44
|
+
}
|
45
|
+
public static MSetIterator operator--(MSetIterator it) {
|
46
|
+
return it.Prev();
|
47
|
+
}
|
48
|
+
public override bool Equals(object o) {
|
49
|
+
return o is MSetIterator && Equals((MSetIterator)o);
|
50
|
+
}
|
51
|
+
public static bool operator==(MSetIterator a, MSetIterator b) {
|
52
|
+
if ((object)a == (object)b) return true;
|
53
|
+
if ((object)a == null || (object)b == null) return false;
|
54
|
+
return a.Equals(b);
|
55
|
+
}
|
56
|
+
public static bool operator!=(MSetIterator a, MSetIterator b) {
|
57
|
+
if ((object)a == (object)b) return false;
|
58
|
+
if ((object)a == null || (object)b == null) return true;
|
59
|
+
return !a.Equals(b);
|
60
|
+
}
|
61
|
+
// Implementing GetHashCode() to always return 0 is rather lame, but
|
62
|
+
// using iterators as keys in a hash table would be rather strange.
|
63
|
+
public override int GetHashCode() { return 0; }
|
64
|
+
|
65
|
+
public MSetIterator() : this(XapianPINVOKE.new_MSetIterator__SWIG_0(), true) {
|
66
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
67
|
+
}
|
68
|
+
|
69
|
+
public MSetIterator(MSetIterator other) : this(XapianPINVOKE.new_MSetIterator__SWIG_1(MSetIterator.getCPtr(other)), true) {
|
70
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
71
|
+
}
|
72
|
+
|
73
|
+
public uint GetDocId() {
|
74
|
+
uint ret = XapianPINVOKE.MSetIterator_GetDocId(swigCPtr);
|
75
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
76
|
+
return ret;
|
77
|
+
}
|
78
|
+
|
79
|
+
public MSetIterator Next() {
|
80
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSetIterator_Next(swigCPtr), false);
|
81
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
82
|
+
return ret;
|
83
|
+
}
|
84
|
+
|
85
|
+
public MSetIterator Prev() {
|
86
|
+
MSetIterator ret = new MSetIterator(XapianPINVOKE.MSetIterator_Prev(swigCPtr), false);
|
87
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
88
|
+
return ret;
|
89
|
+
}
|
90
|
+
|
91
|
+
public bool Equals(MSetIterator other) {
|
92
|
+
bool ret = XapianPINVOKE.MSetIterator_Equals(swigCPtr, MSetIterator.getCPtr(other));
|
93
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
94
|
+
return ret;
|
95
|
+
}
|
96
|
+
|
97
|
+
public Document GetDocument() {
|
98
|
+
Document ret = new Document(XapianPINVOKE.MSetIterator_GetDocument(swigCPtr), true);
|
99
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
100
|
+
return ret;
|
101
|
+
}
|
102
|
+
|
103
|
+
public uint GetRank() {
|
104
|
+
uint ret = XapianPINVOKE.MSetIterator_GetRank(swigCPtr);
|
105
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
106
|
+
return ret;
|
107
|
+
}
|
108
|
+
|
109
|
+
public double GetWeight() {
|
110
|
+
double ret = XapianPINVOKE.MSetIterator_GetWeight(swigCPtr);
|
111
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
112
|
+
return ret;
|
113
|
+
}
|
114
|
+
|
115
|
+
public string GetCollapseKey() {
|
116
|
+
string ret = XapianPINVOKE.MSetIterator_GetCollapseKey(swigCPtr);
|
117
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
118
|
+
return ret;
|
119
|
+
}
|
120
|
+
|
121
|
+
public uint GetCollapseCount() {
|
122
|
+
uint ret = XapianPINVOKE.MSetIterator_GetCollapseCount(swigCPtr);
|
123
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
124
|
+
return ret;
|
125
|
+
}
|
126
|
+
|
127
|
+
public int GetPercent() {
|
128
|
+
int ret = XapianPINVOKE.MSetIterator_GetPercent(swigCPtr);
|
129
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
130
|
+
return ret;
|
131
|
+
}
|
132
|
+
|
133
|
+
public string GetDescription() {
|
134
|
+
string ret = XapianPINVOKE.MSetIterator_GetDescription(swigCPtr);
|
135
|
+
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
|
136
|
+
return ret;
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
}
|
data/csharp/Makefile
ADDED
@@ -0,0 +1,868 @@
|
|
1
|
+
# Makefile.in generated by automake 1.10.3 from Makefile.am.
|
2
|
+
# csharp/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
|
+
pkgdatadir = $(datadir)/xapian-bindings
|
20
|
+
pkglibdir = $(libdir)/xapian-bindings
|
21
|
+
pkgincludedir = $(includedir)/xapian-bindings
|
22
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
23
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
24
|
+
install_sh_PROGRAM = $(install_sh) -c
|
25
|
+
install_sh_SCRIPT = $(install_sh) -c
|
26
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
27
|
+
transform = $(program_transform_name)
|
28
|
+
NORMAL_INSTALL = :
|
29
|
+
PRE_INSTALL = :
|
30
|
+
POST_INSTALL = :
|
31
|
+
NORMAL_UNINSTALL = :
|
32
|
+
PRE_UNINSTALL = :
|
33
|
+
POST_UNINSTALL = :
|
34
|
+
build_triplet = i386-apple-darwin9.8.0
|
35
|
+
host_triplet = i386-apple-darwin9.8.0
|
36
|
+
DIST_COMMON = $(srcdir)/../generic/generic.mk \
|
37
|
+
$(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \
|
38
|
+
$(srcdir)/Makefile.in
|
39
|
+
#am__append_1 = $(BUILT_SOURCES) xapian_wrap.stamp
|
40
|
+
subdir = csharp
|
41
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
42
|
+
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
43
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
44
|
+
$(ACLOCAL_M4)
|
45
|
+
mkinstalldirs = $(install_sh) -d
|
46
|
+
CONFIG_HEADER = $(top_builddir)/config.h
|
47
|
+
CONFIG_CLEAN_FILES = AssemblyInfo.cs
|
48
|
+
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
49
|
+
am__vpath_adj = case $$p in \
|
50
|
+
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
51
|
+
*) f=$$p;; \
|
52
|
+
esac;
|
53
|
+
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
54
|
+
am__installdirs = "$(DESTDIR)$(libdir)"
|
55
|
+
libLTLIBRARIES_INSTALL = $(INSTALL)
|
56
|
+
LTLIBRARIES = $(lib_LTLIBRARIES)
|
57
|
+
am__DEPENDENCIES_1 =
|
58
|
+
_XapianSharp_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
59
|
+
am__XapianSharp_la_OBJECTS = xapian_wrap.lo
|
60
|
+
_XapianSharp_la_OBJECTS = $(am__XapianSharp_la_OBJECTS)
|
61
|
+
_XapianSharp_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
62
|
+
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
63
|
+
$(CXXFLAGS) $(_XapianSharp_la_LDFLAGS) $(LDFLAGS) -o $@
|
64
|
+
DEFAULT_INCLUDES = -I. -I$(top_builddir)
|
65
|
+
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
66
|
+
am__depfiles_maybe = depfiles
|
67
|
+
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
68
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
69
|
+
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
70
|
+
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
71
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
72
|
+
CXXLD = $(CXX)
|
73
|
+
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
74
|
+
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
|
75
|
+
$(LDFLAGS) -o $@
|
76
|
+
SOURCES = $(_XapianSharp_la_SOURCES)
|
77
|
+
DIST_SOURCES = $(_XapianSharp_la_SOURCES)
|
78
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
79
|
+
html-recursive info-recursive install-data-recursive \
|
80
|
+
install-dvi-recursive install-exec-recursive \
|
81
|
+
install-html-recursive install-info-recursive \
|
82
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
83
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
84
|
+
ps-recursive uninstall-recursive
|
85
|
+
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
86
|
+
distclean-recursive maintainer-clean-recursive
|
87
|
+
ETAGS = etags
|
88
|
+
CTAGS = ctags
|
89
|
+
DIST_SUBDIRS = $(SUBDIRS)
|
90
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
91
|
+
ACLOCAL = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run aclocal-1.10
|
92
|
+
AMTAR = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run tar
|
93
|
+
AR = ar
|
94
|
+
AUTOCONF = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run autoconf
|
95
|
+
AUTOHEADER = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run autoheader
|
96
|
+
AUTOM4TE = autom4te
|
97
|
+
AUTOMAKE = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run automake-1.10
|
98
|
+
AWK = gawk
|
99
|
+
BINDINGS = ruby
|
100
|
+
CC = gcc
|
101
|
+
CCDEPMODE = depmode=gcc3
|
102
|
+
CFLAGS = -g -O2
|
103
|
+
COMPAT_VERSION = 1.0.18
|
104
|
+
CPP = gcc -E
|
105
|
+
CPPFLAGS =
|
106
|
+
CSC =
|
107
|
+
CXX = g++
|
108
|
+
CXXCPP = g++ -E
|
109
|
+
CXXDEPMODE = depmode=gcc3
|
110
|
+
CXXFLAGS = -g -O2
|
111
|
+
CYGPATH_W = echo
|
112
|
+
DEFS = -DHAVE_CONFIG_H
|
113
|
+
DEPDIR = .deps
|
114
|
+
DSYMUTIL = dsymutil
|
115
|
+
ECHO = /bin/echo
|
116
|
+
ECHO_C = \c
|
117
|
+
ECHO_N =
|
118
|
+
ECHO_T =
|
119
|
+
EGREP = /usr/bin/grep -E
|
120
|
+
EXEEXT =
|
121
|
+
GACUTIL =
|
122
|
+
GREP = /usr/bin/grep
|
123
|
+
INSTALL = /opt/local/bin/ginstall -c
|
124
|
+
INSTALL_DATA = ${INSTALL} -m 644
|
125
|
+
INSTALL_PROGRAM = ${INSTALL}
|
126
|
+
INSTALL_SCRIPT = ${INSTALL}
|
127
|
+
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
128
|
+
JAR =
|
129
|
+
JAVA =
|
130
|
+
JAVAC =
|
131
|
+
JAVA_CPPFLAGS =
|
132
|
+
JAVA_CXXFLAGS = -Wall -W -Wno-unused
|
133
|
+
JAVA_HOME =
|
134
|
+
JAVA_PATHSEP =
|
135
|
+
JDK_HOME =
|
136
|
+
JNI_INCLUDE_DIR =
|
137
|
+
LDFLAGS =
|
138
|
+
LIBOBJS =
|
139
|
+
LIBS =
|
140
|
+
|
141
|
+
# `make QUIET=' overrides `./configure --enable-quiet'.
|
142
|
+
# `make QUIET=y' overrides `./configure' without `--enable-quiet'.
|
143
|
+
LIBTOOL = $(SHELL) $(top_builddir)/libtool $(QUIET:y=--quiet)
|
144
|
+
LN_S = ln -s
|
145
|
+
LTLIBOBJS =
|
146
|
+
MAINT = #
|
147
|
+
MAKEINFO = ${SHELL} /Users/zdennis/source/opensource_projects/xapian/missing --run makeinfo
|
148
|
+
MKDIR_P = /opt/local/bin/gmkdir -p
|
149
|
+
MONO =
|
150
|
+
NMEDIT = nmedit
|
151
|
+
NO_UNDEFINED =
|
152
|
+
OBJEXT = o
|
153
|
+
OVERRIDE_MACOSX_DEPLOYMENT_TARGET = 10.3
|
154
|
+
PACKAGE = xapian-bindings
|
155
|
+
PACKAGE_BUGREPORT = http://xapian.org/bugs
|
156
|
+
PACKAGE_NAME = xapian-bindings
|
157
|
+
PACKAGE_STRING = xapian-bindings 1.0.18
|
158
|
+
PACKAGE_TARNAME = xapian-bindings
|
159
|
+
PACKAGE_VERSION = 1.0.18
|
160
|
+
PATH_SEPARATOR = :
|
161
|
+
PERL =
|
162
|
+
PHP =
|
163
|
+
PHP_CONFIG =
|
164
|
+
PHP_EXTENSION_DIR =
|
165
|
+
PHP_INC =
|
166
|
+
PHP_LIBS =
|
167
|
+
PHP_MAJOR_VERSION =
|
168
|
+
PYTHON =
|
169
|
+
PYTHON_INC =
|
170
|
+
PYTHON_LIB =
|
171
|
+
PYTHON_LIBS =
|
172
|
+
PYTHON_SO =
|
173
|
+
RANLIB = ranlib
|
174
|
+
RDOC =
|
175
|
+
RUBY = /opt/local/bin/ruby
|
176
|
+
RUBY_DLEXT = bundle
|
177
|
+
RUBY_INC = /opt/local/lib/ruby/1.8/i686-darwin9
|
178
|
+
RUBY_INC_ARCH = /opt/local/lib/ruby/1.8/i686-darwin9
|
179
|
+
RUBY_LIB = /opt/local/lib/ruby/site_ruby/1.8
|
180
|
+
RUBY_LIBS =
|
181
|
+
RUBY_LIB_ARCH = /opt/local/lib/ruby/site_ruby/1.8/i686-darwin9
|
182
|
+
RUN_CSHARP =
|
183
|
+
SED = /opt/local/bin/gsed
|
184
|
+
SET_MAKE =
|
185
|
+
SHELL = /bin/sh
|
186
|
+
SN =
|
187
|
+
STRIP = strip
|
188
|
+
SWIG =
|
189
|
+
SWIG_CXXFLAGS = -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
|
190
|
+
SWIG_FLAGS =
|
191
|
+
TCLSH =
|
192
|
+
TCL_CPPFLAGS =
|
193
|
+
TCL_LIB =
|
194
|
+
TCL_LIBS =
|
195
|
+
VERSION = 1.0.18
|
196
|
+
VERSION_NO_SNAPSHOT = 1.0.18
|
197
|
+
XAPIAN_CONFIG = /opt/local/bin/xapian-config
|
198
|
+
XAPIAN_CXXFLAGS = -I/opt/local/include
|
199
|
+
XAPIAN_LIBS = /opt/local/lib/libxapian.la -lstdc++
|
200
|
+
XAPIAN_VERSION = 1.0.18
|
201
|
+
abs_builddir = /Users/zdennis/source/opensource_projects/xapian/csharp
|
202
|
+
abs_srcdir = /Users/zdennis/source/opensource_projects/xapian/csharp
|
203
|
+
abs_top_builddir = /Users/zdennis/source/opensource_projects/xapian
|
204
|
+
abs_top_srcdir = /Users/zdennis/source/opensource_projects/xapian
|
205
|
+
ac_ct_CC = gcc
|
206
|
+
ac_ct_CXX = g++
|
207
|
+
am__include = include
|
208
|
+
am__leading_dot = .
|
209
|
+
am__quote =
|
210
|
+
am__tar = tar --format=ustar -chf - "$$tardir"
|
211
|
+
am__untar = tar -xf -
|
212
|
+
bindir = ${exec_prefix}/bin
|
213
|
+
build = i386-apple-darwin9.8.0
|
214
|
+
build_alias =
|
215
|
+
build_cpu = i386
|
216
|
+
build_os = darwin9.8.0
|
217
|
+
build_vendor = apple
|
218
|
+
builddir = .
|
219
|
+
datadir = ${datarootdir}
|
220
|
+
datarootdir = ${prefix}/share
|
221
|
+
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
222
|
+
dvidir = ${docdir}
|
223
|
+
exec_prefix = ${prefix}
|
224
|
+
host = i386-apple-darwin9.8.0
|
225
|
+
host_alias =
|
226
|
+
host_cpu = i386
|
227
|
+
host_os = darwin9.8.0
|
228
|
+
host_vendor = apple
|
229
|
+
htmldir = ${docdir}
|
230
|
+
includedir = ${prefix}/include
|
231
|
+
infodir = ${datarootdir}/info
|
232
|
+
install_sh = $(SHELL) /Users/zdennis/source/opensource_projects/xapian/install-sh
|
233
|
+
libdir = ${exec_prefix}/lib
|
234
|
+
libexecdir = ${exec_prefix}/libexec
|
235
|
+
localedir = ${datarootdir}/locale
|
236
|
+
localstatedir = ${prefix}/var
|
237
|
+
mandir = ${datarootdir}/man
|
238
|
+
mkdir_p = /opt/local/bin/gmkdir -p
|
239
|
+
oldincludedir = /usr/include
|
240
|
+
pdfdir = ${docdir}
|
241
|
+
prefix = /usr/local
|
242
|
+
program_transform_name = s,x,x,
|
243
|
+
psdir = ${docdir}
|
244
|
+
sbindir = ${exec_prefix}/sbin
|
245
|
+
sharedstatedir = ${prefix}/com
|
246
|
+
srcdir = .
|
247
|
+
sysconfdir = ${prefix}/etc
|
248
|
+
target_alias =
|
249
|
+
top_build_prefix = ../
|
250
|
+
top_builddir = ..
|
251
|
+
top_srcdir = ..
|
252
|
+
|
253
|
+
# Recover from the removal of $@. A full explanation of this is in the
|
254
|
+
# automake manual under the heading "Multiple Outputs".
|
255
|
+
make_many_locked = \
|
256
|
+
if test -f $@; then :; else \
|
257
|
+
trap 'rm -rf "$$stamp-lck" "$$stamp"' 1 2 13 15; \
|
258
|
+
if mkdir "$$stamp-lck" 2>/dev/null; then \
|
259
|
+
rm -f "$$stamp"; \
|
260
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$stamp"; \
|
261
|
+
result=$$?; rm -rf "$$stamp-lck"; exit $$result; \
|
262
|
+
else \
|
263
|
+
while test -d "$$stamp-lck"; do sleep 1; done; \
|
264
|
+
test -f "$$stamp"; \
|
265
|
+
fi; \
|
266
|
+
fi
|
267
|
+
|
268
|
+
multitarget_begin = @rm -f $@-t; touch $@-t
|
269
|
+
multitarget_end = @mv -f $@-t $@
|
270
|
+
SWIG_mainsource = \
|
271
|
+
$(srcdir)/../xapian.i
|
272
|
+
|
273
|
+
SWIG_sources = \
|
274
|
+
$(SWIG_mainsource) \
|
275
|
+
$(srcdir)/../generic/except.i
|
276
|
+
|
277
|
+
SWIG_includes = \
|
278
|
+
-I$(srcdir) \
|
279
|
+
-I$(srcdir)/../generic
|
280
|
+
|
281
|
+
TESTS_ENVIRONMENT = $(RUN_CSHARP)
|
282
|
+
TESTS = SmokeTest.exe
|
283
|
+
SUBDIRS = docs
|
284
|
+
ASSEMBLY = XapianSharp
|
285
|
+
XAPIAN_SWIG_CS_SRCS = \
|
286
|
+
Auto.cs \
|
287
|
+
BM25Weight.cs \
|
288
|
+
BoolWeight.cs \
|
289
|
+
Database.cs \
|
290
|
+
DateValueRangeProcessor.cs \
|
291
|
+
Document.cs \
|
292
|
+
ESet.cs \
|
293
|
+
ESetIterator.cs \
|
294
|
+
Enquire.cs \
|
295
|
+
ExpandDecider.cs \
|
296
|
+
Flint.cs \
|
297
|
+
InMemory.cs \
|
298
|
+
MatchDecider.cs \
|
299
|
+
MSet.cs \
|
300
|
+
MSetIterator.cs \
|
301
|
+
MultiValueSorter.cs \
|
302
|
+
NumberValueRangeProcessor.cs \
|
303
|
+
PositionIterator.cs \
|
304
|
+
PostingIterator.cs \
|
305
|
+
Quartz.cs \
|
306
|
+
Query.cs \
|
307
|
+
QueryParser.cs \
|
308
|
+
Remote.cs \
|
309
|
+
RSet.cs \
|
310
|
+
SWIGTYPE_p_std__string.cs \
|
311
|
+
SWIGTYPE_p_std__vectorTstd__string_t.cs \
|
312
|
+
SWIGTYPE_p_std__vectorTXapian__Query_t.cs \
|
313
|
+
SimpleStopper.cs \
|
314
|
+
Sorter.cs \
|
315
|
+
Stem.cs \
|
316
|
+
Stopper.cs \
|
317
|
+
StringValueRangeProcessor.cs \
|
318
|
+
TermGenerator.cs \
|
319
|
+
TermIterator.cs \
|
320
|
+
TradWeight.cs \
|
321
|
+
ValueIterator.cs \
|
322
|
+
ValueRangeProcessor.cs \
|
323
|
+
Version.cs \
|
324
|
+
Weight.cs \
|
325
|
+
WritableDatabase.cs \
|
326
|
+
Xapian.cs \
|
327
|
+
XapianPINVOKE.cs
|
328
|
+
|
329
|
+
BUILT_SOURCES = xapian_wrap.cc xapian_wrap.h $(XAPIAN_SWIG_CS_SRCS)
|
330
|
+
EXTRA_DIST = util.i AssemblyInfo.cs.in SmokeTest.cs $(BUILT_SOURCES)
|
331
|
+
lib_LTLIBRARIES = _XapianSharp.la
|
332
|
+
AM_CXXFLAGS = -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden $(XAPIAN_CXXFLAGS)
|
333
|
+
_XapianSharp_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
|
334
|
+
_XapianSharp_la_SOURCES = xapian_wrap.cc
|
335
|
+
_XapianSharp_la_LIBADD = $(XAPIAN_LIBS)
|
336
|
+
CLEANFILES = XapianSharp.snk AssemblyInfo.cs $(ASSEMBLY).dll \
|
337
|
+
SmokeTest.exe $(am__append_1)
|
338
|
+
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
|
339
|
+
all: $(BUILT_SOURCES)
|
340
|
+
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
341
|
+
|
342
|
+
.SUFFIXES:
|
343
|
+
.SUFFIXES: .cc .lo .o .obj
|
344
|
+
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(srcdir)/../generic/generic.mk $(am__configure_deps)
|
345
|
+
@for dep in $?; do \
|
346
|
+
case '$(am__configure_deps)' in \
|
347
|
+
*$$dep*) \
|
348
|
+
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
349
|
+
&& { if test -f $@; then exit 0; else break; fi; }; \
|
350
|
+
exit 1;; \
|
351
|
+
esac; \
|
352
|
+
done; \
|
353
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu csharp/Makefile'; \
|
354
|
+
cd $(top_srcdir) && \
|
355
|
+
$(AUTOMAKE) --gnu csharp/Makefile
|
356
|
+
.PRECIOUS: Makefile
|
357
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
358
|
+
@case '$?' in \
|
359
|
+
*config.status*) \
|
360
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
361
|
+
*) \
|
362
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
363
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
364
|
+
esac;
|
365
|
+
|
366
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
367
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
368
|
+
|
369
|
+
$(top_srcdir)/configure: # $(am__configure_deps)
|
370
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
371
|
+
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
|
372
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
373
|
+
AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in
|
374
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
375
|
+
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
376
|
+
@$(NORMAL_INSTALL)
|
377
|
+
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
378
|
+
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
379
|
+
if test -f $$p; then \
|
380
|
+
f=$(am__strip_dir) \
|
381
|
+
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
|
382
|
+
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
383
|
+
else :; fi; \
|
384
|
+
done
|
385
|
+
|
386
|
+
uninstall-libLTLIBRARIES:
|
387
|
+
@$(NORMAL_UNINSTALL)
|
388
|
+
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
389
|
+
p=$(am__strip_dir) \
|
390
|
+
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
|
391
|
+
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
|
392
|
+
done
|
393
|
+
|
394
|
+
clean-libLTLIBRARIES:
|
395
|
+
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
396
|
+
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
397
|
+
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
398
|
+
test "$$dir" != "$$p" || dir=.; \
|
399
|
+
echo "rm -f \"$${dir}/so_locations\""; \
|
400
|
+
rm -f "$${dir}/so_locations"; \
|
401
|
+
done
|
402
|
+
_XapianSharp.la: $(_XapianSharp_la_OBJECTS) $(_XapianSharp_la_DEPENDENCIES)
|
403
|
+
$(_XapianSharp_la_LINK) -rpath $(libdir) $(_XapianSharp_la_OBJECTS) $(_XapianSharp_la_LIBADD) $(LIBS)
|
404
|
+
|
405
|
+
mostlyclean-compile:
|
406
|
+
-rm -f *.$(OBJEXT)
|
407
|
+
|
408
|
+
distclean-compile:
|
409
|
+
-rm -f *.tab.c
|
410
|
+
|
411
|
+
include ./$(DEPDIR)/xapian_wrap.Plo
|
412
|
+
|
413
|
+
.cc.o:
|
414
|
+
$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
415
|
+
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
416
|
+
# source='$<' object='$@' libtool=no \
|
417
|
+
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
|
418
|
+
# $(CXXCOMPILE) -c -o $@ $<
|
419
|
+
|
420
|
+
.cc.obj:
|
421
|
+
$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
422
|
+
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
423
|
+
# source='$<' object='$@' libtool=no \
|
424
|
+
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
|
425
|
+
# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
426
|
+
|
427
|
+
.cc.lo:
|
428
|
+
$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
429
|
+
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
430
|
+
# source='$<' object='$@' libtool=yes \
|
431
|
+
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
|
432
|
+
# $(LTCXXCOMPILE) -c -o $@ $<
|
433
|
+
|
434
|
+
mostlyclean-libtool:
|
435
|
+
-rm -f *.lo
|
436
|
+
|
437
|
+
clean-libtool:
|
438
|
+
-rm -rf .libs _libs
|
439
|
+
|
440
|
+
# This directory's subdirectories are mostly independent; you can cd
|
441
|
+
# into them and run `make' without going through this Makefile.
|
442
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
443
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
444
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
445
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
446
|
+
$(RECURSIVE_TARGETS):
|
447
|
+
@fail= failcom='exit 1'; \
|
448
|
+
for f in x $$MAKEFLAGS; do \
|
449
|
+
case $$f in \
|
450
|
+
*=* | --[!k]*);; \
|
451
|
+
*k*) failcom='fail=yes';; \
|
452
|
+
esac; \
|
453
|
+
done; \
|
454
|
+
dot_seen=no; \
|
455
|
+
target=`echo $@ | sed s/-recursive//`; \
|
456
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
457
|
+
echo "Making $$target in $$subdir"; \
|
458
|
+
if test "$$subdir" = "."; then \
|
459
|
+
dot_seen=yes; \
|
460
|
+
local_target="$$target-am"; \
|
461
|
+
else \
|
462
|
+
local_target="$$target"; \
|
463
|
+
fi; \
|
464
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
465
|
+
|| eval $$failcom; \
|
466
|
+
done; \
|
467
|
+
if test "$$dot_seen" = "no"; then \
|
468
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
469
|
+
fi; test -z "$$fail"
|
470
|
+
|
471
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
472
|
+
@fail= failcom='exit 1'; \
|
473
|
+
for f in x $$MAKEFLAGS; do \
|
474
|
+
case $$f in \
|
475
|
+
*=* | --[!k]*);; \
|
476
|
+
*k*) failcom='fail=yes';; \
|
477
|
+
esac; \
|
478
|
+
done; \
|
479
|
+
dot_seen=no; \
|
480
|
+
case "$@" in \
|
481
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
482
|
+
*) list='$(SUBDIRS)' ;; \
|
483
|
+
esac; \
|
484
|
+
rev=''; for subdir in $$list; do \
|
485
|
+
if test "$$subdir" = "."; then :; else \
|
486
|
+
rev="$$subdir $$rev"; \
|
487
|
+
fi; \
|
488
|
+
done; \
|
489
|
+
rev="$$rev ."; \
|
490
|
+
target=`echo $@ | sed s/-recursive//`; \
|
491
|
+
for subdir in $$rev; do \
|
492
|
+
echo "Making $$target in $$subdir"; \
|
493
|
+
if test "$$subdir" = "."; then \
|
494
|
+
local_target="$$target-am"; \
|
495
|
+
else \
|
496
|
+
local_target="$$target"; \
|
497
|
+
fi; \
|
498
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
499
|
+
|| eval $$failcom; \
|
500
|
+
done && test -z "$$fail"
|
501
|
+
tags-recursive:
|
502
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
503
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
504
|
+
done
|
505
|
+
ctags-recursive:
|
506
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
507
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
508
|
+
done
|
509
|
+
|
510
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
511
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
512
|
+
unique=`for i in $$list; do \
|
513
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
514
|
+
done | \
|
515
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
516
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
517
|
+
mkid -fID $$unique
|
518
|
+
tags: TAGS
|
519
|
+
|
520
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
521
|
+
$(TAGS_FILES) $(LISP)
|
522
|
+
tags=; \
|
523
|
+
here=`pwd`; \
|
524
|
+
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
525
|
+
include_option=--etags-include; \
|
526
|
+
empty_fix=.; \
|
527
|
+
else \
|
528
|
+
include_option=--include; \
|
529
|
+
empty_fix=; \
|
530
|
+
fi; \
|
531
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
532
|
+
if test "$$subdir" = .; then :; else \
|
533
|
+
test ! -f $$subdir/TAGS || \
|
534
|
+
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
535
|
+
fi; \
|
536
|
+
done; \
|
537
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
538
|
+
unique=`for i in $$list; do \
|
539
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
540
|
+
done | \
|
541
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
542
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
543
|
+
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
544
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
545
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
546
|
+
$$tags $$unique; \
|
547
|
+
fi
|
548
|
+
ctags: CTAGS
|
549
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
550
|
+
$(TAGS_FILES) $(LISP)
|
551
|
+
tags=; \
|
552
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
553
|
+
unique=`for i in $$list; do \
|
554
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
555
|
+
done | \
|
556
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
557
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
558
|
+
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
559
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
560
|
+
$$tags $$unique
|
561
|
+
|
562
|
+
GTAGS:
|
563
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
564
|
+
&& cd $(top_srcdir) \
|
565
|
+
&& gtags -i $(GTAGS_ARGS) $$here
|
566
|
+
|
567
|
+
distclean-tags:
|
568
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
569
|
+
|
570
|
+
check-TESTS: $(TESTS)
|
571
|
+
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
|
572
|
+
srcdir=$(srcdir); export srcdir; \
|
573
|
+
list=' $(TESTS) '; \
|
574
|
+
if test -n "$$list"; then \
|
575
|
+
for tst in $$list; do \
|
576
|
+
if test -f ./$$tst; then dir=./; \
|
577
|
+
elif test -f $$tst; then dir=; \
|
578
|
+
else dir="$(srcdir)/"; fi; \
|
579
|
+
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
580
|
+
all=`expr $$all + 1`; \
|
581
|
+
case " $(XFAIL_TESTS) " in \
|
582
|
+
*[\ \ ]$$tst[\ \ ]*) \
|
583
|
+
xpass=`expr $$xpass + 1`; \
|
584
|
+
failed=`expr $$failed + 1`; \
|
585
|
+
echo "XPASS: $$tst"; \
|
586
|
+
;; \
|
587
|
+
*) \
|
588
|
+
echo "PASS: $$tst"; \
|
589
|
+
;; \
|
590
|
+
esac; \
|
591
|
+
elif test $$? -ne 77; then \
|
592
|
+
all=`expr $$all + 1`; \
|
593
|
+
case " $(XFAIL_TESTS) " in \
|
594
|
+
*[\ \ ]$$tst[\ \ ]*) \
|
595
|
+
xfail=`expr $$xfail + 1`; \
|
596
|
+
echo "XFAIL: $$tst"; \
|
597
|
+
;; \
|
598
|
+
*) \
|
599
|
+
failed=`expr $$failed + 1`; \
|
600
|
+
echo "FAIL: $$tst"; \
|
601
|
+
;; \
|
602
|
+
esac; \
|
603
|
+
else \
|
604
|
+
skip=`expr $$skip + 1`; \
|
605
|
+
echo "SKIP: $$tst"; \
|
606
|
+
fi; \
|
607
|
+
done; \
|
608
|
+
if test "$$all" -eq 1; then \
|
609
|
+
tests="test"; \
|
610
|
+
All=""; \
|
611
|
+
else \
|
612
|
+
tests="tests"; \
|
613
|
+
All="All "; \
|
614
|
+
fi; \
|
615
|
+
if test "$$failed" -eq 0; then \
|
616
|
+
if test "$$xfail" -eq 0; then \
|
617
|
+
banner="$$All$$all $$tests passed"; \
|
618
|
+
else \
|
619
|
+
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
|
620
|
+
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
|
621
|
+
fi; \
|
622
|
+
else \
|
623
|
+
if test "$$xpass" -eq 0; then \
|
624
|
+
banner="$$failed of $$all $$tests failed"; \
|
625
|
+
else \
|
626
|
+
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
|
627
|
+
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
|
628
|
+
fi; \
|
629
|
+
fi; \
|
630
|
+
dashes="$$banner"; \
|
631
|
+
skipped=""; \
|
632
|
+
if test "$$skip" -ne 0; then \
|
633
|
+
if test "$$skip" -eq 1; then \
|
634
|
+
skipped="($$skip test was not run)"; \
|
635
|
+
else \
|
636
|
+
skipped="($$skip tests were not run)"; \
|
637
|
+
fi; \
|
638
|
+
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
|
639
|
+
dashes="$$skipped"; \
|
640
|
+
fi; \
|
641
|
+
report=""; \
|
642
|
+
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
|
643
|
+
report="Please report to $(PACKAGE_BUGREPORT)"; \
|
644
|
+
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
|
645
|
+
dashes="$$report"; \
|
646
|
+
fi; \
|
647
|
+
dashes=`echo "$$dashes" | sed s/./=/g`; \
|
648
|
+
echo "$$dashes"; \
|
649
|
+
echo "$$banner"; \
|
650
|
+
test -z "$$skipped" || echo "$$skipped"; \
|
651
|
+
test -z "$$report" || echo "$$report"; \
|
652
|
+
echo "$$dashes"; \
|
653
|
+
test "$$failed" -eq 0; \
|
654
|
+
else :; fi
|
655
|
+
|
656
|
+
distdir: $(DISTFILES)
|
657
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
658
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
659
|
+
list='$(DISTFILES)'; \
|
660
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
661
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
662
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
663
|
+
case $$dist_files in \
|
664
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
665
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
666
|
+
sort -u` ;; \
|
667
|
+
esac; \
|
668
|
+
for file in $$dist_files; do \
|
669
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
670
|
+
if test -d $$d/$$file; then \
|
671
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
672
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
673
|
+
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
674
|
+
fi; \
|
675
|
+
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
676
|
+
else \
|
677
|
+
test -f $(distdir)/$$file \
|
678
|
+
|| cp -p $$d/$$file $(distdir)/$$file \
|
679
|
+
|| exit 1; \
|
680
|
+
fi; \
|
681
|
+
done
|
682
|
+
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
683
|
+
if test "$$subdir" = .; then :; else \
|
684
|
+
test -d "$(distdir)/$$subdir" \
|
685
|
+
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
686
|
+
|| exit 1; \
|
687
|
+
distdir=`$(am__cd) $(distdir) && pwd`; \
|
688
|
+
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
689
|
+
(cd $$subdir && \
|
690
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
691
|
+
top_distdir="$$top_distdir" \
|
692
|
+
distdir="$$distdir/$$subdir" \
|
693
|
+
am__remove_distdir=: \
|
694
|
+
am__skip_length_check=: \
|
695
|
+
distdir) \
|
696
|
+
|| exit 1; \
|
697
|
+
fi; \
|
698
|
+
done
|
699
|
+
check-am: all-am
|
700
|
+
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
701
|
+
check: $(BUILT_SOURCES)
|
702
|
+
$(MAKE) $(AM_MAKEFLAGS) check-recursive
|
703
|
+
all-am: Makefile $(LTLIBRARIES)
|
704
|
+
installdirs: installdirs-recursive
|
705
|
+
installdirs-am:
|
706
|
+
for dir in "$(DESTDIR)$(libdir)"; do \
|
707
|
+
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
708
|
+
done
|
709
|
+
install: $(BUILT_SOURCES)
|
710
|
+
$(MAKE) $(AM_MAKEFLAGS) install-recursive
|
711
|
+
install-exec: install-exec-recursive
|
712
|
+
install-data: install-data-recursive
|
713
|
+
uninstall: uninstall-recursive
|
714
|
+
|
715
|
+
install-am: all-am
|
716
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
717
|
+
|
718
|
+
installcheck: installcheck-recursive
|
719
|
+
install-strip:
|
720
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
721
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
722
|
+
`test -z '$(STRIP)' || \
|
723
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
724
|
+
mostlyclean-generic:
|
725
|
+
|
726
|
+
clean-generic:
|
727
|
+
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
728
|
+
|
729
|
+
distclean-generic:
|
730
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
731
|
+
|
732
|
+
maintainer-clean-generic:
|
733
|
+
@echo "This command is intended for maintainers to use"
|
734
|
+
@echo "it deletes files that may require special tools to rebuild."
|
735
|
+
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
736
|
+
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
737
|
+
clean: clean-recursive
|
738
|
+
|
739
|
+
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
|
740
|
+
mostlyclean-am
|
741
|
+
|
742
|
+
distclean: distclean-recursive
|
743
|
+
-rm -rf ./$(DEPDIR)
|
744
|
+
-rm -f Makefile
|
745
|
+
distclean-am: clean-am distclean-compile distclean-generic \
|
746
|
+
distclean-tags
|
747
|
+
|
748
|
+
dvi: dvi-recursive
|
749
|
+
|
750
|
+
dvi-am:
|
751
|
+
|
752
|
+
html: html-recursive
|
753
|
+
|
754
|
+
html-am:
|
755
|
+
|
756
|
+
info: info-recursive
|
757
|
+
|
758
|
+
info-am:
|
759
|
+
|
760
|
+
install-data-am: install-data-local
|
761
|
+
|
762
|
+
install-dvi: install-dvi-recursive
|
763
|
+
|
764
|
+
install-dvi-am:
|
765
|
+
|
766
|
+
install-exec-am: install-libLTLIBRARIES
|
767
|
+
|
768
|
+
install-html: install-html-recursive
|
769
|
+
|
770
|
+
install-html-am:
|
771
|
+
|
772
|
+
install-info: install-info-recursive
|
773
|
+
|
774
|
+
install-info-am:
|
775
|
+
|
776
|
+
install-man:
|
777
|
+
|
778
|
+
install-pdf: install-pdf-recursive
|
779
|
+
|
780
|
+
install-pdf-am:
|
781
|
+
|
782
|
+
install-ps: install-ps-recursive
|
783
|
+
|
784
|
+
install-ps-am:
|
785
|
+
|
786
|
+
installcheck-am:
|
787
|
+
|
788
|
+
maintainer-clean: maintainer-clean-recursive
|
789
|
+
-rm -rf ./$(DEPDIR)
|
790
|
+
-rm -f Makefile
|
791
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
792
|
+
|
793
|
+
mostlyclean: mostlyclean-recursive
|
794
|
+
|
795
|
+
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
796
|
+
mostlyclean-libtool
|
797
|
+
|
798
|
+
pdf: pdf-recursive
|
799
|
+
|
800
|
+
pdf-am:
|
801
|
+
|
802
|
+
ps: ps-recursive
|
803
|
+
|
804
|
+
ps-am:
|
805
|
+
|
806
|
+
uninstall-am: uninstall-libLTLIBRARIES uninstall-local
|
807
|
+
|
808
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
809
|
+
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-libLTLIBRARIES clean-libtool ctags ctags-recursive \
|
814
|
+
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-local install-dvi install-dvi-am \
|
818
|
+
install-exec install-exec-am install-html install-html-am \
|
819
|
+
install-info install-info-am install-libLTLIBRARIES \
|
820
|
+
install-man install-pdf install-pdf-am install-ps \
|
821
|
+
install-ps-am install-strip installcheck installcheck-am \
|
822
|
+
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 \
|
826
|
+
uninstall-libLTLIBRARIES uninstall-local
|
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
|
+
XapianSharp.snk:
|
837
|
+
$(SN) -k $@
|
838
|
+
|
839
|
+
$(ASSEMBLY).dll: $(XAPIAN_SWIG_CS_SRCS) AssemblyInfo.cs XapianSharp.snk
|
840
|
+
$(CSC) -unsafe -target:library -out:$(ASSEMBLY).dll \
|
841
|
+
`for f in $(XAPIAN_SWIG_CS_SRCS); do if test -f "$$f"; then echo $$f; else echo $(srcdir)/$$f ; fi ; done` \
|
842
|
+
AssemblyInfo.cs
|
843
|
+
|
844
|
+
install-data-local: $(ASSEMBLY).dll
|
845
|
+
$(GACUTIL) /i $(ASSEMBLY).dll /f /package $(ASSEMBLY) /gacdir $(libdir) /root $(DESTDIR)$(libdir)
|
846
|
+
|
847
|
+
uninstall-local:
|
848
|
+
$(GACUTIL) /u $(ASSEMBLY) /f /package $(ASSEMBLY) /gacdir $(libdir) /root $(DESTDIR)$(libdir)
|
849
|
+
|
850
|
+
SmokeTest.exe: SmokeTest.cs $(ASSEMBLY).dll
|
851
|
+
$(CSC) -unsafe -target:exe -out:SmokeTest.exe `test -f SmokeTest.cs||echo '$(srcdir)/'`SmokeTest.cs -r:$(ASSEMBLY).dll
|
852
|
+
|
853
|
+
all-am: $(ASSEMBLY).dll
|
854
|
+
|
855
|
+
#xapian_wrap.cc xapian_wrap.h $(XAPIAN_SWIG_CS_SRCS): xapian_wrap.stamp
|
856
|
+
# @stamp=xapian_wrap.stamp; $(make_many_locked)
|
857
|
+
#xapian_wrap.stamp: $(SWIG_sources) util.i
|
858
|
+
# $(multitarget_begin)
|
859
|
+
# : # Make sure that we don't package stale generated sources in the
|
860
|
+
# : # case where SWIG changes its mind as to which files it generates.
|
861
|
+
# -rm -f $(XAPIAN_SWIG_CS_SRCS)
|
862
|
+
# $(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
|
863
|
+
# -csharp -namespace Xapian -module Xapian -dllimport _XapianSharp \
|
864
|
+
# -o xapian_wrap.cc $(SWIG_mainsource)
|
865
|
+
# $(multitarget_end)
|
866
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
867
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
868
|
+
.NOEXPORT:
|