diff options
author | louis <louis.braun@gmx.de> | 2015-04-12 17:24:20 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-04-12 17:24:20 +0200 |
commit | cbfa6a761c6fae20b21bd793762462f90f69402d (patch) | |
tree | 10a8dfab2892218b0e04d5dc4864b61e5ebcf661 | |
parent | c335cc8e7e01b5d2fa6b1f56e42f1ad7330f6444 (diff) | |
download | vdr-plugin-tvguideng-cbfa6a761c6fae20b21bd793762462f90f69402d.tar.gz vdr-plugin-tvguideng-cbfa6a761c6fae20b21bd793762462f90f69402d.tar.bz2 |
adapted makefile for LCLBLD
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | Makefile | 16 |
2 files changed, 19 insertions, 0 deletions
@@ -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 @@ -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 \ |