Fix a fd leak in knotes backend (stupid me) and some cleanup in kaddrbook backend.
[beagle.git] / Renderers / Makefile.am
blobee3107c35c4dc4cbe2f82489dac28e367b272509
2 CSC = mcs -g
4 TARGET = Renderers.dll
6 CSFLAGS = -target:library
8 CSFILES =                                       \
9         $(srcdir)/Favicons.cs                   \
10         $(srcdir)/DataBarn.cs                   \
11         $(srcdir)/HitRenderer.cs                \
12         $(srcdir)/HitRendererControl.cs         \
13         $(srcdir)/HitRendererHtml.cs            \
14         $(srcdir)/Tile.cs
17 #       $(srcdir)/DefaultHitRenderer.cs         \
18 #       $(srcdir)/ContactHitRenderer.cs         \
19 #       $(srcdir)/FileHitRenderer.cs            \
20 #       $(srcdir)/MailMessageHitRenderer.cs     \
21 #       $(srcdir)/WebLinkHitRenderer.cs
23 ASSEMBLIES =                            \
24         $(EVO_SHARP_LIBS)               \
25         $(BEAGLE_UI_LIBS)               \
26         -r:../Util/Util.dll             \
27         -r:../Filters/Filters.dll       \
28         -r:../Lucene.Net/Lucene.Net.dll \
29         -r:../indexer/Indexer.dll
31 imagedir = $(top_srcdir)/images
32 templatedir = $(top_srcdir)/templates
34 RESOURCEFILES =                                 \
35         $(templatedir)/contact.html             \
36         $(templatedir)/email.html               \
37         $(templatedir)/email-sent.html          \
38         $(templatedir)/file-generic.html        \
39         $(templatedir)/google.html              \
40         $(templatedir)/im-log.html              \
41         $(templatedir)/web-history.html         \
42         $(templatedir)/weblink.html             \
43                                                 \
44         $(imagedir)/attachment.png              \
45         $(imagedir)/bookmark.png                \
46         $(imagedir)/book.png                    \
47         $(imagedir)/bug.png                     \
48         $(imagedir)/contact-icon.png            \
49         $(imagedir)/contact-phone.png           \
50         $(imagedir)/default.png                 \
51         $(imagedir)/document.png                \
52         $(imagedir)/evolution.png               \
53         $(imagedir)/flag-for-followup.png       \
54         $(imagedir)/foaf.png                    \
55         $(imagedir)/globe.png                   \
56         $(imagedir)/gnome-error.png             \
57         $(imagedir)/gnome-gaim.png              \
58         $(imagedir)/icon-bookmark.png           \
59         $(imagedir)/icon-folder.png             \
60         $(imagedir)/icon-history.png            \
61         $(imagedir)/icon-search.png             \
62         $(imagedir)/icon-web-large.png          \
63         $(imagedir)/icon-web.png                \
64         $(imagedir)/mail-message-icon.png       \
65         $(imagedir)/mail-new.png                \
66         $(imagedir)/mail.png                    \
67         $(imagedir)/mail-read.png               \
68         $(imagedir)/mail-replied.png            \
69         $(imagedir)/music.png                   \
70         $(imagedir)/person.png                  \
71         $(imagedir)/rss.png                     \
72         $(imagedir)/status-away.png             \
73         $(imagedir)/status-online.png           \
74         $(imagedir)/stock.png                   \
75         $(imagedir)/white.png
77 # Makefile-fu to map /path/filename to -resource:/path/filename,filename
78 RESOURCES = $(join $(RESOURCEFILES:%=-resource:%,),$(notdir $(RESOURCEFILES)))
80 $(TARGET): $(CSFILES) $(RESOURCEFILES)
81         $(CSC) -o $@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES) 
83 all: $(TARGET)
85 install-data-local: $(TARGET)
86         $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
87         $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
89 uninstall-local:
90         rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
92 EXTRA_DIST =            \
93         $(CSFILES)
95 CLEANFILES =            \
96         $(TARGET)