summaryrefslogtreecommitdiff
path: root/plugins/provider/recProvider
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-10-22 17:01:03 +0200
committermethodus <methodus@web.de>2012-10-22 17:01:03 +0200
commit418f4f3ba61c5b148bf0a591071a563b5de2fc19 (patch)
treed7338317285697bce86e505a3d3ae1ca1547c9dc /plugins/provider/recProvider
parent55c6770e0c592cc4c3e6fb1e2ca709b5f0cc5044 (diff)
downloadvdr-plugin-upnp-418f4f3ba61c5b148bf0a591071a563b5de2fc19.tar.gz
vdr-plugin-upnp-418f4f3ba61c5b148bf0a591071a563b5de2fc19.tar.bz2
Revert "Rearraged makefiles"
This reverts commit 1868f2796534c293a302f043448a05a2d3dae5b7.
Diffstat (limited to 'plugins/provider/recProvider')
-rw-r--r--plugins/provider/recProvider/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/provider/recProvider/Makefile b/plugins/provider/recProvider/Makefile
index 5de3337..95f8f41 100644
--- a/plugins/provider/recProvider/Makefile
+++ b/plugins/provider/recProvider/Makefile
@@ -16,9 +16,14 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(SCHEMA)Provider.cpp |
### The C++ compiler and options:
+CXX ?= g++
+CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC
+
UPNPDIR ?= ../../..
VDRLIBDIR ?= $(UPNPDIR)/../../lib
+APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h)
+
VDRDIR ?= $(UPNPDIR)/../../..
VDRAPIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)