1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # Major Contributor(s):
15 # Copyright (C) 2012 Red Hat, Inc., Caolán McNamara <caolanm@redhat.com>
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval
$(call gb_Library_Library
,clucene
))
30 $(eval
$(call gb_Library_use_external
,clucene
,zlib
))
32 $(eval
$(call gb_Library_use_package
,clucene
,clucene_source
))
34 $(eval
$(call gb_Library_set_warnings_not_errors
,clucene
))
36 $(eval
$(call gb_Library_set_include
,clucene
,\
37 -I
$(WORKDIR
)/CustomTarget
/clucene
/source
/inc
/internal \
38 -I
$(WORKDIR
)/CustomTarget
/clucene
/source
/src
/core \
39 -I
$(WORKDIR
)/CustomTarget
/clucene
/source
/src
/contribs-lib \
40 -I
$(WORKDIR
)/CustomTarget
/clucene
/source
/src
/shared \
44 $(eval
$(call gb_Library_add_defs
,clucene
,\
45 -Dclucene_shared_EXPORTS \
46 -Dclucene_core_EXPORTS \
47 -Dclucene_contribs_lib_EXPORTS \
51 # clucene does not depend on sal nor needs uwinapi here
52 $(eval
$(call gb_Library_use_libraries
,clucene
,\
53 $(filter-out uwinapi
,$(gb_STDLIBS
)) \
57 $(eval
$(call gb_Library_use_libraries
,clucene
,\
64 $(eval
$(call gb_Library_add_generated_exception_objects
,clucene
,\
65 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/SharedHeader \
66 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/gunichartables \
67 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_tcslwr \
68 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_tcstoll \
69 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_tcscasecmp \
70 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_tprintf \
71 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_lltot \
72 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/repl_tcstod \
73 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/utf8 \
74 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/config
/threads \
75 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/debug
/condition \
76 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/util
/StringBuffer \
77 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/util
/Misc \
78 CustomTarget
/clucene
/source
/src
/shared
/CLucene
/util
/dirent \
79 CustomTarget
/clucene
/source
/src
/core
/CLucene
/StdHeader \
80 CustomTarget
/clucene
/source
/src
/core
/CLucene
/debug
/error \
81 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/ThreadLocal \
82 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/Reader \
83 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/Equators \
84 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/FastCharStream \
85 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/MD5Digester \
86 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/StringIntern \
87 CustomTarget
/clucene
/source
/src
/core
/CLucene
/util
/BitSet \
88 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/FastCharStream \
89 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/MultiFieldQueryParser \
90 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/QueryParser \
91 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/QueryParserTokenManager \
92 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/QueryToken \
93 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/Lexer \
94 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/MultiFieldQueryParser \
95 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/QueryParser \
96 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/QueryParserBase \
97 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/QueryToken \
98 CustomTarget
/clucene
/source
/src
/core
/CLucene
/queryParser
/legacy
/TokenList \
99 CustomTarget
/clucene
/source
/src
/core
/CLucene
/analysis
/standard
/StandardAnalyzer \
100 CustomTarget
/clucene
/source
/src
/core
/CLucene
/analysis
/standard
/StandardFilter \
101 CustomTarget
/clucene
/source
/src
/core
/CLucene
/analysis
/standard
/StandardTokenizer \
102 CustomTarget
/clucene
/source
/src
/core
/CLucene
/analysis
/Analyzers \
103 CustomTarget
/clucene
/source
/src
/core
/CLucene
/analysis
/AnalysisHeader \
104 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/MMapInput \
105 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/IndexInput \
106 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/Lock \
107 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/LockFactory \
108 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/IndexOutput \
109 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/Directory \
110 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/FSDirectory \
111 CustomTarget
/clucene
/source
/src
/core
/CLucene
/store
/RAMDirectory \
112 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/Document \
113 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/DateField \
114 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/DateTools \
115 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/Field \
116 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/FieldSelector \
117 CustomTarget
/clucene
/source
/src
/core
/CLucene
/document
/NumberTools \
118 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexFileNames \
119 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexFileNameFilter \
120 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexDeletionPolicy \
121 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentMergeInfo \
122 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentInfos \
123 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/MergeScheduler \
124 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentTermDocs \
125 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/FieldsWriter \
126 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/TermInfosWriter \
127 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/Term \
128 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/Terms \
129 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/MergePolicy \
130 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/DocumentsWriter \
131 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/DocumentsWriterThreadState \
132 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentTermVector \
133 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/TermVectorReader \
134 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/FieldInfos \
135 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/CompoundFile \
136 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SkipListReader \
137 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SkipListWriter \
138 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexFileDeleter \
139 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentReader \
140 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/DirectoryIndexReader \
141 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/TermVectorWriter \
142 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexReader \
143 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentTermPositions \
144 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentMerger \
145 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexWriter \
146 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/MultiReader \
147 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/MultiSegmentReader \
148 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/Payload \
149 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentTermEnum \
150 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/TermInfo \
151 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/IndexModifier \
152 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/SegmentMergeQueue \
153 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/FieldsReader \
154 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/TermInfosReader \
155 CustomTarget
/clucene
/source
/src
/core
/CLucene
/index
/MultipleTermPositions \
156 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Compare \
157 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Scorer \
158 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/ScorerDocQueue \
159 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/PhraseScorer \
160 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/SloppyPhraseScorer \
161 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/DisjunctionSumScorer \
162 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/ConjunctionScorer \
163 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/PhraseQuery \
164 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/PrefixQuery \
165 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/ExactPhraseScorer \
166 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/TermScorer \
167 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Similarity \
168 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/BooleanScorer \
169 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/BooleanScorer2 \
170 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/HitQueue \
171 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FieldCacheImpl \
172 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/ChainedFilter \
173 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/RangeFilter \
174 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/CachingWrapperFilter \
175 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/QueryFilter \
176 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/TermQuery \
177 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FuzzyQuery \
178 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/SearchHeader \
179 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/RangeQuery \
180 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/IndexSearcher \
181 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Sort \
182 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/PhrasePositions \
183 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FieldDocSortedHitQueue \
184 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/WildcardTermEnum \
185 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/MultiSearcher \
186 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Hits \
187 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/MultiTermQuery \
188 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FilteredTermEnum \
189 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FieldSortedHitQueue \
190 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/WildcardQuery \
191 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/Explanation \
192 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/BooleanQuery \
193 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/FieldCache \
194 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/DateFilter \
195 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/MatchAllDocsQuery \
196 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/MultiPhraseQuery \
197 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/ConstantScoreQuery \
198 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/CachingSpanFilter \
199 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/SpanQueryFilter \
200 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/NearSpansOrdered \
201 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/NearSpansUnordered \
202 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanFirstQuery \
203 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanNearQuery \
204 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanNotQuery \
205 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanOrQuery \
206 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanScorer \
207 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanTermQuery \
208 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/SpanWeight \
209 CustomTarget
/clucene
/source
/src
/core
/CLucene
/search
/spans
/TermSpans \
210 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/analysis
/cjk
/CJKAnalyzer \
211 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/analysis
/LanguageBasedAnalyzer \
212 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/analysis
/PorterStemmer \
213 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/Snowball \
214 ,$(if
$(filter TRUE
,$(EXTERNAL_WARNINGS_NOT_ERRORS
)),\
215 $(filter-out $(gb_CXXFLAGS_WERROR
),$(CXXFLAGS
)),\
217 $(gb_COMPILEROPTFLAGS
) \
220 $(eval
$(call gb_Library_add_generated_cobjects
,clucene
,\
221 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/libstemmer
/libstemmer \
222 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_danish \
223 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_dutch \
224 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_english \
225 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_finnish \
226 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_french \
227 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_german \
228 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_italian \
229 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_norwegian \
230 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_porter \
231 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_portuguese \
232 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_spanish \
233 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_swedish \
234 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_KOI8_R_russian \
235 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_danish \
236 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_dutch \
237 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_english \
238 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_finnish \
239 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_french \
240 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_german \
241 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_italian \
242 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_norwegian \
243 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_porter \
244 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_portuguese \
245 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_russian \
246 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_spanish \
247 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_swedish \
248 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/runtime
/utilities \
249 CustomTarget
/clucene
/source
/src
/contribs-lib
/CLucene
/snowball
/runtime
/api \
250 ,$(if
$(filter TRUE
,$(EXTERNAL_WARNINGS_NOT_ERRORS
)),\
251 $(filter-out $(gb_CFLAGS_WERROR
),$(CFLAGS
)),\
253 $(gb_COMPILEROPTFLAGS
) \
256 # vim: set noet sw=4 ts=4: