mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
#
|
|
# 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.13 2012/12/27 11:34:05 kls Exp $
|
|
|
|
### The C compiler and options:
|
|
|
|
CC = gcc
|
|
CFLAGS = -g -O3 -Wall
|
|
|
|
CXX = g++
|
|
CXXFLAGS = $(CFLAGS) -Werror=overloaded-virtual -Wno-parentheses
|
|
|
|
CFLAGS += -fPIC
|
|
|
|
# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
|
|
ifdef M32
|
|
CFLAGS += -m32
|
|
endif
|
|
|
|
### The directory environment:
|
|
|
|
PREFIX = /usr/local
|
|
#DVBDIR = /usr/src/v4l-dvb/linux
|
|
MANDIR = $(PREFIX)/man
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
# By default locale and plugin files are built under the source directory:
|
|
INCDIR = $(CWD)/include
|
|
LOCDIR = $(CWD)/locale
|
|
PLUGINDIR = $(CWD)/PLUGINS
|
|
LIBDIR = $(PLUGINDIR)/lib
|
|
# By default VDR requires only one single directory to operate:
|
|
VIDEODIR = /video
|
|
# 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
|
|
INCDIR = $(PREFIX)/include
|
|
LOCDIR = $(PREFIX)/share/locale
|
|
LIBDIR = $(PREFIX)/lib/vdr
|
|
endif
|
|
|
|
### The remote control:
|
|
|
|
LIRC_DEVICE = /var/run/lirc/lircd
|
|
|
|
## Define if you want vdr to not run as root
|
|
#VDR_USER = vdr
|