X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpython%2FMakefile.am;h=5cbda78097cf4fc202e11b1308892d8f574310ae;hb=96b320d3d1b921cad7a94027b449dacd49470117;hp=c64946a54dd9ef47d52b08dca6e427f1e7785052;hpb=ac6ba5aeaad1467541d33a737819803376aacbd0;p=vuplus_dvbapp diff --git a/lib/python/Makefile.am b/lib/python/Makefile.am index c64946a..5cbda78 100644 --- a/lib/python/Makefile.am +++ b/lib/python/Makefile.am @@ -1,21 +1,37 @@ -INCLUDES = \ +AM_CPPFLAGS = \ + -I$(top_srcdir) \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/src + -include Python.h \ + -include $(top_builddir)/enigma2_config.h SUBDIRS = Components Tools Screens Plugins noinst_LIBRARIES = libenigma_python.a libenigma_python_a_SOURCES = \ - python.cpp enigma_python_wrap.cxx connections.cpp + connections.cpp \ + connections.h \ + python.cpp \ + python.h \ + swig.h -enigma_python_wrap.cxx: enigma_python.i - swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i - python enigma_py_patcher.py +nodist_libenigma_python_a_SOURCES = \ + enigma_python_wrap.cxx + +EXTRA_DIST = \ + enigma_py_patcher.py \ + enigma_python.i + +enigma_python_wrap.cxx: $(srcdir)/enigma_python.i + $(SWIG) $(AX_SWIG_PYTHON_OPT) -I$(top_srcdir) -O -nortti -nothreads -o $@ $< + $(PYTHON) $(srcdir)/enigma_py_patcher.py enigma.py: enigma_python_wrap.cxx -installdir = $(LIBDIR)/enigma2/python +CLEANFILES = enigma.py enigma_python_wrap.cxx + +installdir = $(pkglibdir)/python install_PYTHON = \ enigma.py +