diff options
Diffstat (limited to 'PLUGINS/SRC/hello')
-rw-r--r-- | PLUGINS/SRC/hello/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/SRC/hello/Makefile | 9 | ||||
-rw-r--r-- | PLUGINS/SRC/hello/hello.c | 4 |
3 files changed, 13 insertions, 4 deletions
diff --git a/PLUGINS/SRC/hello/HISTORY b/PLUGINS/SRC/hello/HISTORY index 9778a81..3507baf 100644 --- a/PLUGINS/SRC/hello/HISTORY +++ b/PLUGINS/SRC/hello/HISTORY @@ -22,3 +22,7 @@ VDR Plugin 'hello' Revision History 2002-08-04: Version 0.0.5 - Added a missing #include. + +2002-09-21: Version 0.0.6 + +- Fixed Makefile for NEWSTRUCT driver. diff --git a/PLUGINS/SRC/hello/Makefile b/PLUGINS/SRC/hello/Makefile index b9d911a..802889b 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/17 15:36:36 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): diff --git a/PLUGINS/SRC/hello/hello.c b/PLUGINS/SRC/hello/hello.c index d14f369..3d1b22f 100644 --- a/PLUGINS/SRC/hello/hello.c +++ b/PLUGINS/SRC/hello/hello.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: hello.c 1.6 2002/08/04 15:13:35 kls Exp $ + * $Id: hello.c 1.7 2002/09/21 08:44:56 kls Exp $ */ #include <getopt.h> @@ -12,7 +12,7 @@ #include <vdr/plugin.h> #include "i18n.h" -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *DESCRIPTION = "A friendly greeting"; static const char *MAINMENUENTRY = "Hello"; |