1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed Makefile for NEWSTRUCT driver

This commit is contained in:
Klaus Schmidinger 2002-09-21 08:46:01 +02:00
parent 3858cc9e65
commit f6640a25b8
6 changed files with 27 additions and 9 deletions

View File

@ -22,3 +22,7 @@ VDR Plugin 'hello' Revision History
2002-08-04: Version 0.0.5 2002-08-04: Version 0.0.5
- Added a missing #include. - Added a missing #include.
2002-09-21: Version 0.0.6
- Fixed Makefile for NEWSTRUCT driver.

View File

@ -1,7 +1,7 @@
# #
# Makefile for a Video Disk Recorder plugin # 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. # The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the 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: ### The directory environment:
ifdef NEWSTRUCT
DVBDIR = ../../../../DVB/include
DEFINES += -DNEWSTRUCT
else
DVBDIR = ../../../../DVB/ost/include DVBDIR = ../../../../DVB/ost/include
endif
VDRDIR = ../../.. VDRDIR = ../../..
VDRINC = $(VDRDIR)/include VDRINC = $(VDRDIR)/include
LIBDIR = ../../lib LIBDIR = ../../lib
@ -34,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE)
INCLUDES = -I$(VDRINC) -I$(DVBDIR) INCLUDES = -I$(VDRINC) -I$(DVBDIR)
DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### The object files (add further files here): ### The object files (add further files here):

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: hello.c 1.6 2002/07/28 13:00:00 kls Exp $ * $Id: hello.c 1.7 2002/09/21 08:44:56 kls Exp $
*/ */
#include <getopt.h> #include <getopt.h>
@ -12,7 +12,7 @@
#include <vdr/plugin.h> #include <vdr/plugin.h>
#include "i18n.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 *DESCRIPTION = "A friendly greeting";
static const char *MAINMENUENTRY = "Hello"; static const char *MAINMENUENTRY = "Hello";

View File

@ -8,3 +8,7 @@ VDR Plugin 'status' Revision History
2002-07-13: Version 0.0.2 2002-07-13: Version 0.0.2
- Changed the interface of cStatus::Replaying(). - Changed the interface of cStatus::Replaying().
2002-09-21: Version 0.0.3
- Fixed Makefile for NEWSTRUCT driver.

View File

@ -1,7 +1,7 @@
# #
# Makefile for a Video Disk Recorder plugin # Makefile for a Video Disk Recorder plugin
# #
# $Id: Makefile 1.2 2002/08/28 19:30:35 kls Exp $ # $Id: Makefile 1.3 2002/09/21 08:38:39 kls Exp $
# The official name of this plugin. # The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the 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: ### The directory environment:
ifdef NEWSTRUCT
DVBDIR = ../../../../DVB/include
DEFINES += -DNEWSTRUCT
else
DVBDIR = ../../../../DVB/ost/include DVBDIR = ../../../../DVB/ost/include
endif
VDRDIR = ../../.. VDRDIR = ../../..
VDRINC = $(VDRDIR)/include VDRINC = $(VDRDIR)/include
LIBDIR = ../../lib LIBDIR = ../../lib
@ -34,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE)
INCLUDES = -I$(VDRINC) -I$(DVBDIR) INCLUDES = -I$(VDRINC) -I$(DVBDIR)
DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### The object files (add further files here): ### The object files (add further files here):
@ -43,7 +48,7 @@ OBJS = $(PLUGIN).o
### The C++ compiler and options: ### The C++ compiler and options:
CXX = g++ CXX = g++
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual CXXFLAGS = -O2 -Wall -Woverloaded-virtual
### Implicit rules: ### Implicit rules:

View File

@ -3,13 +3,13 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: status.c 1.2 2002/07/13 10:55:55 kls Exp $ * $Id: status.c 1.3 2002/09/21 08:46:01 kls Exp $
*/ */
#include <vdr/plugin.h> #include <vdr/plugin.h>
#include <vdr/status.h> #include <vdr/status.h>
static const char *VERSION = "0.0.2"; static const char *VERSION = "0.0.3";
static const char *DESCRIPTION = "Status monitor test"; static const char *DESCRIPTION = "Status monitor test";
static const char *MAINMENUENTRY = NULL; static const char *MAINMENUENTRY = NULL;