Merge the recent changes from HEAD onto the branch
[beagle.git] / BeagleClient / Makefile.am
blob361b244b873fcf2d7a6cf65cb282d44f46f32de0
2 CSC = $(MCS) -debug
4 TARGET = Beagle.dll
6 CSFLAGS =                                       \
7         -target:library                         \
8         -define:PREFIX=$(prefix)                \
9         -define:PKGLIBDIR=$(pkglibdir)          \
10         $(BEAGLE_DEFINES)
12 CSFILES =                                       \
13         $(srcdir)/AssemblyInfo.cs               \
14         $(srcdir)/Client.cs                     \
15         $(srcdir)/Hit.cs                        \
16         $(srcdir)/IIndexableGenerator.cs        \
17         $(srcdir)/Indexable.cs                  \
18         $(srcdir)/IndexingService.cs            \
19         $(srcdir)/Message.cs                    \
20         $(srcdir)/Property.cs                   \
21         $(srcdir)/Query.cs                      \
22         $(srcdir)/QueryPart.cs                  \
23         $(srcdir)/QueryResponses.cs             \
24         $(srcdir)/QueryableStatus.cs            \
25         $(srcdir)/RemoteControl.cs              \
26         $(srcdir)/Snippet.cs                    \
27         $(srcdir)/Versioned.cs
29 LOCAL_ASSEMBLIES =                      \
30         ../Util/Util.dll
33 ASSEMBLIES =                            \
34         $(BEAGLED_LIBS)                 \
35         $(SHARPZIPLIBS_LIBS)            \
36         -r:Mono.Posix                   \
37         $(LOCAL_ASSEMBLIES:%=-r:%)
39 RESOURCES =
41 $(TARGET): $(CSFILES) $(LOCAL_ASSEMBLIES) $(RESOURCES)
42         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES)
44 all: $(TARGET)
46 install-data-local: $(TARGET)
47         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
48         $(INSTALL_DATA) $(TARGET) $(TARGET).mdb $(DESTDIR)$(pkglibdir)
50 uninstall-local:
51         rm -f $(DESTDIR)$(pkglibdir)/$(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET).mdb
53 EXTRA_DIST =                    \
54         $(CSFILES)
56 CLEANFILES =            \
57         $(TARGET)       \
58         $(TARGET).mdb