45986a4df1ffb8636d3c9b50ad4fa00ac95a3509
[claws.git] / src / plugins / bogofilter / Makefile.am
1 plugindir = $(pkglibdir)/plugins
2
3 if BUILD_BOGOFILTER_PLUGIN
4 plugin_LTLIBRARIES = bogofilter.la
5 endif
6
7 bogofilter_la_SOURCES = \
8         bogofilter.c bogofilter.h \
9         bogofilter_gtk.c 
10
11 bogofilter_la_LDFLAGS = \
12         -avoid-version -module
13
14 if CYGWIN
15 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
16 else
17 cygwin_export_lib =
18 endif
19 bogofilter_la_LIBADD = $(cygwin_export_lib) \
20         $(GTK_LIBS)
21
22 bogofilter_la_CPPFLAGS = \
23         -I$(top_srcdir)/src \
24         -I$(top_srcdir)/src/common \
25         -I$(top_builddir)/src/common \
26         -I$(top_srcdir)/src/gtk \
27         $(ENCHANT_CFLAGS) \
28         $(GLIB_CFLAGS) \
29         $(GTK_CFLAGS)