summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a630c21..45e1c3f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.13 2006-10-18 10:49:19 phintuka Exp $
+# $Id: Makefile,v 1.14 2006-10-29 19:45:57 phintuka Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -175,12 +175,14 @@ INCLUDES += -I$(VDRDIR)/include
LIBS_XINE += $(shell xine-config --libs)
LIBS_X11 += -L/usr/X11R6/lib -lX11 -lXv -lXext
+LIBS += -lrt
+
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' \
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
-DXINELIBOUTPUT_VERSION='"$(VERSION)"'
# check for yaegp patch
-DEFINES += $(shell grep 'vidWin' \$(VDRDIR)/osd.h > /dev/null && echo "-DYAEGP_PATCH")
+DEFINES += $(shell grep 'vidWin' \$(VDRDIR)/osd.h >& /dev/null && echo "-DYAEGP_PATCH")
ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1)
CFLAGS += $(shell xine-config --cflags)