Installscript-make.conf

Aus VDR Wiki

Wechseln zu: Navigation, Suche

Beschreibung

Makefile ist identisch mit der Make.config.template aus den VDR Sourcen, siehe: VDR Installation.

Lediglich die Optionen der Plugins werden aus den Modulen in Make-<plugin>.config übertragen.

make.conf

Datei
../setup/config/make.conf
# ----------------------------------------------------------------------------
# User defined Makefile options for the Video Disk Recorder
# ----------------------------------------------------------------------------
#
# 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 1.3 2003/08/09 11:03:25 kls Exp $

# ----------------------------------------------------------------------------
# The C compiler and options
# ----------------------------------------------------------------------------

#CC       = gcc
#CFLAGS   = -O2
#CXX      = g++
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -D__user=

ifeq (exists, $(shell test -x /usr/bin/crux -o -d /usr/portage && echo exists))
CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -D__user=
endif

# ----------------------------------------------------------------------------
# The directory environment
# ----------------------------------------------------------------------------

PREFIX = /usr/local
SRCDIR = $(PREFIX)/src
VDRDIR = $(SRCDIR)/VDR
PKG_CONFIG_PATH = $(PREFIX)/lib/pkgconfig:/usr/lib/pkgconfig

ifeq (exists, $(shell test -d /usr/src/linux/include/linux/dvb && echo exists))
DVBDIR = /usr/src/linux
else
DVBDIR = $(SRCDIR)/DVB
endif

export PREFIX VDRDIR DVBDIR PKG_CONFIG_PATH

#MANDIR = $(PREFIX)/man
#BINDIR = $(PREFIX)/bin

#PLUGINDIR = $(VDRDIR)/PLUGINS
#PLUGINLIBDIR = $(PLUGINDIR)/lib
VIDEODIR = $(shell echo $${VIDEODIR:-/video0})

# ----------------------------------------------------------------------------
# Includes and Defines (add further entries here)
# ----------------------------------------------------------------------------

DEFINES += -D_GNU_SOURCE
INCLUDES += -I$(DVBDIR)/include

# ----------------------------------------------------------------------------
# Define if you want vdr to not run as root
# ----------------------------------------------------------------------------

#VDR_USER = vdr

# ----------------------------------------------------------------------------
# The remote control
# ----------------------------------------------------------------------------

LIRC_DEVICE = /dev/lircd
RCU_DEVICE = /dev/ttyS1

# ----------------------------------------------------------------------------
# If your video directory will be on a VFAT partition
# ----------------------------------------------------------------------------

VFAT = 1

# ----------------------------------------------------------------------------
# Enable Debuging
# ----------------------------------------------------------------------------

#DEBUG = 1
#DBG = 1

# ----------------------------------------------------------------------------
# Plugin(s)
# ----------------------------------------------------------------------------

-include $(VDRDIR)/Make-*.config