2002-11-01 14:05:36 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2009-01-18 10:46:13 +01:00
|
|
|
# $Id: Make.config.template 2.1 2009/01/18 10:46:13 kls Exp $
|
2002-11-01 14:05:36 +01:00
|
|
|
|
|
|
|
### The C compiler and options:
|
|
|
|
|
|
|
|
CC = gcc
|
2006-05-26 10:46:12 +02:00
|
|
|
CFLAGS = -g -O2 -Wall
|
2002-11-01 14:05:36 +01:00
|
|
|
|
|
|
|
CXX = g++
|
2008-01-13 13:00:23 +01:00
|
|
|
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
|
2002-11-01 14:05:36 +01:00
|
|
|
|
2006-06-15 09:29:21 +02:00
|
|
|
ifdef PLUGIN
|
|
|
|
CFLAGS += -fPIC
|
|
|
|
CXXFLAGS += -fPIC
|
2009-01-18 10:46:13 +01:00
|
|
|
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
2006-06-15 09:29:21 +02:00
|
|
|
endif
|
|
|
|
|
2002-11-01 14:05:36 +01:00
|
|
|
### The directory environment:
|
|
|
|
|
2006-04-15 12:39:35 +02:00
|
|
|
#DVBDIR = /usr/src/v4l-dvb/linux
|
2002-11-01 14:05:36 +01:00
|
|
|
MANDIR = /usr/local/man
|
|
|
|
BINDIR = /usr/local/bin
|
|
|
|
|
2007-08-24 13:30:07 +02:00
|
|
|
LOCDIR = ./locale
|
2003-08-02 14:32:53 +02:00
|
|
|
PLUGINDIR= ./PLUGINS
|
2003-08-09 11:09:45 +02:00
|
|
|
PLUGINLIBDIR= $(PLUGINDIR)/lib
|
2002-11-01 14:05:36 +01:00
|
|
|
VIDEODIR = /video
|
2007-08-25 08:58:44 +02:00
|
|
|
CONFDIR = $(VIDEODIR)
|
2005-07-31 11:38:40 +02:00
|
|
|
|
|
|
|
### The remote control:
|
|
|
|
|
|
|
|
LIRC_DEVICE = /dev/lircd
|
|
|
|
RCU_DEVICE = /dev/ttyS1
|
2006-01-13 16:16:32 +01:00
|
|
|
|
|
|
|
## Define if you want vdr to not run as root
|
|
|
|
#VDR_USER = vdr
|
2006-04-15 12:39:35 +02:00
|
|
|
|
|
|
|
### You don't need to touch the following:
|
|
|
|
|
|
|
|
ifdef DVBDIR
|
|
|
|
INCLUDES += -I$(DVBDIR)/include
|
|
|
|
endif
|