X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FExtensions%2FDVDPlayer%2Fsrc%2FMakefile.am;h=3e2ee67cb32a0a6690664ebc9ac95d71f6d42fc9;hp=e79688b89e727927caf3b908ba9e8fd3027ea002;hb=ea123678d957d0706c030a35f18026d163b0cad9;hpb=97b86324d322309843cc5d9d93b039d706c5ae58 diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am index e79688b..3e2ee67 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am @@ -1,21 +1,18 @@ -CPPFLAGS += \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ - -include Python.h + -I$(top_srcdir)/include \ + -include Python.h \ + -include $(top_builddir)/enigma2_config.h -OBJS = servicedvd.cpp +AM_CXXFLAGS = @LIBDDVD_CFLAGS@ --include $(OBJS:.cpp=.d) +plugindir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer -installdir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer +plugin_LTLIBRARIES = servicedvd.la -install_PYTHON = \ - servicedvd.so +servicedvd_la_SOURCES = \ + servicedvd.cpp \ + servicedvd.h -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 +servicedvd_la_LIBADD = @LIBDDVD_LIBS@