mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Plugin Makefiles now use DESTDIR and the 'install' program
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user