275e7fc21ab3e64c7cf26551391b17cc8f7f5a69
[claws.git] / src / plugins / pdf_viewer / Makefile.am
1 # Makefile.am for "src/plugins/pdf_viewer" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 appdata_files = claws-mail-pdf_viewer.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_PDF_VIEWER_PLUGIN
13 plugin_LTLIBRARIES = pdf_viewer.la
14 endif
15
16 pdf_viewer_la_SOURCES = \
17          poppler_viewer.c \
18          poppler_viewer.h
19
20 pdf_viewer_la_LDFLAGS = \
21         -avoid-version -module \
22         $(GTK_LIBS) \
23         $(POPPLER_LIBS)
24
25 pdf_viewer_la_CPPFLAGS = \
26         -I$(top_srcdir)/src \
27         -I$(top_srcdir)/src/common \
28         -I$(top_builddir)/src/common \
29         -I$(top_srcdir)/src/gtk \
30         $(GLIB_CFLAGS) \
31         $(GTK_CFLAGS) \
32         $(POPPLER_CFLAGS)