Initial commit of litehtml_viewer
[claws.git] / src / plugins / litehtml_viewer / Makefile.am
1 # Copyright 1999-2018 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
5
6 SUBDIRS = litehtml
7 EXTRA_DIST = claws.def plugin.def version.rc css.inc
8
9 IFLAGS = \
10         -I$(top_srcdir)/src \
11         -I$(top_srcdir)/src/common \
12         -I$(top_builddir)/src \
13         -I$(top_srcdir)/src/gtk \
14         -I$(top_srcdir)/src/plugins/litehtml_viewer/litehtml
15
16 plugin_res =
17 plugin_res_ldflag =
18 export_symbols =
19 plugin_deps =
20 plugin_ldadd =
21
22 no_undefined =
23
24 cygwin_export_lib =
25
26 plugindir = $(pkglibdir)/plugins
27
28 #if BUILD_LITEHTML_VIEWER_PLUGIN
29 plugin_LTLIBRARIES = litehtml_viewer.la
30 #endif
31
32 litehtml_viewer_la_DEPENDENCIES = $(plugin_deps)
33
34 litehtml_viewer_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
35         $(top_builddir)/src/plugins/litehtml_viewer/litehtml/liblitehtml.la \
36         $(GTK_LIBS)
37
38 litehtml_viewer_la_CXXFLAGS = -std=c++11
39 litehtml_viewer_la_CFLAGS = -std=c99
40
41 litehtml_viewer_la_SOURCES = \
42         container_linux.cpp \
43         plugin.c \
44         lh_viewer.c \
45         lh_widget.cpp \
46         container_linux.h \
47         lh_viewer.h \
48         lh_widget.h \
49         lh_widget_wrapped.h
50
51 litehtml_viewer_la_LDFLAGS = \
52         $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
53         -avoid-version -module \
54         $(GTK_LIBS) \
55         $(FONTCONFIG_LIBS) \
56         $(CAIRO_LIBS)
57
58 litehtml_viewer_la_CPPFLAGS = \
59         $(IFLAGS) \
60         $(GLIB_CFLAGS) \
61         $(GTK_CFLAGS) \
62         $(FONTCONFIG_CFLAGS) \
63         $(CAIRO_CFLAGS) 
64
65 .PHONY: test
66