2011-09-07 11:26:35 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
2012-04-13 00:51:30 +02:00
|
|
|
noinst_LTLIBRARIES = libwebputils.la
|
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
noinst_LTLIBRARIES += libwebputilsdecode.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
COMMON_SOURCES =
|
|
|
|
COMMON_SOURCES += bit_reader.c
|
|
|
|
COMMON_SOURCES += bit_reader.h
|
|
|
|
COMMON_SOURCES += color_cache.c
|
|
|
|
COMMON_SOURCES += color_cache.h
|
|
|
|
COMMON_SOURCES += filters.c
|
|
|
|
COMMON_SOURCES += filters.h
|
|
|
|
COMMON_SOURCES += huffman.c
|
|
|
|
COMMON_SOURCES += huffman.h
|
|
|
|
COMMON_SOURCES += quant_levels.c
|
|
|
|
COMMON_SOURCES += quant_levels.h
|
|
|
|
COMMON_SOURCES += rescaler.c
|
|
|
|
COMMON_SOURCES += rescaler.h
|
|
|
|
COMMON_SOURCES += thread.c
|
|
|
|
COMMON_SOURCES += thread.h
|
|
|
|
COMMON_SOURCES += utils.c
|
|
|
|
COMMON_SOURCES += utils.h
|
|
|
|
|
|
|
|
ENC_SOURCES =
|
|
|
|
ENC_SOURCES += bit_writer.c
|
|
|
|
ENC_SOURCES += bit_writer.h
|
|
|
|
ENC_SOURCES += huffman_encode.c
|
|
|
|
ENC_SOURCES += huffman_encode.h
|
|
|
|
|
|
|
|
|
|
|
|
libwebputils_la_SOURCES = $(COMMON_SOURCES) $(ENC_SOURCES)
|
2011-09-07 11:26:35 +02:00
|
|
|
|
|
|
|
libwebputilsinclude_HEADERS = ../webp/types.h
|
|
|
|
libwebputilsincludedir = $(includedir)/webp
|
2013-01-23 01:22:20 +01:00
|
|
|
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
libwebputilsdecode_la_SOURCES = $(COMMON_SOURCES)
|
|
|
|
|
|
|
|
libwebputilsdecodeinclude_HEADERS = $(libwebputilsinclude_HEADERS)
|
|
|
|
libwebputilsdecodeincludedir = $(libwebputilsincludedir)
|
|
|
|
endif
|