Disable stack execution on plugins
[claws.git] / src / plugins / fancy / Makefile.am
blob07103e97498dc8e7f7fabf13a1f80558ef835f35
1 # Copyright 1999-2023 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.
6 include $(srcdir)/../win_plugin.mk
8 IFLAGS = \
9         -I$(top_builddir)/src \
10         -I$(top_srcdir)/src \
11         -I$(top_srcdir)/src/common \
12         -I$(top_srcdir)/src/gtk
14 plugindir = $(pkglibdir)/plugins
15 webextensiondir = $(pkglibdir)/web_extensions
17 if BUILD_FANCY_PLUGIN
18 plugin_LTLIBRARIES = fancy.la
19 webextension_LTLIBRARIES = fancywebextension.la
20 endif
22 fancy_la_LDFLAGS = \
23         $(plugin_ldflags) \
24         -avoid-version -module -z noexecstack
26 EXTRA_fancy_la_DEPENDENCIES = $(plugin_extra_deps)
28 fancy_la_LIBADD = $(plugin_libadd) \
29         $(GTK_LIBS) \
30         $(WEBKIT_LIBS) \
31         $(CURL_LIBS)
33 fancy_la_CPPFLAGS = \
34         $(IFLAGS) \
35         $(GLIB_CFLAGS) \
36         $(GTK_CFLAGS) \
37         $(ENCHANT_CFLAGS) \
38         $(WEBKIT_CFLAGS) \
39         $(CURL_CFLAGS) \
40         -DFANCY_WEB_EXTENSIONS_DIR=\""$(pkglibdir)/web_extensions"\" \
41         -DFANCY_WEB_EXTENSION_FILE=\""fancywebextension"\"
43 fancy_la_SOURCES = \
44         fancy_prefs.c \
45         fancy_prefs.h \
46         fancy_viewer.c \
47         fancy_viewer.h
49 fancywebextension_la_SOURCES = fancy_web_extension.c
50 fancywebextension_la_CFLAGS = $(WEBKIT_CFLAGS)
51 fancywebextension_la_LIBADD = $(WEBKIT_LIBS)
52 fancywebextension_la_LDFLAGS = -module -avoid-version -no-undefined
54 .PHONY: test