Change the GC.GetTotalMemory() threshold to 10%; otherwise there are just too many...
[beagle.git] / Filters / Makefile.am
blobc270c2e2f70e70bb73886d7534d4d7d71ea189b4
2 FILTERDIR = $(pkglibdir)/Filters
3 CSC = $(MCS) -debug
5 TARGET = Filters.dll
7 CSFLAGS = -target:library $(BEAGLE_DEFINES)
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         $(srcdir)/AssemblyInfo.cs       \
25         $(ENTAGGED_CSFILES)             \
26         $(HAP_CSFILES)                  \
27         $(srcdir)/FilterArchive.cs      \
28         $(srcdir)/FilterHtml.cs         \
29         $(srcdir)/FilterImage.cs        \
30         $(srcdir)/FilterJpeg.cs         \
31         $(srcdir)/FilterTiff.cs         \
32         $(srcdir)/FilterMan.cs          \
33         $(srcdir)/FilterOpenOffice.cs   \
34         $(srcdir)/FilterPdf.cs          \
35         $(srcdir)/FilterPng.cs          \
36         $(srcdir)/FilterText.cs         \
37         $(srcdir)/FilterRTF.cs          \
38         $(srcdir)/FilterSource.cs       \
39         $(srcdir)/FilterC.cs            \
40         $(srcdir)/FilterCpp.cs          \
41         $(srcdir)/FilterCSharp.cs       \
42         $(srcdir)/FilterJava.cs         \
43         $(srcdir)/FilterPython.cs       \
44         $(srcdir)/FilterPerl.cs         \
45         $(srcdir)/FilterPhp.cs          \
46         $(srcdir)/FilterFortran.cs      \
47         $(srcdir)/FilterPascal.cs       \
48         $(srcdir)/FilterAbiword.cs      \
49         $(srcdir)/FilterSpreadsheet.cs  \
50         $(srcdir)/FilterJs.cs           \
51         $(srcdir)/FilterLisp.cs         \
52         $(srcdir)/FilterMatlab.cs       \
53         $(srcdir)/FilterScilab.cs       \
54         $(srcdir)/FilterDocbook.cs      \
55         $(srcdir)/FilterMonodoc.cs      \
56         $(srcdir)/FilterDesktop.cs      \
57         $(srcdir)/FilterDirectory.cs    \
58         $(srcdir)/FilterMail.cs         \
59         $(srcdir)/FilterMusic.cs        \
60         $(srcdir)/FilterImLog.cs        \
61         $(srcdir)/FilterKonqHistory.cs  \
62         $(srcdir)/FilterShellscript.cs  \
63         $(srcdir)/FilterRuby.cs         \
64         $(srcdir)/FilterMPlayerVideo.cs \
65         $(srcdir)/FilterTotem.cs        \
66         $(srcdir)/FilterBmp.cs          \
67         $(srcdir)/FilterExternal.cs     \
68         $(srcdir)/FilterEbuild.cs       \
69         $(srcdir)/FilterGif.cs          \
70         $(srcdir)/FilterXslt.cs         \
71         $(srcdir)/FilterRPM.cs          \
72         $(srcdir)/FilterPackage.cs      \
73         $(srcdir)/FilterDeb.cs          \
74         $(srcdir)/FilterBoo.cs          \
75         $(srcdir)/FilterSvg.cs          \
76         $(srcdir)/FilterKAddressBook.cs \
77         $(srcdir)/FilterKCal.cs         \
78         $(srcdir)/FilterKNotes.cs       \
79         $(srcdir)/FilterLabyrinth.cs
81 if ENABLE_GSF_SHARP
82 CSFILES +=                              \
83         $(srcdir)/FilterOle.cs          \
84         $(srcdir)/FilterPPT.cs
86 if ENABLE_WV1
87 CSFILES += \
88         $(srcdir)/FilterDOC.cs          
89 endif
90 endif
92 if HAS_LIBCHM
93 CSFILES +=                              \
94         $(srcdir)/FilterChm.cs
95 endif
98 LOCAL_ASSEMBLIES =                              \
99         ../Util/Util.dll                        \
100         ../BeagleClient/Beagle.dll              \
101         ../beagled/BeagleDaemonPlugins.dll
103 ASSEMBLIES =                            \
104         $(BEAGLED_LIBS)                 \
105         $(SHARPZIPLIB_LIBS)             \
106         -r:Mono.Posix                   \
107         -r:System.Web                   \
108         $(LOCAL_ASSEMBLIES:%=-r:%)
110 RESOURCES =
112 $(TARGET): $(CSFILES)
113         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES) $(RESOURCES)
115 all: $(TARGET)
117 install-data-local: $(TARGET)
118         $(mkinstalldirs) $(DESTDIR)$(FILTERDIR)
119         $(INSTALL_DATA) $(TARGET) $(TARGET).mdb $(DESTDIR)$(FILTERDIR)
121 uninstall-local:
122         rm -f $(DESTDIR)$(FILTERDIR)/$(TARGET)
123         rm -f $(DESTDIR)$(FILTERDIR)/$(TARGET).mdb
125 COND_CS_FILES = \
126         $(srcdir)/FilterOle.cs          \
127         $(srcdir)/FilterPPT.cs          \
128         $(srcdir)/FilterDOC.cs          \
129         $(srcdir)/FilterChm.cs
131 confdir = $(sysconfdir)/beagle
132 conf_DATA = external-filters.xml
134 EXTRA_DIST =                    \
135         $(CSFILES)              \
136         $(COND_CS_FILES)        \
137         $(conf_DATA)
139 CLEANFILES =            \
140         $(TARGET)       \
141         $(TARGET).mdb