+# Makefile.am for "src/plugins/bogofilter" directory
+# This file is part of Claws Mail package.
+# See COPYING file for license details.
+
plugindir = $(pkglibdir)/plugins
+if BUILD_BOGOFILTER_PLUGIN
plugin_LTLIBRARIES = bogofilter.la
+endif
bogofilter_la_SOURCES = \
bogofilter.c bogofilter.h \
bogofilter_gtk.c
bogofilter_la_LDFLAGS = \
- -avoid-version -module -no-undefined
+ -avoid-version -module
if CYGWIN
-cygwin_export_lib = -L$(top_builddir)/src -lsylpheed-claws
+cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
else
cygwin_export_lib =
endif
bogofilter_la_LIBADD = $(cygwin_export_lib) \
- $(GTK_LIBS) \
- $(OPENSSL_LIBS)
+ $(GTK_LIBS)
-INCLUDES = \
+bogofilter_la_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/common \
- -I$(top_srcdir)/src/gtk
-
-AM_CPPFLAGS = \
- $(ASPELL_CFLAGS) \
+ -I$(top_builddir)/src/common \
+ -I$(top_srcdir)/src/gtk \
+ $(ENCHANT_CFLAGS) \
$(GLIB_CFLAGS) \
- $(GTK_CFLAGS) \
- $(OPENSSL_CFLAGS)
+ $(GTK_CFLAGS)