1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
vdr/Make.config.template

50 lines
1.0 KiB
Plaintext
Raw Normal View History

#
# 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-01-18 12:40:17 +01:00
# $Id: Make.config.template 2.5 2012/01/18 12:20:51 kls Exp $
### The C compiler and options:
2012-01-18 12:40:17 +01:00
CC ?= gcc
CFLAGS ?= -g -O3 -Wall
2012-01-18 12:40:17 +01:00
CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses
ifdef PLUGIN
CFLAGS += -fPIC
CXXFLAGS += -fPIC
endif
### The directory environment:
2012-01-18 12:40:17 +01:00
PREFIX ?= $(DESTDIR)/usr/local
#DVBDIR ?= /usr/src/v4l-dvb/linux
MANDIR ?= $(PREFIX)/man
BINDIR ?= $(PREFIX)/bin
2012-01-18 12:40:17 +01:00
LOCDIR ?= ./locale
PLUGINDIR ?= ./PLUGINS
PLUGINLIBDIR ?= $(PLUGINDIR)/lib
VIDEODIR ?= /video
CONFDIR ?= $(VIDEODIR)
### The remote control:
2012-01-18 12:40:17 +01:00
LIRC_DEVICE ?= /var/run/lirc/lircd
RCU_DEVICE ?= /dev/ttyS1
2006-01-13 16:16:32 +01:00
## Define if you want vdr to not run as root
2012-01-18 12:40:17 +01:00
#VDR_USER ?= vdr
### You don't need to touch the following:
ifdef DVBDIR
INCLUDES += -I$(DVBDIR)/include
endif