2 # User defined Makefile options for the Video Disk Recorder
4 # Copy this file to 'Make.config' and change the parameters as necessary.
6 # See the main source file 'vdr.c' for copyright information and
7 # how to reach the author.
9 # $Id: Make.config.template 2.19 2013/02/18 10:55:39 kls Exp $
11 ### The C compiler and options:
17 CXXFLAGS = -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses
19 # Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
25 ### The directory environment:
27 # Default directories (adjust as necessary or desired):
30 #BINDIR = $(PREFIX)/bin
31 #INCDIR = $(PREFIX)/include
32 #LIBDIR = $(PREFIX)/lib/vdr
33 #LOCDIR = $(PREFIX)/share/locale
34 #MANDIR = $(PREFIX)/share/man
35 #PCDIR = $(PREFIX)/lib/pkgconfig
36 #RESDIR = $(PREFIX)/share/vdr
37 #DVBDIR = /usr/src/v4l-dvb/linux/include/uapi
39 #VIDEODIR = /srv/vdr/video
40 #CONFDIR = /var/lib/vdr
41 #CACHEDIR = /var/cache/vdr
43 # Overrides for preset/legacy configurations:
45 # Use 'make LCLBLD=1' to build locale and plugin files under the source directory:
47 LOCDIR = $(CWD)/locale
48 PLUGINDIR = $(CWD)/PLUGINS
49 ifndef PLUGIN # don't overwrite for plugins with old makefiles
50 LIBDIR = $(PLUGINDIR)/lib
52 HDRDIR = $(CWD)/include
55 # Use 'make ONEDIR=1' to have all data in one single directory:
58 CACHEDIR = $(VIDEODIR)
63 # Use this if you want to have a central place where you configure compile time
64 # parameters for plugins:
65 #PLGCFG = $(CONFDIR)/plugins.mk
67 ### The remote control:
69 LIRC_DEVICE = /var/run/lirc/lircd
71 ### Define if you want vdr to not run as root:
74 ### Fallback for plugins with old makefiles: