New e-d-s backend which indexes all local addressbooks and calendars.
[beagle.git] / beagled / Makefile.am
blob7e15f6d515cdceb61e181ca1bb2c345b6ee937f6
2 # Warnings we don't want to see
3 # 0067 = event defined but not used
4 # 0618 = Mono.Posix.Syscall is obsolete
5 # 0169 = The private method/field 'foo' is never used
6 # 0164 = This label has not been referenced
8 CSC = mcs -debug -nowarn:0067,0618,0619,0169,0164
10 PLUGIN_TARGET = BeagleDaemonPlugins.dll
12 PLUGIN_CSFLAGS = -target:library
14 PLUGIN_CSFILES =                        \
15         $(srcdir)/Flavor.cs             \
16         $(srcdir)/Filter.cs
18 PLUGIN_LOCAL_ASSEMBLIES =               \
19         ../Util/Util.dll                \
20         ../BeagleClient/Beagle.dll
22 PLUGIN_ASSEMBLIES =                             \
23         -r:Mono.Posix                           \
24         $(BEAGLED_LIBS)                         \
25         $(PLUGIN_LOCAL_ASSEMBLIES:%=-r:%)
28 $(PLUGIN_TARGET): $(PLUGIN_CSFILES) $(PLUGIN_LOCAL_ASSEMBLIES)
29         $(CSC) -out:$@ $(PLUGIN_CSFLAGS) $(PLUGIN_CSFILES) $(PLUGIN_ASSEMBLIES)
31 ############################################################
33 WRAPPER_IN = wrapper.in
34 WRAPPER_SED = sed                                       \
35         -e "s|\@prefix\@|$(prefix)|g"                   \
36         -e "s|\@pkglibdir\@|$(pkglibdir)|g"             \
37         -e "s|\@libdir\@|$(libdir)|g"                   \
38         -e "s|\@gacprefix\@|$(GAC_PREFIX)|g"            \
39         -e "s|\@bash\@|$(BASH)|"
41 ############################################################
43 lucenedir = $(srcdir)/Lucene.Net
45 LUCENE_1_4_CSFILES =                                                    \
46         $(lucenedir)/AssemblyInfo.cs                                    \
47         $(lucenedir)/SupportClass.cs                                    \
48         $(lucenedir)/Store/Directory.cs                                 \
49         $(lucenedir)/Store/FSDirectory.cs                               \
50         $(lucenedir)/Store/InputStream.cs                               \
51         $(lucenedir)/Store/Lock.cs                                      \
52         $(lucenedir)/Store/OutputStream.cs                              \
53         $(lucenedir)/Store/RAMDirectory.cs                              \
54         $(lucenedir)/Store/RAMFile.cs                                   \
55         $(lucenedir)/Store/RAMInputStream.cs                            \
56         $(lucenedir)/Store/RAMOutputStream.cs                           \
57         $(lucenedir)/Util/BitVector.cs                                  \
58         $(lucenedir)/Util/Constants.cs                                  \
59         $(lucenedir)/Util/PriorityQueue.cs                              \
60         $(lucenedir)/Util/StringHelper.cs                               \
61         $(lucenedir)/Index/CompoundFileReader.cs                        \
62         $(lucenedir)/Index/CompoundFileWriter.cs                        \
63         $(lucenedir)/Index/DocumentWriter.cs                            \
64         $(lucenedir)/Index/FieldInfo.cs                                 \
65         $(lucenedir)/Index/FieldInfos.cs                                \
66         $(lucenedir)/Index/FieldsReader.cs                              \
67         $(lucenedir)/Index/FieldsWriter.cs                              \
68         $(lucenedir)/Index/FilterIndexReader.cs                         \
69         $(lucenedir)/Index/IndexReader.cs                               \
70         $(lucenedir)/Index/IndexWriter.cs                               \
71         $(lucenedir)/Index/MultipleTermPositions.cs                     \
72         $(lucenedir)/Index/MultiReader.cs                               \
73         $(lucenedir)/Index/SegmentInfo.cs                               \
74         $(lucenedir)/Index/SegmentInfos.cs                              \
75         $(lucenedir)/Index/SegmentMergeInfo.cs                          \
76         $(lucenedir)/Index/SegmentMergeQueue.cs                         \
77         $(lucenedir)/Index/SegmentMerger.cs                             \
78         $(lucenedir)/Index/SegmentReader.cs                             \
79         $(lucenedir)/Index/SegmentTermDocs.cs                           \
80         $(lucenedir)/Index/SegmentTermEnum.cs                           \
81         $(lucenedir)/Index/SegmentTermPositions.cs                      \
82         $(lucenedir)/Index/SegmentTermVector.cs                         \
83         $(lucenedir)/Index/Term.cs                                      \
84         $(lucenedir)/Index/TermBuffer.cs                                \
85         $(lucenedir)/Index/TermDocs.cs                                  \
86         $(lucenedir)/Index/TermEnum.cs                                  \
87         $(lucenedir)/Index/TermFreqVector.cs                            \
88         $(lucenedir)/Index/TermInfo.cs                                  \
89         $(lucenedir)/Index/TermInfosReader.cs                           \
90         $(lucenedir)/Index/TermInfosWriter.cs                           \
91         $(lucenedir)/Index/TermPositions.cs                             \
92         $(lucenedir)/Index/TermPositionVector.cs                        \
93         $(lucenedir)/Index/TermVectorsReader.cs                         \
94         $(lucenedir)/Index/TermVectorsWriter.cs                         \
95         $(lucenedir)/Document/DateField.cs                              \
96         $(lucenedir)/Document/Document.cs                               \
97         $(lucenedir)/Document/Field.cs                                  \
98         $(lucenedir)/Analysis/DE/GermanAnalyzer.cs                      \
99         $(lucenedir)/Analysis/DE/GermanStemFilter.cs                    \
100         $(lucenedir)/Analysis/DE/GermanStemmer.cs                       \
101         $(lucenedir)/Analysis/DE/WordlistLoader.cs                      \
102         $(lucenedir)/Analysis/RU/RussianAnalyzer.cs                     \
103         $(lucenedir)/Analysis/RU/RussianCharsets.cs                     \
104         $(lucenedir)/Analysis/RU/RussianLetterTokenizer.cs              \
105         $(lucenedir)/Analysis/RU/RussianLowerCaseFilter.cs              \
106         $(lucenedir)/Analysis/RU/RussianStemFilter.cs                   \
107         $(lucenedir)/Analysis/RU/RussianStemmer.cs                      \
108         $(lucenedir)/Analysis/Standard/CharStream.cs                    \
109         $(lucenedir)/Analysis/Standard/FastCharStream.cs                \
110         $(lucenedir)/Analysis/Standard/ParseException.cs                \
111         $(lucenedir)/Analysis/Standard/StandardAnalyzer.cs              \
112         $(lucenedir)/Analysis/Standard/StandardFilter.cs                \
113         $(lucenedir)/Analysis/Standard/StandardTokenizer.cs             \
114         $(lucenedir)/Analysis/Standard/StandardTokenizerConstants.cs    \
115         $(lucenedir)/Analysis/Standard/StandardTokenizerTokenManager.cs \
116         $(lucenedir)/Analysis/Standard/Token.cs                         \
117         $(lucenedir)/Analysis/Standard/TokenMgrError.cs                 \
118         $(lucenedir)/Analysis/Analyzer.cs                               \
119         $(lucenedir)/Analysis/CharTokenizer.cs                          \
120         $(lucenedir)/Analysis/LetterTokenizer.cs                        \
121         $(lucenedir)/Analysis/LowerCaseFilter.cs                        \
122         $(lucenedir)/Analysis/LowerCaseTokenizer.cs                     \
123         $(lucenedir)/Analysis/PerFieldAnalyzerWrapper.cs                \
124         $(lucenedir)/Analysis/PorterStemFilter.cs                       \
125         $(lucenedir)/Analysis/PorterStemmer.cs                          \
126         $(lucenedir)/Analysis/SimpleAnalyzer.cs                         \
127         $(lucenedir)/Analysis/StopAnalyzer.cs                           \
128         $(lucenedir)/Analysis/StopFilter.cs                             \
129         $(lucenedir)/Analysis/Token.cs                                  \
130         $(lucenedir)/Analysis/TokenFilter.cs                            \
131         $(lucenedir)/Analysis/Tokenizer.cs                              \
132         $(lucenedir)/Analysis/TokenStream.cs                            \
133         $(lucenedir)/Analysis/WhitespaceAnalyzer.cs                     \
134         $(lucenedir)/Analysis/WhitespaceTokenizer.cs                    \
135         $(lucenedir)/Search/Spans/NearSpans.cs                          \
136         $(lucenedir)/Search/Spans/SpanFirstQuery.cs                     \
137         $(lucenedir)/Search/Spans/SpanNearQuery.cs                      \
138         $(lucenedir)/Search/Spans/SpanNotQuery.cs                       \
139         $(lucenedir)/Search/Spans/SpanOrQuery.cs                        \
140         $(lucenedir)/Search/Spans/SpanQuery.cs                          \
141         $(lucenedir)/Search/Spans/Spans.cs                              \
142         $(lucenedir)/Search/Spans/SpanScorer.cs                         \
143         $(lucenedir)/Search/Spans/SpanTermQuery.cs                      \
144         $(lucenedir)/Search/Spans/SpanWeight.cs                         \
145         $(lucenedir)/Search/BooleanClause.cs                            \
146         $(lucenedir)/Search/BooleanQuery.cs                             \
147         $(lucenedir)/Search/BooleanScorer.cs                            \
148         $(lucenedir)/Search/CachingWrapperFilter.cs                     \
149         $(lucenedir)/Search/ConjunctionScorer.cs                        \
150         $(lucenedir)/Search/DateFilter.cs                               \
151         $(lucenedir)/Search/DefaultSimilarity.cs                        \
152         $(lucenedir)/Search/ExactPhraseScorer.cs                        \
153         $(lucenedir)/Search/Explanation.cs                              \
154         $(lucenedir)/Search/FieldCache.cs                               \
155         $(lucenedir)/Search/FieldCacheImpl.cs                           \
156         $(lucenedir)/Search/FieldDoc.cs                                 \
157         $(lucenedir)/Search/FieldDocSortedHitQueue.cs                   \
158         $(lucenedir)/Search/FieldSortedHitQueue.cs                      \
159         $(lucenedir)/Search/Filter.cs                                   \
160         $(lucenedir)/Search/FilteredQuery.cs                            \
161         $(lucenedir)/Search/FilteredTermEnum.cs                         \
162         $(lucenedir)/Search/FuzzyQuery.cs                               \
163         $(lucenedir)/Search/FuzzyTermEnum.cs                            \
164         $(lucenedir)/Search/HitCollector.cs                             \
165         $(lucenedir)/Search/HitQueue.cs                                 \
166         $(lucenedir)/Search/Hits.cs                                     \
167         $(lucenedir)/Search/IndexSearcher.cs                            \
168         $(lucenedir)/Search/MultiSearcher.cs                            \
169         $(lucenedir)/Search/MultiTermQuery.cs                           \
170         $(lucenedir)/Search/ParallelMultiSearcher.cs                    \
171         $(lucenedir)/Search/PhrasePositions.cs                          \
172         $(lucenedir)/Search/PhrasePrefixQuery.cs                        \
173         $(lucenedir)/Search/PhraseQuery.cs                              \
174         $(lucenedir)/Search/PhraseQueue.cs                              \
175         $(lucenedir)/Search/PhraseScorer.cs                             \
176         $(lucenedir)/Search/PrefixQuery.cs                              \
177         $(lucenedir)/Search/Query.cs                                    \
178         $(lucenedir)/Search/QueryFilter.cs                              \
179         $(lucenedir)/Search/QueryTermVector.cs                          \
180         $(lucenedir)/Search/RangeQuery.cs                               \
181         $(lucenedir)/Search/RemoteSearchable.cs                         \
182         $(lucenedir)/Search/ScoreDoc.cs                                 \
183         $(lucenedir)/Search/ScoreDocComparator.cs                       \
184         $(lucenedir)/Search/Scorer.cs                                   \
185         $(lucenedir)/Search/Searchable.cs                               \
186         $(lucenedir)/Search/Searcher.cs                                 \
187         $(lucenedir)/Search/Similarity.cs                               \
188         $(lucenedir)/Search/SloppyPhraseScorer.cs                       \
189         $(lucenedir)/Search/Sort.cs                                     \
190         $(lucenedir)/Search/SortComparator.cs                           \
191         $(lucenedir)/Search/SortComparatorSource.cs                     \
192         $(lucenedir)/Search/SortField.cs                                \
193         $(lucenedir)/Search/TermQuery.cs                                \
194         $(lucenedir)/Search/TermScorer.cs                               \
195         $(lucenedir)/Search/TopDocs.cs                                  \
196         $(lucenedir)/Search/TopFieldDocs.cs                             \
197         $(lucenedir)/Search/Weight.cs                                   \
198         $(lucenedir)/Search/WildcardQuery.cs                            \
199         $(lucenedir)/Search/WildcardTermEnum.cs                         \
200         $(lucenedir)/QueryParser/CharStream.cs                          \
201         $(lucenedir)/QueryParser/FastCharStream.cs                      \
202         $(lucenedir)/QueryParser/MultiFieldQueryParser.cs               \
203         $(lucenedir)/QueryParser/ParseException.cs                      \
204         $(lucenedir)/QueryParser/QueryParser.cs                         \
205         $(lucenedir)/QueryParser/QueryParserConstants.cs                \
206         $(lucenedir)/QueryParser/QueryParserTokenManager.cs             \
207         $(lucenedir)/QueryParser/Token.cs                               \
208         $(lucenedir)/QueryParser/TokenMgrError.cs
210 LUCENE_CSFILES = $(LUCENE_1_4_CSFILES)
212 ############################################################
214 sqlitedir = $(srcdir)/Mono.Data.SqliteClient
216 SQLITE_CSFILES =                                        \
217         $(sqlitedir)/SqliteCommand.cs                   \
218         $(sqlitedir)/SqliteConnection.cs                \
219         $(sqlitedir)/Sqlite.cs                          \
220         $(sqlitedir)/SqliteDataAdapter.cs               \
221         $(sqlitedir)/SqliteDataReader.cs                \
222         $(sqlitedir)/SqliteException.cs                 \
223         $(sqlitedir)/SqliteParameterCollection.cs       \
224         $(sqlitedir)/SqliteParameter.cs                 \
225         $(sqlitedir)/SqliteRowUpdatedEventArgs.cs       \
226         $(sqlitedir)/SqliteRowUpdatedEventHandler.cs    \
227         $(sqlitedir)/SqliteRowUpdatingEventArgs.cs      \
228         $(sqlitedir)/SqliteRowUpdatingEventHandler.cs   \
229         $(sqlitedir)/SqliteTransaction.cs
231 ############################################################
233 DAEMON_DLL_TARGET = BeagleDaemonLib.dll
235 DAEMON_DLL_CSFLAGS = -target:library $(BEAGLE_DEFINES)
237 fsqueryabledir = $(srcdir)/FileSystemQueryable
238 FILE_SYSTEM_QUERYABLE_CSFILES =                                 \
239         $(fsqueryabledir)/CrawlTask.cs                          \
240         $(fsqueryabledir)/DirectoryIndexableGenerator.cs        \
241         $(fsqueryabledir)/FileNameFilter.cs                     \
242         $(fsqueryabledir)/FileSystemModel.cs                    \
243         $(fsqueryabledir)/FileSystemQueryable.cs                \
244         $(fsqueryabledir)/FileSystemWatcherBackend.cs           \
245         $(fsqueryabledir)/IFileEventBackend.cs                  \
246         $(fsqueryabledir)/InotifyBackend.cs                     \
247         $(fsqueryabledir)/SanityCheck.cs                        \
248         $(fsqueryabledir)/UniqueIdStore.cs
250 gaimlogqueryable = $(srcdir)/GaimLogQueryable
251 GAIM_LOG_QUERYABLE_CSFILES =                            \
252         $(gaimlogqueryable)/GaimLogQueryable.cs         \
253         $(gaimlogqueryable)/GaimLogCrawler.cs
255 edsqueryable = $(srcdir)/EvolutionDataServerQueryable
256 EDS_QUERYABLE_CSFILES =                                 \
257         $(edsqueryable)/EvolutionDataServerQueryable.cs \
258         $(edsqueryable)/EdsSource.cs
260 tomboyqueryable = $(srcdir)/TomboyQueryable
261 TOMBOY_QUERYABLE_CSFILES =                              \
262         $(tomboyqueryable)/TomboyQueryable.cs
264 evomailqueryable = $(srcdir)/EvolutionMailDriver
265 EVO_MAIL_QUERYABLE_CSFILES =                                    \
266         $(evomailqueryable)/EvolutionMailDriver.cs              \
267         $(evomailqueryable)/EvolutionMailIndexableGenerator.cs  \
268         $(evomailqueryable)/MailCrawler.cs
270 blamqueryable = $(srcdir)/BlamQueryable
271 BLAM_QUERYABLE_CSFILES =                                \
272         $(blamqueryable)/BlamQueryable.cs
274 lifereaqueryable = $(srcdir)/LifereaQueryable
275 LIFEREA_QUERYABLE_CSFILES =                             \
276         $(lifereaqueryable)/LifereaQueryable.cs
278 akregatorqueryable = $(srcdir)/AkregatorQueryable
279 AKREGATOR_QUERYABLE_CSFILES =                           \
280         $(akregatorqueryable)/AkregatorQueryable.cs
282 kopetequeryable = $(srcdir)/KopeteQueryable
283 KOPETE_QUERYABLE_CSFILES =                              \
284         $(kopetequeryable)/KopeteQueryable.cs           \
285         $(kopetequeryable)/KopeteCrawler.cs
287 indexingservicequeryable = $(srcdir)/IndexingServiceQueryable
288 INDEXING_SERVICE_QUERYABLE_CSFILES =                    \
289         $(indexingservicequeryable)/IndexingServiceQueryable.cs
291 DAEMON_DLL_CSFILES =                                            \
292         $(LUCENE_CSFILES)                                       \
293         $(FILE_SYSTEM_QUERYABLE_CSFILES)                        \
294         $(GAIM_LOG_QUERYABLE_CSFILES)                           \
295         $(BLAM_QUERYABLE_CSFILES)                               \
296         $(LIFEREA_QUERYABLE_CSFILES)                            \
297         $(AKREGATOR_QUERYABLE_CSFILES)                          \
298         $(KOPETE_QUERYABLE_CSFILES)                             \
299         $(EVO_MAIL_QUERYABLE_CSFILES)                           \
300         $(TOMBOY_QUERYABLE_CSFILES)                             \
301         $(INDEXING_SERVICE_QUERYABLE_CSFILES)                   \
302         $(srcdir)/FileAttributes.cs                             \
303         $(srcdir)/FileAttributesStore.cs                        \
304         $(srcdir)/FileAttributesStore_ExtendedAttribute.cs      \
305         $(srcdir)/FileAttributesStore_Mixed.cs                  \
306         $(srcdir)/FileAttributesStore_Sqlite.cs                 \
307         $(srcdir)/FilterFactory.cs                              \
308         $(srcdir)/GConfThreadHelper.cs                          \
309         $(srcdir)/GoogleDriver.cs                               \
310         $(srcdir)/HitRegulator.cs                               \
311         $(srcdir)/IFileAttributesStore.cs                       \
312         $(srcdir)/IIndexer.cs                                   \
313         $(srcdir)/IndexSynchronization.cs                       \
314         $(srcdir)/IQueryResult.cs                               \
315         $(srcdir)/IQueryWorker.cs                               \
316         $(srcdir)/IQueryable.cs                                 \
317         $(srcdir)/LuceneDriver.cs                               \
318         $(srcdir)/LuceneQueryable.cs                            \
319         $(srcdir)/NameIndex.cs                                  \
320         $(srcdir)/QueryDriver.cs                                \
321         $(srcdir)/QueryExecutor.cs                              \
322         $(srcdir)/QueryResult.cs                                \
323         $(srcdir)/Queryable.cs                                  \
324         $(srcdir)/QueryableFlavor.cs                            \
325         $(srcdir)/RemoteControlExecutors.cs                     \
326         $(srcdir)/RemoteIndexerRequest.cs                       \
327         $(srcdir)/RemoteIndexerResponse.cs                      \
328         $(srcdir)/RenamingLuceneDriver.cs                       \
329         $(srcdir)/Server.cs                                     \
330         $(srcdir)/Shutdown.cs                                   \
331         $(srcdir)/SnippetExecutor.cs                            \
332         $(srcdir)/SnippetFu.cs                                  \
333         $(srcdir)/StaticQueryable.cs                            \
334         $(srcdir)/TextCache.cs
336 DAEMON_DLL_LOCAL_ASSEMBLIES =           \
337         ../Util/Util.dll                \
338         ../BeagleClient/Beagle.dll      \
339         ./$(PLUGIN_TARGET)
341 DAEMON_DLL_ASSEMBLIES =                         \
342         $(BEAGLED_LIBS)                         \
343         $(DAEMON_DLL_LOCAL_ASSEMBLIES:%=-r:%)   \
344         -r:ICSharpCode.SharpZipLib.dll          \
345         -r:Mono.Data.SqliteClient               \
346         -r:Mono.Posix                           \
347         -r:System.Runtime.Remoting              \
348         -r:System.Web
350 if USE_LOCAL_SQLITE
351 DAEMON_DLL_CSFILES += $(SQLITE_CSFILES)
352 DAEMON_DLL_ASSEMBLIES += -r:System.Data
353 else
354 DAEMON_DLL_ASSEMBLIES += -r:Mono.Data.SqliteClient
355 endif
358 if ENABLE_EVO_SHARP
359 DAEMON_DLL_CSFLAGS += -define:ENABLE_EVO_SHARP
360 DAEMON_DLL_CSFILES += $(EDS_QUERYABLE_CSFILES)
361 DAEMON_DLL_ASSEMBLIES += $(EVO_SHARP_LIBS)
362 endif
364 #if ENABLE_MOZILLA_BACKEND
365 #mozillaqueryable = $(srcdir)/MozillaQueryable
366 #MOZILLA_QUERYABLE_CSFILES =                            \
367 #       $(mozillaqueryable)/MozillaQueryable.cs
368 #DAEMON_DLL_CSFILES +=                                  \
369 #       $(MOZILLA_QUERYABLE_CSFILES)
370 #endif
372 if ENABLE_WEBSERVICES
373 DAEMON_DLL_CSFILES += \
374         $(webservicesdir)/WebServiceProxy.cs    \
375         $(webservicesdir)/NetBeagleHandler.cs   \
376         $(webservicesdir)/NetBeagleQueryable.cs 
377 DAEMON_DLL_ASSEMBLIES += -r:System.Web.Services 
378 endif
381 $(DAEMON_DLL_TARGET): $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_LOCAL_ASSEMBLIES)
382         $(CSC) -out:$@ $(DAEMON_DLL_CSFLAGS) $(DAEMON_DLL_CSFILES) $(DAEMON_DLL_ASSEMBLIES)
384 ############################################################
387 ### Web Services
390 webservicesdir = $(srcdir)/WebServices
391 xspdir = $(srcdir)/WebServices/WebServer
393 WEBSERVICES_XSP_TARGET = BeagleXsp.dll
395 WEBSERVICES_XSP_CSFLAGS = -target:library 
397 WEBSERVICES_XSP_ASSEMBLIES =                    \
398         -r:System                               \
399         -r:System.Web                           \
400         -r:System.Runtime.Remoting      
402 WEBSERVICES_XSP_CSFILES =                       \
403         $(xspdir)/IApplicationHost.cs           \
404         $(xspdir)/MonoWorkerRequest.cs          \
405         $(xspdir)/Tracing.cs                    \
406         $(xspdir)/ApplicationServer.cs          \
407         $(xspdir)/LingeringNetworkStream.cs     \
408         $(xspdir)/BaseApplicationHost.cs        \
409         $(xspdir)/BaseRequestBroker.cs          \
410         $(xspdir)/IWebSource.cs                 \
411         $(xspdir)/server.cs                     \
412         $(xspdir)/InitialWorkerRequest.cs       \
413         $(xspdir)/XSPApplicationHost.cs         \
414         $(xspdir)/XSPWorkerRequest.cs           \
415         $(xspdir)/AssemblyInfo.cs
417 $(WEBSERVICES_XSP_TARGET): $(WEBSERVICES_XSP_CSFILES) 
418         $(CSC) -out:$@ $(WEBSERVICES_XSP_CSFLAGS) $(WEBSERVICES_XSP_CSFILES) $(WEBSERVICES_XSP_ASSEMBLIES)
421 WEBSERVICES_BACKEND_TARGET = BeagleWebServicesBackEnd.dll
423 WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES =  \
424         ../Util/Util.dll                \
425         ../images/Images.dll            \
426         ../BeagleClient/Beagle.dll      \
427         ../Tiles/Tiles.dll              \
428         BeagleDaemonPlugins.dll         \
429         BeagleDaemonLib.dll                     \
430         $(WEBSERVICES_XSP_TARGET)
432 WEBSERVICES_BACKEND_ASSEMBLIES = \
433         $(WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES:%=-r:%)  \
434         -r:System                                       \
435         -r:System.Web                           \
436         -r:System.Runtime.Remoting      \
437         $(BEAGLED_LIBS)
439 WEBSERVICES_BACKEND_CSFILES = \
440         $(webservicesdir)/ExternalAccessFilter.cs       \
441         $(webservicesdir)/WebBackEnd.cs         \
442         $(webservicesdir)/WebServiceBackEnd.cs
444 WEBSERVICES_CSFLAGS = -target:library -noconfig
446 $(WEBSERVICES_BACKEND_TARGET): $(WEBSERVICES_BACKEND_CSFILES) $(WEBSERVICES_BACKEND_LOCAL_ASSEMBLIES)
447         $(CSC) -out:$@ $(WEBSERVICES_CSFLAGS) $(WEBSERVICES_BACKEND_CSFILES) $(WEBSERVICES_BACKEND_ASSEMBLIES)
449 WEBSERVICES_FRONTEND_TARGET = BeagleWebServicesFrontEnd.dll
450 WEBSERVICES_FRONTEND_CSFILES = \
451         $(webservicesdir)/WebFrontEnd.cs        \
452         $(webservicesdir)/WebServiceFrontEnd.cs
454 WEBSERVICES_FRONTEND_ASSEMBLIES =       \
455         $(WEBSERVICES_BACKEND_ASSEMBLIES)       \
456         -r:$(WEBSERVICES_BACKEND_TARGET)        \
457         -r:System.Web.Services
459 $(WEBSERVICES_FRONTEND_TARGET): $(WEBSERVICES_FRONTEND_CSFILES) $(WEBSERVICES_BACKEND_TARGET) 
460         $(CSC) -out:$@ $(WEBSERVICES_CSFLAGS) $(WEBSERVICES_FRONTEND_CSFILES) $(WEBSERVICES_FRONTEND_ASSEMBLIES)
462 WEBSERVICES_RESOURCES =                         \
463         $(webservicesdir)/search.aspx   \
464         $(webservicesdir)/search.asmx   \
465         $(webservicesdir)/web.config
467 WEBSERVICES_RESOURCES_DIST =            \
468         $(webservicesdir)/search.aspx   \
469         $(webservicesdir)/search.asmx   \
470         $(webservicesdir)/web.config
472 XSP_DIR = $(pkgdatadir)/xsp
473 XSPBIN_DIR = $(XSP_DIR)/bin
475 ############################################################
477 DAEMON_WRAPPER = beagled
478 DAEMON_WRAPPER_IN = beagled.in
479 DAEMON_TARGET = BeagleDaemon.exe
481 $(DAEMON_WRAPPER): $(srcdir)/$(DAEMON_WRAPPER_IN)
482         $(WRAPPER_SED) -e "s|\@target\@|$(DAEMON_TARGET)|g" < $(srcdir)/$(DAEMON_WRAPPER_IN) > $@
483         chmod +x $(DAEMON_WRAPPER)
485 DAEMON_CSFLAGS =                                \
486         -target:exe                             \
487         $(BEAGLE_DEFINES)
489 DAEMON_CSFILES =                                \
490         $(srcdir)/BeagleDaemon.cs               \
491         $(srcdir)/RemoteIndexer.cs
493 DAEMON_LOCAL_ASSEMBLIES =                       \
494         ../Util/Util.dll                        \
495         ../BeagleClient/Beagle.dll              \
496         ./$(PLUGIN_TARGET)                      \
497         ./$(DAEMON_DLL_TARGET)
499 DAEMON_ASSEMBLIES =                             \
500         $(BEAGLED_LIBS)                         \
501         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
502         -r:Mono.Posix                           \
503         -r:ICSharpCode.SharpZipLib.dll
505 if ENABLE_WEBSERVICES
506 DAEMON_CSFLAGS += -define:ENABLE_WEBSERVICES
508 DAEMON_LOCAL_ASSEMBLIES +=              \
509         BeagleDaemonPlugins.dll         \
510         ../images/Images.dll            \
511         ../Tiles/Tiles.dll              \
512         $(WEBSERVICES_BACKEND_TARGET)   \
513         $(WEBSERVICES_FRONTEND_TARGET)  
515 DAEMON_ASSEMBLIES += -r:System.Runtime.Remoting
516 endif
518 $(DAEMON_TARGET): $(DAEMON_CSFILES) $(DAEMON_LOCAL_ASSEMBLIES)
519         $(CSC) -out:$@ $(DAEMON_CSFLAGS) $(DAEMON_CSFILES) $(DAEMON_ASSEMBLIES)
521 ############################################################
522 ############################################################
523 ############################################################
525 # This next section is a very good example of why we need real mono support in
526 # automake.  This is a massive wart on our development platform.
528 INDEX_HELPER_WRAPPER = beagled-index-helper
529 INDEX_HELPER_WRAPPER_IN = $(INDEX_HELPER_WRAPPER).in
530 INDEX_HELPER_TARGET = IndexHelper.exe
532 $(INDEX_HELPER_WRAPPER): $(srcdir)/$(INDEX_HELPER_WRAPPER_IN)
533         $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_HELPER_TARGET)|g" < $(srcdir)/$(INDEX_HELPER_WRAPPER_IN) > $@
534         chmod +x $(INDEX_HELPER_WRAPPER)
536 INDEX_HELPER_CSFLAGS = -target:exe $(BEAGLE_DEFINES)
538 indexhelperdir = $(srcdir)/IndexHelper
540 INDEX_HELPER_CSFILES =  \
541         $(indexhelperdir)/IndexHelper.cs                \
542         $(indexhelperdir)/RemoteIndexerExecutor.cs
545 INDEX_HELPER_LOCAL_ASSEMBLIES = \
546         ../Util/Util.dll                \
547         ./$(DAEMON_DLL_TARGET)
549 INDEX_HELPER_ASSEMBLIES = \
550         $(BEAGLED_LIBS)                         \
551         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
552         -r:Mono.Posix                           \
553         -r:System.Runtime.Remoting              \
554         -r:ICSharpCode.SharpZipLib.dll
556 $(INDEX_HELPER_TARGET): $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_LOCAL_ASSEMBLIES)
557         $(CSC) -out:$@ $(INDEX_HELPER_CSFLAGS) $(INDEX_HELPER_CSFILES) $(INDEX_HELPER_ASSEMBLIES)
559 ############################################################
561 EXTRACT_CONTENT_WRAPPER = beagle-extract-content
562 EXTRACT_CONTENT_TARGET = ExtractContent.exe
564 $(EXTRACT_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
565         $(WRAPPER_SED) -e "s|\@target\@|$(EXTRACT_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
566         chmod +x $(EXTRACT_CONTENT_WRAPPER)
569 EXTRACT_CONTENT_CSFLAGS = \
570         -target:exe
572 EXTRACT_CONTENT_CSFILES = \
573         $(srcdir)/ExtractContent.cs
575 EXTRACT_CONTENT_LOCAL_ASSEMBLIES = \
576         ../Util/Util.dll                        \
577         ../BeagleClient/Beagle.dll              \
578         ./$(PLUGIN_TARGET)                      \
579         ./$(DAEMON_DLL_TARGET)
581 EXTRACT_CONTENT_ASSEMBLIES = \
582         $(BEAGLED_LIBS)                         \
583         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
584         -r:Mono.Posix                           \
585         -r:System.Runtime.Remoting              \
586         -r:ICSharpCode.SharpZipLib.dll
588 $(EXTRACT_CONTENT_TARGET): $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_LOCAL_ASSEMBLIES)
589         $(CSC) -out:$@ $(EXTRACT_CONTENT_CSFLAGS) $(EXTRACT_CONTENT_CSFILES) $(EXTRACT_CONTENT_ASSEMBLIES)
591 ############################################################
593 INDEX_WEB_CONTENT_WRAPPER = beagle-index-url
594 INDEX_WEB_CONTENT_TARGET = IndexWebContent.exe
596 $(INDEX_WEB_CONTENT_WRAPPER): $(srcdir)/$(WRAPPER_IN)
597         $(WRAPPER_SED) -e "s|\@target\@|$(INDEX_WEB_CONTENT_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
598         chmod +x $(INDEX_WEB_CONTENT_WRAPPER)
601 INDEX_WEB_CONTENT_CSFLAGS = \
602         -target:exe
604 INDEX_WEB_CONTENT_CSFILES = \
605         $(srcdir)/IndexWebContent.cs
607 INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES = \
608         ../Util/Util.dll                        \
609         ../BeagleClient/Beagle.dll              \
610         ./$(PLUGIN_TARGET)                      \
611         ./$(DAEMON_DLL_TARGET)
613 INDEX_WEB_CONTENT_ASSEMBLIES =  \
614         $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES:%=-r:%)
616 $(INDEX_WEB_CONTENT_TARGET): $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_LOCAL_ASSEMBLIES)
617         $(CSC) -out:$@ $(INDEX_WEB_CONTENT_CSFLAGS) $(INDEX_WEB_CONTENT_CSFILES) $(INDEX_WEB_CONTENT_ASSEMBLIES)
619 ############################################################
621 MASTER_DELETE_WRAPPER = beagle-master-delete-button
622 MASTER_DELETE_TARGET = MasterDelete.exe
624 $(MASTER_DELETE_WRAPPER): $(srcdir)/$(WRAPPER_IN)
625         $(WRAPPER_SED) -e "s|\@target\@|$(MASTER_DELETE_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
626         chmod +x $(MASTER_DELETE_WRAPPER)
629 MASTER_DELETE_CSFLAGS = \
630         -target:exe
632 MASTER_DELETE_CSFILES = \
633         $(srcdir)/MasterDelete.cs
635 MASTER_DELETE_LOCAL_ASSEMBLIES = \
636         ../Util/Util.dll                        \
637         ../BeagleClient/Beagle.dll              \
638         ./$(PLUGIN_TARGET)                      \
639         ./$(DAEMON_DLL_TARGET)
641 MASTER_DELETE_ASSEMBLIES = \
642         $(BEAGLED_LIBS)                         \
643         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
644         -r:Mono.Posix                           \
645         -r:System.Runtime.Remoting              \
646         -r:ICSharpCode.SharpZipLib.dll
648 $(MASTER_DELETE_TARGET): $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_LOCAL_ASSEMBLIES)
649         $(CSC) -out:$@ $(MASTER_DELETE_CSFLAGS) $(MASTER_DELETE_CSFILES) $(MASTER_DELETE_ASSEMBLIES)
651 ############################################################
653 SNIPPET_TEST_WRAPPER = beagle-snippet-test
654 SNIPPET_TEST_TARGET = SnippetTest.exe
656 $(SNIPPET_TEST_WRAPPER): $(srcdir)/$(WRAPPER_IN)
657         $(WRAPPER_SED) -e "s|\@target\@|$(SNIPPET_TEST_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
658         chmod +x $(SNIPPET_TEST_WRAPPER)
660 SNIPPET_TEST_CSFLAGS = \
661         -target:exe
663 SNIPPET_TEST_CSFILES = \
664         $(srcdir)/SnippetTest.cs
666 SNIPPET_TEST_LOCAL_ASSEMBLIES = \
667         ../Util/Util.dll                        \
668         ../BeagleClient/Beagle.dll              \
669         ./$(PLUGIN_TARGET)                      \
670         ./$(DAEMON_DLL_TARGET)
672 SNIPPET_TEST_ASSEMBLIES = \
673         $(BEAGLED_LIBS)                         \
674         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
675         -r:Mono.Posix                           \
676         -r:System.Runtime.Remoting              \
677         -r:ICSharpCode.SharpZipLib.dll
679 $(SNIPPET_TEST_TARGET): $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_LOCAL_ASSEMBLIES)
680         $(CSC) -out:$@ $(SNIPPET_TEST_CSFLAGS) $(SNIPPET_TEST_CSFILES) $(SNIPPET_TEST_ASSEMBLIES)
682 ############################################################
684 TERM_STATS_WRAPPER = beagle-term-stats
685 TERM_STATS_TARGET = TermStatsTool.exe
687 $(TERM_STATS_WRAPPER): $(srcdir)/$(WRAPPER_IN)
688         $(WRAPPER_SED) -e "s|\@target\@|$(TERM_STATS_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
689         chmod +x $(TERM_STATS_WRAPPER)
691 TERM_STATS_CSFLAGS = \
692         -target:exe
694 TERM_STATS_CSFILES = \
695         $(srcdir)/TermStatsTool.cs
697 TERM_STATS_LOCAL_ASSEMBLIES =   \
698         ../Util/Util.dll                        \
699         ../BeagleClient/Beagle.dll              \
700         ./$(PLUGIN_TARGET)                      \
701         ./$(DAEMON_DLL_TARGET)
703 TERM_STATS_ASSEMBLIES = \
704         $(BEAGLED_LIBS)                         \
705         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
706         -r:Mono.Posix                           \
707         -r:System.Runtime.Remoting              \
708         -r:ICSharpCode.SharpZipLib.dll
710 $(TERM_STATS_TARGET): $(TERM_STATS_CSFILES) $(TERM_STATS_LOCAL_ASSEMBLIES)
711         $(CSC) -out:$@ $(TERM_STATS_CSFLAGS) $(TERM_STATS_CSFILES) $(TERM_STATS_ASSEMBLIES)
713 ############################################################
715 NAME_INDEX_WRAPPER = beagle-name-index
716 NAME_INDEX_TARGET = NameIndexTool.exe
718 $(NAME_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
719         $(WRAPPER_SED) -e "s|\@target\@|$(NAME_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
720         chmod +x $(NAME_INDEX_WRAPPER)
722 NAME_INDEX_CSFLAGS = \
723         -target:exe
725 NAME_INDEX_CSFILES = \
726         $(srcdir)/NameIndexTool.cs
728 NAME_INDEX_LOCAL_ASSEMBLIES =   \
729         ../Util/Util.dll                        \
730         ../BeagleClient/Beagle.dll              \
731         ./$(PLUGIN_TARGET)                      \
732         ./$(DAEMON_DLL_TARGET)
734 NAME_INDEX_ASSEMBLIES = \
735         $(BEAGLED_LIBS)                         \
736         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
737         -r:Mono.Posix                           \
738         -r:System.Runtime.Remoting              \
739         -r:ICSharpCode.SharpZipLib.dll
741 $(NAME_INDEX_TARGET): $(NAME_INDEX_CSFILES) $(NAME_INDEX_LOCAL_ASSEMBLIES)
742         $(CSC) -out:$@ $(NAME_INDEX_CSFLAGS) $(NAME_INDEX_CSFILES) $(NAME_INDEX_ASSEMBLIES)
744 ############################################################
746 FS_SANITY_CHECK_WRAPPER = beagle-file-system-sanity-check
747 FS_SANITY_CHECK_TARGET = SanityCheckTool.exe
749 $(FS_SANITY_CHECK_WRAPPER): $(srcdir)/$(WRAPPER_IN)
750         $(WRAPPER_SED) -e "s|\@target\@|$(FS_SANITY_CHECK_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
751         chmod +x $(FS_SANITY_CHECK_WRAPPER)
753 FS_SANITY_CHECK_CSFLAGS = \
754         -target:exe
756 FS_SANITY_CHECK_CSFILES = \
757         $(srcdir)/SanityCheckTool.cs
759 FS_SANITY_CHECK_LOCAL_ASSEMBLIES = \
760         ../Util/Util.dll                        \
761         ../BeagleClient/Beagle.dll              \
762         ./$(PLUGIN_TARGET)                      \
763         ./$(DAEMON_DLL_TARGET)
765 FS_SANITY_CHECK_ASSEMBLIES = \
766         $(BEAGLED_LIBS)                         \
767         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
768         -r:Mono.Posix                           \
769         -r:System.Runtime.Remoting              \
770         -r:ICSharpCode.SharpZipLib.dll
772 $(FS_SANITY_CHECK_TARGET): $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_LOCAL_ASSEMBLIES)
773         $(CSC) -out:$@ $(FS_SANITY_CHECK_CSFLAGS) $(FS_SANITY_CHECK_CSFILES) $(FS_SANITY_CHECK_ASSEMBLIES)
775 ############################################################
777 BUILD_INDEX_WRAPPER = beagle-build-index
778 BUILD_INDEX_TARGET = BuildIndex.exe
780 $(BUILD_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
781         $(WRAPPER_SED) -e "s|\@target\@|$(BUILD_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
782         chmod +x $(BUILD_INDEX_WRAPPER)
784 BUILD_INDEX_CSFLAGS = \
785         -target:exe
787 BUILD_INDEX_CSFILES = \
788         $(srcdir)/BuildIndex.cs
790 BUILD_INDEX_LOCAL_ASSEMBLIES = \
791         ../Util/Util.dll                        \
792         ../BeagleClient/Beagle.dll              \
793         ./$(PLUGIN_TARGET)                      \
794         ./$(DAEMON_DLL_TARGET)
796 BUILD_INDEX_ASSEMBLIES = \
797         $(BEAGLED_LIBS)                         \
798         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
799         -r:Mono.Posix
801 $(BUILD_INDEX_TARGET): $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_LOCAL_ASSEMBLIES)
802         $(CSC) -out:$@ $(BUILD_INDEX_CSFLAGS) $(BUILD_INDEX_CSFILES) $(BUILD_INDEX_ASSEMBLIES)
804 ############################################################
806 MANAGE_INDEX_WRAPPER = beagle-manage-index
807 MANAGE_INDEX_TARGET = ManageIndex.exe
809 $(MANAGE_INDEX_WRAPPER): $(srcdir)/$(WRAPPER_IN)
810         $(WRAPPER_SED) -e "s|\@target\@|$(MANAGE_INDEX_TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
811         chmod +x $(MANAGE_INDEX_WRAPPER)
813 MANAGE_INDEX_CSFLAGS = \
814         -target:exe
816 MANAGE_INDEX_CSFILES = \
817         $(srcdir)/ManageIndex.cs
819 MANAGE_INDEX_LOCAL_ASSEMBLIES = \
820         ../Util/Util.dll                        \
821         ../BeagleClient/Beagle.dll              \
822         ./$(PLUGIN_TARGET)                      \
823         ./$(DAEMON_DLL_TARGET)
825 MANAGE_INDEX_ASSEMBLIES = \
826         $(BEAGLED_LIBS)                         \
827         $(DAEMON_LOCAL_ASSEMBLIES:%=-r:%)       \
828         -r:Mono.Posix
830 $(MANAGE_INDEX_TARGET): $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_LOCAL_ASSEMBLIES)
831         $(CSC) -out:$@ $(MANAGE_INDEX_CSFLAGS) $(MANAGE_INDEX_CSFILES) $(MANAGE_INDEX_ASSEMBLIES)
833 ############################################################
835 CRAWL_SYSTEM_IN = beagle-crawl-system.in
836 CRAWL_SYSTEM = beagle-crawl-system
838 $(CRAWL_SYSTEM): $(srcdir)/$(CRAWL_SYSTEM_IN)
839         $(WRAPPER_SEB) -e "s|\@target\@|$(CRAWL_SYSTEM)|g" < $(srcdir)/$(CRAWL_SYSTEM_IN) > $@
840         chmod +x $(CRAWL_SYSTEM)
842 # OK, now back to our regularly scheduled program.  But notice all of the
843 # EXTRA_DIST and CLEANFILES stuff at the bottom of the file.  Yuck.
845 ############################################################
846 ############################################################
847 ############################################################
850 ALL_TARGETS =                           \
851         $(PLUGIN_TARGET)                \
852         $(DAEMON_DLL_TARGET)            \
853         $(DAEMON_TARGET)                \
854         $(INDEX_HELPER_TARGET)          \
855         $(INDEX_HELPER_WRAPPER)         \
856         $(INDEX_WEB_CONTENT_TARGET)     \
857         $(INDEX_WEB_CONTENT_WRAPPER)    \
858         $(EXTRACT_CONTENT_TARGET)       \
859         $(MASTER_DELETE_TARGET)         \
860         $(SNIPPET_TEST_TARGET)          \
861         $(TERM_STATS_TARGET)            \
862         $(NAME_INDEX_TARGET)            \
863         $(FS_SANITY_CHECK_TARGET)       \
864         $(MANAGE_INDEX_TARGET)          \
865         $(MANAGE_INDEX_WRAPPER)         \
866         $(BUILD_INDEX_TARGET)           \
867         $(BUILD_INDEX_WRAPPER)
869 if ENABLE_WEBSERVICES
870 ALL_TARGETS +=                          \
871         $(XSP_TARGET)                   \
872         $(WEBSERVICES_FRONTEND_TARGET)  \
873         $(WEBSERVICES_BACKEND_TARGET)   
874 endif
876 man_MANS =                              \
877         beagled.1                       \
878         beagle-build-index.8            \
879         beagle-manage-index.8
881 all: $(ALL_TARGETS)
883 install-data-local: $(ALL_TARGETS)
884         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
885         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
886 if ENABLE_WEBSERVICES
887         $(mkinstalldirs) $(DESTDIR)$(XSP_DIR)
888         $(mkinstalldirs) $(DESTDIR)$(XSPBIN_DIR)
889 endif
890         $(INSTALL_DATA) $(PLUGIN_TARGET) $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET)
891         $(INSTALL_DATA) $(DAEMON_DLL_TARGET) $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET)
892         $(INSTALL_DATA) $(DAEMON_TARGET) $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET)
893         $(INSTALL_DATA) $(INDEX_WEB_CONTENT_TARGET) $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET)
894         $(INSTALL_DATA) $(INDEX_HELPER_TARGET) $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET)
895         $(INSTALL_SCRIPT) $(INDEX_HELPER_WRAPPER) $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
896         $(INSTALL_DATA) $(BUILD_INDEX_TARGET) $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET)
897         $(INSTALL_DATA) $(MANAGE_INDEX_TARGET) $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET)
898 if ENABLE_WEBSERVICES
899         $(INSTALL_DATA) $(WEBSERVICES_XSP_TARGET) $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_XSP_TARGET)
900         $(INSTALL_DATA) $(WEBSERVICES_BACKEND_TARGET) $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_BACKEND_TARGET)
901         $(INSTALL_DATA) $(WEBSERVICES_FRONTEND_TARGET) $(DESTDIR)$(XSPBIN_DIR)/$(WEBSERVICES_FRONTEND_TARGET)
902         $(INSTALL_DATA) $(WEBSERVICES_BACKEND_TARGET) $(DESTDIR)$(XSPBIN_DIR)/$(WEBSERVICES_BACKEND_TARGET)
903         $(INSTALL_DATA)  $(WEBSERVICES_RESOURCES) $(DESTDIR)$(XSP_DIR)
904 #       $(INSTALL_DATA) ../Util/Util.dll ../images/Images.dll ../BeagleClient/Beagle.dll ../Tiles/Tiles.dll BeagleDaemonPlugins.dll BeagleDaemonLib.dll $(DESTDIR)$(XSPBIN_DIR)
906 endif
908 uninstall-local:
909 if ENABLE_WEBSERVICES
910         rm -f $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_BACKEND_TARGET)
911         rm -f $(DESTDIR)$(pkglibdir)/$(WEBSERVICES_XSP_TARGET)
912         rm -rf $(DESTDIR)$(XSP_DIR)
913 endif
914         rm -f $(DESTDIR)$(pkglibdir)/$(PLUGIN_TARGET)
915         rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_DLL_TARGET)
916         rm -f $(DESTDIR)$(pkglibdir)/$(DAEMON_TARGET)
917         rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_TARGET)
918         rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_HELPER_WRAPPER)
919         rm -f $(DESTDIR)$(pkglibdir)/$(INDEX_WEB_CONTENT_TARGET)
920         rm -f $(DESTDIR)$(pkglibdir)/$(BUILD_INDEX_TARGET)
921         rm -f $(DESTDIR)$(pkglibdir)/$(MANAGE_INDEX_TARGET)
923 bin_SCRIPTS = \
924         $(DAEMON_WRAPPER)               \
925         $(INDEX_WEB_CONTENT_WRAPPER)
927 sbin_SCRIPTS = \
928         $(MANAGE_INDEX_WRAPPER)         \
929         $(BUILD_INDEX_WRAPPER)
931 noinst_SCRIPTS= \
932         $(EXTRACT_CONTENT_WRAPPER)      \
933         $(MASTER_DELETE_WRAPPER)        \
934         $(SNIPPET_TEST_WRAPPER)         \
935         $(TERM_STATS_WRAPPER)           \
936         $(NAME_INDEX_WRAPPER)           \
937         $(FS_SANITY_CHECK_WRAPPER)
939 COND_CS_FILES = \
940         $(MOZILLA_QUERYABLE_CSFILES)    \
941         $(WEBSERVICES_BACKEND_CSFILES)
943 EXTRA_DIST = \
944         $(WRAPPER_IN)                           \
945         $(DAEMON_WRAPPER_IN)                    \
946         $(INDEX_HELPER_WRAPPER_IN)              \
947         $(COND_CS_FILES)                        \
948         $(man_MANS)                             \
949         $(PLUGIN_CSFILES)                       \
950         $(DAEMON_DLL_CSFILES)                   \
951         $(DAEMON_CSFILES)                       \
952         $(EXTRACT_CONTENT_CSFILES)              \
953         $(INDEX_WEB_CONTENT_CSFILES)            \
954         $(SNIPPET_TEST_CSFILES)                 \
955         $(INDEX_HELPER_CSFILES)                 \
956         $(MASTER_DELETE_CSFILES)                \
957         $(TERM_STATS_CSFILES)                   \
958         $(NAME_INDEX_CSFILES)                   \
959         $(FS_SANITY_CHECK_CSFILES)              \
960         $(MANAGE_INDEX_CSFILES)                 \
961         $(BUILD_INDEX_CSFILES)                  \
962         $(WEBSERVICES_XSP_CSFILES)              \
963         $(WEBSERVICES_BACKEND_CSFILES)          \
964         $(WEBSERVICES_FRONTEND_CSFILES)         \
965         $(WEBSERVICES_RESOURCES_DIST)           \
966         $(webservicesdir)/WebServiceProxy.cs    \
967         $(webservicesdir)/NetBeagleHandler.cs   \
968         $(webservicesdir)/NetBeagleQueryable.cs
970 CLEANFILES = \
971         $(PLUGIN_TARGET)                        \
972         $(PLUGIN_TARGET).mdb                    \
973         $(DAEMON_DLL_TARGET)                    \
974         $(DAEMON_DLL_TARGET).mdb                \
975         $(DAEMON_TARGET)                        \
976         $(DAEMON_TARGET).mdb                    \
977         $(DAEMON_WRAPPER)                       \
978         $(INDEX_HELPER_TARGET)                  \
979         $(INDEX_HELPER_TARGET).mdb              \
980         $(INDEX_HELPER_WRAPPER)                 \
981         $(EXTRACT_CONTENT_TARGET)               \
982         $(EXTRACT_CONTENT_TARGET).mdb           \
983         $(EXTRACT_CONTENT_WRAPPER)              \
984         $(INDEX_WEB_CONTENT_TARGET)             \
985         $(INDEX_WEB_CONTENT_TARGET).mdb         \
986         $(INDEX_WEB_CONTENT_WRAPPER)            \
987         $(MASTER_DELETE_TARGET)                 \
988         $(MASTER_DELETE_TARGET).mdb             \
989         $(MASTER_DELETE_WRAPPER)                \
990         $(SNIPPET_TEST_TARGET)                  \
991         $(SNIPPET_TEST_TARGET).mdb              \
992         $(SNIPPET_TEST_WRAPPER)                 \
993         $(TERM_STATS_TARGET)                    \
994         $(TERM_STATS_TARGET).mdb                \
995         $(TERM_STATS_WRAPPER)                   \
996         $(NAME_INDEX_TARGET)                    \
997         $(NAME_INDEX_TARGET).mdb                \
998         $(NAME_INDEX_WRAPPER)                   \
999         $(FS_SANITY_CHECK_TARGET)               \
1000         $(FS_SANITY_CHECK_TARGET).mdb           \
1001         $(FS_SANITY_CHECK_WRAPPER)              \
1002         $(MANAGE_INDEX_TARGET)                  \
1003         $(MANAGE_INDEX_TARGET).mdb              \
1004         $(MANAGE_INDEX_WRAPPER)                 \
1005         $(BUILD_INDEX_TARGET)                   \
1006         $(BUILD_INDEX_TARGET).mdb               \
1007         $(BUILD_INDEX_WRAPPER)                  \
1008         $(WEBSERVICES_BACKEND_TARGET)           \
1009         $(WEBSERVICES_BACKEND_TARGET).mdb       \
1010         $(WEBSERVICES_FRONTEND_TARGET)          \
1011         $(WEBSERVICES_FRONTEND_TARGET).mdb      \
1012         $(WEBSERVICES_XSP_TARGET)               \
1013         $(WEBSERVICES_XSP_TARGET).mdb