Fix wrong use of pointer-to-array as an array, CID #1434191.
[claws.git] / src / plugins / clamd / Makefile.am
1 # Copyright 1999-2017 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 SUBDIRS = libclamd
7 plugindir = $(pkglibdir)/plugins
8
9 if BUILD_CLAMD_PLUGIN
10 plugin_LTLIBRARIES = clamd.la
11 endif
12
13 clamd_la_SOURCES = \
14         clamav_plugin.c \
15         clamav_plugin_gtk.c \
16         clamav_plugin.h
17
18 clamd_la_LDFLAGS = \
19         -avoid-version -module \
20         $(GTK_LIBS) \
21         -L$(top_builddir)/src/plugins/clamd/libclamd
22
23 clamd_la_LIBADD = \
24         -lclamd-plugin
25
26 clamd_la_CPPFLAGS = \
27         -I$(top_srcdir)/src/plugins/clamd/libclamd \
28         -I$(top_srcdir)/src \
29         -I$(top_srcdir)/src/common \
30         -I$(top_builddir)/src/common \
31         -I$(top_srcdir)/src/gtk \
32         $(GLIB_CFLAGS) \
33         $(GTK_CFLAGS) \
34         $(ENCHANT_CFLAGS)