fix pid changes
[enigma2.git] / lib / python / Makefile.am
index e94d36f450f79b174667f31c1d9dd4f5a737fa41..1877efc127d30f3287fd46e4b30e6b341f420433 100644 (file)
@@ -2,7 +2,7 @@ INCLUDES = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src
 
-SUBDIRS = Components Tools Screens
+SUBDIRS = Components Tools Screens Plugins
 
 noinst_LIBRARIES = libenigma_python.a
 
@@ -10,9 +10,14 @@ libenigma_python_a_SOURCES = \
        python.cpp enigma_python_wrap.cxx connections.cpp
 
 enigma_python_wrap.cxx: enigma_python.i
-       swig -I$(top_srcdir)/ -c++ -python enigma_python.i
+       swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
+       python enigma_py_patcher.py
+
+enigma.py: enigma_python_wrap.cxx
+
+CLEANFILES = enigma.py enigma_python_wrap.cxx
 
 installdir = $(LIBDIR)/enigma2/python
 
-install_DATA = \
+install_PYTHON = \
        enigma.py