a76a589ac1e6e7b5257a09b5a69aadacdf00edc2
[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 appdata_files = claws-mail-archive.metainfo.xml
6 appdatadir = $(datadir)/appdata
7 appdata_DATA = $(appdata_files)
8 EXTRA_DIST = $(appdata_files)
9
10 plugindir = $(pkglibdir)/plugins
11
12 if BUILD_ARCHIVE_PLUGIN
13 plugin_LTLIBRARIES = archive.la
14 endif
15
16 archive_la_SOURCES = \
17               libarchive_archive.c \
18                   libarchive_archive.h \
19                   archiver.c \
20                   archiver.h \
21                   archiver_gtk.c \
22                   archiver_prefs.c
23
24 archiveincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@
25 archiveinclude_HEADERS = \
26         archiver.h \
27         archiver_prefs.h
28
29 archive_la_LDFLAGS = \
30                 -avoid-version -module \
31                 $(GTK_LIBS)
32
33 archive_la_LIBADD = \
34                 @ARCHIVE_LIBS@
35
36
37 archive_la_CPPFLAGS = \
38         -I$(top_srcdir)/src \
39         -I$(top_srcdir)/src/common \
40         -I$(top_builddir)/src/common \
41         -I$(top_srcdir)/src/gtk \
42         $(GLIB_CFLAGS) \
43         $(GTK_CFLAGS)