summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2b14a5b..aff0a2f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,9 @@ VDRDIR ?= ../../..
LIBDIR ?= ../../lib
TMPDIR ?= /tmp
+PLUGINDIR= ./PLUGINS
+PLUGINLIBDIR= $(PLUGINDIR)/lib/upnp
+
### Make sure that necessary options are included:
include $(VDRDIR)/Make.global
@@ -49,6 +52,7 @@ PACKAGE = vdr-$(ARCHIVE)
INCLUDES += -I$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\"
### The object files (add further files here):