metainfo: add clamd plugin
[claws.git] / src / plugins / clamd / Makefile.am
1 # Makefile.am for "src/plugins/clamd" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 appdata_files = claws-mail-clamd.metainfo.xml
6 appdatadir = $(datadir)/appdata
7 appdata_DATA = $(appdata_files)
8 EXTRA_DIST = $(appdata_files)
9
10 SUBDIRS = libclamd
11 plugindir = $(pkglibdir)/plugins
12
13 if BUILD_CLAMD_PLUGIN
14 plugin_LTLIBRARIES = clamd.la
15 endif
16
17 clamd_la_SOURCES = \
18         clamav_plugin.c \
19         clamav_plugin_gtk.c \
20         clamav_plugin.h
21
22 clamd_la_LDFLAGS = \
23         -avoid-version -module \
24         $(GTK_LIBS) \
25         -L$(top_builddir)/src/plugins/clamd/libclamd
26
27 clamd_la_LIBADD = \
28         -lclamd-plugin
29
30 clamd_la_CPPFLAGS = \
31         -I$(top_srcdir)/src/plugins/clamd/libclamd \
32         -I$(top_srcdir)/src \
33         -I$(top_srcdir)/src/common \
34         -I$(top_builddir)/src/common \
35         -I$(top_srcdir)/src/gtk \
36         $(GLIB_CFLAGS) \
37         $(GTK_CFLAGS)