X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/dba614edd2aad3c17e244914eaef3809d8300cb1..96ac5ba0afb7fb1ea96aee24fc497e76dc2c652b:/lib/python/Makefile.am diff --git a/lib/python/Makefile.am b/lib/python/Makefile.am index dbcf489e..1877efc1 100644 --- a/lib/python/Makefile.am +++ b/lib/python/Makefile.am @@ -2,16 +2,22 @@ INCLUDES = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src +SUBDIRS = Components Tools Screens Plugins + noinst_LIBRARIES = libenigma_python.a 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 -enigma_python.i: enigma_iobject.i +installdir = $(LIBDIR)/enigma2/python -enigma_iobject.i: - find ../../.. -name "*.cpp" | xargs grep -h "DEFINE_REF" > enigma_iobject.i - \ No newline at end of file +install_PYTHON = \ + enigma.py