Fix warning: excess elements in struct initializer
[claws.git] / src / plugins / python / Makefile.am
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.
5
6 SUBDIRS = examples
7
8 plugindir = $(pkglibdir)/plugins
9
10 if BUILD_PYTHON_PLUGIN
11 plugin_LTLIBRARIES = python.la
12 endif
13
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-hooks.c \
33         python-hooks.h \
34         python-shell.c \
35         python-shell.h
36
37 python_la_LDFLAGS = \
38         -avoid-version -module \
39         $(GLIB_LIBS) \
40         $(GTK_LIBS) \
41         $(PYGTK_LIBS) \
42         $(PYTHON_LIBS)
43
44
45 python_la_CPPFLAGS = \
46         -I$(top_srcdir)/src \
47         -I$(top_srcdir)/src/common \
48         -I$(top_builddir)/src/common \
49         -I$(top_srcdir)/src/gtk \
50         $(GLIB_CFLAGS) \
51         $(GTK_CFLAGS) \
52         $(ENCHANT_CFLAGS) \
53         $(PYTHON_CFLAGS) \
54         $(PYGTK_CFLAGS) \
55         -DPYTHON_SHARED_LIB="\"$(PYTHON_SHARED_LIB)\"" \
56         -DENABLE_PYTHON \
57         -fno-strict-aliasing