d6dec04b1f163a3cdb3799574a22c34e55d2eb1b
[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 plugindir = $(pkglibdir)/plugins
6
7 if BUILD_BOGOFILTER_PLUGIN
8 plugin_LTLIBRARIES = bogofilter.la
9 endif
10
11 bogofilter_la_SOURCES = \
12         bogofilter.c bogofilter.h \
13         bogofilter_gtk.c 
14
15 bogofilter_la_LDFLAGS = \
16         -avoid-version -module
17
18 if CYGWIN
19 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
20 else
21 cygwin_export_lib =
22 endif
23 bogofilter_la_LIBADD = $(cygwin_export_lib) \
24         $(GTK_LIBS)
25
26 bogofilter_la_CPPFLAGS = \
27         -I$(top_srcdir)/src \
28         -I$(top_srcdir)/src/common \
29         -I$(top_builddir)/src/common \
30         -I$(top_srcdir)/src/gtk \
31         $(ENCHANT_CFLAGS) \
32         $(GLIB_CFLAGS) \
33         $(GTK_CFLAGS)