X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/96b320d3d1b921cad7a94027b449dacd49470117..68d7804ff72c80b4ba7c4e64e6a3ae36c1bad68b:/lib/python/Makefile.am diff --git a/lib/python/Makefile.am b/lib/python/Makefile.am index 5cbda780..666ba67d 100644 --- a/lib/python/Makefile.am +++ b/lib/python/Makefile.am @@ -10,25 +10,33 @@ noinst_LIBRARIES = libenigma_python.a libenigma_python_a_SOURCES = \ connections.cpp \ + python.cpp + +pythonincludedir = $(pkgincludedir)/lib/python +pythoninclude_HEADERS = \ connections.h \ - python.cpp \ python.h \ swig.h nodist_libenigma_python_a_SOURCES = \ - enigma_python_wrap.cxx + enigma_python.cpp + +noinst_PYTHON = \ + enigma_py_patcher.py 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 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enigma_python.Pcpp@am__quote@ + +.i.cpp: + $(AM_V_GEN)$(SWIG) $(AX_SWIG_PYTHON_OPT) -MT $@ -MD -MF $(DEPDIR)/$*.Tpo -I$(top_srcdir) -O -nortti -nothreads -o $@ $< + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Pcpp + $(AM_V_at)$(PYTHON) $(srcdir)/enigma_py_patcher.py -enigma.py: enigma_python_wrap.cxx +enigma.py: enigma_python.cpp -CLEANFILES = enigma.py enigma_python_wrap.cxx +CLEANFILES = enigma.py enigma_python.cpp installdir = $(pkglibdir)/python