diff options
author | methodus <methodus@web.de> | 2012-10-09 12:29:06 +0200 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-10-09 12:29:06 +0200 |
commit | 44511176d981c985e630d34d5087eeaefa169959 (patch) | |
tree | 76aaad4c9c83eb40c6ec8aab3bd5814ff5fd7ff0 /plugins/provider | |
parent | 8dd19bbd0112564d76c35ff2b208e0e29d2bf6ac (diff) | |
download | vdr-plugin-upnp-44511176d981c985e630d34d5087eeaefa169959.tar.gz vdr-plugin-upnp-44511176d981c985e630d34d5087eeaefa169959.tar.bz2 |
Made makefile more generic. VDRLIBDIR might be set by environment.
Diffstat (limited to 'plugins/provider')
-rw-r--r-- | plugins/provider/vdrProvider/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/provider/vdrProvider/Makefile b/plugins/provider/vdrProvider/Makefile index 7a798d2..ce4dedd 100644 --- a/plugins/provider/vdrProvider/Makefile +++ b/plugins/provider/vdrProvider/Makefile @@ -20,7 +20,7 @@ CXX ?= g++ CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC UPNPDIR ?= ../../.. -VDRPLUGINDIR = /usr/lib/vdr/plugins/ +VDRLIBDIR ?= $(UPNPDIR)/../../lib APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h) @@ -30,7 +30,7 @@ DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFIL OBJS = $(SCHEMA)Provider.o -LIBS = -L$(VDRPLUGINDIR) -Wl,-R$(VDRPLUGINDIR) -lvdr-upnp +LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) -lvdr-upnp all: libupnp-$(SCHEMA)-provider.so |