Replace deprecated INCLUDES with AM_CPPFLAGS; where needed, still
[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         mailboxtype.c \
21         mailboxtype.h \
22         messageinfotype.c \
23         messageinfotype.h \
24         nodetype.c \
25         nodetype.h \
26         python_plugin.c \
27         python-hooks.c \
28         python-hooks.h \
29         python-shell.c \
30         python-shell.h
31
32 python_la_LDFLAGS = \
33         -avoid-version -module \
34         $(GLIB_LIBS) \
35         $(GTK_LIBS) \
36         $(PYGTK_LIBS) \
37         $(PYTHON_LIBS)
38
39
40 python_la_CPPFLAGS = \
41         -I$(top_srcdir)/src \
42         -I$(top_srcdir)/src/common \
43         -I$(top_builddir)/src/common \
44         -I$(top_srcdir)/src/gtk \
45         $(GLIB_CFLAGS) \
46         $(GTK_CFLAGS) \
47         $(PYTHON_CFLAGS) \
48         $(PYGTK_CFLAGS) \
49         -DPYTHON_SHARED_LIB="\"$(PYTHON_SHARED_LIB)\"" \
50         -DENABLE_PYTHON \
51         -fno-strict-aliasing