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 # 0169 = The private method/field 'foo' is never used
9 # 0219 = Variable is assigned but never used
10 # 0436 = Ignore imported type (local SqliteClient)
12 # unsafe arg for Mono.Data.SqliteClient fork
13 CSC = mcs -debug -nowarn:0162,0164,0169,0219,0436 -unsafe
15 BACKENDDIR = $(pkglibdir)/Backends
17 PLUGIN_TARGET = BeagleDaemonPlugins.dll
19 PLUGIN_CSFLAGS = -target:library
25 PLUGIN_LOCAL_ASSEMBLIES = \
27 ../BeagleClient/Beagle.dll
32 $(PLUGIN_LOCAL_ASSEMBLIES:%=-r:%)
35 $(PLUGIN_TARGET): $(PLUGIN_CSFILES) $(PLUGIN_LOCAL_ASSEMBLIES)
36 $(CSC) -out:$@ $(PLUGIN_CSFLAGS) $(PLUGIN_CSFILES) $(PLUGIN_ASSEMBLIES)
38 ############################################################
40 WRAPPER_IN = wrapper.in
42 -e "s|\@prefix\@|$(prefix)|g" \
43 -e "s|\@pkglibdir\@|$(pkglibdir)|g" \
44 -e "s|\@libdir\@|$(libdir)|g" \
45 -e "s|\@evolibdir\@|$(EVO_LIBDIR)|g" \
46 -e "s|\@gacprefix\@|$(GAC_PREFIX)|g" \
47 -e "s|\@bash\@|$(BASH)|" \
48 -e "s|\@wrapper\@|$@|g"
50 ############################################################
52 lucenedir = $(srcdir)/Lucene.Net
54 LUCENE_1_9_CSFILES = \
55 $(lucenedir)/AssemblyInfo.cs \
56 $(lucenedir)/LucenePackage.cs \
57 $(lucenedir)/SupportClass.cs \
58 $(lucenedir)/Store/BufferedIndexInput.cs \
59 $(lucenedir)/Store/BufferedIndexOutput.cs \
60 $(lucenedir)/Store/Directory.cs \
61 $(lucenedir)/Store/FSDirectory.cs \
62 $(lucenedir)/Store/IndexInput.cs \
63 $(lucenedir)/Store/IndexOutput.cs \
64 $(lucenedir)/Store/InputStream.cs \
65 $(lucenedir)/Store/Lock.cs \
66 $(lucenedir)/Store/MMapDirectory.cs \
67 $(lucenedir)/Store/OutputStream.cs \
68 $(lucenedir)/Store/RAMDirectory.cs \
69 $(lucenedir)/Store/RAMFile.cs \
70 $(lucenedir)/Store/RAMInputStream.cs \
71 $(lucenedir)/Store/RAMOutputStream.cs \
72 $(lucenedir)/Util/BitVector.cs \
73 $(lucenedir)/Util/Constants.cs \
74 $(lucenedir)/Util/Parameter.cs \
75 $(lucenedir)/Util/PriorityQueue.cs \
76 $(lucenedir)/Util/StringHelper.cs \
77 $(lucenedir)/Index/CompoundFileReader.cs \
78 $(lucenedir)/Index/CompoundFileWriter.cs \
79 $(lucenedir)/Index/DocumentWriter.cs \
80 $(lucenedir)/Index/FieldInfo.cs \
81 $(lucenedir)/Index/FieldInfos.cs \
82 $(lucenedir)/Index/FieldsReader.cs \
83 $(lucenedir)/Index/FieldsWriter.cs \
84 $(lucenedir)/Index/FilterIndexReader.cs \
85 $(lucenedir)/Index/IndexReader.cs \
86 $(lucenedir)/Index/IndexWriter.cs \
87 $(lucenedir)/Index/MultipleTermPositions.cs \
88 $(lucenedir)/Index/MultiReader.cs \
89 $(lucenedir)/Index/SegmentInfo.cs \
90 $(lucenedir)/Index/SegmentInfos.cs \
91 $(lucenedir)/Index/SegmentMergeInfo.cs \
92 $(lucenedir)/Index/SegmentMergeQueue.cs \
93 $(lucenedir)/Index/SegmentMerger.cs \
94 $(lucenedir)/Index/SegmentReader.cs \
95 $(lucenedir)/Index/SegmentTermDocs.cs \
96 $(lucenedir)/Index/SegmentTermEnum.cs \
97 $(lucenedir)/Index/SegmentTermPositions.cs \
98 $(lucenedir)/Index/SegmentTermPositionVector.cs \
99 $(lucenedir)/Index/SegmentTermVector.cs \
100 $(lucenedir)/Index/Term.cs \
101 $(lucenedir)/Index/TermBuffer.cs \
102 $(lucenedir)/Index/TermDocs.cs \
103 $(lucenedir)/Index/TermEnum.cs \
104 $(lucenedir)/Index/TermFreqVector.cs \
105 $(lucenedir)/Index/TermInfo.cs \
106 $(lucenedir)/Index/TermInfosReader.cs \
107 $(lucenedir)/Index/TermInfosWriter.cs \
108 $(lucenedir)/Index/TermPositions.cs \
109 $(lucenedir)/Index/TermPositionVector.cs \
110 $(lucenedir)/Index/TermVectorOffsetInfo.cs \
111 $(lucenedir)/Index/TermVectorsReader.cs \
112 $(lucenedir)/Index/TermVectorsWriter.cs \
113 $(lucenedir)/Document/DateField.cs \
114 $(lucenedir)/Document/DateTools.cs \
115 $(lucenedir)/Document/Document.cs \
116 $(lucenedir)/Document/Field.cs \
117 $(lucenedir)/Document/NumberTools.cs \
118 $(lucenedir)/Analysis/DE/WordlistLoader.cs \
119 $(lucenedir)/Analysis/Standard/CharStream.cs \
120 $(lucenedir)/Analysis/Standard/FastCharStream.cs \
121 $(lucenedir)/Analysis/Standard/ParseException.cs \
122 $(lucenedir)/Analysis/Standard/StandardAnalyzer.cs \
123 $(lucenedir)/Analysis/Standard/StandardFilter.cs \
124 $(lucenedir)/Analysis/Standard/StandardTokenizer.cs \
125 $(lucenedir)/Analysis/Standard/StandardTokenizerConstants.cs \
126 $(lucenedir)/Analysis/Standard/StandardTokenizerTokenManager.cs \
127 $(lucenedir)/Analysis/Standard/Token.cs \
128 $(lucenedir)/Analysis/Standard/TokenMgrError.cs \
129 $(lucenedir)/Analysis/Analyzer.cs \
130 $(lucenedir)/Analysis/CharTokenizer.cs \
131 $(lucenedir)/Analysis/LetterTokenizer.cs \
132 $(lucenedir)/Analysis/LowerCaseFilter.cs \
133 $(lucenedir)/Analysis/LowerCaseTokenizer.cs \
134 $(lucenedir)/Analysis/PerFieldAnalyzerWrapper.cs \
135 $(lucenedir)/Analysis/PorterStemFilter.cs \
136 $(lucenedir)/Analysis/PorterStemmer.cs \
137 $(lucenedir)/Analysis/SimpleAnalyzer.cs \
138 $(lucenedir)/Analysis/StopAnalyzer.cs \
139 $(lucenedir)/Analysis/StopFilter.cs \
140 $(lucenedir)/Analysis/Token.cs \
141 $(lucenedir)/Analysis/TokenFilter.cs \
142 $(lucenedir)/Analysis/Tokenizer.cs \
143 $(lucenedir)/Analysis/TokenStream.cs \
144 $(lucenedir)/Analysis/WhitespaceAnalyzer.cs \
145 $(lucenedir)/Analysis/WhitespaceTokenizer.cs \
146 $(lucenedir)/Search/Spans/NearSpans.cs \
147 $(lucenedir)/Search/Spans/SpanFirstQuery.cs \
148 $(lucenedir)/Search/Spans/SpanNearQuery.cs \
149 $(lucenedir)/Search/Spans/SpanNotQuery.cs \
150 $(lucenedir)/Search/Spans/SpanOrQuery.cs \
151 $(lucenedir)/Search/Spans/SpanQuery.cs \
152 $(lucenedir)/Search/Spans/Spans.cs \
153 $(lucenedir)/Search/Spans/SpanScorer.cs \
154 $(lucenedir)/Search/Spans/SpanTermQuery.cs \
155 $(lucenedir)/Search/Spans/SpanWeight.cs \
156 $(lucenedir)/Search/BooleanClause.cs \
157 $(lucenedir)/Search/BooleanQuery.cs \
158 $(lucenedir)/Search/BooleanScorer.cs \
159 $(lucenedir)/Search/BooleanScorer2.cs \
160 $(lucenedir)/Search/CachingWrapperFilter.cs \
161 $(lucenedir)/Search/ConjunctionScorer.cs \
162 $(lucenedir)/Search/DateFilter.cs \
163 $(lucenedir)/Search/DefaultSimilarity.cs \
164 $(lucenedir)/Search/DisjunctionSumScorer.cs \
165 $(lucenedir)/Search/ExactPhraseScorer.cs \
166 $(lucenedir)/Search/Explanation.cs \
167 $(lucenedir)/Search/FieldCache.cs \
168 $(lucenedir)/Search/FieldCacheImpl.cs \
169 $(lucenedir)/Search/FieldDoc.cs \
170 $(lucenedir)/Search/FieldDocSortedHitQueue.cs \
171 $(lucenedir)/Search/FieldSortedHitQueue.cs \
172 $(lucenedir)/Search/Filter.cs \
173 $(lucenedir)/Search/FilteredQuery.cs \
174 $(lucenedir)/Search/FilteredTermEnum.cs \
175 $(lucenedir)/Search/FuzzyQuery.cs \
176 $(lucenedir)/Search/FuzzyTermEnum.cs \
177 $(lucenedir)/Search/HitCollector.cs \
178 $(lucenedir)/Search/HitQueue.cs \
179 $(lucenedir)/Search/Hits.cs \
180 $(lucenedir)/Search/IndexSearcher.cs \
181 $(lucenedir)/Search/MultiPhraseQuery.cs \
182 $(lucenedir)/Search/MultiSearcher.cs \
183 $(lucenedir)/Search/MultiTermQuery.cs \
184 $(lucenedir)/Search/NonMatchingScorer.cs \
185 $(lucenedir)/Search/ParallelMultiSearcher.cs \
186 $(lucenedir)/Search/PhrasePositions.cs \
187 $(lucenedir)/Search/PhrasePrefixQuery.cs \
188 $(lucenedir)/Search/PhraseQuery.cs \
189 $(lucenedir)/Search/PhraseQueue.cs \
190 $(lucenedir)/Search/PhraseScorer.cs \
191 $(lucenedir)/Search/PrefixQuery.cs \
192 $(lucenedir)/Search/Query.cs \
193 $(lucenedir)/Search/QueryFilter.cs \
194 $(lucenedir)/Search/QueryTermVector.cs \
195 $(lucenedir)/Search/RangeFilter.cs \
196 $(lucenedir)/Search/RangeQuery.cs \
197 $(lucenedir)/Search/RemoteSearchable.cs \
198 $(lucenedir)/Search/ReqExclScorer.cs \
199 $(lucenedir)/Search/ReqOptSumScorer.cs \
200 $(lucenedir)/Search/ScoreDoc.cs \
201 $(lucenedir)/Search/ScoreDocComparator.cs \
202 $(lucenedir)/Search/Scorer.cs \
203 $(lucenedir)/Search/Searchable.cs \
204 $(lucenedir)/Search/Searcher.cs \
205 $(lucenedir)/Search/Similarity.cs \
206 $(lucenedir)/Search/SimilarityDelegator.cs \
207 $(lucenedir)/Search/SloppyPhraseScorer.cs \
208 $(lucenedir)/Search/Sort.cs \
209 $(lucenedir)/Search/SortComparator.cs \
210 $(lucenedir)/Search/SortComparatorSource.cs \
211 $(lucenedir)/Search/SortField.cs \
212 $(lucenedir)/Search/TermQuery.cs \
213 $(lucenedir)/Search/TermScorer.cs \
214 $(lucenedir)/Search/TopDocs.cs \
215 $(lucenedir)/Search/TopFieldDocs.cs \
216 $(lucenedir)/Search/Weight.cs \
217 $(lucenedir)/Search/WildcardQuery.cs \
218 $(lucenedir)/Search/WildcardTermEnum.cs \
219 $(lucenedir)/QueryParser/Precedence/CharStream.cs \
220 $(lucenedir)/QueryParser/Precedence/ParseException.cs \
221 $(lucenedir)/QueryParser/Precedence/FastCharStream.cs \
222 $(lucenedir)/QueryParser/Precedence/PrecedenceQueryParserConstants.cs\
223 $(lucenedir)/QueryParser/Precedence/Token.cs \
224 $(lucenedir)/QueryParser/Precedence/PrecedenceQueryParserTokenManager.cs\
225 $(lucenedir)/QueryParser/Precedence/PrecedenceQueryParser.cs \
226 $(lucenedir)/QueryParser/Precedence/TokenMgrError.cs \
227 $(lucenedir)/QueryParser/CharStream.cs \
228 $(lucenedir)/QueryParser/FastCharStream.cs \
229 $(lucenedir)/QueryParser/MultiFieldQueryParser.cs \
230 $(lucenedir)/QueryParser/ParseException.cs \
231 $(lucenedir)/QueryParser/QueryParser.cs \
232 $(lucenedir)/QueryParser/QueryParserConstants.cs \
233 $(lucenedir)/QueryParser/QueryParserTokenManager.cs \
234 $(lucenedir)/QueryParser/Token.cs \
235 $(lucenedir)/QueryParser/TokenMgrError.cs
237 LUCENE_CSFILES = $(LUCENE_1_9_CSFILES)
239 ############################################################
241 sqlitedir = $(srcdir)/Mono.Data.SqliteClient
244 $(sqlitedir)/SqliteCommand.cs \
245 $(sqlitedir)/SqliteConnection.cs \
246 $(sqlitedir)/Sqlite.cs \
247 $(sqlitedir)/SqliteDataAdapter.cs \
248 $(sqlitedir)/SqliteDataReader.cs \
249 $(sqlitedir)/SqliteExceptions.cs \
250 $(sqlitedir)/SqliteParameterCollection.cs \
251 $(sqlitedir)/SqliteParameter.cs \
252 $(sqlitedir)/SqliteRowUpdatedEventArgs.cs \
253 $(sqlitedir)/SqliteRowUpdatedEventHandler.cs \
254 $(sqlitedir)/SqliteRowUpdatingEventArgs.cs \
255 $(sqlitedir)/SqliteRowUpdatingEventHandler.cs \
256 $(sqlitedir)/SqliteTransaction.cs
258 ############################################################
260 DAEMON_DLL_TARGET = BeagleDaemonLib.dll
262 DAEMON_DLL_CSFLAGS = -target:library $(BEAGLE_DEFINES)
264 fsqueryabledir = $(srcdir)/FileSystemQueryable
265 FILE_SYSTEM_QUERYABLE_CSFILES = \
266 $(fsqueryabledir)/DirectoryModel.cs \
267 $(fsqueryabledir)/DirectoryState.cs \
268 $(fsqueryabledir)/TreeCrawlTask.cs \
269 $(fsqueryabledir)/FileCrawlTask.cs \
270 $(fsqueryabledir)/DirectoryIndexableGenerator.cs \
271 $(fsqueryabledir)/FileNameFilter.cs \
272 $(fsqueryabledir)/LuceneNameResolver.cs \
273 $(fsqueryabledir)/FileSystemQueryable.cs \
274 $(fsqueryabledir)/IFileEventBackend.cs \
275 $(fsqueryabledir)/InotifyBackend.cs \
276 $(fsqueryabledir)/NullFileEventBackend.cs
279 gaimlogqueryable = $(srcdir)/GaimLogQueryable
280 GAIM_LOG_QUERYABLE_CSFILES = \
281 $(gaimlogqueryable)/GaimLogQueryable.cs
283 tomboyqueryable = $(srcdir)/TomboyQueryable
284 TOMBOY_QUERYABLE_CSFILES = \
285 $(tomboyqueryable)/TomboyQueryable.cs
287 kmailqueryable = $(srcdir)/KMailQueryable
288 KMAIL_QUERYABLE_CSFILES = \
289 $(kmailqueryable)/KMailQueryable.cs \
290 $(kmailqueryable)/KMailIndexableGenerator.cs \
291 $(kmailqueryable)/KMailIndexer.cs
293 blamqueryable = $(srcdir)/BlamQueryable
294 BLAM_QUERYABLE_CSFILES = \
295 $(blamqueryable)/BlamQueryable.cs
297 lifereaqueryable = $(srcdir)/LifereaQueryable
298 LIFEREA_QUERYABLE_CSFILES = \
299 $(lifereaqueryable)/LifereaQueryable.cs
301 akregatorqueryable = $(srcdir)/AkregatorQueryable
302 AKREGATOR_QUERYABLE_CSFILES = \
303 $(akregatorqueryable)/AkregatorQueryable.cs
305 konqhistoryqueryable = $(srcdir)/KonqHistoryQueryable
306 KONQHISTORY_QUERYABLE_CSFILES = \
307 $(konqhistoryqueryable)/KonqQueryable.cs
309 kopetequeryable = $(srcdir)/KopeteQueryable
310 KOPETE_QUERYABLE_CSFILES = \
311 $(kopetequeryable)/KopeteQueryable.cs \
312 $(kopetequeryable)/KopeteCrawler.cs
314 indexingservicequeryable = $(srcdir)/IndexingServiceQueryable
315 INDEXING_SERVICE_QUERYABLE_CSFILES = \
316 $(indexingservicequeryable)/IndexingServiceQueryable.cs
318 DAEMON_DLL_CSFILES = \
320 $(KMAIL_QUERYABLE_CSFILES) \
321 $(FILE_SYSTEM_QUERYABLE_CSFILES) \
322 $(GAIM_LOG_QUERYABLE_CSFILES) \
323 $(INDEXING_SERVICE_QUERYABLE_CSFILES) \
324 $(TOMBOY_QUERYABLE_CSFILES) \
325 $(BLAM_QUERYABLE_CSFILES) \
326 $(LIFEREA_QUERYABLE_CSFILES) \
327 $(AKREGATOR_QUERYABLE_CSFILES) \
328 $(KONQHISTORY_QUERYABLE_CSFILES) \
329 $(KOPETE_QUERYABLE_CSFILES) \
330 $(srcdir)/FileAttributes.cs \
331 $(srcdir)/FileAttributesStore.cs \
332 $(srcdir)/FileAttributesStore_ExtendedAttribute.cs \
333 $(srcdir)/FileAttributesStore_Mixed.cs \
334 $(srcdir)/FileAttributesStore_Sqlite.cs \
335 $(srcdir)/FilterFactory.cs \
336 $(srcdir)/IFileAttributesStore.cs \
337 $(srcdir)/IIndexer.cs \
338 $(srcdir)/IndexSynchronization.cs \
339 $(srcdir)/IndexerReceipts.cs \
340 $(srcdir)/IndexerRequest.cs \
341 $(srcdir)/IQueryResult.cs \
342 $(srcdir)/IQueryWorker.cs \
343 $(srcdir)/IQueryable.cs \
344 $(srcdir)/LuceneBitArray.cs \
345 $(srcdir)/LuceneCommon.cs \
346 $(srcdir)/LuceneIndexingDriver.cs \
347 $(srcdir)/LuceneQueryingDriver.cs \
348 $(srcdir)/LuceneFileQueryable.cs \
349 $(srcdir)/LuceneQueryable.cs \
350 $(srcdir)/NoiseFilter.cs \
351 $(srcdir)/PropertyKeywordFu.cs \
352 $(srcdir)/QueryDriver.cs \
353 $(srcdir)/QueryExecutor.cs \
354 $(srcdir)/QueryResult.cs \
355 $(srcdir)/QueryStringParser.cs \
356 $(srcdir)/Queryable.cs \
357 $(srcdir)/QueryableFlavor.cs \
358 $(srcdir)/RemoteControlExecutors.cs \
359 $(srcdir)/RemoteIndexerRequest.cs \
360 $(srcdir)/RemoteIndexerResponse.cs \
361 $(srcdir)/Server.cs \
362 $(srcdir)/Shutdown.cs \
363 $(srcdir)/SnippetExecutor.cs \
364 $(srcdir)/SnippetFu.cs \
365 $(srcdir)/SqliteUtils.cs \
366 $(srcdir)/StaticQueryable.cs \
367 $(srcdir)/TextCache.cs
369 DAEMON_DLL_LOCAL_ASSEMBLIES = \
371 ../BeagleClient/Beagle.dll \
374 DAEMON_DLL_ASSEMBLIES = \
376 $(DAEMON_DLL_LOCAL_ASSEMBLIES:%=-r:%) \
377 $(SHARPZIPLIB_LIBS) \
378 -r:Mono.Data.SqliteClient \
380 -r:System.Runtime.Remoting \
384 DAEMON_DLL_CSFILES += $(SQLITE_CSFILES)
385 DAEMON_DLL_ASSEMBLIES += -r:System.Data
387 DAEMON_DLL_ASSEMBLIES += -r:Mono.Data.SqliteClient
390 #if ENABLE_MOZILLA_BACKEND
391 #mozillaqueryable = $(srcdir)/MozillaQueryable
392 #MOZILLA_QUERYABLE_CSFILES = \
393 # $(mozillaqueryable)/MozillaQueryable.cs
394 #DAEMON_DLL_CSFILES += \
395 # $(MOZILLA_QUERYABLE_CSFILES)
398 if ENABLE_WEBSERVICES
399 DAEMON_DLL_CSFILES += \
400 $(webservicesdir)/WebServiceProxy.cs \
401 $(webservicesdir)/NetBeagleHandler.cs \
402 $(webservicesdir)/NetBeagleQueryable.cs
403 DAEMON_DLL_ASSEMBLIES += -r:System.Web.Services
406 if ENABLE_GOOGLEDRIVER
407 DAEMON_DLL_CSFILES += \
408 $(srcdir)/GoogleDriver.cs
411 $(DAEMON_DLL_TARGET): $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_LOCAL_ASSEMBLIES)
412 $(CSC) -out:$@ $(DAEMON_DLL_CSFLAGS) $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_ASSEMBLIES)
414 ############################################################
417 ### Pluggable backend support
420 BACKEND_CSFLAGS = -target:library
421 BACKEND_LOCAL_ASSEMBLIES = \
423 ../BeagleClient/Beagle.dll \
424 ./$(DAEMON_DLL_TARGET)
426 BACKEND_ASSEMBLIES = \
427 $(SHARPZIPLIB_LIBS) \
428 $(BACKEND_LOCAL_ASSEMBLIES:%=-r:%) \
432 ### Evolution backend
435 edsqueryable = $(srcdir)/EvolutionDataServerQueryable
436 EDS_QUERYABLE_CSFILES = \
437 $(edsqueryable)/BookContainer.cs \
438 $(edsqueryable)/CalContainer.cs \
439 $(edsqueryable)/Container.cs \
440 $(edsqueryable)/EvolutionDataServerQueryable.cs \
441 $(edsqueryable)/SourcesHandler.cs
443 evomailqueryable = $(srcdir)/EvolutionMailDriver
444 EVO_MAIL_QUERYABLE_CSFILES = \
445 $(evomailqueryable)/EvolutionMailDriver.cs \
446 $(evomailqueryable)/EvolutionMailIndexableGenerator.cs \
447 $(evomailqueryable)/GConfThreadHelper.cs \
448 $(evomailqueryable)/MailCrawler.cs
450 EVO_DLL_TARGET = EvolutionBackends.dll
451 EVO_DLL_CSFLAGS = $(BACKEND_CSFLAGS)
452 EVO_DLL_CSFILES = $(EDS_QUERYABLE_CSFILES) $(EVO_MAIL_QUERYABLE_CSFILES)
453 EVO_DLL_ASSEMBLIES = $(BACKEND_ASSEMBLIES) $(EVO_LIBS)
455 $(EVO_DLL_TARGET): $(EVO_DLL_CSFILES) $(DAEMON_DLL_LOCAL_ASSEMBLIES) $(DAEMON_DLL_TARGET)
456 $(CSC) -out:$@ $(EVO_DLL_CSFLAGS) $(EVO_DLL_CSFILES) -r:$(DAEMON_DLL_TARGET) $(EVO_DLL_ASSEMBLIES)
458 ############################################################
464 webservicesdir = $(srcdir)/WebServices
465 xspdir = $(srcdir)/WebServices/WebServer
467 WEBSERVICES_XSP_TARGET = BeagleXsp.dll
469 WEBSERVICES_XSP_CSFLAGS = -target:library
471 WEBSERVICES_XSP_ASSEMBLIES = \
474 -r:System.Runtime.Remoting
476 WEBSERVICES_XSP_CSFILES = \
477 $(xspdir)/IApplicationHost.cs \
478 $(xspdir)/MonoWorkerRequest.cs \
479 $(xspdir)/Tracing.cs \
480 $(xspdir)/ApplicationServer.cs \
481 $(xspdir)/LingeringNetworkStream.cs \
482 $(xspdir)/BaseApplicationHost.cs \
483 $(xspdir)/BaseRequestBroker.cs \
484 $(xspdir)/IWebSource.cs \
485 $(xspdir)/server.cs \
486 $(xspdir)/InitialWorkerRequest.cs \
487 $(xspdir)/XSPApplicationHost.cs \
488 $(xspdir)/XSPWorkerRequest.cs \
489 $(xspdir)/AssemblyInfo.cs
491 $(WEBSERVICES_XSP_TARGET): $(WEBSERVICES_XSP_CSFILES)
492 $(CSC) -out:$@ $(WEBSERVICES_XSP_CSFLAGS) $(WEBSERVICES_XSP_CSFILES) $(WEBSERVICES_XSP_ASSEMBLIES)
495 WEBSERVICES_BACKEND_TARGET = BeagleWebServicesBackEnd.dll
497 WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES = \
499 ../images/Images.dll \
500 ../BeagleClient/Beagle.dll \
502 BeagleDaemonPlugins.dll \
503 BeagleDaemonLib.dll \
504 $(WEBSERVICES_XSP_TARGET)
506 WEBSERVICES_BACKEND_ASSEMBLIES = \
507 $(WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES:%=-r:%) \
510 -r:System.Runtime.Remoting \
513 WEBSERVICES_BACKEND_CSFILES = \
514 $(webservicesdir)/ExternalAccessFilter.cs \
515 $(webservicesdir)/WebBackEnd.cs \
516 $(webservicesdir)/WebServiceBackEnd.cs
518 WEBSERVICES_CSFLAGS = -target:library -noconfig
520 $(WEBSERVICES_BACKEND_TARGET): $(WEBSERVICES_BACKEND_CSFILES) $(WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES)
521 $(CSC) -out:$@ $(WEBSERVICES_CSFLAGS) $(WEBSERVICES_BACKEND_CSFILES) $(WEBSERVICES_BACKEND_ASSEMBLIES)
523 WEBSERVICES_FRONTEND_TARGET = BeagleWebServicesFrontEnd.dll
524 WEBSERVICES_FRONTEND_CSFILES = \
525 $(webservicesdir)/WebFrontEnd.cs \
526 $(webservicesdir)/WebServiceFrontEnd.cs
528 WEBSERVICES_FRONTEND_ASSEMBLIES = \
529 $(WEBSERVICES_BACKEND_ASSEMBLIES) \
530 -r:$(WEBSERVICES_BACKEND_TARGET) \
531 -r:System.Web.Services
533 $(WEBSERVICES_FRONTEND_TARGET): $(WEBSERVICES_FRONTEND_CSFILES) $(WEBSERVICES_BACKEND_TARGET)
534 $(CSC) -out:$@ $(WEBSERVICES_CSFLAGS) $(WEBSERVICES_FRONTEND_CSFILES) $(WEBSERVICES_FRONTEND_ASSEMBLIES)
536 WEBSERVICES_RESOURCES = \
537 $(webservicesdir)/search.aspx \
538 $(webservicesdir)/search.asmx \
539 $(webservicesdir)/web.config
541 WEBSERVICES_RESOURCES_DIST = \
542 $(webservicesdir)/search.aspx \
543 $(webservicesdir)/search.asmx \
544 $(webservicesdir)/web.config
546 XSP_DIR = $(pkgdatadir)/xsp
547 XSPBIN_DIR = $(XSP_DIR)/bin
549 ############################################################
551 DAEMON_WRAPPER = beagled
552 DAEMON_WRAPPER_IN = beagled.in
553 DAEMON_TARGET = BeagleDaemon.exe
555 $(DAEMON_WRAPPER): $(srcdir)/$(DAEMON_WRAPPER_IN)
556 $(WRAPPER_SED) -e "s|\@target\@|$(DAEMON_TARGET)|g" < $(srcdir)/$(DAEMON_WRAPPER_IN) > $@
557 chmod +x $(DAEMON_WRAPPER)
564 $(srcdir)/BeagleDaemon.cs \
565 $(srcdir)/RemoteIndexer.cs
567 DAEMON_LOCAL_ASSEMBLIES = \
569 ../BeagleClient/Beagle.dll \
571 ./$(DAEMON_DLL_TARGET)
573 DAEMON_ASSEMBLIES = \
575 $(SHARPZIPLIB_LIBS) \
576 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
579 if ENABLE_WEBSERVICES
580 DAEMON_CSFLAGS += -define:ENABLE_WEBSERVICES
582 DAEMON_LOCAL_ASSEMBLIES += \
583 BeagleDaemonPlugins.dll \
584 ../images/Images.dll \
586 $(WEBSERVICES_BACKEND_TARGET) \
587 $(WEBSERVICES_FRONTEND_TARGET)
589 DAEMON_ASSEMBLIES += -r:System.Runtime.Remoting
592 $(DAEMON_TARGET): $(DAEMON_CSFILES) $(DAEMON_LOCAL_ASSEMBLIES)
593 $(CSC) -out:$@ $(DAEMON_CSFLAGS) $(DAEMON_CSFILES) $(DAEMON_ASSEMBLIES)
595 ############################################################
596 ############################################################
597 ############################################################
599 # This next section is a very good example of why we need real mono support in
600 # automake. This is a massive wart on our development platform.
602 INDEX_HELPER_WRAPPER = beagled-index-helper
603 INDEX_HELPER_WRAPPER_IN = $(INDEX_HELPER_WRAPPER).in
604 INDEX_HELPER_TARGET = IndexHelper.exe
606 $(INDEX_HELPER_WRAPPER): $(srcdir)/$(INDEX_HELPER_WRAPPER_IN)
607 $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_HELPER_TARGET)|g" < $(srcdir)/$(INDEX_HELPER_WRAPPER_IN) > $@
608 chmod +x $(INDEX_HELPER_WRAPPER)
610 INDEX_HELPER_CSFLAGS = -target:exe $(BEAGLE_DEFINES)
612 indexhelperdir = $(srcdir)/IndexHelper
614 INDEX_HELPER_CSFILES = \
615 $(indexhelperdir)/IndexHelper.cs \
616 $(indexhelperdir)/RemoteIndexerExecutor.cs
619 INDEX_HELPER_LOCAL_ASSEMBLIES = \
621 ../BeagleClient/Beagle.dll \
622 ./$(DAEMON_DLL_TARGET)
624 INDEX_HELPER_ASSEMBLIES = \
626 $(SHARPZIPLIB_LIBS) \
627 $(INDEX_HELPER_LOCAL_ASSEMBLIES:%=-r:%) \
629 -r:System.Runtime.Remoting
631 $(INDEX_HELPER_TARGET): $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_LOCAL_ASSEMBLIES)
632 $(CSC) -out:$@ $(INDEX_HELPER_CSFLAGS) $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_ASSEMBLIES)
634 ############################################################
636 EXTRACT_CONTENT_WRAPPER = beagle-extract-content
637 EXTRACT_CONTENT_TARGET = ExtractContent.exe
639 $(EXTRACT_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
640 $(WRAPPER_SED) -e "s|\@target\@|$(EXTRACT_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
641 chmod +x $(EXTRACT_CONTENT_WRAPPER)
644 EXTRACT_CONTENT_CSFLAGS = \
647 EXTRACT_CONTENT_CSFILES = \
648 $(srcdir)/ExtractContent.cs
650 EXTRACT_CONTENT_LOCAL_ASSEMBLIES = \
652 ../BeagleClient/Beagle.dll \
654 ./$(DAEMON_DLL_TARGET)
656 EXTRACT_CONTENT_ASSEMBLIES = \
658 $(SHARPZIPLIB_LIBS) \
659 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
661 -r:System.Runtime.Remoting
663 $(EXTRACT_CONTENT_TARGET): $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_LOCAL_ASSEMBLIES)
664 $(CSC) -out:$@ $(EXTRACT_CONTENT_CSFLAGS) $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_ASSEMBLIES)
666 ############################################################
668 DUMP_INDEX_WRAPPER = beagle-dump-index
669 DUMP_INDEX_TARGET = DumpIndex.exe
671 $(DUMP_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
672 $(WRAPPER_SED) -e "s|\@target\@|$(DUMP_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
673 chmod +x $(DUMP_INDEX_WRAPPER)
675 DUMP_INDEX_CSFLAGS = \
678 DUMP_INDEX_CSFILES = \
679 $(srcdir)/DumpIndex.cs
681 DUMP_INDEX_LOCAL_ASSEMBLIES = \
683 ../BeagleClient/Beagle.dll \
685 ./$(DAEMON_DLL_TARGET)
687 DUMP_INDEX_ASSEMBLIES = \
689 $(SHARPZIPLIB_LIBS) \
690 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
692 -r:System.Runtime.Remoting
694 $(DUMP_INDEX_TARGET): $(DUMP_INDEX_CSFILES) $(DUMP_INDEX_LOCAL_ASSEMBLIES)
695 $(CSC) -out:$@ $(DUMP_INDEX_CSFLAGS) $(DUMP_INDEX_CSFILES) $(DUMP_INDEX_ASSEMBLIES)
697 ############################################################
699 INDEX_WEB_CONTENT_WRAPPER = beagle-index-url
700 INDEX_WEB_CONTENT_TARGET = IndexWebContent.exe
702 $(INDEX_WEB_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
703 $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_WEB_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
704 chmod +x $(INDEX_WEB_CONTENT_WRAPPER)
707 INDEX_WEB_CONTENT_CSFLAGS = \
710 INDEX_WEB_CONTENT_CSFILES = \
711 $(srcdir)/IndexWebContent.cs
713 INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES = \
715 ../BeagleClient/Beagle.dll \
717 ./$(DAEMON_DLL_TARGET)
719 INDEX_WEB_CONTENT_ASSEMBLIES = \
720 $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES:%=-r:%)
722 $(INDEX_WEB_CONTENT_TARGET): $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES)
723 $(CSC) -out:$@ $(INDEX_WEB_CONTENT_CSFLAGS) $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_ASSEMBLIES)
725 ############################################################
727 MASTER_DELETE_WRAPPER = beagle-master-delete-button
728 MASTER_DELETE_TARGET = MasterDelete.exe
730 $(MASTER_DELETE_WRAPPER): $(srcdir)/$(WRAPPER_IN)
731 $(WRAPPER_SED) -e "s|\@target\@|$(MASTER_DELETE_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
732 chmod +x $(MASTER_DELETE_WRAPPER)
735 MASTER_DELETE_CSFLAGS = \
738 MASTER_DELETE_CSFILES = \
739 $(srcdir)/MasterDelete.cs
741 MASTER_DELETE_LOCAL_ASSEMBLIES = \
743 ../BeagleClient/Beagle.dll \
745 ./$(DAEMON_DLL_TARGET)
747 MASTER_DELETE_ASSEMBLIES = \
749 $(SHARPZIPLIB_LIBS) \
750 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
752 -r:System.Runtime.Remoting
754 $(MASTER_DELETE_TARGET): $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_LOCAL_ASSEMBLIES)
755 $(CSC) -out:$@ $(MASTER_DELETE_CSFLAGS) $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_ASSEMBLIES)
757 ############################################################
759 SNIPPET_TEST_WRAPPER = beagle-snippet-test
760 SNIPPET_TEST_TARGET = SnippetTest.exe
762 $(SNIPPET_TEST_WRAPPER): $(srcdir)/$(WRAPPER_IN)
763 $(WRAPPER_SED) -e "s|\@target\@|$(SNIPPET_TEST_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
764 chmod +x $(SNIPPET_TEST_WRAPPER)
766 SNIPPET_TEST_CSFLAGS = \
769 SNIPPET_TEST_CSFILES = \
770 $(srcdir)/SnippetTest.cs
772 SNIPPET_TEST_LOCAL_ASSEMBLIES = \
774 ../BeagleClient/Beagle.dll \
776 ./$(DAEMON_DLL_TARGET)
778 SNIPPET_TEST_ASSEMBLIES = \
780 $(SHARPZIPLIB_LIBS) \
781 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
783 -r:System.Runtime.Remoting
785 $(SNIPPET_TEST_TARGET): $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_LOCAL_ASSEMBLIES)
786 $(CSC) -out:$@ $(SNIPPET_TEST_CSFLAGS) $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_ASSEMBLIES)
788 ############################################################
790 TERM_STATS_WRAPPER = beagle-term-stats
791 TERM_STATS_TARGET = TermStatsTool.exe
793 $(TERM_STATS_WRAPPER): $(srcdir)/$(WRAPPER_IN)
794 $(WRAPPER_SED) -e "s|\@target\@|$(TERM_STATS_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
795 chmod +x $(TERM_STATS_WRAPPER)
797 TERM_STATS_CSFLAGS = \
800 TERM_STATS_CSFILES = \
801 $(srcdir)/TermStatsTool.cs
803 TERM_STATS_LOCAL_ASSEMBLIES = \
805 ../BeagleClient/Beagle.dll \
807 ./$(DAEMON_DLL_TARGET)
809 TERM_STATS_ASSEMBLIES = \
811 $(SHARPZIPLIB_LIBS) \
812 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
814 -r:System.Runtime.Remoting
816 $(TERM_STATS_TARGET): $(TERM_STATS_CSFILES) $(TERM_STATS_LOCAL_ASSEMBLIES)
817 $(CSC) -out:$@ $(TERM_STATS_CSFLAGS) $(TERM_STATS_CSFILES) $(TERM_STATS_ASSEMBLIES)
819 ############################################################
821 NAME_INDEX_WRAPPER = beagle-name-index
822 NAME_INDEX_TARGET = NameIndexTool.exe
824 $(NAME_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
825 $(WRAPPER_SED) -e "s|\@target\@|$(NAME_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
826 chmod +x $(NAME_INDEX_WRAPPER)
828 NAME_INDEX_CSFLAGS = \
831 NAME_INDEX_CSFILES = \
832 $(srcdir)/NameIndexTool.cs
834 NAME_INDEX_LOCAL_ASSEMBLIES = \
836 ../BeagleClient/Beagle.dll \
838 ./$(DAEMON_DLL_TARGET)
840 NAME_INDEX_ASSEMBLIES = \
842 $(SHARPZIPLIB_LIBS) \
843 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
845 -r:System.Runtime.Remoting
847 $(NAME_INDEX_TARGET): $(NAME_INDEX_CSFILES) $(NAME_INDEX_LOCAL_ASSEMBLIES)
848 $(CSC) -out:$@ $(NAME_INDEX_CSFLAGS) $(NAME_INDEX_CSFILES) $(NAME_INDEX_ASSEMBLIES)
850 ############################################################
852 FS_SANITY_CHECK_WRAPPER = beagle-file-system-sanity-check
853 FS_SANITY_CHECK_TARGET = SanityCheckTool.exe
855 $(FS_SANITY_CHECK_WRAPPER): $(srcdir)/$(WRAPPER_IN)
856 $(WRAPPER_SED) -e "s|\@target\@|$(FS_SANITY_CHECK_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
857 chmod +x $(FS_SANITY_CHECK_WRAPPER)
859 FS_SANITY_CHECK_CSFLAGS = \
862 FS_SANITY_CHECK_CSFILES = \
863 $(srcdir)/SanityCheckTool.cs
865 FS_SANITY_CHECK_LOCAL_ASSEMBLIES = \
867 ../BeagleClient/Beagle.dll \
869 ./$(DAEMON_DLL_TARGET)
871 FS_SANITY_CHECK_ASSEMBLIES = \
873 $(SHARPZIPLIB_LIBS) \
874 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
876 -r:System.Runtime.Remoting
878 $(FS_SANITY_CHECK_TARGET): $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_LOCAL_ASSEMBLIES)
879 $(CSC) -out:$@ $(FS_SANITY_CHECK_CSFLAGS) $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_ASSEMBLIES)
881 ############################################################
883 BUILD_INDEX_WRAPPER = beagle-build-index
884 BUILD_INDEX_TARGET = BuildIndex.exe
886 $(BUILD_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
887 $(WRAPPER_SED) -e "s|\@target\@|$(BUILD_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
888 chmod +x $(BUILD_INDEX_WRAPPER)
890 BUILD_INDEX_CSFLAGS = \
893 BUILD_INDEX_CSFILES = \
894 $(srcdir)/BuildIndex.cs
896 BUILD_INDEX_LOCAL_ASSEMBLIES = \
898 ../BeagleClient/Beagle.dll \
900 ./$(DAEMON_DLL_TARGET)
902 BUILD_INDEX_ASSEMBLIES = \
904 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
907 $(BUILD_INDEX_TARGET): $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_LOCAL_ASSEMBLIES)
908 $(CSC) -out:$@ $(BUILD_INDEX_CSFLAGS) $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_ASSEMBLIES)
910 ############################################################
912 MANAGE_INDEX_WRAPPER = beagle-manage-index
913 MANAGE_INDEX_TARGET = ManageIndex.exe
915 $(MANAGE_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
916 $(WRAPPER_SED) -e "s|\@target\@|$(MANAGE_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
917 chmod +x $(MANAGE_INDEX_WRAPPER)
919 MANAGE_INDEX_CSFLAGS = \
922 MANAGE_INDEX_CSFILES = \
923 $(srcdir)/ManageIndex.cs
925 MANAGE_INDEX_LOCAL_ASSEMBLIES = \
927 ../BeagleClient/Beagle.dll \
929 ./$(DAEMON_DLL_TARGET)
931 MANAGE_INDEX_ASSEMBLIES = \
933 $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%) \
936 $(MANAGE_INDEX_TARGET): $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_LOCAL_ASSEMBLIES)
937 $(CSC) -out:$@ $(MANAGE_INDEX_CSFLAGS) $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_ASSEMBLIES)
939 ############################################################
941 CRAWL_SYSTEM_IN = beagle-crawl-system.in
942 CRAWL_SYSTEM = beagle-crawl-system
944 $(CRAWL_SYSTEM): $(srcdir)/$(CRAWL_SYSTEM_IN)
945 $(WRAPPER_SEB) -e "s|\@target\@|$(CRAWL_SYSTEM)|g" < $(srcdir)/$(CRAWL_SYSTEM_IN) > $@
946 chmod +x $(CRAWL_SYSTEM)
948 # OK, now back to our regularly scheduled program. But notice all of the
949 # EXTRA_DIST and CLEANFILES stuff at the bottom of the file. Yuck.
951 ############################################################
952 ############################################################
953 ############################################################
955 # $(MASTER_DELETE_TARGET)
957 # $(FS_SANITY_CHECK_TARGET)
961 $(DAEMON_DLL_TARGET) \
964 $(INDEX_HELPER_TARGET) \
965 $(INDEX_HELPER_WRAPPER) \
966 $(INDEX_WEB_CONTENT_TARGET) \
967 $(INDEX_WEB_CONTENT_WRAPPER) \
968 $(EXTRACT_CONTENT_TARGET) \
969 $(EXTRACT_CONTENT_WRAPPER) \
970 $(DUMP_INDEX_TARGET) \
971 $(SNIPPET_TEST_TARGET) \
972 $(TERM_STATS_TARGET) \
973 $(NAME_INDEX_TARGET) \
974 $(MANAGE_INDEX_TARGET) \
975 $(MANAGE_INDEX_WRAPPER) \
976 $(BUILD_INDEX_TARGET) \
977 $(BUILD_INDEX_WRAPPER)
979 if ENABLE_WEBSERVICES
982 $(WEBSERVICES_FRONTEND_TARGET) \
983 $(WEBSERVICES_BACKEND_TARGET)
993 beagle-build-index.8 \
994 beagle-manage-index.8
998 install-data-local: $(ALL_TARGETS)
999 $(mkinstalldirs) $(DESTDIR)$(bindir)
1000 $(mkinstalldirs) $(DESTDIR)$(sbindir)
1001 $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
1002 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
1003 $(mkinstalldirs) $(DESTDIR)$(BACKENDDIR)
1004 if ENABLE_WEBSERVICES
1005 $(mkinstalldirs) $(DESTDIR)$(XSP_DIR)
1006 $(mkinstalldirs) $(DESTDIR)$(XSPBIN_DIR)
1009 $(INSTALL_DATA) $(EVO_DLL_TARGET) $(EVO_DLL_TARGET).mdb $(DESTDIR)$(BACKENDDIR)
1011 @for i in $(BIN_WRAPPERS); do \
1012 sed -e "s|\#installed=1|installed=1|" < $$i > $$i.tmp; \
1013 echo "$(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(bindir)/$$i"; \
1014 $(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(bindir)/$$i || exit 1; \
1018 @for i in $(SBIN_WRAPPERS); do \
1019 sed -e "s|\#installed=1|installed=1|" < $$i > $$i.tmp; \
1020 echo "$(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(sbindir)/$$i"; \
1021 $(INSTALL_SCRIPT) $$i.tmp $(DESTDIR)$(sbindir)/$$i || exit 1; \
1025 @sed -e "s|\#installed=1|installed=1|" < $(INDEX_HELPER_WRAPPER) > $(INDEX_HELPER_WRAPPER).tmp
1026 $(INSTALL_SCRIPT) $(INDEX_HELPER_WRAPPER).tmp $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
1027 @rm -f $(INDEX_HELPER_WRAPPER).tmp
1029 $(INSTALL_DATA) $(PLUGIN_TARGET) $(DESTDIR)$(pkglibdir)
1030 $(INSTALL_DATA) $(PLUGIN_TARGET).mdb $(DESTDIR)$(pkglibdir)
1031 $(INSTALL_DATA) $(DAEMON_DLL_TARGET) $(DESTDIR)$(pkglibdir)
1032 $(INSTALL_DATA) $(DAEMON_DLL_TARGET).mdb $(DESTDIR)$(pkglibdir)
1033 $(INSTALL_DATA) $(DAEMON_TARGET) $(DESTDIR)$(pkglibdir)
1034 $(INSTALL_DATA) $(DAEMON_TARGET).mdb $(DESTDIR)$(pkglibdir)
1035 $(INSTALL_DATA) $(EXTRACT_CONTENT_TARGET) $(DESTDIR)$(pkglibdir)
1036 $(INSTALL_DATA) $(EXTRACT_CONTENT_TARGET).mdb $(DESTDIR)$(pkglibdir)
1037 $(INSTALL_DATA) $(INDEX_WEB_CONTENT_TARGET) $(DESTDIR)$(pkglibdir)
1038 $(INSTALL_DATA) $(INDEX_WEB_CONTENT_TARGET).mdb $(DESTDIR)$(pkglibdir)
1039 $(INSTALL_DATA) $(INDEX_HELPER_TARGET) $(DESTDIR)$(pkglibdir)
1040 $(INSTALL_DATA) $(INDEX_HELPER_TARGET).mdb $(DESTDIR)$(pkglibdir)
1041 $(INSTALL_DATA) $(BUILD_INDEX_TARGET) $(DESTDIR)$(pkglibdir)
1042 $(INSTALL_DATA) $(BUILD_INDEX_TARGET).mdb $(DESTDIR)$(pkglibdir)
1043 $(INSTALL_DATA) $(MANAGE_INDEX_TARGET) $(DESTDIR)$(pkglibdir)
1044 $(INSTALL_DATA) $(MANAGE_INDEX_TARGET).mdb $(DESTDIR)$(pkglibdir)
1045 if ENABLE_WEBSERVICES
1046 $(INSTALL_DATA) $(WEBSERVICES_XSP_TARGET) $(DESTDIR)$(pkglibdir)
1047 $(INSTALL_DATA) $(WEBSERVICES_BACKEND_TARGET) $(DESTDIR)$(pkglibdir)
1048 $(INSTALL_DATA) $(WEBSERVICES_FRONTEND_TARGET) $(DESTDIR)$(XSPBIN_DIR)
1049 $(INSTALL_DATA) $(WEBSERVICES_BACKEND_TARGET) $(DESTDIR)$(XSPBIN_DIR)
1050 $(INSTALL_DATA) $(WEBSERVICES_RESOURCES) $(DESTDIR)$(XSP_DIR)
1051 # $(INSTALL_DATA) ../Util/Util.dll ../images/Images.dll ../BeagleClient/Beagle.dll ../Tiles/Tiles.dll BeagleDaemonPlugins.dll BeagleDaemonLib.dll $(DESTDIR)$(XSPBIN_DIR)
1056 if ENABLE_WEBSERVICES
1057 rm -f $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_BACKEND_TARGET)
1058 rm -f $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_XSP_TARGET)
1059 rm -rf $(DESTDIR)$(XSP_DIR)
1062 rm -f $(DESTDIR)$(BACKENDDIR)/$(EVO_DLL_TARGET)
1063 rm -f $(DESTDIR)$(BACKENDDIR)/$(EVO_DLL_TARGET).mdb
1066 @for i in $(BIN_WRAPPERS); do \
1067 echo "rm -f $(DESTDIR)$(bindir)/$$i"; \
1068 rm -f $(DESTDIR)$(bindir)/$$i || exit 1; \
1071 @for i in $(SBIN_WRAPPERS); do \
1072 echo "rm -f $(DESTDIR)$(sbindir)/$$i"; \
1073 rm -f $(DESTDIR)$(sbindir)/$$i || exit 1; \
1076 rm -f $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET)
1077 rm -f $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET).mdb
1078 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET)
1079 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET).mdb
1080 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET)
1081 rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET).mdb
1082 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET)
1083 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET).mdb
1084 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
1085 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER).mdb
1086 rm -f $(DESTDIR)$(pkglibdir)/$(EXTRACT_CONTENT_TARGET)
1087 rm -f $(DESTDIR)$(pkglibdir)/$(EXTRACT_CONTENT_TARGET).mdb
1088 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET)
1089 rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET).mdb
1090 rm -f $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET)
1091 rm -f $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET).mdb
1092 rm -f $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET)
1093 rm -f $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET).mdb
1097 $(EXTRACT_CONTENT_WRAPPER) \
1098 $(INDEX_WEB_CONTENT_WRAPPER)
1101 $(BUILD_INDEX_WRAPPER) \
1102 $(MANAGE_INDEX_WRAPPER)
1104 # $(MASTER_DELETE_WRAPPER)
1105 # $(FS_SANITY_CHECK_WRAPPER)
1108 $(DUMP_INDEX_WRAPPER) \
1109 $(SNIPPET_TEST_WRAPPER) \
1110 $(TERM_STATS_WRAPPER) \
1111 $(NAME_INDEX_WRAPPER)
1115 $(DAEMON_WRAPPER_IN) \
1116 $(INDEX_HELPER_WRAPPER_IN) \
1119 $(DAEMON_DLL_CSFILES) \
1121 $(EVO_DLL_CSFILES) \
1122 $(EXTRACT_CONTENT_CSFILES) \
1123 $(DUMP_INDEX_CSFILES) \
1124 $(INDEX_WEB_CONTENT_CSFILES) \
1125 $(SNIPPET_TEST_CSFILES) \
1126 $(INDEX_HELPER_CSFILES) \
1127 $(MASTER_DELETE_CSFILES) \
1128 $(TERM_STATS_CSFILES) \
1129 $(NAME_INDEX_CSFILES) \
1130 $(FS_SANITY_CHECK_CSFILES) \
1131 $(MANAGE_INDEX_CSFILES) \
1132 $(BUILD_INDEX_CSFILES) \
1133 $(WEBSERVICES_XSP_CSFILES) \
1134 $(WEBSERVICES_BACKEND_CSFILES) \
1135 $(WEBSERVICES_FRONTEND_CSFILES) \
1136 $(WEBSERVICES_RESOURCES_DIST) \
1137 $(webservicesdir)/WebServiceProxy.cs \
1138 $(webservicesdir)/NetBeagleHandler.cs \
1139 $(webservicesdir)/NetBeagleQueryable.cs
1143 $(PLUGIN_TARGET).mdb \
1144 $(DAEMON_DLL_TARGET) \
1145 $(DAEMON_DLL_TARGET).mdb \
1147 $(DAEMON_TARGET).mdb \
1150 $(EVO_DLL_TARGET).mdb \
1151 $(INDEX_HELPER_TARGET) \
1152 $(INDEX_HELPER_TARGET).mdb \
1153 $(INDEX_HELPER_WRAPPER) \
1154 $(EXTRACT_CONTENT_TARGET) \
1155 $(EXTRACT_CONTENT_TARGET).mdb \
1156 $(EXTRACT_CONTENT_WRAPPER) \
1157 $(DUMP_INDEX_TARGET) \
1158 $(DUMP_INDEX_TARGET).mdb \
1159 $(DUMP_INDEX_WRAPPER) \
1160 $(INDEX_WEB_CONTENT_TARGET) \
1161 $(INDEX_WEB_CONTENT_TARGET).mdb \
1162 $(INDEX_WEB_CONTENT_WRAPPER) \
1163 $(MASTER_DELETE_TARGET) \
1164 $(MASTER_DELETE_TARGET).mdb \
1165 $(MASTER_DELETE_WRAPPER) \
1166 $(SNIPPET_TEST_TARGET) \
1167 $(SNIPPET_TEST_TARGET).mdb \
1168 $(SNIPPET_TEST_WRAPPER) \
1169 $(TERM_STATS_TARGET) \
1170 $(TERM_STATS_TARGET).mdb \
1171 $(TERM_STATS_WRAPPER) \
1172 $(NAME_INDEX_TARGET) \
1173 $(NAME_INDEX_TARGET).mdb \
1174 $(NAME_INDEX_WRAPPER) \
1175 $(FS_SANITY_CHECK_TARGET) \
1176 $(FS_SANITY_CHECK_TARGET).mdb \
1177 $(FS_SANITY_CHECK_WRAPPER) \
1178 $(MANAGE_INDEX_TARGET) \
1179 $(MANAGE_INDEX_TARGET).mdb \
1180 $(MANAGE_INDEX_WRAPPER) \
1181 $(BUILD_INDEX_TARGET) \
1182 $(BUILD_INDEX_TARGET).mdb \
1183 $(BUILD_INDEX_WRAPPER) \
1184 $(WEBSERVICES_BACKEND_TARGET) \
1185 $(WEBSERVICES_BACKEND_TARGET).mdb \
1186 $(WEBSERVICES_FRONTEND_TARGET) \
1187 $(WEBSERVICES_FRONTEND_TARGET).mdb \
1188 $(WEBSERVICES_XSP_TARGET) \
1189 $(WEBSERVICES_XSP_TARGET).mdb