326a30632551272705fe9b518aa9eb62e12ce696
[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.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
8
9 @INTLTOOL_XML_RULE@
10
11 EXTRA_DIST = $(appdata_DATA)
12
13 plugindir = $(pkglibdir)/plugins
14
15 if BUILD_BOGOFILTER_PLUGIN
16 plugin_LTLIBRARIES = bogofilter.la
17 endif
18
19 bogofilter_la_SOURCES = \
20         bogofilter.c bogofilter.h \
21         bogofilter_gtk.c 
22
23 bogofilter_la_LDFLAGS = \
24         -avoid-version -module
25
26 if CYGWIN
27 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
28 else
29 cygwin_export_lib =
30 endif
31 bogofilter_la_LIBADD = $(cygwin_export_lib) \
32         $(GTK_LIBS)
33
34 bogofilter_la_CPPFLAGS = \
35         -I$(top_srcdir)/src \
36         -I$(top_srcdir)/src/common \
37         -I$(top_builddir)/src/common \
38         -I$(top_srcdir)/src/gtk \
39         $(ENCHANT_CFLAGS) \
40         $(GLIB_CFLAGS) \
41         $(GTK_CFLAGS)