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
|
2013-05-01 23:47:56 +02:00
|
|
|
if BUILD_VWEBP
|
|
|
|
bin_PROGRAMS += vwebp
|
|
|
|
endif
|
2012-04-24 03:46:12 +02:00
|
|
|
if WANT_MUX
|
|
|
|
bin_PROGRAMS += webpmux
|
|
|
|
endif
|
2012-11-15 20:04:12 +01:00
|
|
|
|
|
|
|
if BUILD_GIF2WEBP
|
|
|
|
bin_PROGRAMS += gif2webp
|
|
|
|
endif
|
|
|
|
|
2015-05-02 01:11:49 +02:00
|
|
|
if BUILD_ANIMDIFF
|
|
|
|
noinst_PROGRAMS = anim_diff
|
|
|
|
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
|
|
|
|
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-07-22 01:10:05 +02:00
|
|
|
dwebp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
2016-07-21 03:25:00 +02:00
|
|
|
dwebp_LDADD += ../imageio/libimagedec.la ../src/libwebp.la
|
|
|
|
dwebp_LDADD +=$(PNG_LIBS) $(JPEG_LIBS)
|
2013-01-23 01:22:20 +01:00
|
|
|
|
2016-05-31 06:45:38 +02:00
|
|
|
cwebp_SOURCES = cwebp.c stopwatch.h
|
2012-07-03 06:41:52 +02:00
|
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
2016-07-22 01:10:05 +02:00
|
|
|
cwebp_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
2016-07-21 03:25:00 +02:00
|
|
|
cwebp_LDADD += ../imageio/libimagedec.la ../src/libwebp.la
|
|
|
|
cwebp_LDADD += $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
2011-09-30 07:37:01 +02: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
|
|
|
|
2011-09-30 07:37:01 +02:00
|
|
|
webpmux_SOURCES = webpmux.c
|
|
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
2016-07-22 01:10:05 +02:00
|
|
|
webpmux_LDADD = libexample_util.la ../imageio/libimageio_util.la
|
2016-07-21 03:25:00 +02:00
|
|
|
webpmux_LDADD += ../src/mux/libwebpmux.la ../src/libwebp.la
|
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
|
|
|
|
|
|
|
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
|