diff --git a/Make.config.template b/Make.config.template index 34a049b5..f37f17f0 100644 --- a/Make.config.template +++ b/Make.config.template @@ -6,7 +6,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Make.config.template 2.15 2013/01/06 18:48:29 kls Exp $ +# $Id: Make.config.template 2.16 2013/01/12 13:50:17 kls Exp $ ### The C compiler and options: @@ -24,9 +24,22 @@ endif ### The directory environment: -# Use this if you want to have a central place where you configure compile time -# parameters for plugins: -#PLGCFG = /etc/vdr/plugins.conf +# Default directories (adjust as necessary or desired): + +#PREFIX = /usr/local +#BINDIR = $(PREFIX)/bin +#INCDIR = $(PREFIX)/include +#LIBDIR = $(PREFIX)/lib/vdr +#LOCDIR = $(PREFIX)/share/locale +#MANDIR = $(PREFIX)/share/man +#PCDIR = $(PREFIX)/lib/pkgconfig +#RESDIR = $(PREFIX)/share/vdr + +#VIDEODIR = /srv/vdr/video +#CONFDIR = /var/lib/vdr +#CACHEDIR = /var/cache/vdr + +# Overrides for preset/legacy configurations: # Use 'make LCLBLD=1' to build locale and plugin files under the source directory: ifdef LCLBLD @@ -46,14 +59,9 @@ CONFDIR = $(VIDEODIR) RESDIR = $(VIDEODIR) endif -# Other directories: - -#PREFIX = /usr/local -#BINDIR = $(PREFIX)/bin -#DVBDIR = /usr/src/v4l-dvb/linux -#MANDIR = $(PREFIX)/man -#INCDIR = $(PREFIX)/include -#PCDIR = $(PREFIX)/lib/pkgconfig +# Use this if you want to have a central place where you configure compile time +# parameters for plugins: +#PLGCFG = $(CONFDIR)/plugins.conf ### The remote control: diff --git a/Makefile b/Makefile index fe63ada7..2a5a9b2d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 2.48 2013/01/06 18:45:33 kls Exp $ +# $Id: Makefile 2.49 2013/01/12 13:45:01 kls Exp $ .DELETE_ON_ERROR: @@ -114,7 +114,7 @@ all: vdr i18n plugins # Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< # Dependencies: @@ -202,7 +202,7 @@ plugins: include-dir vdr.pc noapiv="";\ oldmakefile="";\ for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\ - echo "*** Plugin $$i:";\ + echo; echo "*** Plugin $$i:";\ # No APIVERSION: Skip\ if ! grep -q "\$$(LIBDIR)/.*\$$(APIVERSION)" "$(PLUGINDIR)/src/$$i/Makefile" ; then\ echo "ERROR: plugin $$i doesn't honor APIVERSION - not compiled!";\ diff --git a/PLUGINS/src/dvbsddevice/Makefile b/PLUGINS/src/dvbsddevice/Makefile index ed727e41..f7e73b2c 100644 --- a/PLUGINS/src/dvbsddevice/Makefile +++ b/PLUGINS/src/dvbsddevice/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.19 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 1.20 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/epgtableid0/Makefile b/PLUGINS/src/epgtableid0/Makefile index 84cc6263..6190e62e 100644 --- a/PLUGINS/src/epgtableid0/Makefile +++ b/PLUGINS/src/epgtableid0/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.12 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 1.13 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile index 08380d32..4bdd5c91 100644 --- a/PLUGINS/src/hello/Makefile +++ b/PLUGINS/src/hello/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.17 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.18 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -62,7 +62,7 @@ all: $(SOFILE) i18n ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile index f3bab4ae..9b7e2c15 100644 --- a/PLUGINS/src/osddemo/Makefile +++ b/PLUGINS/src/osddemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.15 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.16 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/pictures/Makefile b/PLUGINS/src/pictures/Makefile index b3a55f27..3081e27d 100644 --- a/PLUGINS/src/pictures/Makefile +++ b/PLUGINS/src/pictures/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.17 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.18 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -62,7 +62,7 @@ all: $(SOFILE) i18n ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/rcu/Makefile b/PLUGINS/src/rcu/Makefile index 1dacf002..3dbecdd0 100644 --- a/PLUGINS/src/rcu/Makefile +++ b/PLUGINS/src/rcu/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.12 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 1.13 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile index ea57fd07..e5ba5f53 100644 --- a/PLUGINS/src/servicedemo/Makefile +++ b/PLUGINS/src/servicedemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.13 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.14 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -58,7 +58,7 @@ all: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/skincurses/Makefile b/PLUGINS/src/skincurses/Makefile index bc5bbc48..fa0ce41e 100644 --- a/PLUGINS/src/skincurses/Makefile +++ b/PLUGINS/src/skincurses/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.17 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.18 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -62,7 +62,7 @@ all: $(SOFILE) i18n ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/status/Makefile b/PLUGINS/src/status/Makefile index 31d2cc9a..8f6e26f6 100644 --- a/PLUGINS/src/status/Makefile +++ b/PLUGINS/src/status/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.14 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.15 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/PLUGINS/src/svdrpdemo/Makefile b/PLUGINS/src/svdrpdemo/Makefile index 92255391..2e391409 100644 --- a/PLUGINS/src/svdrpdemo/Makefile +++ b/PLUGINS/src/svdrpdemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 2.14 2013/01/06 10:19:53 kls Exp $ +# $Id: Makefile 2.15 2013/01/12 13:45:01 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -61,7 +61,7 @@ all: $(SOFILE) ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< ### Dependencies: diff --git a/newplugin b/newplugin index 0313c695..58cf85c0 100755 --- a/newplugin +++ b/newplugin @@ -12,7 +12,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: newplugin 2.16 2013/01/06 12:22:25 kls Exp $ +# $Id: newplugin 2.17 2013/01/12 13:46:00 kls Exp $ $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin \n"; @@ -121,7 +121,7 @@ all: \$(SOFILE) i18n ### Implicit rules: %.o: %.c - \$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) \$< + \$(CXX) \$(CXXFLAGS) -c \$(DEFINES) \$(INCLUDES) -o \$\@ \$< ### Dependencies: