link clamav_lib to the plugin and not to the main program
[claws.git] / src / plugins / clamav / Makefile.am
1 plugindir = $(pkglibdir)/plugins
2
3 plugin_LTLIBRARIES = clamav_plugin.la clamav_plugin_gtk.la
4
5 clamav_plugin_la_SOURCES = \
6         clamav_plugin.c clamav_plugin.h
7
8 clamav_plugin_la_LDFLAGS = \
9         -avoid-version -module \
10         $(GTK_LIBS) \
11         $(CLAMAV_LIBS)
12         
13 clamav_plugin_gtk_la_SOURCES = \
14         clamav_plugin_gtk.c clamav_plugin.h
15
16 clamav_plugin_gtk_la_LDFLAGS = \
17         -avoid-version -module \
18         $(GTK_LIBS)
19
20 INCLUDES = \
21         -I../.. \
22         -I../../common \
23         -I../../gtk \
24         -I$(CLAMAV_LIBS)
25
26 CPPFLAGS = \
27         $(ASPELL_CFLAGS) \
28         $(GLIB_CFLAGS) \
29         $(GTK_CFLAGS)
30
31 EXTRA_DIST = \
32         README