Real fix for Coverity 1372362.
[claws.git] / src / plugins / spamassassin / Makefile.am
1 # Copyright 1999-2014 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
5
6 plugindir = $(pkglibdir)/plugins
7
8 if BUILD_SPAMASSASSIN_PLUGIN
9 plugin_LTLIBRARIES = spamassassin.la
10 endif
11
12 spamassassin_la_SOURCES = \
13         spamassassin.c spamassassin.h \
14         spamassassin_gtk.c spamassassin.h \
15         libspamc.c libspamc.h \
16         utils.c utils.h
17
18 spamassassin_la_LDFLAGS = \
19         -avoid-version -module
20
21 if CYGWIN
22 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
23 else
24 cygwin_export_lib =
25 endif
26 spamassassin_la_LIBADD = $(cygwin_export_lib) \
27         $(GTK_LIBS)
28
29 spamassassin_la_CPPFLAGS = \
30         -I$(top_srcdir)/src \
31         -I$(top_srcdir)/src/common \
32         -I$(top_builddir)/src/common \
33         -I$(top_srcdir)/src/gtk \
34         $(ENCHANT_CFLAGS) \
35         $(GLIB_CFLAGS) \
36         $(GTK_CFLAGS)
37
38 EXTRA_DIST = README