2 # Warnings we don't want to see.
3 # Most of these are thanks to DotLucene. It would be nice if we could use
4 # "#pragma warning" on these.
6 # 0162 = Unreachable code detected
7 # 0164 = This label has not been referenced
8 # 0168 = The variable 'foo' is declared but never used
9 # 0169 = The private method/field 'foo' is never used
10 # 0219 = Variable is assigned but never used
11 # 0436 = Ignore imported type (local SqliteClient)
13 # unsafe arg for Mono.Data.SqliteClient fork
14 CSC = mcs -debug -nowarn:0162,0164,0168,0169,0219,0436 -unsafe
16 BACKENDDIR = $(pkglibdir)/Backends
18 PLUGIN_TARGET = BeagleDaemonPlugins.dll
20 PLUGIN_CSFLAGS = -target:library
26 PLUGIN_LOCAL_ASSEMBLIES = \
28 ../BeagleClient/Beagle.dll
33 $(PLUGIN_LOCAL_ASSEMBLIES:%=-r:%)
36 $(PLUGIN_TARGET): $(PLUGIN_CSFILES) $(PLUGIN_LOCAL_ASSEMBLIES)
37 $(CSC) -out:$@ $(PLUGIN_CSFLAGS) $(PLUGIN_CSFILES) $(PLUGIN_ASSEMBLIES)
39 ############################################################
41 WRAPPER_IN = wrapper.in
43 -e "s|\@prefix\@|$(prefix)|g" \
44 -e "s|\@pkglibdir\@|$(pkglibdir)|g" \
45 -e "s|\@libdir\@|$(libdir)|g" \
46 -e "s|\@evolibdir\@|$(EVO_LIBDIR)|g" \
47 -e "s|\@gacprefix\@|$(GAC_PREFIX)|g" \
48 -e "s|\@bash\@|$(BASH)|" \
49 -e "s|\@wrapper\@|$@|g"
51 ############################################################
53 lucenedir = $(srcdir)/Lucene.Net
55 LUCENE_1_9_CSFILES = \
56 $(lucenedir)/Analysis/Standard/CharStream.cs \
57 $(lucenedir)/Analysis/Standard/FastCharStream.cs \
58 $(lucenedir)/Analysis/Standard/ParseException.cs \
59 $(lucenedir)/Analysis/Standard/StandardAnalyzer.cs \
60 $(lucenedir)/Analysis/Standard/StandardFilter.cs \
61 $(lucenedir)/Analysis/Standard/StandardTokenizer.cs \
62 $(lucenedir)/Analysis/Standard/StandardTokenizerConstants.cs \
63 $(lucenedir)/Analysis/Standard/StandardTokenizerTokenManager.cs \
64 $(lucenedir)/Analysis/Standard/Token.cs \
65 $(lucenedir)/Analysis/Standard/TokenMgrError.cs \
66 $(lucenedir)/Analysis/Analyzer.cs \
67 $(lucenedir)/Analysis/CharTokenizer.cs \
68 $(lucenedir)/Analysis/ISOLatin1AccentFilter.cs \
69 $(lucenedir)/Analysis/KeywordAnalyzer.cs \
70 $(lucenedir)/Analysis/KeywordTokenizer.cs \
71 $(lucenedir)/Analysis/LengthFilter.cs \
72 $(lucenedir)/Analysis/LetterTokenizer.cs \
73 $(lucenedir)/Analysis/LowerCaseFilter.cs \
74 $(lucenedir)/Analysis/LowerCaseTokenizer.cs \
75 $(lucenedir)/Analysis/PerFieldAnalyzerWrapper.cs \
76 $(lucenedir)/Analysis/PorterStemFilter.cs \
77 $(lucenedir)/Analysis/PorterStemmer.cs \
78 $(lucenedir)/Analysis/SimpleAnalyzer.cs \
79 $(lucenedir)/Analysis/StopAnalyzer.cs \
80 $(lucenedir)/Analysis/StopFilter.cs \
81 $(lucenedir)/Analysis/Token.cs \
82 $(lucenedir)/Analysis/TokenFilter.cs \
83 $(lucenedir)/Analysis/Tokenizer.cs \
84 $(lucenedir)/Analysis/TokenStream.cs \
85 $(lucenedir)/Analysis/WhitespaceAnalyzer.cs \
86 $(lucenedir)/Analysis/WhitespaceTokenizer.cs \
87 $(lucenedir)/Analysis/WordlistLoader.cs \
88 $(lucenedir)/Document/DateField.cs \
89 $(lucenedir)/Document/DateTools.cs \
90 $(lucenedir)/Document/Document.cs \
91 $(lucenedir)/Document/Field.cs \
92 $(lucenedir)/Document/NumberTools.cs \
93 $(lucenedir)/Index/CompoundFileReader.cs \
94 $(lucenedir)/Index/CompoundFileWriter.cs \
95 $(lucenedir)/Index/DocumentWriter.cs \
96 $(lucenedir)/Index/FieldInfo.cs \
97 $(lucenedir)/Index/FieldInfos.cs \
98 $(lucenedir)/Index/FieldsReader.cs \
99 $(lucenedir)/Index/FieldsWriter.cs \
100 $(lucenedir)/Index/FilterIndexReader.cs \
101 $(lucenedir)/Index/IndexFileNameFilter.cs \
102 $(lucenedir)/Index/IndexFileNames.cs \
103 $(lucenedir)/Index/IndexModifier.cs \
104 $(lucenedir)/Index/IndexReader.cs \
105 $(lucenedir)/Index/IndexWriter.cs \
106 $(lucenedir)/Index/MultipleTermPositions.cs \
107 $(lucenedir)/Index/MultiReader.cs \
108 $(lucenedir)/Index/ParallelReader.cs \
109 $(lucenedir)/Index/SegmentInfo.cs \
110 $(lucenedir)/Index/SegmentInfos.cs \
111 $(lucenedir)/Index/SegmentMergeInfo.cs \
112 $(lucenedir)/Index/SegmentMergeQueue.cs \
113 $(lucenedir)/Index/SegmentMerger.cs \
114 $(lucenedir)/Index/SegmentReader.cs \
115 $(lucenedir)/Index/SegmentTermDocs.cs \
116 $(lucenedir)/Index/SegmentTermEnum.cs \
117 $(lucenedir)/Index/SegmentTermPositions.cs \
118 $(lucenedir)/Index/SegmentTermPositionVector.cs \
119 $(lucenedir)/Index/SegmentTermVector.cs \
120 $(lucenedir)/Index/Term.cs \
121 $(lucenedir)/Index/TermBuffer.cs \
122 $(lucenedir)/Index/TermDocs.cs \
123 $(lucenedir)/Index/TermEnum.cs \
124 $(lucenedir)/Index/TermFreqVector.cs \
125 $(lucenedir)/Index/TermInfo.cs \
126 $(lucenedir)/Index/TermInfosReader.cs \
127 $(lucenedir)/Index/TermInfosWriter.cs \
128 $(lucenedir)/Index/TermPositions.cs \
129 $(lucenedir)/Index/TermPositionVector.cs \
130 $(lucenedir)/Index/TermVectorOffsetInfo.cs \
131 $(lucenedir)/Index/TermVectorsReader.cs \
132 $(lucenedir)/Index/TermVectorsWriter.cs \
133 $(lucenedir)/QueryParser/CharStream.cs \
134 $(lucenedir)/QueryParser/FastCharStream.cs \
135 $(lucenedir)/QueryParser/MultiFieldQueryParser.cs \
136 $(lucenedir)/QueryParser/ParseException.cs \
137 $(lucenedir)/QueryParser/QueryParser.cs \
138 $(lucenedir)/QueryParser/QueryParserConstants.cs \
139 $(lucenedir)/QueryParser/QueryParserTokenManager.cs \
140 $(lucenedir)/QueryParser/Token.cs \
141 $(lucenedir)/QueryParser/TokenMgrError.cs \
142 $(lucenedir)/Search/Regex/RegexQuery.cs \
143 $(lucenedir)/Search/Regex/RegexTermEnum.cs \
144 $(lucenedir)/Search/Regex/SpanRegexQuery.cs \
145 $(lucenedir)/Search/Spans/NearSpans.cs \
146 $(lucenedir)/Search/Spans/SpanFirstQuery.cs \
147 $(lucenedir)/Search/Spans/SpanNearQuery.cs \
148 $(lucenedir)/Search/Spans/SpanNotQuery.cs \
149 $(lucenedir)/Search/Spans/SpanOrQuery.cs \
150 $(lucenedir)/Search/Spans/SpanQuery.cs \
151 $(lucenedir)/Search/Spans/Spans.cs \
152 $(lucenedir)/Search/Spans/SpanScorer.cs \
153 $(lucenedir)/Search/Spans/SpanTermQuery.cs \
154 $(lucenedir)/Search/Spans/SpanWeight.cs \
155 $(lucenedir)/Search/BooleanClause.cs \
156 $(lucenedir)/Search/BooleanQuery.cs \
157 $(lucenedir)/Search/BooleanScorer.cs \
158 $(lucenedir)/Search/BooleanScorer2.cs \
159 $(lucenedir)/Search/CachingWrapperFilter.cs \
160 $(lucenedir)/Search/ConjunctionScorer.cs \
161 $(lucenedir)/Search/ConstantScoreQuery.cs \
162 $(lucenedir)/Search/ConstantScoreRangeQuery.cs \
163 $(lucenedir)/Search/DateFilter.cs \
164 $(lucenedir)/Search/DefaultSimilarity.cs \
165 $(lucenedir)/Search/DisjunctionMaxQuery.cs \
166 $(lucenedir)/Search/DisjunctionMaxScorer.cs \
167 $(lucenedir)/Search/DisjunctionSumScorer.cs \
168 $(lucenedir)/Search/ExactPhraseScorer.cs \
169 $(lucenedir)/Search/Explanation.cs \
170 $(lucenedir)/Search/FieldCache.cs \
171 $(lucenedir)/Search/FieldCacheImpl.cs \
172 $(lucenedir)/Search/FieldDoc.cs \
173 $(lucenedir)/Search/FieldDocSortedHitQueue.cs \
174 $(lucenedir)/Search/FieldSortedHitQueue.cs \
175 $(lucenedir)/Search/Filter.cs \
176 $(lucenedir)/Search/FilteredQuery.cs \
177 $(lucenedir)/Search/FilteredTermEnum.cs \
178 $(lucenedir)/Search/FuzzyQuery.cs \
179 $(lucenedir)/Search/FuzzyTermEnum.cs \
180 $(lucenedir)/Search/Hit.cs \
181 $(lucenedir)/Search/HitCollector.cs \
182 $(lucenedir)/Search/HitIterator.cs \
183 $(lucenedir)/Search/HitQueue.cs \
184 $(lucenedir)/Search/Hits.cs \
185 $(lucenedir)/Search/IndexSearcher.cs \
186 $(lucenedir)/Search/MatchAllDocsQuery.cs \
187 $(lucenedir)/Search/MultiPhraseQuery.cs \
188 $(lucenedir)/Search/MultiSearcher.cs \
189 $(lucenedir)/Search/MultiTermQuery.cs \
190 $(lucenedir)/Search/NonMatchingScorer.cs \
191 $(lucenedir)/Search/ParallelMultiSearcher.cs \
192 $(lucenedir)/Search/PhrasePositions.cs \
193 $(lucenedir)/Search/PhrasePrefixQuery.cs \
194 $(lucenedir)/Search/PhraseQuery.cs \
195 $(lucenedir)/Search/PhraseQueue.cs \
196 $(lucenedir)/Search/PhraseScorer.cs \
197 $(lucenedir)/Search/PrefixQuery.cs \
198 $(lucenedir)/Search/Query.cs \
199 $(lucenedir)/Search/QueryFilter.cs \
200 $(lucenedir)/Search/QueryTermVector.cs \
201 $(lucenedir)/Search/RangeFilter.cs \
202 $(lucenedir)/Search/RangeQuery.cs \
203 $(lucenedir)/Search/RemoteSearchable.cs \
204 $(lucenedir)/Search/ReqExclScorer.cs \
205 $(lucenedir)/Search/ReqOptSumScorer.cs \
206 $(lucenedir)/Search/ScoreDoc.cs \
207 $(lucenedir)/Search/ScoreDocComparator.cs \
208 $(lucenedir)/Search/Scorer.cs \
209 $(lucenedir)/Search/Searchable.cs \
210 $(lucenedir)/Search/Searcher.cs \
211 $(lucenedir)/Search/Similarity.cs \
212 $(lucenedir)/Search/SimilarityDelegator.cs \
213 $(lucenedir)/Search/SloppyPhraseScorer.cs \
214 $(lucenedir)/Search/Sort.cs \
215 $(lucenedir)/Search/SortComparator.cs \
216 $(lucenedir)/Search/SortComparatorSource.cs \
217 $(lucenedir)/Search/SortField.cs \
218 $(lucenedir)/Search/TermQuery.cs \
219 $(lucenedir)/Search/TermScorer.cs \
220 $(lucenedir)/Search/TopDocs.cs \
221 $(lucenedir)/Search/TopFieldDocs.cs \
222 $(lucenedir)/Search/Weight.cs \
223 $(lucenedir)/Search/WildcardQuery.cs \
224 $(lucenedir)/Search/WildcardTermEnum.cs \
225 $(lucenedir)/Store/BufferedIndexInput.cs \
226 $(lucenedir)/Store/BufferedIndexOutput.cs \
227 $(lucenedir)/Store/Directory.cs \
228 $(lucenedir)/Store/FSDirectory.cs \
229 $(lucenedir)/Store/IndexInput.cs \
230 $(lucenedir)/Store/IndexOutput.cs \
231 $(lucenedir)/Store/InputStream.cs \
232 $(lucenedir)/Store/Lock.cs \
233 $(lucenedir)/Store/MMapDirectory.cs \
234 $(lucenedir)/Store/OutputStream.cs \
235 $(lucenedir)/Store/RAMDirectory.cs \
236 $(lucenedir)/Store/RAMFile.cs \
237 $(lucenedir)/Store/RAMInputStream.cs \
238 $(lucenedir)/Store/RAMOutputStream.cs \
239 $(lucenedir)/Util/BitVector.cs \
240 $(lucenedir)/Util/Constants.cs \
241 $(lucenedir)/Util/Parameter.cs \
242 $(lucenedir)/Util/PriorityQueue.cs \
243 $(lucenedir)/Util/SmallFloat.cs \
244 $(lucenedir)/Util/StringHelper.cs \
245 $(lucenedir)/Util/ToStringUtils.cs \
246 $(lucenedir)/AssemblyInfo.cs \
247 $(lucenedir)/LucenePackage.cs \
248 $(lucenedir)/SharpZipLibAdapter.cs \
249 $(lucenedir)/SupportClass.cs
251 LUCENE_CSFILES = $(LUCENE_1_9_CSFILES)
253 ############################################################
255 sqlitedir = $(srcdir)/Mono.Data.SqliteClient
258 $(sqlitedir)/SqliteCommand.cs \
259 $(sqlitedir)/SqliteConnection.cs \
260 $(sqlitedir)/Sqlite.cs \
261 $(sqlitedir)/SqliteDataAdapter.cs \
262 $(sqlitedir)/SqliteDataReader.cs \
263 $(sqlitedir)/SqliteExceptions.cs \
264 $(sqlitedir)/SqliteParameterCollection.cs \
265 $(sqlitedir)/SqliteParameter.cs \
266 $(sqlitedir)/SqliteRowUpdatedEventArgs.cs \
267 $(sqlitedir)/SqliteRowUpdatedEventHandler.cs \
268 $(sqlitedir)/SqliteRowUpdatingEventArgs.cs \
269 $(sqlitedir)/SqliteRowUpdatingEventHandler.cs \
270 $(sqlitedir)/SqliteTransaction.cs
272 ############################################################
274 DAEMON_DLL_TARGET = BeagleDaemonLib.dll
276 DAEMON_DLL_CSFLAGS = -target:library $(BEAGLE_DEFINES)
278 fsqueryabledir = $(srcdir)/FileSystemQueryable
279 FILE_SYSTEM_QUERYABLE_CSFILES = \
280 $(fsqueryabledir)/DirectoryModel.cs \
281 $(fsqueryabledir)/DirectoryState.cs \
282 $(fsqueryabledir)/TreeCrawlTask.cs \
283 $(fsqueryabledir)/FileCrawlTask.cs \
284 $(fsqueryabledir)/DirectoryIndexableGenerator.cs \
285 $(fsqueryabledir)/FileNameFilter.cs \
286 $(fsqueryabledir)/LuceneNameResolver.cs \
287 $(fsqueryabledir)/FileSystemQueryable.cs \
288 $(fsqueryabledir)/IFileEventBackend.cs \
289 $(fsqueryabledir)/InotifyBackend.cs \
290 $(fsqueryabledir)/NullFileEventBackend.cs
293 gaimlogqueryable = $(srcdir)/GaimLogQueryable
294 GAIM_LOG_QUERYABLE_CSFILES = \
295 $(gaimlogqueryable)/GaimLogQueryable.cs
297 tomboyqueryable = $(srcdir)/TomboyQueryable
298 TOMBOY_QUERYABLE_CSFILES = \
299 $(tomboyqueryable)/TomboyQueryable.cs
301 labyrinthqueryable = $(srcdir)/LabyrinthQueryable
302 LABYRINTH_QUERYABLE_CSFILES = \
303 $(labyrinthqueryable)/LabyrinthQueryable.cs
305 kmailqueryable = $(srcdir)/KMailQueryable
306 KMAIL_QUERYABLE_CSFILES = \
307 $(kmailqueryable)/KMailQueryable.cs \
308 $(kmailqueryable)/KMailIndexableGenerator.cs \
309 $(kmailqueryable)/KMailIndexer.cs
311 blamqueryable = $(srcdir)/BlamQueryable
312 BLAM_QUERYABLE_CSFILES = \
313 $(blamqueryable)/BlamQueryable.cs
315 lifereaqueryable = $(srcdir)/LifereaQueryable
316 LIFEREA_QUERYABLE_CSFILES = \
317 $(lifereaqueryable)/LifereaQueryable.cs
319 akregatorqueryable = $(srcdir)/AkregatorQueryable
320 AKREGATOR_QUERYABLE_CSFILES = \
321 $(akregatorqueryable)/AkregatorQueryable.cs
323 konqhistoryqueryable = $(srcdir)/KonqHistoryQueryable
324 KONQHISTORY_QUERYABLE_CSFILES = \
325 $(konqhistoryqueryable)/KonqQueryable.cs
327 kopetequeryable = $(srcdir)/KopeteQueryable
328 KOPETE_QUERYABLE_CSFILES = \
329 $(kopetequeryable)/KopeteQueryable.cs \
330 $(kopetequeryable)/KopeteCrawler.cs
332 knotesqueryable = $(srcdir)/KNotesQueryable
333 KNOTES_QUERYABLE_CSFILES = \
334 $(knotesqueryable)/KNotesQueryable.cs
336 indexingservicequeryable = $(srcdir)/IndexingServiceQueryable
337 INDEXING_SERVICE_QUERYABLE_CSFILES = \
338 $(indexingservicequeryable)/IndexingServiceQueryable.cs
340 DAEMON_DLL_CSFILES = \
342 $(KMAIL_QUERYABLE_CSFILES) \
343 $(FILE_SYSTEM_QUERYABLE_CSFILES) \
344 $(GAIM_LOG_QUERYABLE_CSFILES) \
345 $(INDEXING_SERVICE_QUERYABLE_CSFILES) \
346 $(TOMBOY_QUERYABLE_CSFILES) \
347 $(LABYRINTH_QUERYABLE_CSFILES) \
348 $(BLAM_QUERYABLE_CSFILES) \
349 $(LIFEREA_QUERYABLE_CSFILES) \
350 $(AKREGATOR_QUERYABLE_CSFILES) \
351 $(KONQHISTORY_QUERYABLE_CSFILES) \
352 $(KNOTES_QUERYABLE_CSFILES) \
353 $(KOPETE_QUERYABLE_CSFILES) \
354 $(srcdir)/FileAttributes.cs \
355 $(srcdir)/FileAttributesStore.cs \
356 $(srcdir)/FileAttributesStore_ExtendedAttribute.cs \
357 $(srcdir)/FileAttributesStore_Mixed.cs \
358 $(srcdir)/FileAttributesStore_Sqlite.cs \
359 $(srcdir)/FilterFactory.cs \
360 $(srcdir)/IFileAttributesStore.cs \
361 $(srcdir)/IIndexer.cs \
362 $(srcdir)/IndexSynchronization.cs \
363 $(srcdir)/IndexerReceipts.cs \
364 $(srcdir)/IndexerRequest.cs \
365 $(srcdir)/IQueryResult.cs \
366 $(srcdir)/IQueryWorker.cs \
367 $(srcdir)/IQueryable.cs \
368 $(srcdir)/LuceneBitArray.cs \
369 $(srcdir)/LuceneCommon.cs \
370 $(srcdir)/LuceneIndexingDriver.cs \
371 $(srcdir)/LuceneQueryingDriver.cs \
372 $(srcdir)/LuceneFileQueryable.cs \
373 $(srcdir)/LuceneQueryable.cs \
374 $(srcdir)/NoiseFilter.cs \
375 $(srcdir)/PropertyKeywordFu.cs \
376 $(srcdir)/QueryDriver.cs \
377 $(srcdir)/QueryExecutor.cs \
378 $(srcdir)/QueryResult.cs \
379 $(srcdir)/QueryStringParser.cs \
380 $(srcdir)/Queryable.cs \
381 $(srcdir)/QueryableFlavor.cs \
382 $(srcdir)/RemoteControlExecutors.cs \
383 $(srcdir)/RemoteIndexerRequest.cs \
384 $(srcdir)/RemoteIndexerResponse.cs \
385 $(srcdir)/Server.cs \
386 $(srcdir)/Shutdown.cs \
387 $(srcdir)/SnippetExecutor.cs \
388 $(srcdir)/SnippetFu.cs \
389 $(srcdir)/SqliteUtils.cs \
390 $(srcdir)/StaticQueryable.cs \
391 $(srcdir)/TextCache.cs
393 DAEMON_DLL_LOCAL_ASSEMBLIES = \
395 ../BeagleClient/Beagle.dll \
398 DAEMON_DLL_ASSEMBLIES = \
400 $(DAEMON_DLL_LOCAL_ASSEMBLIES:%=-r:%) \
401 $(SHARPZIPLIB_LIBS) \
402 -r:Mono.Data.SqliteClient \
404 -r:System.Runtime.Remoting \
408 DAEMON_DLL_CSFILES += $(SQLITE_CSFILES)
409 DAEMON_DLL_ASSEMBLIES += -r:System.Data
411 DAEMON_DLL_ASSEMBLIES += -r:Mono.Data.SqliteClient
414 if ENABLE_GOOGLEDRIVER
415 DAEMON_DLL_CSFILES += \
416 $(srcdir)/GoogleDriver.cs
419 $(DAEMON_DLL_TARGET): $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_LOCAL_ASSEMBLIES)
420 $(CSC) -out:$@ $(DAEMON_DLL_CSFLAGS) $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_ASSEMBLIES)
422 ############################################################
425 ### Pluggable backend support
428 BACKEND_CSFLAGS = -target:library
429 BACKEND_LOCAL_ASSEMBLIES = \
431 ../BeagleClient/Beagle.dll \
432 ./$(DAEMON_DLL_TARGET)
434 BACKEND_ASSEMBLIES = \
435 $(SHARPZIPLIB_LIBS) \
436 $(BACKEND_LOCAL_ASSEMBLIES:%=-r:%) \
440 ### Evolution backend
443 edsqueryable = $(srcdir)/EvolutionDataServerQueryable
444 EDS_QUERYABLE_CSFILES = \
445 $(edsqueryable)/BookContainer.cs \
446 $(edsqueryable)/CalContainer.cs \
447 $(edsqueryable)/Container.cs \
448 $(edsqueryable)/EvolutionDataServerQueryable.cs \
449 $(edsqueryable)/SourcesHandler.cs
451 evomailqueryable = $(srcdir)/EvolutionMailDriver
452 EVO_MAIL_QUERYABLE_CSFILES = \
453 $(evomailqueryable)/EvolutionMailDriver.cs \
454 $(evomailqueryable)/EvolutionMailIndexableGenerator.cs \
455 $(evomailqueryable)/GConfThreadHelper.cs \
456 $(evomailqueryable)/MailCrawler.cs
458 EVO_DLL_TARGET = EvolutionBackends.dll
459 EVO_DLL_CSFLAGS = $(BACKEND_CSFLAGS)
460 EVO_DLL_CSFILES = $(EDS_QUERYABLE_CSFILES) $(EVO_MAIL_QUERYABLE_CSFILES)
461 EVO_DLL_ASSEMBLIES = $(BACKEND_ASSEMBLIES) $(EVO_LIBS)
463 $(EVO_DLL_TARGET): $(EVO_DLL_CSFILES) $(DAEMON_DLL_LOCAL_ASSEMBLIES) $(DAEMON_DLL_TARGET)
464 $(CSC) -out:$@ $(EVO_DLL_CSFLAGS) $(EVO_DLL_CSFILES) -r:$(DAEMON_DLL_TARGET) $(EVO_DLL_ASSEMBLIES)
466 ############################################################
468 DAEMON_WRAPPER = beagled
469 DAEMON_WRAPPER_IN = beagled.in
470 DAEMON_TARGET = BeagleDaemon.exe
472 $(DAEMON_WRAPPER): $(srcdir)/$(DAEMON_WRAPPER_IN)
473 $(WRAPPER_SED) -e "s|\@target\@|$(DAEMON_TARGET)|g" < $(srcdir)/$(DAEMON_WRAPPER_IN) > $@
474 chmod +x $(DAEMON_WRAPPER)
481 $(srcdir)/BeagleDaemon.cs \
482 $(srcdir)/RemoteIndexer.cs
484 DAEMON_LOCAL_ASSEMBLIES = \
486 ../BeagleClient/Beagle.dll \
488 ./$(DAEMON_DLL_TARGET)
490 DAEMON_ASSEMBLIES = \
492 $(SHARPZIPLIB_LIBS) \
493 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
496 $(DAEMON_TARGET): $(DAEMON_CSFILES) $(DAEMON_LOCAL_ASSEMBLIES)
497 $(CSC) -out:$@ $(DAEMON_CSFLAGS) $(DAEMON_CSFILES) $(DAEMON_ASSEMBLIES)
499 if ENABLE_THUNDERBIRD
500 THUNDERBIRD_DIR = $(srcdir)/ThunderbirdQueryable
502 THUNDERBIRD_TARGET = ThunderbirdBackends.dll
504 THUNDERBIRD_CSFLAGS = -target:library
507 THUNDERBIRD_CSFILES = \
508 $(THUNDERBIRD_DIR)/LuceneAccess.cs \
509 $(THUNDERBIRD_DIR)/ThunderbirdIndexer.cs \
510 $(THUNDERBIRD_DIR)/ThunderbirdIndexableGenerator.cs \
511 $(THUNDERBIRD_DIR)/ThunderbirdQueryable.cs \
512 $(THUNDERBIRD_DIR)/ThunderbirdInotify.cs \
513 $(THUNDERBIRD_DIR)/Mail.cs \
514 $(THUNDERBIRD_DIR)/Contact.cs \
515 $(THUNDERBIRD_DIR)/Rss.cs \
516 $(THUNDERBIRD_DIR)/Nntp.cs \
517 $(THUNDERBIRD_DIR)/MoveMail.cs
519 THUNDERBIRD_LOCAL_ASSEMBLIES = \
521 ../BeagleClient/Beagle.dll \
522 ./BeagleDaemonLib.dll
524 THUNDERBIRD_ASSEMBLIES = \
527 $(THUNDERBIRD_LOCAL_ASSEMBLIES:%=-r:%)
530 $(THUNDERBIRD_TARGET): $(THUNDERBIRD_CSFILES) $(THUNDERBIRD_LOCAL_ASSEMBLIES)
531 $(CSC) -out:$@ $(THUNDERBIRD_CSFLAGS) $(THUNDERBIRD_CSFILES) $(THUNDERBIRD_ASSEMBLIES)
534 ############################################################
535 ############################################################
536 ############################################################
538 # This next section is a very good example of why we need real mono support in
539 # automake. This is a massive wart on our development platform.
541 INDEX_HELPER_WRAPPER = beagled-index-helper
542 INDEX_HELPER_WRAPPER_IN = $(INDEX_HELPER_WRAPPER).in
543 INDEX_HELPER_TARGET = IndexHelper.exe
545 $(INDEX_HELPER_WRAPPER): $(srcdir)/$(INDEX_HELPER_WRAPPER_IN)
546 $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_HELPER_TARGET)|g" < $(srcdir)/$(INDEX_HELPER_WRAPPER_IN) > $@
547 chmod +x $(INDEX_HELPER_WRAPPER)
549 INDEX_HELPER_CSFLAGS = -target:exe $(BEAGLE_DEFINES)
551 indexhelperdir = $(srcdir)/IndexHelper
553 INDEX_HELPER_CSFILES = \
554 $(indexhelperdir)/IndexHelper.cs \
555 $(indexhelperdir)/RemoteIndexerExecutor.cs
558 INDEX_HELPER_LOCAL_ASSEMBLIES = \
560 ../BeagleClient/Beagle.dll \
561 ./$(DAEMON_DLL_TARGET)
563 INDEX_HELPER_ASSEMBLIES = \
565 $(SHARPZIPLIB_LIBS) \
566 $(INDEX_HELPER_LOCAL_ASSEMBLIES:%=-r:%) \
568 -r:System.Runtime.Remoting
570 $(INDEX_HELPER_TARGET): $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_LOCAL_ASSEMBLIES)
571 $(CSC) -out:$@ $(INDEX_HELPER_CSFLAGS) $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_ASSEMBLIES)
573 ############################################################
575 EXTRACT_CONTENT_WRAPPER = beagle-extract-content
576 EXTRACT_CONTENT_TARGET = ExtractContent.exe
578 $(EXTRACT_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
579 $(WRAPPER_SED) -e "s|\@target\@|$(EXTRACT_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
580 chmod +x $(EXTRACT_CONTENT_WRAPPER)
583 EXTRACT_CONTENT_CSFLAGS = \
586 EXTRACT_CONTENT_CSFILES = \
587 $(srcdir)/ExtractContent.cs
589 EXTRACT_CONTENT_LOCAL_ASSEMBLIES = \
591 ../BeagleClient/Beagle.dll \
593 ./$(DAEMON_DLL_TARGET)
595 EXTRACT_CONTENT_ASSEMBLIES = \
597 $(SHARPZIPLIB_LIBS) \
598 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
600 -r:System.Runtime.Remoting
602 $(EXTRACT_CONTENT_TARGET): $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_LOCAL_ASSEMBLIES)
603 $(CSC) -out:$@ $(EXTRACT_CONTENT_CSFLAGS) $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_ASSEMBLIES)
605 ############################################################
607 DUMP_INDEX_WRAPPER = beagle-dump-index
608 DUMP_INDEX_TARGET = DumpIndex.exe
610 $(DUMP_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
611 $(WRAPPER_SED) -e "s|\@target\@|$(DUMP_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
612 chmod +x $(DUMP_INDEX_WRAPPER)
614 DUMP_INDEX_CSFLAGS = \
617 DUMP_INDEX_CSFILES = \
618 $(srcdir)/DumpIndex.cs
620 DUMP_INDEX_LOCAL_ASSEMBLIES = \
622 ../BeagleClient/Beagle.dll \
624 ./$(DAEMON_DLL_TARGET)
626 DUMP_INDEX_ASSEMBLIES = \
628 $(SHARPZIPLIB_LIBS) \
629 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
631 -r:System.Runtime.Remoting
633 $(DUMP_INDEX_TARGET): $(DUMP_INDEX_CSFILES) $(DUMP_INDEX_LOCAL_ASSEMBLIES)
634 $(CSC) -out:$@ $(DUMP_INDEX_CSFLAGS) $(DUMP_INDEX_CSFILES) $(DUMP_INDEX_ASSEMBLIES)
636 ############################################################
638 INDEX_WEB_CONTENT_WRAPPER = beagle-index-url
639 INDEX_WEB_CONTENT_TARGET = IndexWebContent.exe
641 $(INDEX_WEB_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
642 $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_WEB_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
643 chmod +x $(INDEX_WEB_CONTENT_WRAPPER)
646 INDEX_WEB_CONTENT_CSFLAGS = \
649 INDEX_WEB_CONTENT_CSFILES = \
650 $(srcdir)/IndexWebContent.cs
652 INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES = \
654 ../BeagleClient/Beagle.dll \
656 ./$(DAEMON_DLL_TARGET)
658 INDEX_WEB_CONTENT_ASSEMBLIES = \
659 $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES:%=-r:%)
661 $(INDEX_WEB_CONTENT_TARGET): $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES)
662 $(CSC) -out:$@ $(INDEX_WEB_CONTENT_CSFLAGS) $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_ASSEMBLIES)
664 ############################################################
666 MASTER_DELETE_WRAPPER = beagle-master-delete-button
667 MASTER_DELETE_TARGET = MasterDelete.exe
669 $(MASTER_DELETE_WRAPPER): $(srcdir)/$(WRAPPER_IN)
670 $(WRAPPER_SED) -e "s|\@target\@|$(MASTER_DELETE_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
671 chmod +x $(MASTER_DELETE_WRAPPER)
674 MASTER_DELETE_CSFLAGS = \
677 MASTER_DELETE_CSFILES = \
678 $(srcdir)/MasterDelete.cs
680 MASTER_DELETE_LOCAL_ASSEMBLIES = \
682 ../BeagleClient/Beagle.dll \
684 ./$(DAEMON_DLL_TARGET)
686 MASTER_DELETE_ASSEMBLIES = \
688 $(SHARPZIPLIB_LIBS) \
689 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
691 -r:System.Runtime.Remoting
693 $(MASTER_DELETE_TARGET): $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_LOCAL_ASSEMBLIES)
694 $(CSC) -out:$@ $(MASTER_DELETE_CSFLAGS) $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_ASSEMBLIES)
696 ############################################################
698 SNIPPET_TEST_WRAPPER = beagle-snippet-test
699 SNIPPET_TEST_TARGET = SnippetTest.exe
701 $(SNIPPET_TEST_WRAPPER): $(srcdir)/$(WRAPPER_IN)
702 $(WRAPPER_SED) -e "s|\@target\@|$(SNIPPET_TEST_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
703 chmod +x $(SNIPPET_TEST_WRAPPER)
705 SNIPPET_TEST_CSFLAGS = \
708 SNIPPET_TEST_CSFILES = \
709 $(srcdir)/SnippetTest.cs
711 SNIPPET_TEST_LOCAL_ASSEMBLIES = \
713 ../BeagleClient/Beagle.dll \
715 ./$(DAEMON_DLL_TARGET)
717 SNIPPET_TEST_ASSEMBLIES = \
719 $(SHARPZIPLIB_LIBS) \
720 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
722 -r:System.Runtime.Remoting
724 $(SNIPPET_TEST_TARGET): $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_LOCAL_ASSEMBLIES)
725 $(CSC) -out:$@ $(SNIPPET_TEST_CSFLAGS) $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_ASSEMBLIES)
727 ############################################################
729 TERM_STATS_WRAPPER = beagle-term-stats
730 TERM_STATS_TARGET = TermStatsTool.exe
732 $(TERM_STATS_WRAPPER): $(srcdir)/$(WRAPPER_IN)
733 $(WRAPPER_SED) -e "s|\@target\@|$(TERM_STATS_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
734 chmod +x $(TERM_STATS_WRAPPER)
736 TERM_STATS_CSFLAGS = \
739 TERM_STATS_CSFILES = \
740 $(srcdir)/TermStatsTool.cs
742 TERM_STATS_LOCAL_ASSEMBLIES = \
744 ../BeagleClient/Beagle.dll \
746 ./$(DAEMON_DLL_TARGET)
748 TERM_STATS_ASSEMBLIES = \
750 $(SHARPZIPLIB_LIBS) \
751 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
753 -r:System.Runtime.Remoting
755 $(TERM_STATS_TARGET): $(TERM_STATS_CSFILES) $(TERM_STATS_LOCAL_ASSEMBLIES)
756 $(CSC) -out:$@ $(TERM_STATS_CSFLAGS) $(TERM_STATS_CSFILES) $(TERM_STATS_ASSEMBLIES)
758 ############################################################
760 NAME_INDEX_WRAPPER = beagle-name-index
761 NAME_INDEX_TARGET = NameIndexTool.exe
763 $(NAME_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
764 $(WRAPPER_SED) -e "s|\@target\@|$(NAME_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
765 chmod +x $(NAME_INDEX_WRAPPER)
767 NAME_INDEX_CSFLAGS = \
770 NAME_INDEX_CSFILES = \
771 $(srcdir)/NameIndexTool.cs
773 NAME_INDEX_LOCAL_ASSEMBLIES = \
775 ../BeagleClient/Beagle.dll \
777 ./$(DAEMON_DLL_TARGET)
779 NAME_INDEX_ASSEMBLIES = \
781 $(SHARPZIPLIB_LIBS) \
782 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
784 -r:System.Runtime.Remoting
786 $(NAME_INDEX_TARGET): $(NAME_INDEX_CSFILES) $(NAME_INDEX_LOCAL_ASSEMBLIES)
787 $(CSC) -out:$@ $(NAME_INDEX_CSFLAGS) $(NAME_INDEX_CSFILES) $(NAME_INDEX_ASSEMBLIES)
789 ############################################################
791 FS_SANITY_CHECK_WRAPPER = beagle-file-system-sanity-check
792 FS_SANITY_CHECK_TARGET = SanityCheckTool.exe
794 $(FS_SANITY_CHECK_WRAPPER): $(srcdir)/$(WRAPPER_IN)
795 $(WRAPPER_SED) -e "s|\@target\@|$(FS_SANITY_CHECK_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
796 chmod +x $(FS_SANITY_CHECK_WRAPPER)
798 FS_SANITY_CHECK_CSFLAGS = \
801 FS_SANITY_CHECK_CSFILES = \
802 $(srcdir)/SanityCheckTool.cs
804 FS_SANITY_CHECK_LOCAL_ASSEMBLIES = \
806 ../BeagleClient/Beagle.dll \
808 ./$(DAEMON_DLL_TARGET)
810 FS_SANITY_CHECK_ASSEMBLIES = \
812 $(SHARPZIPLIB_LIBS) \
813 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
815 -r:System.Runtime.Remoting
817 $(FS_SANITY_CHECK_TARGET): $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_LOCAL_ASSEMBLIES)
818 $(CSC) -out:$@ $(FS_SANITY_CHECK_CSFLAGS) $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_ASSEMBLIES)
820 ############################################################
822 BUILD_INDEX_WRAPPER = beagle-build-index
823 BUILD_INDEX_TARGET = BuildIndex.exe
825 $(BUILD_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
826 $(WRAPPER_SED) -e "s|\@target\@|$(BUILD_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
827 chmod +x $(BUILD_INDEX_WRAPPER)
829 BUILD_INDEX_CSFLAGS = \
832 BUILD_INDEX_CSFILES = \
833 $(srcdir)/BuildIndex.cs
835 BUILD_INDEX_LOCAL_ASSEMBLIES = \
837 ../BeagleClient/Beagle.dll \
839 ./$(DAEMON_DLL_TARGET)
841 BUILD_INDEX_ASSEMBLIES = \
843 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
846 $(BUILD_INDEX_TARGET): $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_LOCAL_ASSEMBLIES)
847 $(CSC) -out:$@ $(BUILD_INDEX_CSFLAGS) $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_ASSEMBLIES)
849 ############################################################
851 MANAGE_INDEX_WRAPPER = beagle-manage-index
852 MANAGE_INDEX_TARGET = ManageIndex.exe
854 $(MANAGE_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
855 $(WRAPPER_SED) -e "s|\@target\@|$(MANAGE_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
856 chmod +x $(MANAGE_INDEX_WRAPPER)
858 MANAGE_INDEX_CSFLAGS = \
861 MANAGE_INDEX_CSFILES = \
862 $(srcdir)/ManageIndex.cs
864 MANAGE_INDEX_LOCAL_ASSEMBLIES = \
866 ../BeagleClient/Beagle.dll \
868 ./$(DAEMON_DLL_TARGET)
870 MANAGE_INDEX_ASSEMBLIES = \
872 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
875 $(MANAGE_INDEX_TARGET): $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_LOCAL_ASSEMBLIES)
876 $(CSC) -out:$@ $(MANAGE_INDEX_CSFLAGS) $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_ASSEMBLIES)
878 ############################################################
880 CRAWL_SYSTEM_IN = beagle-crawl-system.in
881 CRAWL_SYSTEM = beagle-crawl-system
883 $(CRAWL_SYSTEM): $(srcdir)/$(CRAWL_SYSTEM_IN)
884 $(WRAPPER_SEB) -e "s|\@target\@|$(CRAWL_SYSTEM)|g" < $(srcdir)/$(CRAWL_SYSTEM_IN) > $@
885 chmod +x $(CRAWL_SYSTEM)
887 # OK, now back to our regularly scheduled program. But notice all of the
888 # EXTRA_DIST and CLEANFILES stuff at the bottom of the file. Yuck.
890 ############################################################
891 ############################################################
892 ############################################################
894 # $(MASTER_DELETE_TARGET)
896 # $(FS_SANITY_CHECK_TARGET)
900 $(DAEMON_DLL_TARGET) \
903 $(INDEX_HELPER_TARGET) \
904 $(INDEX_HELPER_WRAPPER) \
905 $(INDEX_WEB_CONTENT_TARGET) \
906 $(INDEX_WEB_CONTENT_WRAPPER) \
907 $(EXTRACT_CONTENT_TARGET) \
908 $(EXTRACT_CONTENT_WRAPPER) \
909 $(DUMP_INDEX_TARGET) \
910 $(SNIPPET_TEST_TARGET) \
911 $(TERM_STATS_TARGET) \
912 $(NAME_INDEX_TARGET) \
913 $(MANAGE_INDEX_TARGET) \
914 $(MANAGE_INDEX_WRAPPER) \
915 $(BUILD_INDEX_TARGET) \
916 $(BUILD_INDEX_WRAPPER)
918 if ENABLE_THUNDERBIRD
919 ALL_TARGETS += $(THUNDERBIRD_TARGET)
929 beagle-build-index.8 \
930 beagle-manage-index.8
934 install-data-local: $(ALL_TARGETS)
935 $(mkinstalldirs) $(DESTDIR)$(bindir)
936 $(mkinstalldirs) $(DESTDIR)$(sbindir)
937 $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
938 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
939 $(mkinstalldirs) $(DESTDIR)$(BACKENDDIR)
941 $(INSTALL_DATA) $(EVO_DLL_TARGET) $(EVO_DLL_TARGET).mdb $(DESTDIR)$(BACKENDDIR)
943 @for i in $(BIN_WRAPPERS); do \
944 sed -e "s|\#installed=1|installed=1|" < $$i > $$i.tmp; \
945 echo "$(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(bindir)/$$i"; \
946 $(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(bindir)/$$i || exit 1; \
950 @for i in $(SBIN_WRAPPERS); do \
951 sed -e "s|\#installed=1|installed=1|" < $$i > $$i.tmp; \
952 echo "$(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(sbindir)/$$i"; \
953 $(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(sbindir)/$$i || exit 1; \
957 @sed -e "s|\#installed=1|installed=1|" < $(INDEX_HELPER_WRAPPER) > $(INDEX_HELPER_WRAPPER).tmp
958 $(INSTALL_SCRIPT) $(INDEX_HELPER_WRAPPER).tmp $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
959 @rm -f $(INDEX_HELPER_WRAPPER).tmp
961 $(INSTALL_DATA) $(PLUGIN_TARGET) $(DESTDIR)$(pkglibdir)
962 $(INSTALL_DATA) $(PLUGIN_TARGET).mdb $(DESTDIR)$(pkglibdir)
963 $(INSTALL_DATA) $(DAEMON_DLL_TARGET) $(DESTDIR)$(pkglibdir)
964 $(INSTALL_DATA) $(DAEMON_DLL_TARGET).mdb $(DESTDIR)$(pkglibdir)
965 $(INSTALL_DATA) $(DAEMON_TARGET) $(DESTDIR)$(pkglibdir)
966 $(INSTALL_DATA) $(DAEMON_TARGET).mdb $(DESTDIR)$(pkglibdir)
967 $(INSTALL_DATA) $(EXTRACT_CONTENT_TARGET) $(DESTDIR)$(pkglibdir)
968 $(INSTALL_DATA) $(EXTRACT_CONTENT_TARGET).mdb $(DESTDIR)$(pkglibdir)
969 $(INSTALL_DATA) $(INDEX_WEB_CONTENT_TARGET) $(DESTDIR)$(pkglibdir)
970 $(INSTALL_DATA) $(INDEX_WEB_CONTENT_TARGET).mdb $(DESTDIR)$(pkglibdir)
971 $(INSTALL_DATA) $(INDEX_HELPER_TARGET) $(DESTDIR)$(pkglibdir)
972 $(INSTALL_DATA) $(INDEX_HELPER_TARGET).mdb $(DESTDIR)$(pkglibdir)
973 $(INSTALL_DATA) $(BUILD_INDEX_TARGET) $(DESTDIR)$(pkglibdir)
974 $(INSTALL_DATA) $(BUILD_INDEX_TARGET).mdb $(DESTDIR)$(pkglibdir)
975 $(INSTALL_DATA) $(MANAGE_INDEX_TARGET) $(DESTDIR)$(pkglibdir)
976 $(INSTALL_DATA) $(MANAGE_INDEX_TARGET).mdb $(DESTDIR)$(pkglibdir)
977 if ENABLE_THUNDERBIRD
978 $(INSTALL_DATA) $(THUNDERBIRD_TARGET) $(DESTDIR)$(BACKENDDIR)
979 $(INSTALL_DATA) $(THUNDERBIRD_TARGET).mdb $(DESTDIR)$(BACKENDDIR)
983 if ENABLE_THUNDERBIRD
984 rm -f $(DESTDIR)$(BACKENDDIR)/$(THUNDERBIRD_TARGET)
985 rm -f $(DESTDIR)$(BACKENDDIR)/$(THUNDERBIRD_TARGET).mdb
988 rm -f $(DESTDIR)$(BACKENDDIR)/$(EVO_DLL_TARGET)
989 rm -f $(DESTDIR)$(BACKENDDIR)/$(EVO_DLL_TARGET).mdb
992 @for i in $(BIN_WRAPPERS); do \
993 echo "rm -f $(DESTDIR)$(bindir)/$$i"; \
994 rm -f $(DESTDIR)$(bindir)/$$i || exit 1; \
997 @for i in $(SBIN_WRAPPERS); do \
998 echo "rm -f $(DESTDIR)$(sbindir)/$$i"; \
999 rm -f $(DESTDIR)$(sbindir)/$$i || exit 1; \
1002 rm -f $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET)
1003 rm -f $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET).mdb
1004 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET)
1005 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET).mdb
1006 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET)
1007 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET).mdb
1008 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET)
1009 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET).mdb
1010 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
1011 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER).mdb
1012 rm -f $(DESTDIR)$(pkglibdir)/$(EXTRACT_CONTENT_TARGET)
1013 rm -f $(DESTDIR)$(pkglibdir)/$(EXTRACT_CONTENT_TARGET).mdb
1014 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET)
1015 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET).mdb
1016 rm -f $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET)
1017 rm -f $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET).mdb
1018 rm -f $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET)
1019 rm -f $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET).mdb
1023 $(EXTRACT_CONTENT_WRAPPER) \
1024 $(INDEX_WEB_CONTENT_WRAPPER)
1027 $(BUILD_INDEX_WRAPPER) \
1028 $(MANAGE_INDEX_WRAPPER)
1030 # $(MASTER_DELETE_WRAPPER)
1031 # $(FS_SANITY_CHECK_WRAPPER)
1034 $(DUMP_INDEX_WRAPPER) \
1035 $(SNIPPET_TEST_WRAPPER) \
1036 $(TERM_STATS_WRAPPER) \
1037 $(NAME_INDEX_WRAPPER)
1041 $(DAEMON_WRAPPER_IN) \
1042 $(INDEX_HELPER_WRAPPER_IN) \
1045 $(DAEMON_DLL_CSFILES) \
1047 $(EVO_DLL_CSFILES) \
1048 $(THUNDERBIRD_CSFILES) \
1049 $(EXTRACT_CONTENT_CSFILES) \
1050 $(DUMP_INDEX_CSFILES) \
1051 $(INDEX_WEB_CONTENT_CSFILES) \
1052 $(SNIPPET_TEST_CSFILES) \
1053 $(INDEX_HELPER_CSFILES) \
1054 $(MASTER_DELETE_CSFILES) \
1055 $(TERM_STATS_CSFILES) \
1056 $(NAME_INDEX_CSFILES) \
1057 $(FS_SANITY_CHECK_CSFILES) \
1058 $(MANAGE_INDEX_CSFILES) \
1059 $(BUILD_INDEX_CSFILES)
1063 $(PLUGIN_TARGET).mdb \
1064 $(DAEMON_DLL_TARGET) \
1065 $(DAEMON_DLL_TARGET).mdb \
1067 $(DAEMON_TARGET).mdb \
1070 $(EVO_DLL_TARGET).mdb \
1071 $(INDEX_HELPER_TARGET) \
1072 $(INDEX_HELPER_TARGET).mdb \
1073 $(INDEX_HELPER_WRAPPER) \
1074 $(EXTRACT_CONTENT_TARGET) \
1075 $(EXTRACT_CONTENT_TARGET).mdb \
1076 $(EXTRACT_CONTENT_WRAPPER) \
1077 $(DUMP_INDEX_TARGET) \
1078 $(DUMP_INDEX_TARGET).mdb \
1079 $(DUMP_INDEX_WRAPPER) \
1080 $(INDEX_WEB_CONTENT_TARGET) \
1081 $(INDEX_WEB_CONTENT_TARGET).mdb \
1082 $(INDEX_WEB_CONTENT_WRAPPER) \
1083 $(MASTER_DELETE_TARGET) \
1084 $(MASTER_DELETE_TARGET).mdb \
1085 $(MASTER_DELETE_WRAPPER) \
1086 $(SNIPPET_TEST_TARGET) \
1087 $(SNIPPET_TEST_TARGET).mdb \
1088 $(SNIPPET_TEST_WRAPPER) \
1089 $(TERM_STATS_TARGET) \
1090 $(TERM_STATS_TARGET).mdb \
1091 $(TERM_STATS_WRAPPER) \
1092 $(NAME_INDEX_TARGET) \
1093 $(NAME_INDEX_TARGET).mdb \
1094 $(NAME_INDEX_WRAPPER) \
1095 $(FS_SANITY_CHECK_TARGET) \
1096 $(FS_SANITY_CHECK_TARGET).mdb \
1097 $(FS_SANITY_CHECK_WRAPPER) \
1098 $(MANAGE_INDEX_TARGET) \
1099 $(MANAGE_INDEX_TARGET).mdb \
1100 $(MANAGE_INDEX_WRAPPER) \
1101 $(BUILD_INDEX_TARGET) \
1102 $(BUILD_INDEX_TARGET).mdb \
1103 $(BUILD_INDEX_WRAPPER) \
1104 $(THUNDERBIRD_TARGET) \
1105 $(THUNDERBIRD_TARGET).mdb