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
|
|
|
|
2017-03-02 17:45:42 +01:00
|
|
|
bin_PROGRAMS =
|
|
|
|
if WANT_DEMUX
|
|
|
|
bin_PROGRAMS += dwebp cwebp
|
|
|
|
endif
|
2016-07-22 09:26:27 +02:00
|
|
|
if BUILD_ANIMDIFF
|
2017-08-28 16:03:40 +02:00
|
|
|
noinst_PROGRAMS = anim_diff anim_dump
|
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
|
2017-03-14 10:00:43 +01:00
|
|
|
if BUILD_WEBPINFO
|
|
|
|
bin_PROGRAMS += webpinfo
|
|
|
|
endif
|
2015-05-02 01:11:49 +02:00
|
|
|
|
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
|
2018-02-09 09:11:52 +01:00
|
|
|
anim_diff_CPPFLAGS = $(AM_CPPFLAGS) $(GIF_INCLUDES)
|
2017-08-29 07:54:49 +02:00
|
|
|
anim_diff_LDADD =
|
|
|
|
anim_diff_LDADD += ../src/demux/libwebpdemux.la
|
|
|
|
anim_diff_LDADD += libexample_util.la
|
|
|
|
anim_diff_LDADD += ../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
|
|
|
|
2017-08-28 16:03:40 +02:00
|
|
|
anim_dump_SOURCES = anim_dump.c anim_util.c anim_util.h
|
2018-02-09 09:11:52 +01:00
|
|
|
anim_dump_CPPFLAGS = $(AM_CPPFLAGS) $(PNG_INCLUDES)
|
2017-08-28 16:03:40 +02:00
|
|
|
anim_dump_CPPFLAGS += $(GIF_INCLUDES)
|
|
|
|
anim_dump_LDADD =
|
|
|
|
anim_dump_LDADD += ../src/demux/libwebpdemux.la
|
|
|
|
anim_dump_LDADD += libexample_util.la
|
|
|
|
anim_dump_LDADD += ../imageio/libimageio_util.la
|
|
|
|
anim_dump_LDADD += ../imageio/libimageenc.la
|
|
|
|
anim_dump_LDADD += $(PNG_LIBS) $(GIF_LIBS) $(TIFF_LIBS) -lm
|
|
|
|
|
2016-07-22 09:26:27 +02:00
|
|
|
cwebp_SOURCES = cwebp.c stopwatch.h
|
2018-02-09 09:11:52 +01:00
|
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS)
|
2017-08-29 07:54:49 +02:00
|
|
|
cwebp_LDADD =
|
|
|
|
cwebp_LDADD += libexample_util.la
|
|
|
|
cwebp_LDADD += ../imageio/libimageio_util.la
|
|
|
|
cwebp_LDADD += ../imageio/libimagedec.la
|
|
|
|
cwebp_LDADD += ../src/libwebp.la
|
2016-07-22 09:26:27 +02:00
|
|
|
cwebp_LDADD += $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
|
|
|
|
2011-02-17 00:01:27 +01:00
|
|
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
2018-02-09 09:11:52 +01:00
|
|
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS)
|
2012-07-03 06:41:52 +02:00
|
|
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
2017-08-29 07:54:49 +02:00
|
|
|
dwebp_LDADD =
|
|
|
|
dwebp_LDADD += libexample_util.la
|
2016-09-07 07:46:31 +02:00
|
|
|
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
|
2018-02-09 09:11:52 +01:00
|
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(GIF_INCLUDES)
|
2017-08-29 07:54:49 +02:00
|
|
|
gif2webp_LDADD =
|
|
|
|
gif2webp_LDADD += libexample_util.la
|
|
|
|
gif2webp_LDADD += ../imageio/libimageio_util.la
|
|
|
|
gif2webp_LDADD += ../src/mux/libwebpmux.la
|
|
|
|
gif2webp_LDADD += ../src/libwebp.la
|
|
|
|
gif2webp_LDADD += $(GIF_LIBS)
|
2012-11-15 20:04:12 +01:00
|
|
|
|
2013-05-01 23:47:56 +02:00
|
|
|
vwebp_SOURCES = vwebp.c
|
2018-02-09 09:11:52 +01:00
|
|
|
vwebp_CPPFLAGS = $(AM_CPPFLAGS) $(GL_INCLUDES)
|
2017-08-29 07:54:49 +02:00
|
|
|
vwebp_LDADD =
|
|
|
|
vwebp_LDADD += libexample_util.la
|
|
|
|
vwebp_LDADD += ../imageio/libimageio_util.la
|
|
|
|
vwebp_LDADD += ../src/demux/libwebpdemux.la
|
|
|
|
vwebp_LDADD += $(GL_LIBS)
|
2013-05-01 23:47:56 +02:00
|
|
|
|
2016-07-22 09:26:27 +02:00
|
|
|
webpmux_SOURCES = webpmux.c
|
2018-02-09 09:11:52 +01:00
|
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS)
|
2017-08-29 07:54:49 +02:00
|
|
|
webpmux_LDADD =
|
|
|
|
webpmux_LDADD += libexample_util.la
|
|
|
|
webpmux_LDADD += ../imageio/libimageio_util.la
|
|
|
|
webpmux_LDADD += ../src/mux/libwebpmux.la
|
|
|
|
webpmux_LDADD += ../src/libwebp.la
|
2016-07-22 09:26:27 +02:00
|
|
|
|
2016-12-02 11:44:17 +01:00
|
|
|
img2webp_SOURCES = img2webp.c
|
2018-02-09 09:11:52 +01:00
|
|
|
img2webp_CPPFLAGS = $(AM_CPPFLAGS)
|
2017-08-29 07:54:49 +02:00
|
|
|
img2webp_LDADD =
|
|
|
|
img2webp_LDADD += libexample_util.la
|
|
|
|
img2webp_LDADD += ../imageio/libimageio_util.la
|
2016-12-02 11:44:17 +01:00
|
|
|
img2webp_LDADD += ../imageio/libimagedec.la
|
2017-08-29 07:54:49 +02:00
|
|
|
img2webp_LDADD += ../src/mux/libwebpmux.la
|
|
|
|
img2webp_LDADD += ../src/libwebp.la
|
2016-12-02 11:44:17 +01:00
|
|
|
img2webp_LDADD += $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS)
|
|
|
|
|
2017-03-14 10:00:43 +01:00
|
|
|
webpinfo_SOURCES = webpinfo.c
|
2018-02-09 09:11:52 +01:00
|
|
|
webpinfo_CPPFLAGS = $(AM_CPPFLAGS)
|
2017-08-29 07:54:49 +02:00
|
|
|
webpinfo_LDADD =
|
|
|
|
webpinfo_LDADD += libexample_util.la
|
|
|
|
webpinfo_LDADD += ../imageio/libimageio_util.la
|
2017-03-14 10:00:43 +01:00
|
|
|
webpinfo_LDADD += ../src/libwebp.la
|
|
|
|
|
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
|
2017-08-28 16:03:40 +02:00
|
|
|
anim_dump_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
|
2017-08-28 16:03:40 +02:00
|
|
|
anim_dump_LDADD += ../src/libwebp.la
|
2013-05-01 23:47:56 +02:00
|
|
|
vwebp_LDADD += ../src/libwebp.la
|
|
|
|
endif
|