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.
7 EXTRA_DIST = claws.def plugin.def version.rc css.inc
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
18 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
19 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
20 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
23 $(LTRCCOMPILE) -i $< -o $@
25 plugin_res = version.lo
26 plugin_res_ldflag = -Wl,.libs/version.o
27 export_symbols = -export-symbols $(srcdir)/plugin.def
28 plugin_deps = libclaws.a $(plugin_res) plugin.def
29 plugin_ldadd = -L. -lclaws
32 $(DLLTOOL) --output-lib $@ --def $<
42 no_undefined = -no-undefined
48 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
53 plugindir = $(pkglibdir)/plugins
55 if BUILD_LITEHTML_VIEWER_PLUGIN
56 plugin_LTLIBRARIES = litehtml_viewer.la
59 litehtml_viewer_la_DEPENDENCIES = $(plugin_deps) litehtml/liblitehtml.la
61 litehtml_viewer_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
62 $(top_builddir)/src/plugins/litehtml_viewer/litehtml/liblitehtml.la \
65 litehtml_viewer_la_CXXFLAGS = -std=c++11
66 litehtml_viewer_la_CFLAGS = -std=c99
68 litehtml_viewer_la_SOURCES = \
70 container_linux_images.cpp \
84 litehtml_viewer_la_LDFLAGS = \
85 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
86 -avoid-version -module \
93 litehtml_viewer_la_CPPFLAGS = \
98 $(FONTCONFIG_CFLAGS) \