mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Changed setting of CXX and CXXFLAGS variables in Makefile
This commit is contained in:
parent
2343e7ec14
commit
d7d4799236
@ -454,6 +454,8 @@ Andy Carter <fruit@ukgateway.net>
|
|||||||
Robert Schiele <rschiele@uni-mannheim.de>
|
Robert Schiele <rschiele@uni-mannheim.de>
|
||||||
for his help in keeping 'channels.conf.cable' up to date
|
for his help in keeping 'channels.conf.cable' up to date
|
||||||
for reporting some faulty default parameter initializations
|
for reporting some faulty default parameter initializations
|
||||||
|
for suggesting to only set the Makefile variables CXX and CXXFLAGS if they are not
|
||||||
|
yet defined
|
||||||
|
|
||||||
Gerhard Steiner <steiner@mail.austria.com>
|
Gerhard Steiner <steiner@mail.austria.com>
|
||||||
for suggesting that the SVDRP command PUTE shall trigger an immediate write of
|
for suggesting that the SVDRP command PUTE shall trigger an immediate write of
|
||||||
|
12
HISTORY
12
HISTORY
@ -1869,3 +1869,15 @@ Video Disk Recorder Revision History
|
|||||||
and only creating the KBD remote control if VDR is running in the foreground.
|
and only creating the KBD remote control if VDR is running in the foreground.
|
||||||
- Fixed taking an active SVDRP connection into account when doing shutdown (thanks
|
- Fixed taking an active SVDRP connection into account when doing shutdown (thanks
|
||||||
to Gregoire Favre for reporting this one).
|
to Gregoire Favre for reporting this one).
|
||||||
|
- Changed setting of CXX and CXXFLAGS variables in Makefile, so that an externally
|
||||||
|
defined value will be taken if present (suggested by Robert Schiele).
|
||||||
|
Plugin authors should please change the lines
|
||||||
|
|
||||||
|
CXX = g++
|
||||||
|
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
|
in their Makefile to
|
||||||
|
|
||||||
|
CXX ?= g++
|
||||||
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
|
10
Makefile
10
Makefile
@ -4,15 +4,15 @@
|
|||||||
# 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: Makefile 1.53 2002/12/08 12:20:37 kls Exp $
|
# $Id: Makefile 1.54 2002/12/13 14:49:12 kls Exp $
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
CFLAGS = -O2
|
CFLAGS ?= -O2
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
DVBDIR = ../DVB
|
DVBDIR = ../DVB
|
||||||
DTVDIR = ./libdtv
|
DTVDIR = ./libdtv
|
||||||
|
@ -41,3 +41,7 @@ VDR Plugin 'hello' Revision History
|
|||||||
2002-11-23: Version 0.0.9
|
2002-11-23: Version 0.0.9
|
||||||
|
|
||||||
- Changed return type of MainMenuAction().
|
- Changed return type of MainMenuAction().
|
||||||
|
|
||||||
|
2002-12-13: Version 0.1.0
|
||||||
|
|
||||||
|
- Changed setting of CXX and CXXFLAGS variables in Makefile.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.7 2002/11/01 13:44:11 kls Exp $
|
# $Id: Makefile 1.8 2002/12/13 14:54:14 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,8 +15,8 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
|
|||||||
|
|
||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
|
@ -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.10 2002/11/16 13:20:26 kls Exp $
|
* $Id: hello.c 1.11 2002/12/13 15:01:43 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.9";
|
static const char *VERSION = "0.1.0";
|
||||||
static const char *DESCRIPTION = "A friendly greeting";
|
static const char *DESCRIPTION = "A friendly greeting";
|
||||||
static const char *MAINMENUENTRY = "Hello";
|
static const char *MAINMENUENTRY = "Hello";
|
||||||
|
|
||||||
|
@ -4,3 +4,7 @@ VDR Plugin 'osddemo' Revision History
|
|||||||
2002-11-23: Version 0.0.1
|
2002-11-23: Version 0.0.1
|
||||||
|
|
||||||
- Initial revision.
|
- Initial revision.
|
||||||
|
|
||||||
|
2002-12-13: Version 0.1.0
|
||||||
|
|
||||||
|
- Changed setting of CXX and CXXFLAGS variables in Makefile.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.1 2002/11/23 14:56:44 kls Exp $
|
# $Id: Makefile 1.2 2002/12/13 14:54:29 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,8 +15,8 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
|
|||||||
|
|
||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
|
@ -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.1 2002/11/24 10:32:59 kls Exp $
|
* $Id: osddemo.c 1.2 2002/12/13 15:02:01 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.0.1";
|
static const char *VERSION = "0.1.0";
|
||||||
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,7 @@ VDR Plugin 'sky' Revision History
|
|||||||
2002-12-01: Version 0.0.1
|
2002-12-01: Version 0.0.1
|
||||||
|
|
||||||
- Initial revision.
|
- Initial revision.
|
||||||
|
|
||||||
|
2002-12-13: Version 0.1.0
|
||||||
|
|
||||||
|
- Changed setting of CXX and CXXFLAGS variables in Makefile.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.1 2002/12/01 11:00:00 kls Exp $
|
# $Id: Makefile 1.2 2002/12/13 14:54: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.
|
||||||
@ -15,8 +15,8 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
|
|||||||
|
|
||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
|
@ -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.1 2002/12/01 11:00:00 kls Exp $
|
* $Id: sky.c 1.2 2002/12/13 15:01:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include <vdr/sources.h>
|
#include <vdr/sources.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.0.1";
|
static const char *VERSION = "0.1.0";
|
||||||
static const char *DESCRIPTION = "Sky Digibox interface";
|
static const char *DESCRIPTION = "Sky Digibox interface";
|
||||||
|
|
||||||
// --- cDigiboxDevice --------------------------------------------------------
|
// --- cDigiboxDevice --------------------------------------------------------
|
||||||
|
@ -27,3 +27,7 @@ VDR Plugin 'status' Revision History
|
|||||||
2002-11-23: Version 0.0.6
|
2002-11-23: Version 0.0.6
|
||||||
|
|
||||||
- Changed return type of MainMenuAction().
|
- Changed return type of MainMenuAction().
|
||||||
|
|
||||||
|
2002-12-13: Version 0.1.0
|
||||||
|
|
||||||
|
- Changed setting of CXX and CXXFLAGS variables in Makefile.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.5 2002/11/01 13:44:25 kls Exp $
|
# $Id: Makefile 1.6 2002/12/13 14:54:19 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,8 +15,8 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
|
|||||||
|
|
||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
|
@ -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.6 2002/11/16 13:20:26 kls Exp $
|
* $Id: status.c 1.7 2002/12/13 15:01:53 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include <vdr/status.h>
|
#include <vdr/status.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.0.6";
|
static const char *VERSION = "0.1.0";
|
||||||
static const char *DESCRIPTION = "Status monitor test";
|
static const char *DESCRIPTION = "Status monitor test";
|
||||||
static const char *MAINMENUENTRY = NULL;
|
static const char *MAINMENUENTRY = NULL;
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
CFLAGS = -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
|
CFLAGS ?= -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
-DNAPI -Wimplicit -D__USE_FIXED_PROTOTYPES__ # -ansi -pedantic
|
-DNAPI -Wimplicit -D__USE_FIXED_PROTOTYPES__ # -ansi -pedantic
|
||||||
|
|
||||||
INCDIRS = -Iinclude -I../include
|
INCDIRS = -Iinclude -I../include
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
CFLAGS = -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
|
CFLAGS ?= -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
-Wimplicit -D__USE_FIXED_PROTOTYPES__ -I../include # -DDEBUG
|
-Wimplicit -D__USE_FIXED_PROTOTYPES__ -I../include # -DDEBUG
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.13 2002/11/29 15:23:54 kls Exp $
|
# $Id: newplugin 1.14 2002/12/13 14:51:46 kls Exp $
|
||||||
|
|
||||||
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
||||||
|
|
||||||
@ -70,8 +70,8 @@ VERSION = \$(shell grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{
|
|||||||
|
|
||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
CXXFLAGS = -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user