diff -ruN 1.7.41_24/Make.config 1.7.41_25/Make.config --- 1.7.41_24/Make.config 1970-01-01 01:00:00.000000000 +0100 +++ 1.7.41_25/Make.config 2013-03-18 22:53:05.000000000 +0100 @@ -0,0 +1,82 @@ +# +# 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. +# +# $Id: Make.config.template 2.18 2013/02/08 10:31:38 kls Exp $ + +### The C compiler and options: + +CC = gcc +CFLAGS = -g -O3 -Wall + +CXX = g++ +CXXFLAGS = -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses + +# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine: +ifdef M32 +CFLAGS += -m32 +CXXFLAGS += -m32 +endif + +### The directory environment: + +# MLD directory: + +MLDDIR = $(abspath $(shell path=$$(pwd)/../../..; if [ -e $$path/vdr/src ]; then echo $$path; else echo $$path/../../..; fi)) + +# Default directories (adjust as necessary or desired): + +PREFIX = /usr +BINDIR = $(PREFIX)/bin +INCDIR = $(PREFIX)/include +LIBDIR = $(PREFIX)/lib/vdr +LOCDIR = $(PREFIX)/share/locale +MANDIR = $(PREFIX)/share/man +PCDIR = $(PREFIX)/lib/pkgconfig +RESDIR = /etc/vdr +DVBDIR = $(MLDDIR)/dvb/include/uapi + +VIDEODIR = /data/tv/tv0 +#CONFDIR = /var/lib/vdr +#CACHEDIR = /var/cache/vdr + +# Overrides for preset/legacy configurations: + +# Use 'make LCLBLD=1' to build locale and plugin files under the source directory: +ifdef LCLBLD +LOCDIR = $(CWD)/locale +PLUGINDIR = $(CWD)/PLUGINS +ifndef PLUGIN # don't overwrite for plugins with old makefiles +LIBDIR = $(PLUGINDIR)/lib +endif +HDRDIR = $(CWD)/include +endif + +# Use 'make ONEDIR=1' to have all data in one single directory: +ifdef ONEDIR +VIDEODIR = /data/tv/tv0 +CACHEDIR = $(VIDEODIR) +CONFDIR = $(VIDEODIR) +RESDIR = $(VIDEODIR) +endif + +# Use this if you want to have a central place where you configure compile time +# parameters for plugins: +#PLGCFG = $(CONFDIR)/plugins.conf + +### The remote control: + +LIRC_DEVICE = /var/run/lirc/lircd + +### Define if you want vdr to not run as root: +#VDR_USER = vdr + +### Fallback for plugins with old makefiles: +ifdef PLUGIN +CFLAGS += -fPIC +CXXFLAGS += -fPIC +endif