88e4379fc8dbd8bf9cbd511456ccb4b6b26bb70a
[claws.git] / src / plugins / spamassassin / Makefile.am
1 # Makefile.am for "src/plugins/spamassassin" 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_SPAMASSASSIN_PLUGIN
8 plugin_LTLIBRARIES = spamassassin.la
9 endif
10
11 spamassassin_la_SOURCES = \
12         spamassassin.c spamassassin.h \
13         spamassassin_gtk.c spamassassin.h \
14         libspamc.c libspamc.h \
15         utils.c utils.h
16
17 spamassassin_la_LDFLAGS = \
18         -avoid-version -module
19
20 if CYGWIN
21 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
22 else
23 cygwin_export_lib =
24 endif
25 spamassassin_la_LIBADD = $(cygwin_export_lib) \
26         $(GTK_LIBS)
27
28 spamassassin_la_CPPFLAGS = \
29         -I$(top_srcdir)/src \
30         -I$(top_srcdir)/src/common \
31         -I$(top_builddir)/src/common \
32         -I$(top_srcdir)/src/gtk \
33         $(ENCHANT_CFLAGS) \
34         $(GLIB_CFLAGS) \
35         $(GTK_CFLAGS)
36
37 EXTRA_DIST = \
38         README