4f72a91e6b2ecc741437cb87829b966131f45514
[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         accounttype.c \
11         accounttype.h \
12         clawsmailmodule.c \
13         clawsmailmodule.h \
14         composewindowtype.c \
15         composewindowtype.h \
16         folderpropertiestype.c \
17         folderpropertiestype.h \
18         foldertype.c \
19         foldertype.h \
20         messageinfotype.c \
21         messageinfotype.h \
22         nodetype.c \
23         nodetype.h \
24         python_plugin.c \
25         python-hooks.c \
26         python-hooks.h \
27         python-shell.c \
28         python-shell.h
29
30 python_la_LDFLAGS = \
31         -avoid-version -module \
32         $(GLIB_LIBS) \
33         $(GTK_LIBS) \
34         $(PYGTK_LIBS) \
35         $(PYTHON_LIBS)
36
37 INCLUDES = \
38         -I$(top_srcdir)/src \
39         -I$(top_srcdir)/src/common \
40         -I$(top_builddir)/src/common \
41         -I$(top_srcdir)/src/gtk
42
43 AM_CPPFLAGS = \
44         $(GLIB_CFLAGS) \
45         $(GTK_CFLAGS) \
46         $(PYTHON_CFLAGS) \
47         $(PYGTK_CFLAGS) \
48         -DPYTHON_SHARED_LIB="\"$(PYTHON_SHARED_LIB)\"" \
49         -DENABLE_PYTHON \
50         -fno-strict-aliasing