summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-12 17:24:20 +0200
committerlouis <louis.braun@gmx.de>2015-04-12 17:24:20 +0200
commitcbfa6a761c6fae20b21bd793762462f90f69402d (patch)
tree10a8dfab2892218b0e04d5dc4864b61e5ebcf661
parentc335cc8e7e01b5d2fa6b1f56e42f1ad7330f6444 (diff)
downloadvdr-plugin-tvguideng-cbfa6a761c6fae20b21bd793762462f90f69402d.tar.gz
vdr-plugin-tvguideng-cbfa6a761c6fae20b21bd793762462f90f69402d.tar.bz2
adapted makefile for LCLBLD
-rw-r--r--HISTORY3
-rw-r--r--Makefile16
2 files changed, 19 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index e9b8826..5ee1e7d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -29,4 +29,7 @@ Version 0.1.0
Version 0.1.1
- fixed missing delete of channel group grid
+- adapted makefile for LCLBLD
+
+Version 0.1.2
diff --git a/Makefile b/Makefile
index 931e01c..c20f671 100644
--- a/Makefile
+++ b/Makefile
@@ -49,10 +49,26 @@ SOFILE = libvdr-$(PLUGIN).so
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+ifdef LCLBLD
+
+SKINDESIGNER_PATH = $(shell pwd)/../skindesigner
+LIBSKINDESIGNERAPI_PATH = $(SKINDESIGNER_PATH)/libskindesignerapi
+
+# make sure the lib and pkg-config file exists
+DUMMY:=$(shell $(MAKE) -C $(LIBSKINDESIGNERAPI_PATH) LCLBLD=$(LCLBLD))
+
+INCLUDES += -I$(SKINDESIGNER_PATH)
+LIBS += -L$(LIBSKINDESIGNERAPI_PATH) $(shell pkg-config --libs $(LIBSKINDESIGNERAPI_PATH)/libskindesignerapi.pc)
+DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion $(LIBSKINDESIGNERAPI_PATH)/libskindesignerapi.pc)"'
+
+else
+
INCLUDES += $(shell pkg-config --cflags libskindesignerapi)
LIBS += $(shell pkg-config --libs libskindesignerapi)
DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"'
+endif
+
### The object files (add further files here):
OBJS = $(PLUGIN).o \