Installscript-make.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(make.conf)
(make.conf)
Zeile 6: Zeile 6:
 
==make.conf==
 
==make.conf==
 
<pre>
 
<pre>
 +
# ----------------------------------------------------------------------------
 
# User defined Makefile options for the Video Disk Recorder
 
# User defined Makefile options for the Video Disk Recorder
 +
# ----------------------------------------------------------------------------
 
#
 
#
 
# Change the parameters as necessary.
 
# Change the parameters as necessary.
Zeile 28: Zeile 30:
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
  
PWD      = $(shell pwd >> /tmp/tempfile)
+
PREFIX   = /usr/local
TOPDIR   = $(shell head -n 1 /tmp/tempfile)
+
SRCDIR  = $(PREFIX)/src
SRCDIR  = $(shell dirname $(TOPDIR))
+
VDRDIR  = $(SRCDIR)/VDR
VDRDIR  = $(TOPDIR)
+
 
FFMDIR  = $(SRCDIR)/ffmpeg
 
FFMDIR  = $(SRCDIR)/ffmpeg
  

Version vom 1. Mai 2005, 13:46 Uhr

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 diese Datei übertragen.

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 = -g -O2 -Wall -Woverloaded-virtual

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

PREFIX   = /usr/local
SRCDIR   = $(PREFIX)/src
VDRDIR   = $(SRCDIR)/VDR
FFMDIR   = $(SRCDIR)/ffmpeg

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

#MANDIR  = /usr/local/man
#BINDIR  = /usr/local/bin

#PLUGINDIR= ./PLUGINS
#PLUGINLIBDIR= $(PLUGINDIR)/lib
#VIDEODIR = /video

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

DEFINES += -D_GNU_SOURCE

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

VFAT=1

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

#DEBUG=1
#DBG=1