83da4d15ba5d72802147a5717d23dbbb20428a2f
[claws.git] / src / plugins / archive / Makefile.am
1 plugindir = $(pkglibdir)/plugins
2
3 if BUILD_ARCHIVE_PLUGIN
4 plugin_LTLIBRARIES = archive.la
5 endif
6
7 archive_la_SOURCES = \
8               libarchive_archive.c \
9                   libarchive_archive.h \
10                   archiver.c \
11                   archiver.h \
12                   archiver_gtk.c \
13                   archiver_prefs.c
14
15 archiveincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@
16 archiveinclude_HEADERS = \
17         archiver.h \
18         archiver_prefs.h
19
20 archive_la_LDFLAGS = \
21                 -avoid-version -module \
22                 $(GTK_LIBS)
23
24 archive_la_LIBADD = \
25                 @ARCHIVE_LIBS@
26
27 INCLUDES = \
28         -I$(top_srcdir)/src \
29         -I$(top_srcdir)/src/common \
30         -I$(top_builddir)/src/common \
31         -I$(top_srcdir)/src/gtk
32
33 AM_CPPFLAGS = \
34                 $(CLAWS_MAIL_CFLAGS) \
35                 $(GLIB_CFLAGS) \
36                 $(GTK_CFLAGS) \
37                 -DLOCALEDIR=\""$(localedir)"\"