mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Moved the "all" target in plugin Makefiles before the "Implicit rules"
This commit is contained in:
@@ -4,3 +4,8 @@ VDR Plugin 'servicedemo' Revision History
|
||||
2005-08-21: Version 0.1.1
|
||||
|
||||
- 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
|
||||
#
|
||||
# $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.
|
||||
# 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
|
||||
|
||||
### The main target:
|
||||
|
||||
all: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
|
||||
|
||||
### Implicit rules:
|
||||
|
||||
%.o: %.c
|
||||
@@ -65,8 +69,6 @@ $(DEPFILE): Makefile
|
||||
|
||||
### Targets:
|
||||
|
||||
all: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
|
||||
|
||||
libvdr-$(PLUGIN1).so: $(PLUGIN1).o
|
||||
$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@
|
||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||
|
@@ -3,14 +3,14 @@
|
||||
*
|
||||
* 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 <vdr/interface.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 *MAINMENUENTRY = "Service demo";
|
||||
|
||||
|
@@ -3,14 +3,14 @@
|
||||
*
|
||||
* 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 <vdr/interface.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";
|
||||
|
||||
class cPluginSvcSvr : public cPlugin {
|
||||
|
Reference in New Issue
Block a user