2010-09-30 15:34:38 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
2011-01-08 03:15:12 +01:00
|
|
|
|
2012-04-24 03:46:12 +02:00
|
|
|
bin_PROGRAMS = dwebp cwebp
|
|
|
|
if WANT_MUX
|
|
|
|
bin_PROGRAMS += webpmux
|
|
|
|
endif
|
2012-11-15 20:04:12 +01:00
|
|
|
|
|
|
|
if BUILD_GIF2WEBP
|
|
|
|
bin_PROGRAMS += gif2webp
|
|
|
|
endif
|
|
|
|
|
2012-05-12 01:00:57 +02:00
|
|
|
noinst_LTLIBRARIES = libexampleutil.la
|
|
|
|
|
2013-03-13 23:46:20 +01:00
|
|
|
libexampleutil_la_SOURCES = example_util.c example_util.h
|
2011-02-19 08:33:46 +01:00
|
|
|
|
2011-02-17 00:01:27 +01:00
|
|
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
2012-07-03 06:41:52 +02:00
|
|
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
2013-01-23 01:22:20 +01:00
|
|
|
dwebp_LDADD = libexampleutil.la $(PNG_LIBS) $(JPEG_LIBS)
|
|
|
|
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
dwebp_LDADD += ../src/libwebpdecoder.la
|
|
|
|
else
|
|
|
|
dwebp_LDADD += ../src/libwebp.la
|
|
|
|
endif
|
2011-01-08 03:15:12 +01:00
|
|
|
|
2012-12-11 22:55:31 +01:00
|
|
|
cwebp_SOURCES = cwebp.c metadata.c metadata.h stopwatch.h
|
2012-12-06 22:48:21 +01:00
|
|
|
cwebp_SOURCES += jpegdec.c jpegdec.h
|
2012-12-06 22:06:37 +01:00
|
|
|
cwebp_SOURCES += pngdec.c pngdec.h
|
2012-12-06 23:04:36 +01:00
|
|
|
cwebp_SOURCES += tiffdec.c tiffdec.h
|
2013-01-23 03:28:52 +01:00
|
|
|
cwebp_SOURCES += wicdec.c wicdec.h
|
2012-07-03 06:41:52 +02:00
|
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
cwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES) $(TIFF_INCLUDES)
|
|
|
|
cwebp_LDADD = ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
2011-09-30 07:37:01 +02:00
|
|
|
|
2012-11-15 20:04:12 +01:00
|
|
|
gif2webp_SOURCES = gif2webp.c
|
2013-01-08 21:39:43 +01:00
|
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
2012-11-15 20:04:12 +01:00
|
|
|
gif2webp_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|
|
|
|
gif2webp_LDADD += $(GIF_LIBS)
|
|
|
|
|
2011-09-30 07:37:01 +02:00
|
|
|
webpmux_SOURCES = webpmux.c
|
|
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
2012-05-12 01:00:57 +02:00
|
|
|
webpmux_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|