Plugin Makefiles now use DESTDIR and the 'install' program

This commit is contained in:
Klaus Schmidinger
2012-12-22 12:08:31 +01:00
parent 4e87443a2d
commit 0263c82614
15 changed files with 81 additions and 93 deletions

View File

@@ -6,17 +6,19 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.config.template 2.11 2012/12/18 17:37:54 kls Exp $
# $Id: Make.config.template 2.12 2012/12/22 10:54:47 kls Exp $
### The C compiler and options:
CC = gcc
CFLAGS = -g -O3 -Wall
CFLAGS += -fPIC
CXX = g++
CXXFLAGS = $(CFLAGS) -Werror=overloaded-virtual -Wno-parentheses
CFLAGS += -fPIC
CXXFLAGS += -fPIC
# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
ifdef M32
CFLAGS += -m32
@@ -25,7 +27,7 @@ endif
### The directory environment:
PREFIX = $(DESTDIR)/usr/local
PREFIX = /usr/local
#DVBDIR = /usr/src/v4l-dvb/linux
MANDIR = $(PREFIX)/man
BINDIR = $(PREFIX)/bin