diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-15 13:20:04 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-15 13:20:04 +0200 |
commit | a551b5b124c9c67227f7fde9f3f7e27ee2bd441a (patch) | |
tree | f8957e4b5ecf10a202c731bad79162c7a7b0f42e /PLUGINS/src/servicedemo | |
parent | 0979904dfca6da24d45d06f9c2e9a692d56eb150 (diff) | |
download | vdr-a551b5b124c9c67227f7fde9f3f7e27ee2bd441a.tar.gz vdr-a551b5b124c9c67227f7fde9f3f7e27ee2bd441a.tar.bz2 |
Moved the "all" target in plugin Makefiles before the "Implicit rules"
Diffstat (limited to 'PLUGINS/src/servicedemo')
-rw-r--r-- | PLUGINS/src/servicedemo/HISTORY | 5 | ||||
-rw-r--r-- | PLUGINS/src/servicedemo/Makefile | 8 | ||||
-rw-r--r-- | PLUGINS/src/servicedemo/svccli.c | 4 | ||||
-rw-r--r-- | PLUGINS/src/servicedemo/svcsvr.c | 4 |
4 files changed, 14 insertions, 7 deletions
diff --git a/PLUGINS/src/servicedemo/HISTORY b/PLUGINS/src/servicedemo/HISTORY index 16a0c430..76d95a5c 100644 --- a/PLUGINS/src/servicedemo/HISTORY +++ b/PLUGINS/src/servicedemo/HISTORY @@ -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. diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile index a18f9950..9625953f 100644 --- a/PLUGINS/src/servicedemo/Makefile +++ b/PLUGINS/src/servicedemo/Makefile @@ -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) diff --git a/PLUGINS/src/servicedemo/svccli.c b/PLUGINS/src/servicedemo/svccli.c index 9a4ed444..6e812b41 100644 --- a/PLUGINS/src/servicedemo/svccli.c +++ b/PLUGINS/src/servicedemo/svccli.c @@ -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"; diff --git a/PLUGINS/src/servicedemo/svcsvr.c b/PLUGINS/src/servicedemo/svcsvr.c index 7aff2b98..9ccb73ce 100644 --- a/PLUGINS/src/servicedemo/svcsvr.c +++ b/PLUGINS/src/servicedemo/svcsvr.c @@ -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 { |