updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vdr-devel / Make.config
blob47fa5df7104649869ee2df4d183fd27d348efe09
2 # User defined Makefile options for the Video Disk Recorder
4 # Copy this file to 'Make.config' and change the parameters as necessary.
6 # See the main source file 'vdr.c' for copyright information and
7 # how to reach the author.
9 # $Id: Make.config.template 1.16 2008/01/13 12:54:09 kls Exp $
11 ### The C compiler and options:
13 CC       = gcc
14 CFLAGS   = -g -O2 -Wall
16 CXX      = g++
17 CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
19 ifdef PLUGIN
20 CFLAGS   += -fPIC
21 CXXFLAGS += -fPIC
22 endif
24 ### The directory environment:
26 #DVBDIR       = /usr/src/v4l-dvb/linux
27 MANDIR       = /usr/share/man
28 BINDIR       = /usr/bin
30 LOCDIR       = /usr/share/locale
31 PLUGINDIR    = ./PLUGINS
32 PLUGINLIBDIR = /usr/lib/vdr
33 VIDEODIR     = /var/spool/video
34 CONFDIR      = /etc/vdr
36 ### The remote control:
37 # NB. From lirc 0.8.6 on the lirc socket is no longer /dev/lirc
38 LIRC_DEVICE = /var/run/lirc/lircd
39 RCU_DEVICE  = /dev/ttyS1
41 ## Define if you want vdr to not run as root
42 VDR_USER = vdr
44 ### You don't need to touch the following:
46 ifdef DVBDIR
47 INCLUDES += -I$(DVBDIR)/include
48 endif
50 ### VDR-Extensions:
51 # Uncomment the patches you need
52 # you can only enable MENUORG or SETUP
53 # If you want to enable SETUP, TinyXML must be installed in your system
55 ALTERNATECHANNEL = 1
56 CHANNELBIND = 1
57 CHANNELPROVIDE = 1
58 CUTTERLIMIT = 1
59 CUTTIME = 1
60 DDEPGENTRY = 1
61 DVLVIDPREFER = 1
62 GRAPHTFT = 1
63 HARDLINKCUTTER = 1
64 JUMPINGSECONDS = 1
65 JUMPPLAY = 1
66 LIEMIEXT = 1
67 LIRCSETTINGS = 1
68 LIVEBUFFER = 1
69 LNBSHARE = 1
70 MAINMENUHOOKS = 1
71 MCLI = 1
72 MENUORG = 1
73 NOEPG = 1
74 PINPLUGIN = 1
75 PLUGINMISSING = 1
76 ROTOR = 1
77 SETUP = 1
78 TIMERINFO = 1
79 TTXTSUBS = 1
80 VALIDINPUT = 1
81 VOLCTRL = 1
82 WAREAGLEICON = 1
83 YAEPG = 1
84 ### You don't need to touch the following:
86 ifdef DVBDIR
87 INCLUDES += -I$(DVBDIR)/include
88 endif
90 ifdef ALTERNATECHANNEL
91 DEFINES += -DUSE_ALTERNATECHANNEL
92 endif
94 ifdef CHANNELBIND
95 DEFINES += -DUSE_CHANNELBIND
96 endif
98 ifdef CHANNELPROVIDE
99 DEFINES += -DUSE_CHANNELPROVIDE
100 endif
102 ifdef CUTTERLIMIT
103 DEFINES += -DUSE_CUTTERLIMIT
104 endif
106 ifdef CUTTIME
107 DEFINES += -DUSE_CUTTIME
108 endif
110 ifdef DDEPGENTRY
111 DEFINES += -DUSE_DDEPGENTRY
112 endif
114 ifdef DVLVIDPREFER
115 DEFINES += -DUSE_DVLVIDPREFER
116 endif
118 ifdef GRAPHTFT
119 DEFINES += -DUSE_GRAPHTFT
120 endif
122 ifdef HARDLINKCUTTER
123 DEFINES += -DUSE_HARDLINKCUTTER
124 endif
126 ifdef JUMPINGSECONDS
127 DEFINES += -DUSE_JUMPINGSECONDS
128 endif
130 ifdef JUMPPLAY
131 DEFINES += -DUSE_JUMPPLAY
132 endif
134 ifdef LIEMIEXT
135 DEFINES += -DUSE_LIEMIEXT
136 endif
138 ifdef LIRCSETTINGS
139 DEFINES += -DUSE_LIRCSETTINGS
140 endif
142 ifdef LIVEBUFFER
143 DEFINES += -DUSE_LIVEBUFFER
144 endif
146 ifdef LNBSHARE
147 DEFINES += -DUSE_LNBSHARE
148 endif
150 ifdef MAINMENUHOOKS
151 DEFINES += -DUSE_MAINMENUHOOKS
152 endif
154 ifdef MCLI
155 DEFINES += -DUSE_MCLI
156 endif
158 ifdef MENUORG
159 DEFINES += -DUSE_MENUORG
160 else
161 ifdef SETUP
162 DEFINES += -DUSE_SETUP
163 endif
164 endif
166 ifdef NOEPG
167 DEFINES += -DUSE_NOEPG
168 endif
170 ifdef PINPLUGIN
171 DEFINES += -DUSE_PINPLUGIN
172 endif
174 ifdef PLUGINMISSING
175 DEFINES += -DUSE_PLUGINMISSING
176 endif
178 ifdef ROTOR
179 DEFINES += -DUSE_ROTOR
180 endif
182 ifdef TIMERINFO
183 DEFINES += -DUSE_TIMERINFO
184 endif
186 ifdef TTXTSUBS
187 DEFINES += -DUSE_TTXTSUBS
188 endif
190 ifdef VALIDINPUT
191 DEFINES += -DUSE_VALIDINPUT
192 endif
194 ifdef VOLCTRL
195 DEFINES += -DUSE_VOLCTRL
196 endif
198 ifdef WAREAGLEICON
199 DEFINES += -DUSE_WAREAGLEICON
200 endif
202 ifdef YAEPG
203 DEFINES += -DUSE_YAEPG
204 endif