2010-09-30 09:34:38 -04:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
2011-01-07 18:15:12 -08:00
|
|
|
|
2012-04-23 18:46:12 -07:00
|
|
|
bin_PROGRAMS = dwebp cwebp
|
|
|
|
if WANT_MUX
|
|
|
|
bin_PROGRAMS += webpmux
|
|
|
|
endif
|
2012-11-15 11:04:12 -08:00
|
|
|
|
|
|
|
if BUILD_GIF2WEBP
|
|
|
|
bin_PROGRAMS += gif2webp
|
|
|
|
endif
|
|
|
|
|
2012-05-11 16:00:57 -07:00
|
|
|
noinst_LTLIBRARIES = libexampleutil.la
|
|
|
|
|
|
|
|
libexampleutil_la_SOURCES = example_util.c
|
|
|
|
libexampleutilinclude_HEADERS = example_util.h
|
|
|
|
libexampleutilincludedir =
|
2011-02-18 23:33:46 -08:00
|
|
|
|
2011-02-16 15:01:27 -08:00
|
|
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
2012-07-02 21:41:52 -07:00
|
|
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
2012-05-11 16:00:57 -07:00
|
|
|
dwebp_LDADD = libexampleutil.la ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS)
|
2011-01-07 18:15:12 -08:00
|
|
|
|
2012-12-06 13:06:37 -08:00
|
|
|
cwebp_SOURCES = cwebp.c metadata.h stopwatch.h
|
2012-12-06 13:48:21 -08:00
|
|
|
cwebp_SOURCES += jpegdec.c jpegdec.h
|
2012-12-06 13:06:37 -08:00
|
|
|
cwebp_SOURCES += pngdec.c pngdec.h
|
2012-12-06 14:04:36 -08:00
|
|
|
cwebp_SOURCES += tiffdec.c tiffdec.h
|
2012-07-02 21:41:52 -07: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 11:07:01 +05:30
|
|
|
|
2012-11-15 11:04:12 -08:00
|
|
|
gif2webp_SOURCES = gif2webp.c
|
|
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
|
|
gif2webp_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|
|
|
|
gif2webp_LDADD += $(GIF_LIBS)
|
|
|
|
|
2011-09-30 11:07:01 +05:30
|
|
|
webpmux_SOURCES = webpmux.c
|
|
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
2012-05-11 16:00:57 -07:00
|
|
|
webpmux_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|