RTF filter complies to MS RTF 1.5 specification. (works well with 1.8 as well).
[beagle.git] / Tiles / Makefile.am
blobd8e4b54c95864da3f4a0324ec91039d2175bcac8
2 CSC = mcs -g
4 TARGET = Tiles.dll
6 CSFLAGS = -target:library -warn:4
8 if ENABLE_EVO_SHARP
9 CSFLAGS += -define:ENABLE_EVO_SHARP
10 endif
12 CSFILES =                                       \
13         $(srcdir)/SimpleRootTile.cs             \
14         $(srcdir)/HitFlavor.cs                  \
15         $(srcdir)/HitToHitFlavor.cs             \
16         $(srcdir)/Template.cs                   \
17         $(srcdir)/TileActionAttribute.cs        \
18         $(srcdir)/Tile.cs                       \
19         $(srcdir)/TileRenderContext.cs          \
20         $(srcdir)/TileStyleAttribute.cs         \
21         $(srcdir)/TileCanvas.cs                 \
22         $(srcdir)/TileHitCollection.cs          \
23         $(srcdir)/TileFromTemplate.cs           \
24         $(srcdir)/TileFromHitTemplate.cs        \
25         $(srcdir)/TileContact.cs                \
26         $(srcdir)/TileFile.cs                   \
27         $(srcdir)/TileFolder.cs                 \
28         $(srcdir)/TileGoogle.cs                 \
29         $(srcdir)/TileBugzilla.cs               \
30         $(srcdir)/TileImLog.cs                  \
31         $(srcdir)/TileMailMessage.cs            \
32         $(srcdir)/TileMusic.cs                  \
33         $(srcdir)/TileNote.cs                   \
34         $(srcdir)/TilePicture.cs                \
35         $(srcdir)/TileWebHistory.cs             \
36         $(srcdir)/TileBlog.cs                   \
37         $(srcdir)/TileMonodoc.cs                
39 LOCAL_ASSEMBLIES =                              \
40         ../Util/Util.dll                        \
41         ../images/Images.dll                    \
42         ../BeagleClient/Beagle.dll
44 ASSEMBLIES =                                    \
45         $(EVO_SHARP_LIBS)                       \
46         $(BEAGLE_UI_LIBS)                       \
47         $(LOCAL_ASSEMBLIES:%=-r:%)
49 RESOURCEFILES =                                 \
50         $(srcdir)/template-page.css             \
51         $(srcdir)/template-head.html            \
52         $(srcdir)/template-foot.html            \
53         $(srcdir)/template-contact.html         \
54         $(srcdir)/template-file.html            \
55         $(srcdir)/template-folder.html          \
56         $(srcdir)/template-google.html          \
57         $(srcdir)/template-bugzilla.html        \
58         $(srcdir)/template-im-log.html          \
59         $(srcdir)/template-mail-message.html    \
60         $(srcdir)/template-music.html           \
61         $(srcdir)/template-note.html            \
62         $(srcdir)/template-picture.html         \
63         $(srcdir)/template-web-history.html     \
64         $(srcdir)/template-blog.html            \
65         $(srcdir)/template-monodoc.html
68 # Makefile-fu to map /path/filename to -resource:/path/filename,filename
69 RESOURCES = $(join $(RESOURCEFILES:%=-resource:%,),$(notdir $(RESOURCEFILES)))
71 $(TARGET): $(CSFILES) $(LOCAL_ASSEMBLIES) $(RESOURCEFILES)
72         $(CSC) -o $@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES)
74 all: $(TARGET)
76 install-data-local: $(TARGET)
77         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
78         $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
80 uninstall-local:
81         rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
83 EXTRA_DIST =                    \
84         $(CSFILES)              \
85         $(RESOURCEFILES)
87 CLEANFILES =                    \
88         $(TARGET)               \
89         $(TARGET).mdb