03dcedb9e218b6a40963a473f691aa1e9a2ca09f
[enigma2.git] / lib / python / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir) \
3         -I$(top_srcdir)/include \
4         -include Python.h
5
6 SUBDIRS = Components Tools Screens Plugins
7
8 noinst_LTLIBRARIES = libenigma_python.la
9
10 libenigma_python_la_SOURCES = \
11         python.cpp enigma_python_wrap.cxx connections.cpp
12
13 enigma_python_wrap.cxx: enigma_python.i
14         swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
15         python enigma_py_patcher.py
16
17 enigma.py: enigma_python_wrap.cxx
18
19 CLEANFILES = enigma.py enigma_python_wrap.cxx
20
21 installdir = $(pkglibdir)/python
22
23 install_PYTHON = \
24         enigma.py