revert local change
[enigma2.git] / lib / python / Makefile.am
index c3d98c0bf97384d6da8c0a73f8141a6f09a53c1d..9eb13df7f45d77d9359df97d1e4b1d6e3ad654cb 100644 (file)
@@ -1,12 +1,19 @@
 INCLUDES = \
        -I$(top_srcdir)/include \
-       -I$(top_srcdir)/src \
-       -I/usr/include/python2.3
+       -I$(top_srcdir)/src
+
+SUBDIRS = Components Tools Screens Plugins
 
 noinst_LIBRARIES = libenigma_python.a
 
 libenigma_python_a_SOURCES = \
-       python.cpp enigma_python_wrap.cxx
+       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
+
+installdir = $(LIBDIR)/enigma2/python
+
+install_DATA = \
+       enigma.py