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