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=bb02291c336f3c96befd265a6690375fab4a9abb;hb=4ebfa152f7e0e144bd25154263e62d55fa24d21b;hpb=17be24380f07656d14b88baf5af0d9ef3d8eddfd diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am index bb02291..3e2ee67 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am @@ -1,11 +1,18 @@ -servicedvd.so: - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFS) -I$(top_srcdir)/include -Wall -W servicedvd.cpp -shared -fPIC -Wl,-soname,servicedvd.so -o servicedvd.so $(LDFLAGS) -ldreamdvd +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/include \ + -include Python.h \ + -include $(top_builddir)/enigma2_config.h -#-nostartfiles +AM_CXXFLAGS = @LIBDDVD_CFLAGS@ -all: servicedvd.so +plugindir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer -CLEANFILES = servicedvd.so +plugin_LTLIBRARIES = servicedvd.la -install: all - $(INSTALL) servicedvd.so $(DESTDIR)/$(LIBDIR)/enigma2/python/Plugins/Extensions/DVDPlayer +servicedvd_la_SOURCES = \ + servicedvd.cpp \ + servicedvd.h + +servicedvd_la_LDFLAGS = -avoid-version -module +servicedvd_la_LIBADD = @LIBDDVD_LIBS@