metainfo: add bogofilter plugin
[claws.git] / src / plugins / bogofilter / Makefile.am
1 # Makefile.am for "src/plugins/bogofilter" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 appdata_files = claws-mail-bogofilter.metainfo.xml
6 appdatadir = $(datadir)/appdata
7 appdata_DATA = $(appdata_files)
8 EXTRA_DIST = $(appdata_files)
9
10 plugindir = $(pkglibdir)/plugins
11
12 if BUILD_BOGOFILTER_PLUGIN
13 plugin_LTLIBRARIES = bogofilter.la
14 endif
15
16 bogofilter_la_SOURCES = \
17         bogofilter.c bogofilter.h \
18         bogofilter_gtk.c 
19
20 bogofilter_la_LDFLAGS = \
21         -avoid-version -module
22
23 if CYGWIN
24 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
25 else
26 cygwin_export_lib =
27 endif
28 bogofilter_la_LIBADD = $(cygwin_export_lib) \
29         $(GTK_LIBS)
30
31 bogofilter_la_CPPFLAGS = \
32         -I$(top_srcdir)/src \
33         -I$(top_srcdir)/src/common \
34         -I$(top_builddir)/src/common \
35         -I$(top_srcdir)/src/gtk \
36         $(ENCHANT_CFLAGS) \
37         $(GLIB_CFLAGS) \
38         $(GTK_CFLAGS)