diff options
author | Manuel Reimer <manuel.reimer@gmx.de> | 2013-11-12 17:03:11 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-11-12 17:03:11 +0100 |
commit | 735f22370b0d48c8c121a31c115e9d72af895eca (patch) | |
tree | f947bcec75ebf52ce78ec59071944a2a2ed55f0f /Makefile | |
parent | 09a6323046f959a748a6a15fc2aa1e1af1ffba7c (diff) | |
download | skin-nopacity-735f22370b0d48c8c121a31c115e9d72af895eca.tar.gz skin-nopacity-735f22370b0d48c8c121a31c115e9d72af895eca.tar.bz2 |
implemented GraphicsMagick compatibility
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3,6 +3,9 @@ # # $Id$ +# External image lib to use: imagemagick, graphicsmagick +IMAGELIB = imagemagick + # 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. @@ -48,11 +51,15 @@ SOFILE = libvdr-$(PLUGIN).so ### Includes and Defines and Dependencies (add further entries here): -INCLUDES += $(shell pkg-config --cflags Magick++) - DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -LIBS += $(shell pkg-config --libs Magick++) +ifeq ($(IMAGELIB), imagemagick) + INCLUDES += $(shell pkg-config --cflags Magick++) + LIBS += $(shell pkg-config --libs Magick++) +else ifeq ($(IMAGELIB), graphicsmagick) + INCLUDES += $(shell pkg-config --cflags GraphicsMagick++) + LIBS += $(shell pkg-config --libs GraphicsMagick++) +endif ### The object files (add further files here): |