aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorIgor Murzov <igor@gplsoft.org>2011-05-01 04:37:03 +0400
committerGerd Hoffmann <kraxel@redhat.com>2011-06-01 09:31:59 +0200
commit6d690577ffa6cb51a101c15c5634e719583f1fec (patch)
tree49419bab93f2e579097e5c06c0e6e970e9570f2b /GNUmakefile
parentf2fae781080ee23d2e5a911a9cf790c4ba1b6c0d (diff)
downloadfbida-6d690577ffa6cb51a101c15c5634e719583f1fec.tar.gz
add support for webp image format2.08
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1ef958b..c96e635 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -46,6 +46,7 @@ HAVE_LIBPCD := $(call ac_lib,pcd_open,pcd)
HAVE_LIBUNGIF := $(call ac_lib,DGifOpenFileName,ungif)
HAVE_LIBPNG := $(call ac_lib,png_read_info,png,-lz)
HAVE_LIBTIFF := $(call ac_lib,TIFFOpen,tiff)
+HAVE_LIBWEBP := $(call ac_lib,WebPDecodeRGBA,webp)
#HAVE_LIBMAGICK := $(call ac_binary,Magick-config)
HAVE_LIBSANE := $(call ac_lib,sane_init,sane)
HAVE_LIBCURL := $(call ac_lib,curl_easy_init,curl)
@@ -73,9 +74,9 @@ endif
# conditional stuff
includes = ENDIAN_H STRCASESTR NEW_EXIF
-libraries = PCD UNGIF PNG TIFF CURL SANE LIRC
-ida_libs = PCD UNGIF PNG TIFF CURL SANE
-fbi_libs = PCD UNGIF PNG TIFF CURL LIRC
+libraries = PCD UNGIF PNG TIFF WEBP CURL SANE LIRC
+ida_libs = PCD UNGIF PNG TIFF WEBP CURL SANE
+fbi_libs = PCD UNGIF PNG TIFF WEBP CURL LIRC
#MAGICK_CFLAGS = $(shell Magick-config --cflags)
#MAGICK_LDFLAGS = $(shell Magick-config --ldflags)
@@ -84,6 +85,7 @@ fbi_libs = PCD UNGIF PNG TIFF CURL LIRC
PNG_LDLIBS := -lpng -lz
TIFF_LDLIBS := -ltiff
+WEBP_LDLIBS := -lwebp
PCD_LDLIBS := -lpcd
UNGIF_LDLIBS := -lungif
SANE_LDLIBS := -lsane
@@ -92,6 +94,7 @@ LIRC_LDLIBS := -llirc_client
PNG_OBJS := rd/read-png.o wr/write-png.o
TIFF_OBJS := rd/read-tiff.o wr/write-tiff.o
+WEBP_OBJS := rd/read-webp.o
PCD_OBJS := rd/read-pcd.o
UNGIF_OBJS := rd/read-gif.o
SANE_OBJS := sane.o