Add a totem filter, from Bastien Nocera. Change the MPlayer filter so that
[beagle.git] / Filters / Makefile.am
blob37b96c162f98c3e9a087a5485bc7f89a865806c5
2 FILTERDIR = $(pkglibdir)/Filters
3 CSC = mcs -debug
5 TARGET = Filters.dll
7 CSFLAGS = -target:library
9 # Found at http://sharptoolbox.madgeek.com/
10 HAP_CSFILES =                                           \
11         $(srcdir)/HtmlAgilityPack/crc32.cs              \
12         $(srcdir)/HtmlAgilityPack/Header.cs             \
13         $(srcdir)/HtmlAgilityPack/HtmlAttribute.cs      \
14         $(srcdir)/HtmlAgilityPack/HtmlDocument.cs       \
15         $(srcdir)/HtmlAgilityPack/HtmlEntity.cs         \
16         $(srcdir)/HtmlAgilityPack/HtmlNode.cs           \
17         $(srcdir)/HtmlAgilityPack/HtmlNodeNavigator.cs  \
18         $(srcdir)/HtmlAgilityPack/MixedCodeDocument.cs  \
19         $(srcdir)/HtmlAgilityPack/tools.cs
21 include entagged-sharp/entagged-sharp.sources
23 CSFILES =                               \
24         $(ENTAGGED_CSFILES)             \
25         $(HAP_CSFILES)                  \
26         $(srcdir)/FilterHtml.cs         \
27         $(srcdir)/FilterImage.cs        \
28         $(srcdir)/FilterJpeg.cs         \
29         $(srcdir)/FilterTiff.cs         \
30         $(srcdir)/FilterMan.cs          \
31         $(srcdir)/FilterOpenOffice.cs   \
32         $(srcdir)/FilterPdf.cs          \
33         $(srcdir)/FilterPng.cs          \
34         $(srcdir)/FilterText.cs         \
35         $(srcdir)/FilterRTF.cs          \
36         $(srcdir)/FilterSource.cs       \
37         $(srcdir)/FilterC.cs            \
38         $(srcdir)/FilterCpp.cs          \
39         $(srcdir)/FilterCSharp.cs       \
40         $(srcdir)/FilterJava.cs         \
41         $(srcdir)/FilterPython.cs       \
42         $(srcdir)/FilterPerl.cs         \
43         $(srcdir)/FilterPhp.cs          \
44         $(srcdir)/FilterFortran.cs      \
45         $(srcdir)/FilterPascal.cs       \
46         $(srcdir)/FilterAbiword.cs      \
47         $(srcdir)/FilterSpreadsheet.cs  \
48         $(srcdir)/FilterJs.cs           \
49         $(srcdir)/FilterLisp.cs         \
50         $(srcdir)/FilterMatlab.cs       \
51         $(srcdir)/FilterScilab.cs       \
52         $(srcdir)/FilterDocbook.cs      \
53         $(srcdir)/FilterMonodoc.cs      \
54         $(srcdir)/FilterDesktop.cs      \
55         $(srcdir)/FilterDirectory.cs    \
56         $(srcdir)/FilterMail.cs         \
57         $(srcdir)/FilterMusic.cs        \
58         $(srcdir)/FilterImLog.cs        \
59         $(srcdir)/FilterKonqHistory.cs  \
60         $(srcdir)/FilterShellscript.cs  \
61         $(srcdir)/FilterRuby.cs         \
62         $(srcdir)/FilterMPlayerVideo.cs \
63         $(srcdir)/FilterTotem.cs        \
64         $(srcdir)/FilterBmp.cs          \
65         $(srcdir)/FilterExternal.cs     \
66         $(srcdir)/FilterEbuild.cs       \
67         $(srcdir)/FilterGif.cs          \
68         $(srcdir)/FilterXslt.cs         \
69         $(srcdir)/FilterRPM.cs          \
70         $(srcdir)/FilterPackage.cs      \
71         $(srcdir)/FilterDeb.cs          \
72         $(srcdir)/FilterBoo.cs          \
73         $(srcdir)/FilterSvg.cs          \
74         $(srcdir)/FilterKAddressBook.cs \
75         $(srcdir)/FilterKCal.cs         \
76         $(srcdir)/FilterKNotes.cs       \
77         $(srcdir)/FilterLabyrinth.cs
79 if ENABLE_GSF_SHARP
80 CSFILES +=                              \
81         $(srcdir)/FilterOle.cs          \
82         $(srcdir)/FilterPPT.cs
84 if ENABLE_WV1
85 CSFILES += \
86         $(srcdir)/FilterDOC.cs          
87 endif
88 endif
90 if HAS_LIBCHM
91 CSFILES +=                              \
92         $(srcdir)/FilterChm.cs
93 endif
96 LOCAL_ASSEMBLIES =                              \
97         ../Util/Util.dll                        \
98         ../BeagleClient/Beagle.dll              \
99         ../beagled/BeagleDaemonPlugins.dll
101 ASSEMBLIES =                            \
102         $(BEAGLED_LIBS)                 \
103         $(SHARPZIPLIB_LIBS)             \
104         -r:Mono.Posix                   \
105         -r:System.Web                   \
106         $(LOCAL_ASSEMBLIES:%=-r:%)
108 RESOURCES =
110 $(TARGET): $(CSFILES)
111         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES)
113 all: $(TARGET)
115 install-data-local: $(TARGET)
116         $(mkinstalldirs) $(DESTDIR)$(FILTERDIR)
117         $(INSTALL_DATA) $(TARGET) $(TARGET).mdb $(DESTDIR)$(FILTERDIR)
119 uninstall-local:
120         rm -f $(DESTDIR)$(FILTERDIR)/$(TARGET)
121         rm -f $(DESTDIR)$(FILTERDIR)/$(TARGET).mdb
123 COND_CS_FILES = \
124         $(srcdir)/FilterOle.cs          \
125         $(srcdir)/FilterPPT.cs          \
126         $(srcdir)/FilterDOC.cs          \
127         $(srcdir)/FilterChm.cs
129 confdir = $(sysconfdir)/beagle
130 conf_DATA = external-filters.xml
132 EXTRA_DIST =                    \
133         $(CSFILES)              \
134         $(COND_CS_FILES)        \
135         $(conf_DATA)
137 CLEANFILES =            \
138         $(TARGET)       \
139         $(TARGET).mdb