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