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-12-27 11:58:09 +01:00
|
|
|
# $Id: Make.config.template 2.13 2012/12/27 11:34:05 kls Exp $
|
2002-11-01 14:05:36 +01:00
|
|
|
|
|
|
|
### The C compiler and options:
|
|
|
|
|
2012-03-20 11:22:30 +01:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -g -O3 -Wall
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2012-03-20 11:22:30 +01:00
|
|
|
CXX = g++
|
2012-12-19 12:10:28 +01:00
|
|
|
CXXFLAGS = $(CFLAGS) -Werror=overloaded-virtual -Wno-parentheses
|
2006-06-15 09:29:21 +02:00
|
|
|
|
2012-12-22 12:08:31 +01:00
|
|
|
CFLAGS += -fPIC
|
|
|
|
|
2012-10-09 10:43:28 +02:00
|
|
|
# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
|
|
|
|
ifdef M32
|
|
|
|
CFLAGS += -m32
|
|
|
|
endif
|
|
|
|
|
2002-11-01 14:05:36 +01:00
|
|
|
### The directory environment:
|
|
|
|
|
2012-12-22 12:08:31 +01:00
|
|
|
PREFIX = /usr/local
|
2012-03-20 11:22:30 +01:00
|
|
|
#DVBDIR = /usr/src/v4l-dvb/linux
|
|
|
|
MANDIR = $(PREFIX)/man
|
|
|
|
BINDIR = $(PREFIX)/bin
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2012-09-01 14:03:45 +02:00
|
|
|
# By default locale and plugin files are built under the source directory:
|
2012-12-19 12:10:28 +01:00
|
|
|
INCDIR = $(CWD)/include
|
|
|
|
LOCDIR = $(CWD)/locale
|
|
|
|
PLUGINDIR = $(CWD)/PLUGINS
|
|
|
|
LIBDIR = $(PLUGINDIR)/lib
|
2012-09-01 14:03:45 +02:00
|
|
|
# By default VDR requires only one single directory to operate:
|
2012-03-20 11:22:30 +01:00
|
|
|
VIDEODIR = /video
|
2012-09-01 14:03:45 +02:00
|
|
|
# Activate the following line to build VDR according to the FHS ("File system Hierarchy Standard"):
|
|
|
|
#USEFHS = 1
|
|
|
|
ifdef USEFHS
|
|
|
|
VIDEODIR = /srv/vdr/video
|
|
|
|
CONFDIR = /var/lib/vdr
|
|
|
|
CACHEDIR = /var/cache/vdr
|
|
|
|
RESDIR = $(PREFIX)/share/vdr
|
2012-12-19 12:10:28 +01:00
|
|
|
INCDIR = $(PREFIX)/include
|
2012-09-01 14:03:45 +02:00
|
|
|
LOCDIR = $(PREFIX)/share/locale
|
2012-12-19 12:10:28 +01:00
|
|
|
LIBDIR = $(PREFIX)/lib/vdr
|
2012-09-01 14:03:45 +02:00
|
|
|
endif
|
2005-07-31 11:38:40 +02:00
|
|
|
|
|
|
|
### The remote control:
|
|
|
|
|
2012-03-20 11:22:30 +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-03-20 11:22:30 +01:00
|
|
|
#VDR_USER = vdr
|