2002-11-01 14:05:36 +01:00
|
|
|
#
|
|
|
|
# User defined Makefile options for the Video Disk Recorder
|
|
|
|
#
|
|
|
|
# Copy this file to 'Make.config' and change the parameters as necessary.
|
|
|
|
#
|
|
|
|
# See the main source file 'vdr.c' for copyright information and
|
|
|
|
# how to reach the author.
|
|
|
|
#
|
2012-02-27 12:30:45 +01:00
|
|
|
# $Id: Make.config.template 2.6 2012/02/27 10:56:28 kls Exp $
|
2002-11-01 14:05:36 +01:00
|
|
|
|
|
|
|
### The C compiler and options:
|
|
|
|
|
2012-01-18 12:40:17 +01:00
|
|
|
CC ?= gcc
|
|
|
|
CFLAGS ?= -g -O3 -Wall
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2012-01-18 12:40:17 +01:00
|
|
|
CXX ?= g++
|
|
|
|
CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2006-06-15 09:29:21 +02:00
|
|
|
ifdef PLUGIN
|
|
|
|
CFLAGS += -fPIC
|
|
|
|
CXXFLAGS += -fPIC
|
|
|
|
endif
|
|
|
|
|
2002-11-01 14:05:36 +01:00
|
|
|
### The directory environment:
|
|
|
|
|
2012-01-18 12:40:17 +01:00
|
|
|
PREFIX ?= $(DESTDIR)/usr/local
|
|
|
|
#DVBDIR ?= /usr/src/v4l-dvb/linux
|
|
|
|
MANDIR ?= $(PREFIX)/man
|
|
|
|
BINDIR ?= $(PREFIX)/bin
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2012-01-18 12:40:17 +01:00
|
|
|
LOCDIR ?= ./locale
|
|
|
|
PLUGINDIR ?= ./PLUGINS
|
|
|
|
PLUGINLIBDIR ?= $(PLUGINDIR)/lib
|
|
|
|
VIDEODIR ?= /video
|
|
|
|
CONFDIR ?= $(VIDEODIR)
|
2005-07-31 11:38:40 +02:00
|
|
|
|
|
|
|
### The remote control:
|
|
|
|
|
2012-01-18 12:40:17 +01:00
|
|
|
LIRC_DEVICE ?= /var/run/lirc/lircd
|
2006-01-13 16:16:32 +01:00
|
|
|
|
|
|
|
## Define if you want vdr to not run as root
|
2012-01-18 12:40:17 +01:00
|
|
|
#VDR_USER ?= vdr
|
2006-04-15 12:39:35 +02:00
|
|
|
|
|
|
|
### You don't need to touch the following:
|
|
|
|
|
|
|
|
ifdef DVBDIR
|
|
|
|
INCLUDES += -I$(DVBDIR)/include
|
|
|
|
endif
|