88e5c35cacbe6b053273a79ce2e87044dc1b27b2
[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_in_files = claws-mail-clamd.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
8
9 @INTLTOOL_XML_RULE@
10
11 EXTRA_DIST = $(appdata_DATA) $(appdata_in_files)
12
13 SUBDIRS = libclamd
14 plugindir = $(pkglibdir)/plugins
15
16 if BUILD_CLAMD_PLUGIN
17 plugin_LTLIBRARIES = clamd.la
18 endif
19
20 clamd_la_SOURCES = \
21         clamav_plugin.c \
22         clamav_plugin_gtk.c \
23         clamav_plugin.h
24
25 clamd_la_LDFLAGS = \
26         -avoid-version -module \
27         $(GTK_LIBS) \
28         -L$(top_builddir)/src/plugins/clamd/libclamd
29
30 clamd_la_LIBADD = \
31         -lclamd-plugin
32
33 clamd_la_CPPFLAGS = \
34         -I$(top_srcdir)/src/plugins/clamd/libclamd \
35         -I$(top_srcdir)/src \
36         -I$(top_srcdir)/src/common \
37         -I$(top_builddir)/src/common \
38         -I$(top_srcdir)/src/gtk \
39         $(GLIB_CFLAGS) \
40         $(GTK_CFLAGS)