summarylogtreecommitdiffstats
path: root/Make.config
blob: c1e46b49d3d477f790d91ad4f885b661f6b858dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# User defined Makefile options for the Video Disk Recorder
#

# The recommended optimization for VDR is "-O3":
# <http://git.tvdr.de/?p=vdr.git;a=blob;f=HISTORY;hb=HEAD#l6546>
# | Changed the compiler optimization flag to -O3, which gives quite a
# | performance boost in the AlphaBlend() function.
# We follow this upstream recommendation as all plugins should be tested with
# this optimization level, too (if a plugin does not build, then this is a bug).
CFLAGS   += -O3
CXXFLAGS += -O3

# We do a "distribution package build". So install to /usr
PREFIX = /usr

# We place the VDR plugins one level deeper than the default VDR suggested
# directory (which would be just /usr/lib/vdr) to give us more options.
LIBDIR = /usr/lib/vdr/plugins

# The user VDR should drop to after setting up its environment.
VDR_USER = vdr

# Enable sd_notify support.
SDNOTIFY = 1

# On Arch /var/run is a symlink to /run. So access LIRC directly via /run.
LIRC_DEVICE = /run/lirc/lircd