mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Moved the "all" target in plugin Makefiles before the "Implicit rules"
This commit is contained in:
parent
0979904dfc
commit
a551b5b124
@ -2086,6 +2086,8 @@ Matthias Schwarzott <zzam@gentoo.org>
|
|||||||
for suggesting to add LC_ALL to the checks for UTF-8 at startup
|
for suggesting to add LC_ALL to the checks for UTF-8 at startup
|
||||||
for fixing getting the code setting from the locale
|
for fixing getting the code setting from the locale
|
||||||
for improving i18n-to-gettext.pl
|
for improving i18n-to-gettext.pl
|
||||||
|
for suggesting to move the "all" target in plugin Makefiles before the
|
||||||
|
"Implicit rules", so that a plain "make" will compile everything
|
||||||
|
|
||||||
Martin Ostermann <martin@familie-ostermann.de>
|
Martin Ostermann <martin@familie-ostermann.de>
|
||||||
for fixing processing the PDCDescriptor in 'libsi' on big endian systems
|
for fixing processing the PDCDescriptor in 'libsi' on big endian systems
|
||||||
|
4
HISTORY
4
HISTORY
@ -5352,3 +5352,7 @@ Video Disk Recorder Revision History
|
|||||||
by Joachim Wilke).
|
by Joachim Wilke).
|
||||||
- Fixed a faulty comment in Make.config.template (reported by Marco Schlüßler).
|
- Fixed a faulty comment in Make.config.template (reported by Marco Schlüßler).
|
||||||
- Improved i18n-to-gettext.pl (thanks to Matthias Schwarzott).
|
- Improved i18n-to-gettext.pl (thanks to Matthias Schwarzott).
|
||||||
|
- Moved the "all" target in plugin Makefiles before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything (suggested by Matthias
|
||||||
|
Schwarzott). The "newplugin" script has been changed accordingly.
|
||||||
|
Plugin authors may want to change their Makefiles, too.
|
||||||
|
@ -53,3 +53,8 @@ VDR Plugin 'hello' Revision History
|
|||||||
2007-08-11: Version 0.2.0
|
2007-08-11: Version 0.2.0
|
||||||
|
|
||||||
- Switched to 'gettext' internationalization.
|
- Switched to 'gettext' internationalization.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.2.1
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.16 2007/08/11 10:18:16 kls Exp $
|
# $Id: Makefile 1.17 2007/08/15 13:04:37 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.
|
||||||
@ -49,6 +49,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so i18n
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -90,8 +94,6 @@ i18n: $(I18Nmo)
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so i18n
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -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.13 2007/08/11 09:31:17 kls Exp $
|
* $Id: hello.c 1.14 2007/08/15 13:17:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -12,7 +12,7 @@
|
|||||||
#include <vdr/interface.h>
|
#include <vdr/interface.h>
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.2.0";
|
static const char *VERSION = "0.2.1";
|
||||||
static const char *DESCRIPTION = trNOOP("A friendly greeting");
|
static const char *DESCRIPTION = trNOOP("A friendly greeting");
|
||||||
static const char *MAINMENUENTRY = trNOOP("Hello");
|
static const char *MAINMENUENTRY = trNOOP("Hello");
|
||||||
|
|
||||||
|
@ -12,3 +12,8 @@ VDR Plugin 'osddemo' Revision History
|
|||||||
2004-04-30: Version 0.1.1
|
2004-04-30: Version 0.1.1
|
||||||
|
|
||||||
- New OSD handling.
|
- New OSD handling.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.1.2
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.9 2006/09/09 12:38:35 kls Exp $
|
# $Id: Makefile 1.10 2007/08/15 13:05:24 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.
|
||||||
@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -63,8 +67,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
*
|
*
|
||||||
* 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: osddemo.c 1.3 2004/05/16 09:28:51 kls Exp $
|
* $Id: osddemo.c 1.4 2007/08/15 13:17:55 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.1.1";
|
static const char *VERSION = "0.1.2";
|
||||||
static const char *DESCRIPTION = "Demo of arbitrary OSD setup";
|
static const char *DESCRIPTION = "Demo of arbitrary OSD setup";
|
||||||
static const char *MAINMENUENTRY = "Osd Demo";
|
static const char *MAINMENUENTRY = "Osd Demo";
|
||||||
|
|
||||||
|
@ -4,3 +4,8 @@ VDR Plugin 'servicedemo' Revision History
|
|||||||
2005-08-21: Version 0.1.1
|
2005-08-21: Version 0.1.1
|
||||||
|
|
||||||
- Initial revision.
|
- Initial revision.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.1.2
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.8 2006/09/09 12:38:35 kls Exp $
|
# $Id: Makefile 1.9 2007/08/15 13:05:42 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.
|
||||||
@ -49,6 +49,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN1).o $(PLUGIN2).o
|
OBJS = $(PLUGIN1).o $(PLUGIN2).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -65,8 +69,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN1).so: $(PLUGIN1).o
|
libvdr-$(PLUGIN1).so: $(PLUGIN1).o
|
||||||
$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@
|
$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
*
|
*
|
||||||
* 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: svccli.c 1.1 2005/08/21 10:44:29 kls Exp $
|
* $Id: svccli.c 1.2 2007/08/15 13:18:08 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <vdr/interface.h>
|
#include <vdr/interface.h>
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.1.1";
|
static const char *VERSION = "0.1.2";
|
||||||
static const char *DESCRIPTION = "Service demo client";
|
static const char *DESCRIPTION = "Service demo client";
|
||||||
static const char *MAINMENUENTRY = "Service demo";
|
static const char *MAINMENUENTRY = "Service demo";
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
*
|
*
|
||||||
* 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: svcsvr.c 1.1 2005/08/21 10:44:24 kls Exp $
|
* $Id: svcsvr.c 1.2 2007/08/15 13:18:59 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <vdr/interface.h>
|
#include <vdr/interface.h>
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.1.1";
|
static const char *VERSION = "0.1.2";
|
||||||
static const char *DESCRIPTION = "Service demo server";
|
static const char *DESCRIPTION = "Service demo server";
|
||||||
|
|
||||||
class cPluginSvcSvr : public cPlugin {
|
class cPluginSvcSvr : public cPlugin {
|
||||||
|
@ -51,3 +51,8 @@ VDR Plugin 'skincurses' Revision History
|
|||||||
2007-07-20: Version 0.1.2
|
2007-07-20: Version 0.1.2
|
||||||
|
|
||||||
- Fixed clearing color buttons.
|
- Fixed clearing color buttons.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.1.3
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.8 2007/06/15 12:23:00 kls Exp $
|
# $Id: Makefile 1.9 2007/08/15 13:05:54 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.
|
||||||
@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -63,8 +67,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncursesw -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncursesw -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -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: skincurses.c 1.15 2007/07/20 14:45:07 kls Exp $
|
* $Id: skincurses.c 1.16 2007/08/15 13:19:05 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include <vdr/skins.h>
|
#include <vdr/skins.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.1.2";
|
static const char *VERSION = "0.1.3";
|
||||||
static const char *DESCRIPTION = "A text only skin";
|
static const char *DESCRIPTION = "A text only skin";
|
||||||
static const char *MAINMENUENTRY = NULL;
|
static const char *MAINMENUENTRY = NULL;
|
||||||
|
|
||||||
|
@ -54,3 +54,8 @@ VDR Plugin 'sky' Revision History
|
|||||||
use the new option -U of getskyepg.pl to have the information added to the URL
|
use the new option -U of getskyepg.pl to have the information added to the URL
|
||||||
as a query string.
|
as a query string.
|
||||||
- The getskyepg.pl script now replaces "&" with "&".
|
- The getskyepg.pl script now replaces "&" with "&".
|
||||||
|
|
||||||
|
2007-08-15:Version 0.3.6
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.9 2006/09/09 12:38:35 kls Exp $
|
# $Id: Makefile 1.10 2007/08/15 13:06:08 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.
|
||||||
@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -63,8 +67,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -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: sky.c 1.13 2006/03/26 09:21:10 kls Exp $
|
* $Id: sky.c 1.14 2007/08/15 13:19:24 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include <vdr/sources.h>
|
#include <vdr/sources.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.3.5";
|
static const char *VERSION = "0.3.6";
|
||||||
static const char *DESCRIPTION = "Sky Digibox interface";
|
static const char *DESCRIPTION = "Sky Digibox interface";
|
||||||
|
|
||||||
// --- cDigiboxDevice --------------------------------------------------------
|
// --- cDigiboxDevice --------------------------------------------------------
|
||||||
|
@ -35,3 +35,8 @@ VDR Plugin 'status' Revision History
|
|||||||
2005-12-31: Version 0.2.0
|
2005-12-31: Version 0.2.0
|
||||||
|
|
||||||
- API change in cStatus.
|
- API change in cStatus.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.2.1
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.13 2006/09/09 12:38:35 kls Exp $
|
# $Id: Makefile 1.14 2007/08/15 13:06:17 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.
|
||||||
@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -63,8 +67,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -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.8 2005/12/31 15:19:45 kls Exp $
|
* $Id: status.c 1.9 2007/08/15 13:19:44 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include <vdr/status.h>
|
#include <vdr/status.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.2.0";
|
static const char *VERSION = "0.2.1";
|
||||||
static const char *DESCRIPTION = "Status monitor test";
|
static const char *DESCRIPTION = "Status monitor test";
|
||||||
static const char *MAINMENUENTRY = NULL;
|
static const char *MAINMENUENTRY = NULL;
|
||||||
|
|
||||||
|
@ -8,3 +8,8 @@ VDR Plugin 'svdrpdemo' Revision History
|
|||||||
2005-08-28: Version 0.0.2
|
2005-08-28: Version 0.0.2
|
||||||
|
|
||||||
- Removed unused MAINMENUENTRY.
|
- Removed unused MAINMENUENTRY.
|
||||||
|
|
||||||
|
2007-08-15: Version 0.0.3
|
||||||
|
|
||||||
|
- Moved the "all" target in the Makefile before the "Implicit rules",
|
||||||
|
so that a plain "make" will compile everything.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.7 2006/09/09 12:38:35 kls Exp $
|
# $Id: Makefile 1.8 2007/08/15 13:06:28 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.
|
||||||
@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = $(PLUGIN).o
|
OBJS = $(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-$(PLUGIN).so
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -63,8 +67,6 @@ $(DEPFILE): Makefile
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-$(PLUGIN).so
|
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
*
|
*
|
||||||
* 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: svdrpdemo.c 1.2 2005/08/28 21:11:14 kls Exp $
|
* $Id: svdrpdemo.c 1.3 2007/08/15 13:19:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.0.2";
|
static const char *VERSION = "0.0.3";
|
||||||
static const char *DESCRIPTION = "How to add SVDRP support to a plugin";
|
static const char *DESCRIPTION = "How to add SVDRP support to a plugin";
|
||||||
|
|
||||||
class cPluginSvdrpdemo : public cPlugin {
|
class cPluginSvdrpdemo : public cPlugin {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: newplugin 1.34 2007/08/12 11:04:39 kls Exp $
|
# $Id: newplugin 1.35 2007/08/15 13:05:03 kls Exp $
|
||||||
|
|
||||||
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
||||||
|
|
||||||
@ -108,6 +108,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"\$(PLUGIN)"'
|
|||||||
|
|
||||||
OBJS = \$(PLUGIN).o
|
OBJS = \$(PLUGIN).o
|
||||||
|
|
||||||
|
### The main target:
|
||||||
|
|
||||||
|
all: libvdr-\$(PLUGIN).so i18n
|
||||||
|
|
||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@ -149,8 +153,6 @@ i18n: \$(I18Nmo)
|
|||||||
|
|
||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
all: libvdr-\$(PLUGIN).so i18n
|
|
||||||
|
|
||||||
libvdr-\$(PLUGIN).so: \$(OBJS)
|
libvdr-\$(PLUGIN).so: \$(OBJS)
|
||||||
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
|
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
|
||||||
\@cp --remove-destination \$\@ \$(LIBDIR)/\$\@.\$(APIVERSION)
|
\@cp --remove-destination \$\@ \$(LIBDIR)/\$\@.\$(APIVERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user