skip path prefix from .pyc compilation
[enigma2.git] / lib / python / Makefile.am
1 INCLUDES = \
2         -I$(top_srcdir)/include \
3         -I$(top_srcdir)/src
4
5 SUBDIRS = Components Tools Screens Plugins
6
7 noinst_LIBRARIES = libenigma_python.a
8
9 libenigma_python_a_SOURCES = \
10         python.cpp enigma_python_wrap.cxx connections.cpp
11
12 enigma_python_wrap.cxx: enigma_python.i
13         swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
14         python enigma_py_patcher.py
15
16 enigma.py: enigma_python_wrap.cxx
17
18 CLEANFILES = enigma.py enigma_python_wrap.cxx
19
20 installdir = $(LIBDIR)/enigma2/python
21
22 install_PYTHON = \
23         enigma.py