Remove inclusion of sys/socket.h from nntp-thread.c
[claws.git] / src / plugins / spamassassin / Makefile.am
blob54c2dbc65c5552872df87b5f6c33fe46381307b5
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.
6 plugindir = $(pkglibdir)/plugins
8 if BUILD_SPAMASSASSIN_PLUGIN
9 plugin_LTLIBRARIES = spamassassin.la
10 endif
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
18 spamassassin_la_LDFLAGS = \
19         -avoid-version -module -z noexecstack \
20         $(SPAMASSASSIN_LIBS)
22 if CYGWIN
23 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
24 else
25 cygwin_export_lib =
26 endif
27 spamassassin_la_LIBADD = $(cygwin_export_lib) \
28         $(GTK_LIBS)
30 spamassassin_la_CPPFLAGS = \
31         -I$(top_srcdir)/src \
32         -I$(top_srcdir)/src/common \
33         -I$(top_builddir)/src \
34         -I$(top_srcdir)/src/gtk \
35         $(ENCHANT_CFLAGS) \
36         $(GLIB_CFLAGS) \
37         $(GTK_CFLAGS) \
38         $(SPAMASSASSIN_CFLAGS)
40 EXTRA_DIST = README NOTICE
42 .PHONY: test