2014-06-11 02:53:44 +02: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
|
|
|
|
|
2012-05-12 01:00:57 +02:00
|
|
|
noinst_LTLIBRARIES = libexampleutil.la
|
|
|
|
|
2014-04-23 04:33:22 +02:00
|
|
|
libexampleutil_la_SOURCES = example_util.c example_util.h stopwatch.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)
|
|
|
|
|
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
|
2014-04-23 04:30:27 +02:00
|
|
|
cwebp_SOURCES += webpdec.c webpdec.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)
|
2014-04-23 04:30:27 +02:00
|
|
|
cwebp_LDADD = libexampleutil.la ../src/libwebp.la
|
|
|
|
cwebp_LDADD += $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
2011-09-30 07:37:01 +02:00
|
|
|
|
2015-01-09 22:06:29 +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
|
2013-05-01 23:47:56 +02:00
|
|
|
|
|
|
|
vwebp_SOURCES = vwebp.c
|
|
|
|
vwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GL_INCLUDES)
|
|
|
|
vwebp_LDADD = libexampleutil.la ../src/demux/libwebpdemux.la $(GL_LIBS)
|
|
|
|
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
dwebp_LDADD += ../src/libwebpdecoder.la
|
|
|
|
vwebp_LDADD += ../src/libwebpdecoder.la
|
|
|
|
else
|
|
|
|
dwebp_LDADD += ../src/libwebp.la
|
|
|
|
vwebp_LDADD += ../src/libwebp.la
|
|
|
|
endif
|