fix typo (thanks to Charles A Edwards)
[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 appdata_in_files = claws-mail-spamassassin.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
8
9 @INTLTOOL_XML_RULE@
10
11 plugindir = $(pkglibdir)/plugins
12
13 if BUILD_SPAMASSASSIN_PLUGIN
14 plugin_LTLIBRARIES = spamassassin.la
15 endif
16
17 spamassassin_la_SOURCES = \
18         spamassassin.c spamassassin.h \
19         spamassassin_gtk.c spamassassin.h \
20         libspamc.c libspamc.h \
21         utils.c utils.h
22
23 spamassassin_la_LDFLAGS = \
24         -avoid-version -module
25
26 if CYGWIN
27 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
28 else
29 cygwin_export_lib =
30 endif
31 spamassassin_la_LIBADD = $(cygwin_export_lib) \
32         $(GTK_LIBS)
33
34 spamassassin_la_CPPFLAGS = \
35         -I$(top_srcdir)/src \
36         -I$(top_srcdir)/src/common \
37         -I$(top_builddir)/src/common \
38         -I$(top_srcdir)/src/gtk \
39         $(ENCHANT_CFLAGS) \
40         $(GLIB_CFLAGS) \
41         $(GTK_CFLAGS)
42
43 EXTRA_DIST = README $(appdata_DATA)