summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-06-11 20:21:55 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-06-11 20:21:55 +0200
commitc870c7dec6c2f54fb27240762b2a96ded5a5cffe (patch)
tree4780ab4ee30e1972c11795b2c6d52fde42dabfd2
parentae0bb23a94f1063cc95bf25ca6c6c66cd2e00c59 (diff)
downloadvdr-plugin-graphlcd-c870c7dec6c2f54fb27240762b2a96ded5a5cffe.tar.gz
vdr-plugin-graphlcd-c870c7dec6c2f54fb27240762b2a96ded5a5cffe.tar.bz2
add more ways to tell the plugin that femon-plugin is ok
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8ee02b0..557b8d4 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,10 @@ PLUGIN = graphlcd
# define this if you built graphlcd-base with freetype:
HAVE_FREETYPE2 = 1
+# define this if femon-plugin <= 1.7.7 is used AND which has already been patched (see README)
+# either define this setting here or in $VDRDIR/Make.config or in $VDRDIR/Make.global
+# HAVE_VALID_FEMON = 1
+
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g')
@@ -65,8 +69,11 @@ ifdef HAVE_FREETYPE2
DEFINES += -DHAVE_FREETYPE2
endif
-### If femon-plugin <= 1.7.7 is used and has already been patched (see README)
-# DEFINES += -DGRAPHLCD_SERVICE_FEMON_VALID
+# if a valid and/or fixed femon-plugin is available
+ifdef HAVE_VALID_FEMON
+ DEFINES += -DGRAPHLCD_SERVICE_FEMON_VALID
+endif
+
### The object files (add further files here):