summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbball <bball@octorok.org>2009-01-28 14:58:42 -0800
committerbball <bball@octorok.org>2009-01-28 14:58:42 -0800
commitfae9cc04c10572bdb687a0207a20c85ea1aa51b1 (patch)
tree804ff37f33170cc93fff6526b94d4f4290c7720d /Makefile
parent78599ca99ec812085474dff712c3e41bd1921c57 (diff)
downloadvdr-plugin-yaepghd-fae9cc04c10572bdb687a0207a20c85ea1aa51b1.tar.gz
vdr-plugin-yaepghd-fae9cc04c10572bdb687a0207a20c85ea1aa51b1.tar.bz2
- Incorporated Rolf's patch, see HISTORY for changes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 21f56ad..10382a1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@
#
# $Id$
+# Use Reel eHD card
+#YAEPGHD_REEL_EHD = 1
+
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.
@@ -41,15 +44,22 @@ PACKAGE = vdr-$(ARCHIVE)
### Includes and Defines (add further entries here):
-INCLUDES += -I$(VDRDIR)/include -I/usr/include/ImageMagick -I.
+INCLUDES += -I$(VDRDIR)/include -I.
+
+LIBS = -lMagick++
-LIBS = -lMagick++ -L/usr/local/lib -lcurl
+INCLUDES += $(shell pkg-config --cflags-only-I Magick++)
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+ifdef YAEPGHD_REEL_EHD
+DEFINES += -DYAEPGHD_REEL_EHD
+LIBS += -lcurl
+endif
+
### The object files (add further files here):
-OBJS = $(PLUGIN).o i18n.o
+OBJS = $(PLUGIN).o
### The main target: