summaryrefslogtreecommitdiff
path: root/PLUGINS/src/hello/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-21 08:46:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-21 08:46:01 +0200
commitf6640a25b8a0e1c4611a94f248bf9398154310db (patch)
treeeb9bb7c1f0234ee07b789d028c6ddf4a46fc6952 /PLUGINS/src/hello/Makefile
parent3858cc9e65b1685f5aed9fd9d7b157418f19e0ff (diff)
downloadvdr-f6640a25b8a0e1c4611a94f248bf9398154310db.tar.gz
vdr-f6640a25b8a0e1c4611a94f248bf9398154310db.tar.bz2
Fixed Makefile for NEWSTRUCT driver
Diffstat (limited to 'PLUGINS/src/hello/Makefile')
-rw-r--r--PLUGINS/src/hello/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile
index b9d911ab..445cff5e 100644
--- a/PLUGINS/src/hello/Makefile
+++ b/PLUGINS/src/hello/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.4 2002/06/10 16:24:06 kls Exp $
+# $Id: Makefile 1.5 2002/09/21 08:38:39 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -15,7 +15,12 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The directory environment:
+ifdef NEWSTRUCT
+DVBDIR = ../../../../DVB/include
+DEFINES += -DNEWSTRUCT
+else
DVBDIR = ../../../../DVB/ost/include
+endif
VDRDIR = ../../..
VDRINC = $(VDRDIR)/include
LIBDIR = ../../lib
@@ -34,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE)
INCLUDES = -I$(VDRINC) -I$(DVBDIR)
-DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### The object files (add further files here):