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-09-01 14:03:45 +02:00
|
|
|
# $Id: Make.config.template 2.9 2012/09/01 10:31:33 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++
|
|
|
|
CXXFLAGS = -g -O3 -Wall -Werror=overloaded-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-03-20 11:22:30 +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-09-01 14:03:45 +02:00
|
|
|
# By default locale and plugin files are built under the source directory:
|
2012-03-20 11:22:30 +01:00
|
|
|
LOCDIR = ./locale
|
|
|
|
PLUGINDIR = ./PLUGINS
|
|
|
|
PLUGINLIBDIR = $(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
|
|
|
|
LOCDIR = $(PREFIX)/share/locale
|
|
|
|
PLUGINLIBDIR = $(PREFIX)/lib/vdr
|
|
|
|
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
|
2006-04-15 12:39:35 +02:00
|
|
|
|
|
|
|
### You don't need to touch the following:
|
|
|
|
|
|
|
|
ifdef DVBDIR
|
|
|
|
INCLUDES += -I$(DVBDIR)/include
|
|
|
|
endif
|