X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/bf0b808b065eba06098281126d68f4d344bff6d5..97b86324d322309843cc5d9d93b039d706c5ae58:/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am index 774871e8..e79688b8 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am @@ -1,7 +1,16 @@ -OBJS := servicedvd.cpp +CPPFLAGS += \ + -I$(top_srcdir) \ + -include Python.h + +OBJS = servicedvd.cpp -include $(OBJS:.cpp=.d) +installdir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer + +install_PYTHON = \ + servicedvd.so + servicedvd.so: $(CXX) $(CPPFLAGS) -MD $(CXXFLAGS) $(DEFS) -I$(top_srcdir)/include \ -Wall -W $(OBJS) -shared -fPIC -Wl,-soname,servicedvd.so -o servicedvd.so \