Bump version to 5.0-14
[LibreOffice.git] / external / clucene / Library_clucene.mk
blob7ac8a48a19a25fa907e9c8f7fdb9f59ad9f1a62a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,clucene))
12 $(eval $(call gb_Library_use_external,clucene,zlib))
14 $(eval $(call gb_Library_use_unpacked,clucene,clucene))
16 $(eval $(call gb_Library_set_warnings_not_errors,clucene))
18 $(eval $(call gb_Library_set_include,clucene,\
19 -I$(WORKDIR)/UnpackedTarball/clucene/inc/internal \
20 -I$(WORKDIR)/UnpackedTarball/clucene/src/core \
21 -I$(WORKDIR)/UnpackedTarball/clucene/src/contribs-lib \
22 -I$(WORKDIR)/UnpackedTarball/clucene/src/shared \
23 $$(INCLUDE) \
26 $(eval $(call gb_Library_add_defs,clucene,\
27 -Dclucene_shared_EXPORTS \
28 -Dclucene_core_EXPORTS \
29 -Dclucene_contribs_lib_EXPORTS \
30 $(LFS_CFLAGS) \
33 # clucene is riddled with warnings... let's spare use
34 # the pointless spamming
35 $(eval $(call gb_Library_add_cxxflags,clucene,\
36 -w \
38 $(eval $(call gb_Library_add_cflags,clucene,\
39 -w \
42 ifeq ($(OS),LINUX)
43 $(eval $(call gb_Library_add_libs,clucene,\
44 -lm \
45 -ldl \
46 -lpthread \
48 endif
50 $(eval $(call gb_Library_set_generated_cxx_suffix,clucene,cpp))
52 $(eval $(call gb_Library_add_generated_exception_objects,clucene,\
53 UnpackedTarball/clucene/src/shared/CLucene/SharedHeader \
54 UnpackedTarball/clucene/src/shared/CLucene/config/gunichartables \
55 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcslwr \
56 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcstoll \
57 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcscasecmp \
58 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tprintf \
59 UnpackedTarball/clucene/src/shared/CLucene/config/repl_lltot \
60 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcstod \
61 UnpackedTarball/clucene/src/shared/CLucene/config/utf8 \
62 UnpackedTarball/clucene/src/shared/CLucene/config/threads \
63 UnpackedTarball/clucene/src/shared/CLucene/debug/condition \
64 UnpackedTarball/clucene/src/shared/CLucene/util/StringBuffer \
65 UnpackedTarball/clucene/src/shared/CLucene/util/Misc \
66 UnpackedTarball/clucene/src/shared/CLucene/util/dirent \
67 UnpackedTarball/clucene/src/core/CLucene/StdHeader \
68 UnpackedTarball/clucene/src/core/CLucene/debug/error \
69 UnpackedTarball/clucene/src/core/CLucene/util/ThreadLocal \
70 UnpackedTarball/clucene/src/core/CLucene/util/Reader \
71 UnpackedTarball/clucene/src/core/CLucene/util/Equators \
72 UnpackedTarball/clucene/src/core/CLucene/util/FastCharStream \
73 UnpackedTarball/clucene/src/core/CLucene/util/MD5Digester \
74 UnpackedTarball/clucene/src/core/CLucene/util/StringIntern \
75 UnpackedTarball/clucene/src/core/CLucene/util/BitSet \
76 UnpackedTarball/clucene/src/core/CLucene/queryParser/FastCharStream \
77 UnpackedTarball/clucene/src/core/CLucene/queryParser/MultiFieldQueryParser \
78 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryParser \
79 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryParserTokenManager \
80 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryToken \
81 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/Lexer \
82 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/MultiFieldQueryParser \
83 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryParser \
84 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryParserBase \
85 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryToken \
86 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/TokenList \
87 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardAnalyzer \
88 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardFilter \
89 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardTokenizer \
90 UnpackedTarball/clucene/src/core/CLucene/analysis/Analyzers \
91 UnpackedTarball/clucene/src/core/CLucene/analysis/AnalysisHeader \
92 UnpackedTarball/clucene/src/core/CLucene/store/MMapInput \
93 UnpackedTarball/clucene/src/core/CLucene/store/IndexInput \
94 UnpackedTarball/clucene/src/core/CLucene/store/Lock \
95 UnpackedTarball/clucene/src/core/CLucene/store/LockFactory \
96 UnpackedTarball/clucene/src/core/CLucene/store/IndexOutput \
97 UnpackedTarball/clucene/src/core/CLucene/store/Directory \
98 UnpackedTarball/clucene/src/core/CLucene/store/FSDirectory \
99 UnpackedTarball/clucene/src/core/CLucene/store/RAMDirectory \
100 UnpackedTarball/clucene/src/core/CLucene/document/Document \
101 UnpackedTarball/clucene/src/core/CLucene/document/DateField \
102 UnpackedTarball/clucene/src/core/CLucene/document/DateTools \
103 UnpackedTarball/clucene/src/core/CLucene/document/Field \
104 UnpackedTarball/clucene/src/core/CLucene/document/FieldSelector \
105 UnpackedTarball/clucene/src/core/CLucene/document/NumberTools \
106 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileNames \
107 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileNameFilter \
108 UnpackedTarball/clucene/src/core/CLucene/index/IndexDeletionPolicy \
109 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMergeInfo \
110 UnpackedTarball/clucene/src/core/CLucene/index/SegmentInfos \
111 UnpackedTarball/clucene/src/core/CLucene/index/MergeScheduler \
112 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermDocs \
113 UnpackedTarball/clucene/src/core/CLucene/index/FieldsWriter \
114 UnpackedTarball/clucene/src/core/CLucene/index/TermInfosWriter \
115 UnpackedTarball/clucene/src/core/CLucene/index/Term \
116 UnpackedTarball/clucene/src/core/CLucene/index/Terms \
117 UnpackedTarball/clucene/src/core/CLucene/index/MergePolicy \
118 UnpackedTarball/clucene/src/core/CLucene/index/DocumentsWriter \
119 UnpackedTarball/clucene/src/core/CLucene/index/DocumentsWriterThreadState \
120 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermVector \
121 UnpackedTarball/clucene/src/core/CLucene/index/TermVectorReader \
122 UnpackedTarball/clucene/src/core/CLucene/index/FieldInfos \
123 UnpackedTarball/clucene/src/core/CLucene/index/CompoundFile \
124 UnpackedTarball/clucene/src/core/CLucene/index/SkipListReader \
125 UnpackedTarball/clucene/src/core/CLucene/index/SkipListWriter \
126 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileDeleter \
127 UnpackedTarball/clucene/src/core/CLucene/index/SegmentReader \
128 UnpackedTarball/clucene/src/core/CLucene/index/DirectoryIndexReader \
129 UnpackedTarball/clucene/src/core/CLucene/index/TermVectorWriter \
130 UnpackedTarball/clucene/src/core/CLucene/index/IndexReader \
131 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermPositions \
132 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMerger \
133 UnpackedTarball/clucene/src/core/CLucene/index/IndexWriter \
134 UnpackedTarball/clucene/src/core/CLucene/index/MultiReader \
135 UnpackedTarball/clucene/src/core/CLucene/index/MultiSegmentReader \
136 UnpackedTarball/clucene/src/core/CLucene/index/Payload \
137 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermEnum \
138 UnpackedTarball/clucene/src/core/CLucene/index/TermInfo \
139 UnpackedTarball/clucene/src/core/CLucene/index/IndexModifier \
140 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMergeQueue \
141 UnpackedTarball/clucene/src/core/CLucene/index/FieldsReader \
142 UnpackedTarball/clucene/src/core/CLucene/index/TermInfosReader \
143 UnpackedTarball/clucene/src/core/CLucene/index/MultipleTermPositions \
144 UnpackedTarball/clucene/src/core/CLucene/search/Compare \
145 UnpackedTarball/clucene/src/core/CLucene/search/Scorer \
146 UnpackedTarball/clucene/src/core/CLucene/search/ScorerDocQueue \
147 UnpackedTarball/clucene/src/core/CLucene/search/PhraseScorer \
148 UnpackedTarball/clucene/src/core/CLucene/search/SloppyPhraseScorer \
149 UnpackedTarball/clucene/src/core/CLucene/search/DisjunctionSumScorer \
150 UnpackedTarball/clucene/src/core/CLucene/search/ConjunctionScorer \
151 UnpackedTarball/clucene/src/core/CLucene/search/PhraseQuery \
152 UnpackedTarball/clucene/src/core/CLucene/search/PrefixQuery \
153 UnpackedTarball/clucene/src/core/CLucene/search/ExactPhraseScorer \
154 UnpackedTarball/clucene/src/core/CLucene/search/TermScorer \
155 UnpackedTarball/clucene/src/core/CLucene/search/Similarity \
156 UnpackedTarball/clucene/src/core/CLucene/search/BooleanScorer \
157 UnpackedTarball/clucene/src/core/CLucene/search/BooleanScorer2 \
158 UnpackedTarball/clucene/src/core/CLucene/search/HitQueue \
159 UnpackedTarball/clucene/src/core/CLucene/search/FieldCacheImpl \
160 UnpackedTarball/clucene/src/core/CLucene/search/ChainedFilter \
161 UnpackedTarball/clucene/src/core/CLucene/search/RangeFilter \
162 UnpackedTarball/clucene/src/core/CLucene/search/CachingWrapperFilter \
163 UnpackedTarball/clucene/src/core/CLucene/search/QueryFilter \
164 UnpackedTarball/clucene/src/core/CLucene/search/TermQuery \
165 UnpackedTarball/clucene/src/core/CLucene/search/FuzzyQuery \
166 UnpackedTarball/clucene/src/core/CLucene/search/SearchHeader \
167 UnpackedTarball/clucene/src/core/CLucene/search/RangeQuery \
168 UnpackedTarball/clucene/src/core/CLucene/search/IndexSearcher \
169 UnpackedTarball/clucene/src/core/CLucene/search/Sort \
170 UnpackedTarball/clucene/src/core/CLucene/search/PhrasePositions \
171 UnpackedTarball/clucene/src/core/CLucene/search/FieldDocSortedHitQueue \
172 UnpackedTarball/clucene/src/core/CLucene/search/WildcardTermEnum \
173 UnpackedTarball/clucene/src/core/CLucene/search/MultiSearcher \
174 UnpackedTarball/clucene/src/core/CLucene/search/Hits \
175 UnpackedTarball/clucene/src/core/CLucene/search/MultiTermQuery \
176 UnpackedTarball/clucene/src/core/CLucene/search/FilteredTermEnum \
177 UnpackedTarball/clucene/src/core/CLucene/search/FieldSortedHitQueue \
178 UnpackedTarball/clucene/src/core/CLucene/search/WildcardQuery \
179 UnpackedTarball/clucene/src/core/CLucene/search/Explanation \
180 UnpackedTarball/clucene/src/core/CLucene/search/BooleanQuery \
181 UnpackedTarball/clucene/src/core/CLucene/search/FieldCache \
182 UnpackedTarball/clucene/src/core/CLucene/search/DateFilter \
183 UnpackedTarball/clucene/src/core/CLucene/search/MatchAllDocsQuery \
184 UnpackedTarball/clucene/src/core/CLucene/search/MultiPhraseQuery \
185 UnpackedTarball/clucene/src/core/CLucene/search/ConstantScoreQuery \
186 UnpackedTarball/clucene/src/core/CLucene/search/CachingSpanFilter \
187 UnpackedTarball/clucene/src/core/CLucene/search/SpanQueryFilter \
188 UnpackedTarball/clucene/src/core/CLucene/search/spans/NearSpansOrdered \
189 UnpackedTarball/clucene/src/core/CLucene/search/spans/NearSpansUnordered \
190 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanFirstQuery \
191 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanNearQuery \
192 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanNotQuery \
193 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanOrQuery \
194 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanScorer \
195 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanTermQuery \
196 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanWeight \
197 UnpackedTarball/clucene/src/core/CLucene/search/spans/TermSpans \
198 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/cjk/CJKAnalyzer \
199 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/LanguageBasedAnalyzer \
200 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/PorterStemmer \
201 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/Snowball \
204 $(eval $(call gb_Library_add_generated_cobjects,clucene,\
205 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/libstemmer/libstemmer \
206 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_danish \
207 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_dutch \
208 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_english \
209 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_finnish \
210 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_french \
211 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_german \
212 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_italian \
213 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_norwegian \
214 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_porter \
215 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_portuguese \
216 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_spanish \
217 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_swedish \
218 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_KOI8_R_russian \
219 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_danish \
220 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_dutch \
221 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_english \
222 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_finnish \
223 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_french \
224 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_german \
225 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_italian \
226 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_norwegian \
227 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_porter \
228 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_portuguese \
229 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_russian \
230 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_spanish \
231 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_swedish \
232 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/runtime/utilities \
233 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/runtime/api \
236 # vim: set noet sw=4 ts=4: