projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_623_fix_advanced_diseqc_1.0' into experimental
[vuplus_dvbapp]
/
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
bb02291
..
3e2ee67
100644
(file)
--- 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@