summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-04-12 12:45:12 +0200
committerchriszero <zerov83@gmail.com>2015-04-12 12:45:12 +0200
commit18194b793d6542340080b27d72f0b66e656ae7bf (patch)
treeb4f7e848a1a1bc358255fb83a785ab8d689b0d8d /Makefile
parent4bf454247a21b684f2bb0ac763adeea18a86d153 (diff)
downloadvdr-plugin-plex-18194b793d6542340080b27d72f0b66e656ae7bf.tar.gz
vdr-plugin-plex-18194b793d6542340080b27d72f0b66e656ae7bf.tar.bz2
libskindesignerapi support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bb7a5b1..b11e68e 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ PLUGIN = plex
VERSION := $(shell git describe --tags master)
LIBS += -lPocoUtil -lPocoNet -lPocoNetSSL -lPocoXML -lPocoFoundation -lpcrecpp
+LIBS += $(shell pkg-config --libs libskindesignerapi)
### Configuration (edit this for your needs)
@@ -59,8 +60,9 @@ SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
-INCLUDES +=
+INCLUDES += $(shell pkg-config --cflags libskindesignerapi)
+DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"'
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DPLUGIN='"$(PLUGIN)"' -D_GNU_SOURCE $(CONFIG) \
$(if $(GIT_REV), -DGIT_REV='"$(GIT_REV)"')
@@ -93,9 +95,7 @@ OBJS = $(PLUGIN).o \
browserGrid.o \
viewHeader.o \
detailView.o \
- pictureCache.o \
- libskindesigner/skindesignerosdbase.o \
- libskindesigner/osdelements.o \
+ pictureCache.o
SRCS = $(wildcard $(OBJS:.o=.c)) $(PLUGIN).cpp