Compute lucene-style scores for our hits.
[beagle.git] / BeagleClient / Makefile.am
blob973139775e7605b483d948bd842f518039e321c4
2 # Warnings we don't want to see
3 # 0067 = event defined but not used
4 # 0618 = Mono.Posix.Syscall is obsolete
6 CSC = mcs -debug -nowarn:0067,0618
8 TARGET = Beagle.dll
10 CSFLAGS =                                       \
11         -target:library                         \
12         -define:PREFIX=$(prefix)                \
13         -define:PKGLIBDIR=$(pkglibdir)          \
14         $(BEAGLE_DEFINES)
16 CSFILES =                                       \
17         $(srcdir)/Client.cs                     \
18         $(srcdir)/Hit.cs                        \
19         $(srcdir)/IIndexableGenerator.cs        \
20         $(srcdir)/Indexable.cs                  \
21         $(srcdir)/IndexingService.cs            \
22         $(srcdir)/Message.cs                    \
23         $(srcdir)/Property.cs                   \
24         $(srcdir)/Query.cs                      \
25         $(srcdir)/QueryPart.cs                  \
26         $(srcdir)/QueryResponses.cs             \
27         $(srcdir)/RemoteControl.cs              \
28         $(srcdir)/Snippet.cs                    \
29         $(srcdir)/Versioned.cs
31 if ENABLE_WEBSERVICES
32 CSFILES +=      $(srcdir)/NetworkHit.cs
33 endif
35 LOCAL_ASSEMBLIES =                      \
36         ../Util/Util.dll
39 ASSEMBLIES =                            \
40         $(BEAGLED_LIBS)                 \
41         -r:Mono.Posix                   \
42         -r:ICSharpCode.SharpZipLib.dll  \
43         $(LOCAL_ASSEMBLIES:%=-r:%)
45 RESOURCES =
47 $(TARGET): $(CSFILES) $(EXTSTR) $(LOCAL_ASSEMBLIES) $(RESOURCES)
48         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(EXTSTR) $(ASSEMBLIES) $(RESOURCES)
50 all: $(TARGET)
52 install-data-local: $(TARGET)
53         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
54         $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
56 uninstall-local:
57         rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
59 EXTRA_DIST =                    \
60         $(CSFILES)              \
61         $(srcdir)/NetworkHit.cs \
62         $(EXTSTR_IN)
64 CLEANFILES =            \
65         $(TARGET)       \
66         $(TARGET).mdb   \
67         $(EXTSTR)