daef423a73c0ad2eef603f8c7ccdf34d9e23859d
[claws.git] / src / plugins / python / Makefile.am
1 SUBDIRS = examples
2
3 plugindir = $(pkglibdir)/plugins
4
5 if BUILD_PYTHON_PLUGIN
6 plugin_LTLIBRARIES = python.la
7 endif
8
9 python_la_SOURCES = \
10         clawsmailmodule.c \
11         clawsmailmodule.h \
12         composewindowtype.c \
13         composewindowtype.h \
14         foldertype.c \
15         foldertype.h \
16         messageinfotype.c \
17         messageinfotype.h \
18         nodetype.c \
19         nodetype.h \
20         python_plugin.c \
21         python-hooks.c \
22         python-hooks.h \
23         python-shell.c \
24         python-shell.h
25
26 python_la_LDFLAGS = \
27         -avoid-version -module \
28         $(GLIB_LIBS) \
29         $(GTK_LIBS) \
30         $(PYGTK_LIBS) \
31         $(PYTHON_LIBS)
32
33 INCLUDES = \
34         -I$(top_srcdir)/src \
35         -I$(top_srcdir)/src/common \
36         -I$(top_builddir)/src/common \
37         -I$(top_srcdir)/src/gtk
38
39 AM_CPPFLAGS = \
40         -Wall \
41         $(CLAWS_MAIL_CFLAGS) \
42         $(GLIB_CFLAGS) \
43         $(GTK_CFLAGS) \
44         $(PYTHON_CFLAGS) \
45         $(PYGTK_CFLAGS) \
46         -DPYTHON_SHARED_LIB="\"$(PYTHON_SHARED_LIB)\"" \
47         -DENABLE_PYTHON \
48         -fno-strict-aliasing \
49         -DLOCALEDIR=\""$(localedir)"\"