Added support for systemd

This commit is contained in:
Klaus Schmidinger
2014-03-16 12:53:47 +01:00
parent 687b93b215
commit a4b8729e6a
4 changed files with 17 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Makefile 3.1 2013/05/23 10:10:00 kls Exp $
# $Id: Makefile 3.2 2014/03/16 12:47:35 kls Exp $
.DELETE_ON_ERROR:
@@ -93,6 +93,11 @@ INCLUDES += $(shell pkg-config --cflags fribidi)
DEFINES += -DBIDI
LIBS += $(shell pkg-config --libs fribidi)
endif
ifdef SDNOTIFY
INCLUDES += $(shell pkg-config --cflags libsystemd-daemon)
DEFINES += -DSDNOTIFY
LIBS += $(shell pkg-config --libs libsystemd-daemon)
endif
LIRC_DEVICE ?= /var/run/lirc/lircd