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