QueryResponses.cs, DumpIndex.cs, IQueryResult.cs, QueryExecutor.cs, QueryResult.cs...
[beagle.git] / Tiles / Makefile.am
blob23c63f8f548b176da05421841d332181bc04fddf
2 CSC = mcs -debug
4 TARGET = Tiles.dll
6 CSFLAGS = -target:library -warn:4
8 if ENABLE_EVO_SHARP
9 CSFLAGS += -define:ENABLE_EVO_SHARP
10 endif
12 if ENABLE_DESKTOP_LAUNCH
13 CSFLAGS += -define:ENABLE_DESKTOP_LAUNCH
14 endif
16 if ENABLE_GALAGO
17 CSFLAGS += -define:ENABLE_GALAGO
18 endif
20 CSFILES =                                       \
21         $(srcdir)/HitFlavor.cs                  \
22         $(srcdir)/HitToHitFlavor.cs             \
23         $(srcdir)/SimpleRootTile.cs             \
24         $(srcdir)/Template.cs                   \
25         $(srcdir)/TileActionAttribute.cs        \
26         $(srcdir)/Tile.cs                       \
27         $(srcdir)/TileBlog.cs                   \
28         $(srcdir)/TileBugzilla.cs               \
29         $(srcdir)/TileCalendar.cs               \
30         $(srcdir)/TileCanvas.cs                 \
31         $(srcdir)/TileContact.cs                \
32         $(srcdir)/TileDocs.cs                   \
33         $(srcdir)/TileFile.cs                   \
34         $(srcdir)/TileFolder.cs                 \
35         $(srcdir)/TileFromHitTemplate.cs        \
36         $(srcdir)/TileFromTemplate.cs           \
37         $(srcdir)/TileGoogle.cs                 \
38         $(srcdir)/TileHitCollection.cs          \
39         $(srcdir)/TileImLog.cs                  \
40         $(srcdir)/TileLauncher.cs               \
41         $(srcdir)/TileMailMessage.cs            \
42         $(srcdir)/TileMonodoc.cs                \
43         $(srcdir)/TileMusic.cs                  \
44         $(srcdir)/TileNote.cs                   \
45         $(srcdir)/TilePicture.cs                \
46         $(srcdir)/TilePresentation.cs           \
47         $(srcdir)/TileRenderContext.cs          \
48         $(srcdir)/TileSpreadsheet.cs            \
49         $(srcdir)/TileStyleAttribute.cs         \
50         $(srcdir)/TileWebHistory.cs
53 LOCAL_ASSEMBLIES =                              \
54         ../Util/Util.dll                        \
55         ../images/Images.dll                    \
56         ../BeagleClient/Beagle.dll
58 ASSEMBLIES =                                    \
59         $(EVO_SHARP_LIBS)                       \
60         $(BEAGLE_UI_LIBS)                       \
61         $(LOCAL_ASSEMBLIES:%=-r:%)              \
62         -r:Mono.Posix
64 RESOURCEFILES =                                 \
65         $(srcdir)/template-page.css             \
66         $(srcdir)/template-head.html            \
67         $(srcdir)/template-foot.html            \
68         $(srcdir)/template-contact.html         \
69         $(srcdir)/template-file.html            \
70         $(srcdir)/template-folder.html          \
71         $(srcdir)/template-google.html          \
72         $(srcdir)/template-bugzilla.html        \
73         $(srcdir)/template-im-log.html          \
74         $(srcdir)/template-mail-message.html    \
75         $(srcdir)/template-music.html           \
76         $(srcdir)/template-note.html            \
77         $(srcdir)/template-picture.html         \
78         $(srcdir)/template-web-history.html     \
79         $(srcdir)/template-blog.html            \
80         $(srcdir)/template-monodoc.html         \
81         $(srcdir)/template-docs.html            \
82         $(srcdir)/template-presentation.html    \
83         $(srcdir)/template-launcher.html        \
84         $(srcdir)/template-calendar.html        \
85         $(srcdir)/template-spreadsheet.html
87 if ENABLE_WEBSERVICES
88 CSFILES += $(srcdir)/TileNetwork.cs
89 RESOURCEFILES += $(srcdir)/template-network.html
90 endif
92 # Makefile-fu to map /path/filename to -resource:/path/filename,filename
93 RESOURCES = $(join $(RESOURCEFILES:%=-resource:%,),$(notdir $(RESOURCEFILES)))
95 $(TARGET): $(CSFILES) $(LOCAL_ASSEMBLIES) $(RESOURCEFILES)
96         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES)
98 all: $(TARGET)
100 install-data-local: $(TARGET)
101         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
102         $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
104 uninstall-local:
105         rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
107 EXTRA_DIST =                            \
108         $(CSFILES)                      \
109         $(RESOURCEFILES)                \
110         $(srcdir)/TileNetwork.cs        \
111         $(srcdir)/template-network.html \
112         TranslationHack.cs
114 CLEANFILES =                    \
115         $(TARGET)               \
116         $(TARGET).mdb