add configure option --enable-appdata and put all appdata in appdata/
[claws.git] / src / plugins / python / Makefile.am
1 # Makefile.am for "src/plugins/python" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
4
5 SUBDIRS = examples
6
7 plugindir = $(pkglibdir)/plugins
8
9 if BUILD_PYTHON_PLUGIN
10 plugin_LTLIBRARIES = python.la
11 endif
12
13 python_la_SOURCES = \
14         accounttype.c \
15         accounttype.h \
16         clawsmailmodule.c \
17         clawsmailmodule.h \
18         composewindowtype.c \
19         composewindowtype.h \
20         folderpropertiestype.c \
21         folderpropertiestype.h \
22         foldertype.c \
23         foldertype.h \
24         mailboxtype.c \
25         mailboxtype.h \
26         messageinfotype.c \
27         messageinfotype.h \
28         nodetype.c \
29         nodetype.h \
30         python_plugin.c \
31         python-hooks.c \
32         python-hooks.h \
33         python-shell.c \
34         python-shell.h
35
36 python_la_LDFLAGS = \
37         -avoid-version -module \
38         $(GLIB_LIBS) \
39         $(GTK_LIBS) \
40         $(PYGTK_LIBS) \
41         $(PYTHON_LIBS)
42
43
44 python_la_CPPFLAGS = \
45         -I$(top_srcdir)/src \
46         -I$(top_srcdir)/src/common \
47         -I$(top_builddir)/src/common \
48         -I$(top_srcdir)/src/gtk \
49         $(GLIB_CFLAGS) \
50         $(GTK_CFLAGS) \
51         $(PYTHON_CFLAGS) \
52         $(PYGTK_CFLAGS) \
53         -DPYTHON_SHARED_LIB="\"$(PYTHON_SHARED_LIB)\"" \
54         -DENABLE_PYTHON \
55         -fno-strict-aliasing