Installscript-make.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→make.conf) |
(→make.conf) |
||
Zeile 15: | Zeile 15: | ||
# $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $ | # $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $ | ||
− | # | + | # ---------------------------------------------------------------------------- |
+ | # The C compiler and options | ||
+ | # ---------------------------------------------------------------------------- | ||
#CC = gcc | #CC = gcc | ||
Zeile 22: | Zeile 24: | ||
#CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual | #CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual | ||
− | # | + | # ---------------------------------------------------------------------------- |
+ | # The directory environment | ||
+ | # ---------------------------------------------------------------------------- | ||
− | + | PWD = $(shell pwd >> /tmp/tempfile) | |
− | + | TOPDIR = $(shell head -n 1 /tmp/tempfile) | |
− | VDRDIR | + | SRCDIR = $(shell dirname $(TOPDIR)) |
− | FFMDIR | + | VDRDIR = $(TOPDIR) |
− | #MANDIR | + | FFMDIR = $(SRCDIR)/ffmpeg |
− | #BINDIR | + | |
+ | 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 | #PLUGINDIR= ./PLUGINS | ||
Zeile 35: | Zeile 47: | ||
#VIDEODIR = /video | #VIDEODIR = /video | ||
− | # | + | # ---------------------------------------------------------------------------- |
+ | # Includes and Defines (add further entries here) | ||
+ | # ---------------------------------------------------------------------------- | ||
DEFINES += -D_GNU_SOURCE | DEFINES += -D_GNU_SOURCE | ||
− | # | + | # ---------------------------------------------------------------------------- |
+ | # If your video directory will be on a VFAT partition | ||
+ | # ---------------------------------------------------------------------------- | ||
+ | |||
VFAT=1 | VFAT=1 | ||
− | # | + | # ---------------------------------------------------------------------------- |
+ | # Enable Debuging | ||
+ | # ---------------------------------------------------------------------------- | ||
+ | |||
#DEBUG=1 | #DEBUG=1 | ||
#DBG=1 | #DBG=1 | ||
</pre> | </pre> | ||
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Version vom 1. Mai 2005, 09:38 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 # ---------------------------------------------------------------------------- PWD = $(shell pwd >> /tmp/tempfile) TOPDIR = $(shell head -n 1 /tmp/tempfile) SRCDIR = $(shell dirname $(TOPDIR)) VDRDIR = $(TOPDIR) 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