Disable stack execution on plugins
[claws.git] / src / plugins / spam_report / Makefile.am
bloba50d963b4933d40b6c1e6f2a28b8ca70bfa671c9
1 # Copyright 1999-2022 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
16 if BUILD_SPAM_REPORT_PLUGIN
17 plugin_LTLIBRARIES = spamreport.la
18 endif
20 spamreport_la_LDFLAGS = \
21         $(plugin_ldflags) \
22         -avoid-version -module -z noexecstack
24 EXTRA_spamreport_la_DEPENDENCIES = $(plugin_extra_deps)
26 spamreport_la_LIBADD = $(plugin_libadd) \
27         $(GTK_LIBS) \
28         $(CURL_LIBS)
30 spamreport_la_CPPFLAGS = \
31         $(IFLAGS) \
32         $(GLIB_CFLAGS) \
33         $(CURL_CFLAGS) \
34         $(GTK_CFLAGS) \
35         $(ENCHANT_CFLAGS)
37 spamreport_la_SOURCES = \
38         spam_report.c \
39         spam_report_prefs.c \
40         spam_report_prefs.h
42 .PHONY: test