Remove some deprecation warnings from python-shell
[claws.git] / src / plugins / python / Makefile.am
blob0288e7bdbf94c08218bf72218442fe7e7c03e57c
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 SUBDIRS = examples
8 plugindir = $(pkglibdir)/plugins
10 if BUILD_PYTHON_PLUGIN
11 plugin_LTLIBRARIES = python.la
12 endif
14 python_la_SOURCES = \
15         accounttype.c \
16         accounttype.h \
17         clawsmailmodule.c \
18         clawsmailmodule.h \
19         composewindowtype.c \
20         composewindowtype.h \
21         folderpropertiestype.c \
22         folderpropertiestype.h \
23         foldertype.c \
24         foldertype.h \
25         mailboxtype.c \
26         mailboxtype.h \
27         messageinfotype.c \
28         messageinfotype.h \
29         nodetype.c \
30         nodetype.h \
31         python_plugin.c \
32         python_prefs.c \
33         python_prefs.h \
34         python-hooks.c \
35         python-hooks.h \
36         python-shell.c \
37         python-shell.h
39 python_la_LDFLAGS = \
40         -avoid-version -module -z noexecstack \
41         $(GLIB_LIBS) \
42         $(GTK_LIBS) \
43         $(PYGOBJECT_LIBS) \
44         $(PYTHONEMBED_LIBS) \
45         $(PYTHON_LIBS)
48 python_la_CPPFLAGS = \
49         -I$(top_srcdir)/src \
50         -I$(top_srcdir)/src/common \
51         -I$(top_builddir)/src \
52         -I$(top_srcdir)/src/gtk \
53         $(GLIB_CFLAGS) \
54         $(GTK_CFLAGS) \
55         $(ENCHANT_CFLAGS) \
56         $(PYGOBJECT_CFLAGS) \
57         $(PYTHONEMBED_CFLAGS) \
58         $(PYTHON_CFLAGS) \
59         -DPYTHON_SHARED_LIB="\"$(PYTHONEMBED_SHARED_LIB)\"" \
60         -DENABLE_PYTHON \
61         -fno-strict-aliasing
63 .PHONY: test