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_inc
))
34 $(eval
$(call gb_Library_use_unpacked
,clucene
,clucene
))
36 $(eval
$(call gb_Library_set_warnings_not_errors
,clucene
))
38 $(eval
$(call gb_Library_set_include
,clucene
,\
39 -I
$(WORKDIR
)/UnpackedTarball
/clucene
/inc
/internal \
40 -I
$(WORKDIR
)/UnpackedTarball
/clucene
/src
/core \
41 -I
$(WORKDIR
)/UnpackedTarball
/clucene
/src
/contribs-lib \
42 -I
$(WORKDIR
)/UnpackedTarball
/clucene
/src
/shared \
46 $(eval
$(call gb_Library_add_defs
,clucene
,\
47 -Dclucene_shared_EXPORTS \
48 -Dclucene_core_EXPORTS \
49 -Dclucene_contribs_lib_EXPORTS \
53 # clucene is riddled with warnings... let's spare use
54 # the pointless spamming
55 $(eval
$(call gb_Library_add_cxxflags
,clucene
,\
60 $(eval
$(call gb_Library_add_libs
,clucene
,\
67 $(eval
$(call gb_Library_set_generated_cxx_suffix
,clucene
,cpp))
69 $(eval
$(call gb_Library_add_generated_exception_objects
,clucene
,\
70 UnpackedTarball
/clucene
/src
/shared
/CLucene
/SharedHeader \
71 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/gunichartables \
72 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_tcslwr \
73 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_tcstoll \
74 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_tcscasecmp \
75 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_tprintf \
76 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_lltot \
77 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/repl_tcstod \
78 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/utf8 \
79 UnpackedTarball
/clucene
/src
/shared
/CLucene
/config
/threads \
80 UnpackedTarball
/clucene
/src
/shared
/CLucene
/debug
/condition \
81 UnpackedTarball
/clucene
/src
/shared
/CLucene
/util
/StringBuffer \
82 UnpackedTarball
/clucene
/src
/shared
/CLucene
/util
/Misc \
83 UnpackedTarball
/clucene
/src
/shared
/CLucene
/util
/dirent \
84 UnpackedTarball
/clucene
/src
/core
/CLucene
/StdHeader \
85 UnpackedTarball
/clucene
/src
/core
/CLucene
/debug
/error \
86 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/ThreadLocal \
87 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/Reader \
88 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/Equators \
89 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/FastCharStream \
90 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/MD5Digester \
91 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/StringIntern \
92 UnpackedTarball
/clucene
/src
/core
/CLucene
/util
/BitSet \
93 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/FastCharStream \
94 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/MultiFieldQueryParser \
95 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/QueryParser \
96 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/QueryParserTokenManager \
97 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/QueryToken \
98 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/Lexer \
99 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/MultiFieldQueryParser \
100 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/QueryParser \
101 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/QueryParserBase \
102 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/QueryToken \
103 UnpackedTarball
/clucene
/src
/core
/CLucene
/queryParser
/legacy
/TokenList \
104 UnpackedTarball
/clucene
/src
/core
/CLucene
/analysis
/standard
/StandardAnalyzer \
105 UnpackedTarball
/clucene
/src
/core
/CLucene
/analysis
/standard
/StandardFilter \
106 UnpackedTarball
/clucene
/src
/core
/CLucene
/analysis
/standard
/StandardTokenizer \
107 UnpackedTarball
/clucene
/src
/core
/CLucene
/analysis
/Analyzers \
108 UnpackedTarball
/clucene
/src
/core
/CLucene
/analysis
/AnalysisHeader \
109 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/MMapInput \
110 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/IndexInput \
111 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/Lock \
112 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/LockFactory \
113 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/IndexOutput \
114 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/Directory \
115 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/FSDirectory \
116 UnpackedTarball
/clucene
/src
/core
/CLucene
/store
/RAMDirectory \
117 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/Document \
118 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/DateField \
119 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/DateTools \
120 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/Field \
121 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/FieldSelector \
122 UnpackedTarball
/clucene
/src
/core
/CLucene
/document
/NumberTools \
123 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexFileNames \
124 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexFileNameFilter \
125 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexDeletionPolicy \
126 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentMergeInfo \
127 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentInfos \
128 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/MergeScheduler \
129 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentTermDocs \
130 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/FieldsWriter \
131 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/TermInfosWriter \
132 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/Term \
133 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/Terms \
134 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/MergePolicy \
135 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/DocumentsWriter \
136 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/DocumentsWriterThreadState \
137 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentTermVector \
138 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/TermVectorReader \
139 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/FieldInfos \
140 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/CompoundFile \
141 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SkipListReader \
142 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SkipListWriter \
143 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexFileDeleter \
144 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentReader \
145 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/DirectoryIndexReader \
146 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/TermVectorWriter \
147 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexReader \
148 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentTermPositions \
149 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentMerger \
150 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexWriter \
151 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/MultiReader \
152 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/MultiSegmentReader \
153 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/Payload \
154 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentTermEnum \
155 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/TermInfo \
156 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/IndexModifier \
157 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/SegmentMergeQueue \
158 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/FieldsReader \
159 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/TermInfosReader \
160 UnpackedTarball
/clucene
/src
/core
/CLucene
/index
/MultipleTermPositions \
161 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Compare \
162 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Scorer \
163 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/ScorerDocQueue \
164 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/PhraseScorer \
165 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/SloppyPhraseScorer \
166 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/DisjunctionSumScorer \
167 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/ConjunctionScorer \
168 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/PhraseQuery \
169 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/PrefixQuery \
170 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/ExactPhraseScorer \
171 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/TermScorer \
172 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Similarity \
173 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/BooleanScorer \
174 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/BooleanScorer2 \
175 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/HitQueue \
176 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FieldCacheImpl \
177 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/ChainedFilter \
178 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/RangeFilter \
179 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/CachingWrapperFilter \
180 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/QueryFilter \
181 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/TermQuery \
182 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FuzzyQuery \
183 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/SearchHeader \
184 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/RangeQuery \
185 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/IndexSearcher \
186 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Sort \
187 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/PhrasePositions \
188 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FieldDocSortedHitQueue \
189 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/WildcardTermEnum \
190 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/MultiSearcher \
191 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Hits \
192 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/MultiTermQuery \
193 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FilteredTermEnum \
194 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FieldSortedHitQueue \
195 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/WildcardQuery \
196 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/Explanation \
197 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/BooleanQuery \
198 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/FieldCache \
199 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/DateFilter \
200 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/MatchAllDocsQuery \
201 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/MultiPhraseQuery \
202 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/ConstantScoreQuery \
203 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/CachingSpanFilter \
204 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/SpanQueryFilter \
205 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/NearSpansOrdered \
206 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/NearSpansUnordered \
207 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanFirstQuery \
208 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanNearQuery \
209 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanNotQuery \
210 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanOrQuery \
211 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanScorer \
212 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanTermQuery \
213 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/SpanWeight \
214 UnpackedTarball
/clucene
/src
/core
/CLucene
/search
/spans
/TermSpans \
215 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/analysis
/cjk
/CJKAnalyzer \
216 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/analysis
/LanguageBasedAnalyzer \
217 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/analysis
/PorterStemmer \
218 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/Snowball \
221 $(eval
$(call gb_Library_add_generated_cobjects
,clucene
,\
222 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/libstemmer
/libstemmer \
223 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_danish \
224 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_dutch \
225 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_english \
226 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_finnish \
227 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_french \
228 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_german \
229 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_italian \
230 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_norwegian \
231 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_porter \
232 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_portuguese \
233 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_spanish \
234 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_ISO_8859_1_swedish \
235 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_KOI8_R_russian \
236 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_danish \
237 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_dutch \
238 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_english \
239 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_finnish \
240 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_french \
241 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_german \
242 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_italian \
243 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_norwegian \
244 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_porter \
245 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_portuguese \
246 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_russian \
247 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_spanish \
248 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/src_c
/stem_UTF_8_swedish \
249 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/runtime
/utilities \
250 UnpackedTarball
/clucene
/src
/contribs-lib
/CLucene
/snowball
/runtime
/api \
253 # vim: set noet sw=4 ts=4: