From ded9f8508f8d0723d84cc9f4bc7d234b69b829e0 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 21 Oct 2010 23:07:32 +0000 Subject: further updates to the build system, generate enigma2.sh --- .../Plugins/Extensions/DVDPlayer/src/Makefile.am | 23 ++++++++-------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'lib/python/Plugins/Extensions/DVDPlayer/src') diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am index 5bfc8afa..7aaec9bb 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am @@ -1,22 +1,15 @@ -CPPFLAGS += \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ + -I$(top_srcdir)/include \ -include Python.h \ -include $(top_builddir)/enigma2_config.h -OBJS = servicedvd.cpp +plugindir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer --include $(OBJS:.cpp=.d) +plugin_LTLIBRARIES = servicedvd.la -installdir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer +servicedvd_la_SOURCES = \ + servicedvd.cpp \ + servicedvd.h -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 \ - $(LDFLAGS) -ldreamdvd - -all: servicedvd.so - -CLEANFILES = servicedvd.so servicedvd.d +servicedvd_la_LDFLAGS = -avoid-version -module -- cgit v1.2.3