917ec3ffca5df65f2f32142646fe22b7bba6f6b6
[claws.git] / src / plugins / clamd / Makefile.am
1 SUBDIRS = libclamd
2 plugindir = $(pkglibdir)/plugins
3
4 if BUILD_CLAMD_PLUGIN
5 plugin_LTLIBRARIES = clamd.la
6 endif
7
8 clamd_la_SOURCES = \
9         clamav_plugin.c \
10         clamav_plugin_gtk.c \
11         clamav_plugin.h
12
13 clamd_la_LDFLAGS = \
14         -avoid-version -module \
15         $(GTK_LIBS) \
16         -L$(top_builddir)/src/plugins/clamd/libclamd
17
18 clamd_la_LIBADD = \
19         -lclamd-plugin
20
21 INCLUDES = \
22         -I$(top_srcdir)/src/plugins/clamd/libclamd \
23         -I$(top_srcdir)/src \
24         -I$(top_srcdir)/src/common \
25         -I$(top_builddir)/src/common \
26         -I$(top_srcdir)/src/gtk
27
28 AM_CPPFLAGS = \
29         -Wall \
30         $(CLAWS_MAIL_CFLAGS) \
31         $(GLIB_CFLAGS) \
32         $(GTK_CFLAGS) \
33         -DLOCALEDIR=\""$(localedir)"\"