Bump version to 24.04.3.4
[LibreOffice.git] / external / clucene / Library_clucene.mk
blobe837f9f64fb65d07cc6d6eda506b0bae42eaba51
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_disabled,clucene))
18 $(eval $(call gb_Library_set_include,clucene,\
19 -I$(call gb_UnpackedTarball_get_dir,clucene)/inc/internal \
20 -I$(call gb_UnpackedTarball_get_dir,clucene)/src/core \
21 -I$(call gb_UnpackedTarball_get_dir,clucene)/src/contribs-lib \
22 -I$(call gb_UnpackedTarball_get_dir,clucene)/src/shared \
23 $$(INCLUDE) \
26 $(eval $(call gb_Library_set_precompiled_header,clucene,external/clucene/inc/pch/precompiled_clucene))
28 $(eval $(call gb_Library_add_defs,clucene,\
29 -Dclucene_shared_EXPORTS \
30 -Dclucene_core_EXPORTS \
31 -Dclucene_contribs_lib_EXPORTS \
34 # Needed when building against either libc++ or MSVC's standard library (including clang-cl builds),
35 # as e.g. workdir/UnpackedTarball/clucene/src/core/CLucene/util/_Arrays.h uses std::binary_function:
36 ifeq ($(HAVE_LIBCPP),TRUE)
37 $(eval $(call gb_Library_add_defs,clucene, \
38 -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION \
40 else ifeq ($(COM),MSC)
41 $(eval $(call gb_Library_add_defs,clucene, \
42 -D_HAS_AUTO_PTR_ETC=1 \
44 endif
46 ifeq ($(OS),LINUX)
47 $(eval $(call gb_Library_add_libs,clucene,\
48 -lm \
49 -ldl \
50 -pthread \
52 endif
54 $(eval $(call gb_Library_set_generated_cxx_suffix,clucene,cpp))
56 $(eval $(call gb_Library_add_generated_exception_objects,clucene,\
57 UnpackedTarball/clucene/src/shared/CLucene/SharedHeader \
58 UnpackedTarball/clucene/src/shared/CLucene/config/gunichartables \
59 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcslwr \
60 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcstoll \
61 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcscasecmp \
62 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tprintf \
63 UnpackedTarball/clucene/src/shared/CLucene/config/repl_lltot \
64 UnpackedTarball/clucene/src/shared/CLucene/config/repl_tcstod \
65 UnpackedTarball/clucene/src/shared/CLucene/config/utf8 \
66 UnpackedTarball/clucene/src/shared/CLucene/config/threads \
67 UnpackedTarball/clucene/src/shared/CLucene/debug/condition \
68 UnpackedTarball/clucene/src/shared/CLucene/util/StringBuffer \
69 UnpackedTarball/clucene/src/shared/CLucene/util/Misc \
70 UnpackedTarball/clucene/src/shared/CLucene/util/dirent \
71 UnpackedTarball/clucene/src/core/CLucene/StdHeader \
72 UnpackedTarball/clucene/src/core/CLucene/debug/error \
73 UnpackedTarball/clucene/src/core/CLucene/util/ThreadLocal \
74 UnpackedTarball/clucene/src/core/CLucene/util/Reader \
75 UnpackedTarball/clucene/src/core/CLucene/util/Equators \
76 UnpackedTarball/clucene/src/core/CLucene/util/FastCharStream \
77 UnpackedTarball/clucene/src/core/CLucene/util/MD5Digester \
78 UnpackedTarball/clucene/src/core/CLucene/util/StringIntern \
79 UnpackedTarball/clucene/src/core/CLucene/util/BitSet \
80 UnpackedTarball/clucene/src/core/CLucene/queryParser/FastCharStream \
81 UnpackedTarball/clucene/src/core/CLucene/queryParser/MultiFieldQueryParser \
82 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryParser \
83 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryParserTokenManager \
84 UnpackedTarball/clucene/src/core/CLucene/queryParser/QueryToken \
85 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/Lexer \
86 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/MultiFieldQueryParser \
87 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryParser \
88 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryParserBase \
89 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/QueryToken \
90 UnpackedTarball/clucene/src/core/CLucene/queryParser/legacy/TokenList \
91 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardAnalyzer \
92 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardFilter \
93 UnpackedTarball/clucene/src/core/CLucene/analysis/standard/StandardTokenizer \
94 UnpackedTarball/clucene/src/core/CLucene/analysis/Analyzers \
95 UnpackedTarball/clucene/src/core/CLucene/analysis/AnalysisHeader \
96 UnpackedTarball/clucene/src/core/CLucene/store/MMapInput \
97 UnpackedTarball/clucene/src/core/CLucene/store/IndexInput \
98 UnpackedTarball/clucene/src/core/CLucene/store/Lock \
99 UnpackedTarball/clucene/src/core/CLucene/store/LockFactory \
100 UnpackedTarball/clucene/src/core/CLucene/store/IndexOutput \
101 UnpackedTarball/clucene/src/core/CLucene/store/Directory \
102 UnpackedTarball/clucene/src/core/CLucene/store/FSDirectory \
103 UnpackedTarball/clucene/src/core/CLucene/store/RAMDirectory \
104 UnpackedTarball/clucene/src/core/CLucene/document/Document \
105 UnpackedTarball/clucene/src/core/CLucene/document/DateField \
106 UnpackedTarball/clucene/src/core/CLucene/document/DateTools \
107 UnpackedTarball/clucene/src/core/CLucene/document/Field \
108 UnpackedTarball/clucene/src/core/CLucene/document/FieldSelector \
109 UnpackedTarball/clucene/src/core/CLucene/document/NumberTools \
110 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileNames \
111 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileNameFilter \
112 UnpackedTarball/clucene/src/core/CLucene/index/IndexDeletionPolicy \
113 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMergeInfo \
114 UnpackedTarball/clucene/src/core/CLucene/index/SegmentInfos \
115 UnpackedTarball/clucene/src/core/CLucene/index/MergeScheduler \
116 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermDocs \
117 UnpackedTarball/clucene/src/core/CLucene/index/FieldsWriter \
118 UnpackedTarball/clucene/src/core/CLucene/index/TermInfosWriter \
119 UnpackedTarball/clucene/src/core/CLucene/index/Term \
120 UnpackedTarball/clucene/src/core/CLucene/index/Terms \
121 UnpackedTarball/clucene/src/core/CLucene/index/MergePolicy \
122 UnpackedTarball/clucene/src/core/CLucene/index/DocumentsWriter \
123 UnpackedTarball/clucene/src/core/CLucene/index/DocumentsWriterThreadState \
124 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermVector \
125 UnpackedTarball/clucene/src/core/CLucene/index/TermVectorReader \
126 UnpackedTarball/clucene/src/core/CLucene/index/FieldInfos \
127 UnpackedTarball/clucene/src/core/CLucene/index/CompoundFile \
128 UnpackedTarball/clucene/src/core/CLucene/index/SkipListReader \
129 UnpackedTarball/clucene/src/core/CLucene/index/SkipListWriter \
130 UnpackedTarball/clucene/src/core/CLucene/index/IndexFileDeleter \
131 UnpackedTarball/clucene/src/core/CLucene/index/SegmentReader \
132 UnpackedTarball/clucene/src/core/CLucene/index/DirectoryIndexReader \
133 UnpackedTarball/clucene/src/core/CLucene/index/TermVectorWriter \
134 UnpackedTarball/clucene/src/core/CLucene/index/IndexReader \
135 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermPositions \
136 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMerger \
137 UnpackedTarball/clucene/src/core/CLucene/index/IndexWriter \
138 UnpackedTarball/clucene/src/core/CLucene/index/MultiReader \
139 UnpackedTarball/clucene/src/core/CLucene/index/MultiSegmentReader \
140 UnpackedTarball/clucene/src/core/CLucene/index/Payload \
141 UnpackedTarball/clucene/src/core/CLucene/index/SegmentTermEnum \
142 UnpackedTarball/clucene/src/core/CLucene/index/TermInfo \
143 UnpackedTarball/clucene/src/core/CLucene/index/IndexModifier \
144 UnpackedTarball/clucene/src/core/CLucene/index/SegmentMergeQueue \
145 UnpackedTarball/clucene/src/core/CLucene/index/FieldsReader \
146 UnpackedTarball/clucene/src/core/CLucene/index/TermInfosReader \
147 UnpackedTarball/clucene/src/core/CLucene/index/MultipleTermPositions \
148 UnpackedTarball/clucene/src/core/CLucene/search/Compare \
149 UnpackedTarball/clucene/src/core/CLucene/search/Scorer \
150 UnpackedTarball/clucene/src/core/CLucene/search/ScorerDocQueue \
151 UnpackedTarball/clucene/src/core/CLucene/search/PhraseScorer \
152 UnpackedTarball/clucene/src/core/CLucene/search/SloppyPhraseScorer \
153 UnpackedTarball/clucene/src/core/CLucene/search/DisjunctionSumScorer \
154 UnpackedTarball/clucene/src/core/CLucene/search/ConjunctionScorer \
155 UnpackedTarball/clucene/src/core/CLucene/search/PhraseQuery \
156 UnpackedTarball/clucene/src/core/CLucene/search/PrefixQuery \
157 UnpackedTarball/clucene/src/core/CLucene/search/ExactPhraseScorer \
158 UnpackedTarball/clucene/src/core/CLucene/search/TermScorer \
159 UnpackedTarball/clucene/src/core/CLucene/search/Similarity \
160 UnpackedTarball/clucene/src/core/CLucene/search/BooleanScorer \
161 UnpackedTarball/clucene/src/core/CLucene/search/BooleanScorer2 \
162 UnpackedTarball/clucene/src/core/CLucene/search/HitQueue \
163 UnpackedTarball/clucene/src/core/CLucene/search/FieldCacheImpl \
164 UnpackedTarball/clucene/src/core/CLucene/search/ChainedFilter \
165 UnpackedTarball/clucene/src/core/CLucene/search/RangeFilter \
166 UnpackedTarball/clucene/src/core/CLucene/search/CachingWrapperFilter \
167 UnpackedTarball/clucene/src/core/CLucene/search/QueryFilter \
168 UnpackedTarball/clucene/src/core/CLucene/search/TermQuery \
169 UnpackedTarball/clucene/src/core/CLucene/search/FuzzyQuery \
170 UnpackedTarball/clucene/src/core/CLucene/search/SearchHeader \
171 UnpackedTarball/clucene/src/core/CLucene/search/RangeQuery \
172 UnpackedTarball/clucene/src/core/CLucene/search/IndexSearcher \
173 UnpackedTarball/clucene/src/core/CLucene/search/Sort \
174 UnpackedTarball/clucene/src/core/CLucene/search/PhrasePositions \
175 UnpackedTarball/clucene/src/core/CLucene/search/FieldDocSortedHitQueue \
176 UnpackedTarball/clucene/src/core/CLucene/search/WildcardTermEnum \
177 UnpackedTarball/clucene/src/core/CLucene/search/MultiSearcher \
178 UnpackedTarball/clucene/src/core/CLucene/search/Hits \
179 UnpackedTarball/clucene/src/core/CLucene/search/MultiTermQuery \
180 UnpackedTarball/clucene/src/core/CLucene/search/FilteredTermEnum \
181 UnpackedTarball/clucene/src/core/CLucene/search/FieldSortedHitQueue \
182 UnpackedTarball/clucene/src/core/CLucene/search/WildcardQuery \
183 UnpackedTarball/clucene/src/core/CLucene/search/Explanation \
184 UnpackedTarball/clucene/src/core/CLucene/search/BooleanQuery \
185 UnpackedTarball/clucene/src/core/CLucene/search/FieldCache \
186 UnpackedTarball/clucene/src/core/CLucene/search/DateFilter \
187 UnpackedTarball/clucene/src/core/CLucene/search/MatchAllDocsQuery \
188 UnpackedTarball/clucene/src/core/CLucene/search/MultiPhraseQuery \
189 UnpackedTarball/clucene/src/core/CLucene/search/ConstantScoreQuery \
190 UnpackedTarball/clucene/src/core/CLucene/search/CachingSpanFilter \
191 UnpackedTarball/clucene/src/core/CLucene/search/SpanQueryFilter \
192 UnpackedTarball/clucene/src/core/CLucene/search/spans/NearSpansOrdered \
193 UnpackedTarball/clucene/src/core/CLucene/search/spans/NearSpansUnordered \
194 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanFirstQuery \
195 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanNearQuery \
196 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanNotQuery \
197 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanOrQuery \
198 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanScorer \
199 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanTermQuery \
200 UnpackedTarball/clucene/src/core/CLucene/search/spans/SpanWeight \
201 UnpackedTarball/clucene/src/core/CLucene/search/spans/TermSpans \
202 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/cjk/CJKAnalyzer \
203 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/LanguageBasedAnalyzer \
204 UnpackedTarball/clucene/src/contribs-lib/CLucene/analysis/PorterStemmer \
205 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/Snowball \
208 $(eval $(call gb_Library_add_generated_cobjects,clucene,\
209 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/libstemmer/libstemmer \
210 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_danish \
211 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_dutch \
212 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_english \
213 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_finnish \
214 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_french \
215 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_german \
216 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_italian \
217 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_norwegian \
218 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_porter \
219 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_portuguese \
220 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_spanish \
221 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_ISO_8859_1_swedish \
222 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_KOI8_R_russian \
223 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_danish \
224 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_dutch \
225 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_english \
226 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_finnish \
227 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_french \
228 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_german \
229 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_italian \
230 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_norwegian \
231 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_porter \
232 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_portuguese \
233 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_russian \
234 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_spanish \
235 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/src_c/stem_UTF_8_swedish \
236 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/runtime/utilities \
237 UnpackedTarball/clucene/src/contribs-lib/CLucene/snowball/runtime/api \
240 # vim: set noet sw=4 ts=4: