6bdf63feb974c13c53f6128d948bd89926cff3da
[claws.git] / src / plugins / spamassassin / Makefile.am
1 plugindir = $(pkglibdir)/plugins
2
3 plugin_LTLIBRARIES = spamassassin.la
4
5 spamassassin_la_SOURCES = \
6         spamassassin.c spamassassin.h \
7         spamassassin_gtk.c spamassassin.h \
8         libspamc.c libspamc.h \
9         utils.c utils.h
10
11 spamassassin_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 spamassassin_la_LIBADD = $(cygwin_export_lib) \
20         $(GTK_LIBS)     \
21         $(OPENSSL_LIBS)
22
23 INCLUDES = \
24         -I$(top_srcdir)/src \
25         -I$(top_srcdir)/src/common \
26         -I$(top_srcdir)/src/gtk
27
28 AM_CPPFLAGS = \
29         $(ASPELL_CFLAGS) \
30         $(GLIB_CFLAGS) \
31         $(GTK_CFLAGS) \
32         $(OPENSSL_CFLAGS)
33
34 EXTRA_DIST = \
35         README