2015-12-16 22:15:53 +01:00
|
|
|
AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src
|
2011-01-08 03:15:12 +01:00
|
|
|
|
2012-04-24 03:46:12 +02:00
|
|
|
bin_PROGRAMS = dwebp cwebp
|
2016-07-22 09:26:27 +02:00
|
|
|
if BUILD_ANIMDIFF
|
|
|
|
noinst_PROGRAMS = anim_diff
|
2012-04-24 03:46:12 +02:00
|
|
|
endif
|
2012-11-15 20:04:12 +01:00
|
|
|
if BUILD_GIF2WEBP
|
|
|
|
bin_PROGRAMS += gif2webp
|
|
|
|
endif
|
2016-12-02 11:44:17 +01:00
|
|
|
if BUILD_IMG2WEBP
|
|
|
|
bin_PROGRAMS += img2webp
|
|
|
|
endif
|
2016-07-22 09:26:27 +02:00
|
|
|
if WANT_MUX
|
|
|
|
bin_PROGRAMS += webpmux
|
|
|
|
endif
|
|
|
|
if BUILD_VWEBP
|
|
|
|
bin_PROGRAMS += vwebp
|
2015-05-02 01:11:49 +02:00
|
|
|
endif
|
|
|
|
|
2016-07-22 01:10:05 +02:00
|
|
|
noinst_LTLIBRARIES = libexample_util.la
|
|
|
|
|
|
|
|
libexample_util_la_SOURCES = example_util.c example_util.h
|
|
|
|
libexample_util_la_LIBADD = ../src/libwebp.la
|
|
|
|
|
2015-11-06 07:47:03 +01:00
|
|
|
anim_diff_SOURCES = anim_diff.c anim_util.c anim_util.h
|
2016-04-04 20:43:58 +02:00
|
|
|
anim_diff_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
2015-05-02 01:11:49 +02:00
|
|
|
anim_diff_LDADD = ../src/demux/libwebpdemux.la
|
2016-07-22 01:10:05 +02:00
|
|
|
anim_diff_LDADD += libexample_util.la ../imageio/libimageio_util.la
|
2015-11-06 07:47:03 +01:00
|
|
|
anim_diff_LDADD += $(GIF_LIBS) -lm
|
2015-05-02 01:11:49 +02:00
|
|
|
|
2016-07-22 09:26:27 +02:00
|
|
|
cwebp_SOURCES = cwebp.c stopwatch.h
|
|
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
cwebp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
|
|
|
cwebp_LDADD += ../imageio/libimagedec.la ../src/libwebp.la
|
|
|
|
cwebp_LDADD += $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
|
|
|
|
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)
|
2016-09-07 07:46:31 +02:00
|
|
|
dwebp_LDADD = libexample_util.la
|
|
|
|
dwebp_LDADD += ../imageio/libimagedec.la
|
|
|
|
dwebp_LDADD += ../imageio/libimageenc.la
|
|
|
|
dwebp_LDADD += ../imageio/libimageio_util.la
|
|
|
|
dwebp_LDADD += ../src/libwebp.la
|
2016-07-21 03:25:00 +02:00
|
|
|
dwebp_LDADD +=$(PNG_LIBS) $(JPEG_LIBS)
|
2013-01-23 01:22:20 +01:00
|
|
|
|
2015-01-14 00:43:31 +01:00
|
|
|
gif2webp_SOURCES = gif2webp.c gifdec.c gifdec.h
|
2013-01-08 21:39:43 +01:00
|
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
2016-07-22 01:10:05 +02:00
|
|
|
gif2webp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
2016-07-21 03:25:00 +02:00
|
|
|
gif2webp_LDADD += ../src/mux/libwebpmux.la ../src/libwebp.la $(GIF_LIBS)
|
2012-11-15 20:04:12 +01:00
|
|
|
|
2013-05-01 23:47:56 +02:00
|
|
|
vwebp_SOURCES = vwebp.c
|
|
|
|
vwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GL_INCLUDES)
|
2016-07-22 01:10:05 +02:00
|
|
|
vwebp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
2016-07-21 03:25:00 +02:00
|
|
|
vwebp_LDADD += ../src/demux/libwebpdemux.la $(GL_LIBS)
|
2013-05-01 23:47:56 +02:00
|
|
|
|
2016-07-22 09:26:27 +02:00
|
|
|
webpmux_SOURCES = webpmux.c
|
|
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
webpmux_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
|
|
|
webpmux_LDADD += ../src/mux/libwebpmux.la ../src/libwebp.la
|
|
|
|
|
2016-12-02 11:44:17 +01:00
|
|
|
img2webp_SOURCES = img2webp.c
|
|
|
|
img2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
img2webp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
|
|
|
img2webp_LDADD += ../imageio/libimagedec.la
|
|
|
|
img2webp_LDADD += ../src/mux/libwebpmux.la ../src/libwebp.la
|
|
|
|
img2webp_LDADD += $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS)
|
|
|
|
|
2013-05-01 23:47:56 +02:00
|
|
|
if BUILD_LIBWEBPDECODER
|
2015-05-02 01:11:49 +02:00
|
|
|
anim_diff_LDADD += ../src/libwebpdecoder.la
|
2013-05-01 23:47:56 +02:00
|
|
|
vwebp_LDADD += ../src/libwebpdecoder.la
|
|
|
|
else
|
2015-05-02 01:11:49 +02:00
|
|
|
anim_diff_LDADD += ../src/libwebp.la
|
2013-05-01 23:47:56 +02:00
|
|
|
vwebp_LDADD += ../src/libwebp.la
|
|
|
|
endif
|