Disable stack execution on plugins
[claws.git] / src / plugins / demo / Makefile.am
blobb617c6d6d8939931fcaf52d842584ea5e423a72f
1 # Copyright 1999-2014 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 plugindir = $(pkglibdir)/plugins
8 if BUILD_DEMO_PLUGIN
9 plugin_LTLIBRARIES = demo.la
10 endif
12 demo_la_SOURCES = \
13         demo.c
15 demo_la_LDFLAGS = \
16         -avoid-version -module -z noexecstack
18 if CYGWIN
19 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
20 else
21 cygwin_export_lib = 
22 endif
24 demo_la_LIBADD = $(cygwin_export_lib) \
25         $(GTK_LIBS) 
27 demo_la_CPPFLAGS = \
28         -I$(top_srcdir)/src \
29         -I$(top_builddir)/src/common \
30         -I$(top_srcdir)/src/common \
31         $(GLIB_CFLAGS)
33 .PHONY: test