a4f0b8046bfb14287987811c6a1bb329ded42c8a
[claws.git] / src / plugins / archive / Makefile.am
1 # Makefile.am for "src/plugins/archive" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 plugindir = $(pkglibdir)/plugins
6
7 if BUILD_ARCHIVE_PLUGIN
8 plugin_LTLIBRARIES = archive.la
9 endif
10
11 archive_la_SOURCES = \
12               libarchive_archive.c \
13                   libarchive_archive.h \
14                   archiver.c \
15                   archiver.h \
16                   archiver_gtk.c \
17                   archiver_prefs.c
18
19 archiveincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@
20 archiveinclude_HEADERS = \
21         archiver.h \
22         archiver_prefs.h
23
24 archive_la_LDFLAGS = \
25                 -avoid-version -module \
26                 $(GTK_LIBS)
27
28 archive_la_LIBADD = \
29                 @ARCHIVE_LIBS@
30
31
32 archive_la_CPPFLAGS = \
33         -I$(top_srcdir)/src \
34         -I$(top_srcdir)/src/common \
35         -I$(top_builddir)/src/common \
36         -I$(top_srcdir)/src/gtk \
37         $(GLIB_CFLAGS) \
38         $(GTK_CFLAGS)