metainfo: add gdata plugin
[claws.git] / src / plugins / gdata / Makefile.am
1 # Makefile.am for "src/plugins/gdata" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 appdata_files = claws-mail-gdata.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_GDATA_PLUGIN
13 plugin_LTLIBRARIES = gdata.la
14 endif
15
16 gdata_la_SOURCES = \
17         gdata_plugin.c \
18         gdata_plugin.h \
19         cm_gdata_contacts.c \
20         cm_gdata_contacts.h \
21         cm_gdata_prefs.c \
22         cm_gdata_prefs.h
23
24 gdata_la_LDFLAGS = \
25         -avoid-version -module \
26         $(GTK_LIBS) \
27         $(GDATA_LIBS)
28
29 gdata_la_CPPFLAGS = \
30         -I$(top_srcdir)/src \
31         -I$(top_srcdir)/src/common \
32         -I$(top_builddir)/src/common \
33         -I$(top_srcdir)/src/gtk \
34         $(GLIB_CFLAGS) \
35         $(GTK_CFLAGS) \
36         $(GDATA_CFLAGS)